/* ==========================================================================
   Stick It! — style.css
   Fundacja Stick It — zlot akrobatyczno-trickingowy
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,900;1,9..40,400&display=swap');

:root {
  --orange: #EC602A;
  --orange-light: #FF8552;
  --purple: #8A1AD1;
  --purple-light: #B266E8;
  --violet-dark: #1F0244;
  --black: #0A0508;
  --white: #FFFFFF;
  --cream: #FFF8F3;
  --grey-100: #F4F1F6;
  --grey-300: #D9D2E0;
  --grey-500: #948C9E;
  --grey-700: #4A4352;

  --gradient-brand: linear-gradient(135deg, var(--orange) 0%, var(--purple) 100%);
  --gradient-dark: linear-gradient(180deg, var(--violet-dark) 0%, #12012B 100%);

  --font: 'DM Sans', system-ui, sans-serif;

  --container-w: 1240px;
  --pad: clamp(20px, 5vw, 64px);

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-full: 999px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --dur-s: .25s;
  --dur-m: .5s;
  --dur-l: .9s;

  --shadow-s: 0 2px 10px rgba(31, 2, 68, .06);
  --shadow-m: 0 10px 30px rgba(31, 2, 68, .12);
  --shadow-l: 0 24px 60px rgba(31, 2, 68, .18);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--violet-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 {
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  color: var(--orange);
}
.eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { position: relative; }
.section-pad { padding: clamp(64px, 10vw, 140px) 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .03em;
  border: 2px solid transparent;
  transition: transform var(--dur-s) var(--ease-bounce), box-shadow var(--dur-s) var(--ease), background var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.96); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(236, 96, 42, .35);
}
.btn-primary:hover {
  background: #FF6E33;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(236, 96, 42, .45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--violet-dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--purple); transform: translateY(-3px); }

.btn-ghost-dark {
  background: transparent;
  color: var(--violet-dark);
  border-color: var(--violet-dark);
}
.btn-ghost-dark:hover { background: var(--violet-dark); color: var(--white); transform: translateY(-3px); }

.btn-sm { padding: 11px 22px; font-size: 13px; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 10px 0;
  color: var(--violet-dark);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-s);
  transition: padding var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 65px;
}

.site-header.is-scrolled {
  padding: 10px 0;
}

.brand {
  position: relative;
  display: block;
  width: 230px; height: 150px;
  flex-shrink: 0;
}
.brand img {
  position: absolute; inset: 0;
  height: 150px; width: auto;
  object-fit: contain; object-position: left center;
  filter: drop-shadow(0 2px 8px rgba(31,2,68,.18));
  transition: opacity var(--dur-m) var(--ease), transform var(--dur-s) var(--ease);
}
.brand:hover img { transform: rotate(-3deg) scale(1.05); }
.brand .logo-light { opacity: 0; }
.brand .logo-dark { opacity: 1; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .02em;
  border-radius: var(--radius-full);
  transition: color var(--dur-s), background var(--dur-s);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-s) var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex;
  border: 2px solid currentColor;
  border-radius: var(--radius-full);
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
}
.lang-switch button {
  background: none;
  border: none;
  padding: 7px 12px;
  color: inherit;
  opacity: .55;
  transition: opacity var(--dur-s), background var(--dur-s), color var(--dur-s);
}
.lang-switch button.active { opacity: 1; background: currentColor; }
.lang-switch button.active span { color: var(--white); }
.lang-switch.on-dark { color: var(--white); }
.lang-switch.on-light { color: var(--violet-dark); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(31,2,68,.06);
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur-s) var(--ease), opacity var(--dur-s);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--violet-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/gallery/photo-09.jpg') center 20% / cover no-repeat;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(10,3,20,.94) 0%, rgba(20,4,45,.55) 46%, rgba(31,2,68,.55) 100%),
    linear-gradient(100deg, rgba(31,2,68,.5) 0%, rgba(138,26,209,.18) 60%, rgba(236,96,42,.22) 100%);
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 160px;
  padding-bottom: clamp(48px, 6vw, 84px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 9px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: 0;
  animation: fadeUp var(--dur-l) var(--ease) .1s forwards;
}
.hero-badge .dot-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--orange);
  font-size: 12px;
}

.hero h1 {
  font-size: clamp(56px, 11vw, 148px);
  margin: 18px 0 0;
  opacity: 0;
  animation: fadeUp var(--dur-l) var(--ease) .25s forwards;
}
.hero h1 img { height: clamp(56px, 11vw, 148px); width: auto; border: none; outline: none; box-shadow: none; }

.hero-tagline {
  max-width: 560px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  color: rgba(255,255,255,.85);
  margin-top: 22px;
  opacity: 0;
  animation: fadeUp var(--dur-l) var(--ease) .4s forwards;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgba(255,255,255,.7);
  opacity: 0;
  animation: fadeUp var(--dur-l) var(--ease) .48s forwards;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
  opacity: 0;
  animation: fadeUp var(--dur-l) var(--ease) .55s forwards;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.countdown {
  display: flex;
  gap: 14px;
}
.countdown .cd-item {
  text-align: center;
  min-width: 58px;
}
.countdown .cd-num {
  font-weight: 900;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown .cd-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}

.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.65);
}
.scroll-cue .line {
  width: 1px; height: 40px;
  background: rgba(255,255,255,.4);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: '';
  position: absolute;
  left: 0; top: -40px;
  width: 100%; height: 40%;
  background: var(--white);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -40%; }
  100% { top: 100%; }
}

/* ==========================================================================
   Marquee ticker
   ========================================================================== */
.ticker {
  background: var(--orange);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
  position: relative;
}
.ticker.alt { background: var(--violet-dark); }
.ticker-track {
  display: inline-flex;
  animation: tickerScroll 26s linear infinite;
  will-change: transform;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(20px, 3vw, 34px);
  color: var(--white);
  padding: 0 28px;
  letter-spacing: .01em;
}
.ticker-track span::after {
  content: '●';
  margin-left: 28px;
  font-size: 10px;
  vertical-align: middle;
  opacity: .6;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .55s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Section headers
   ========================================================================== */
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(34px, 5vw, 56px); margin-top: 14px; }
.section-head p { margin-top: 18px; font-size: 17px; color: var(--grey-700); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ==========================================================================
   About / stats
   ========================================================================== */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 72px;
  align-items: center;
}
.about-copy p { font-size: 17px; color: var(--grey-700); margin-top: 16px; }
.about-copy p:first-of-type { margin-top: 22px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.stat-card {
  background: var(--grey-100);
  border-radius: var(--radius-m);
  padding: 26px 24px;
  transition: transform var(--dur-s) var(--ease), background var(--dur-s);
}
.stat-card:hover { transform: translateY(-6px); background: var(--cream); }
.stat-num {
  font-weight: 900;
  font-size: clamp(30px, 4vw, 42px);
  color: var(--orange);
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--grey-700);
  margin-top: 6px;
}

.about-media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  aspect-ratio: 4/5;
}
.about-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about-media:hover img { transform: scale(1.06); }
.about-media .tag {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(10,3,20,.55);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ==========================================================================
   Konkurencje (discipline cards)
   ========================================================================== */
.disciplines { background: var(--grey-100); }
.discipline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.discipline-card {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-m) var(--ease-bounce), box-shadow var(--dur-m) var(--ease);
  box-shadow: var(--shadow-s);
}
.discipline-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-l); }
.discipline-card .num {
  position: absolute;
  top: -10px; right: 10px;
  font-size: 110px;
  font-weight: 900;
  color: var(--grey-100);
  z-index: 0;
  transition: color var(--dur-m) var(--ease);
  line-height: 1;
}
.discipline-card:hover .num { color: var(--cream); }
.discipline-card h3 {
  position: relative; z-index: 1;
  font-size: 26px;
  margin-top: 18px;
}
.discipline-card p {
  position: relative; z-index: 1;
  color: var(--grey-700);
  margin-top: 12px;
  font-size: 15px;
}
.discipline-card .icon {
  position: relative; z-index: 1;
  width: 54px; height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: var(--white);
  transition: transform var(--dur-m) var(--ease-bounce);
}
.discipline-card:hover .icon { transform: rotate(-8deg) scale(1.08); }
.discipline-card .tags {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 18px;
}
.discipline-card .tags span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--grey-100);
  color: var(--grey-700);
}

/* ==========================================================================
   Program
   ========================================================================== */
.program { background: var(--white); }
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.program-card {
  border: 2px solid var(--grey-100);
  border-radius: var(--radius-l);
  padding: 30px 24px;
  transition: border-color var(--dur-m), transform var(--dur-m) var(--ease-bounce), background var(--dur-m);
}
.program-card:hover {
  border-color: transparent;
  transform: translateY(-8px);
  background: var(--violet-dark);
  color: var(--white);
}
.program-card .pc-index {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}
.program-card h4 {
  font-size: 19px;
  margin-top: 14px;
}
.program-card p {
  font-size: 14px;
  color: var(--grey-700);
  margin-top: 10px;
  transition: color var(--dur-m);
}
.program-card:hover p { color: rgba(255,255,255,.75); }

/* ==========================================================================
   Pas Zwycięski (spotlight)
   ========================================================================== */
.belt-section {
  background: var(--gradient-dark);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.belt-section::before {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,26,209,.35) 0%, rgba(138,26,209,0) 70%);
  top: -300px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.belt-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.belt-copy .eyebrow { color: var(--orange-light); }
.belt-copy .eyebrow::before { background: var(--orange-light); }
.belt-copy h2 { font-size: clamp(32px, 4.6vw, 52px); margin-top: 14px; }
.belt-copy p { color: rgba(255,255,255,.75); margin-top: 18px; font-size: 16px; max-width: 480px; }
.belt-perks { margin-top: 28px; display: grid; gap: 14px; }
.belt-perks li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 15px;
}
.belt-perks li .ic {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-light);
  flex-shrink: 0;
}

.belt-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}
.belt-glow {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,96,42,.55) 0%, rgba(236,96,42,0) 68%);
  animation: pulseGlow 3.4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.15); opacity: 1; }
}
.belt-img-wrap {
  position: relative;
  z-index: 1;
  width: min(480px, 88%);
  animation: beltFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.45));
}
.belt-img {
  display: block;
  width: 100%;
  height: auto;
}
.belt-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255,150,80,0) 41%, rgba(255,166,110,.95) 47%, rgba(255,120,40,1) 50%, rgba(255,166,110,.95) 53%, rgba(255,150,80,0) 59%, transparent 68%);
  background-size: 260% 100%;
  background-position: 140% 0;
  mix-blend-mode: screen;
  -webkit-mask-image: url('../img/belt/belt-since2023.png');
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url('../img/belt/belt-since2023.png');
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-position: center;
  animation: beltShine 4.5s ease-in-out infinite;
  animation-delay: 1s;
  pointer-events: none;
}
@keyframes beltFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
@keyframes beltShine {
  0% { background-position: 140% 0; }
  35% { background-position: -40% 0; }
  100% { background-position: -40% 0; }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery { background: var(--grey-100); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-grid figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.gallery-grid figure:hover img { transform: scale(1.1); }
.gallery-grid figure::after {
  content: '+';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; color: var(--white);
  background: rgba(31,2,68,0);
  opacity: 0;
  transition: opacity var(--dur-s), background var(--dur-s);
}
.gallery-grid figure:hover::after { opacity: 1; background: rgba(31,2,68,.35); }
.gallery-grid figure.tall { grid-row: span 2; }
.gallery-grid figure.wide { grid-column: span 2; }

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  margin-bottom: 40px;
  background: var(--violet-dark);
}
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.lightbox {
  position: fixed; inset: 0;
  z-index: 500;
  background: rgba(10,3,20,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-m) var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(90vw, 900px); max-height: 84vh;
  border-radius: var(--radius-m);
  transform: scale(.9);
  transition: transform var(--dur-m) var(--ease-bounce);
  box-shadow: var(--shadow-l);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: background var(--dur-s), transform var(--dur-s);
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--orange); transform: scale(1.08); }
.lightbox-close { top: 26px; right: 26px; }
.lightbox-nav.prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Partners teaser (home) + tiers (shared with partnerzy.html)
   ========================================================================== */
.partners-teaser {
  background: var(--white);
}
.partners-teaser-inner {
  background: var(--violet-dark);
  border-radius: var(--radius-l);
  padding: clamp(40px, 6vw, 72px);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.partners-teaser-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/gallery/photo-07.jpg') center 20% / cover;
  opacity: .16;
}
.partners-teaser-inner > * { position: relative; z-index: 1; }
.partner-logos-row {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.partner-logos-row span {
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 13px;
  font-weight: 700;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tier-card {
  background: var(--white);
  border: 2px solid var(--grey-100);
  border-radius: var(--radius-l);
  padding: 36px 28px;
  transition: transform var(--dur-m) var(--ease-bounce), box-shadow var(--dur-m) var(--ease), border-color var(--dur-m);
  display: flex;
  flex-direction: column;
}
.tier-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-l); border-color: transparent; }
.tier-card.featured {
  border-color: var(--orange);
  background: linear-gradient(180deg, var(--cream), var(--white));
  position: relative;
}
.tier-badge {
  position: absolute;
  top: -14px; left: 28px;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}
.tier-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); }
.tier-title { font-size: 26px; margin-top: 10px; }
.tier-desc { color: var(--grey-700); font-size: 14px; margin-top: 10px; }
.tier-list { margin-top: 22px; display: grid; gap: 12px; flex: 1; }
.tier-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; font-weight: 600;
}
.tier-list li .ic {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0; margin-top: 2px;
}
.tier-card .btn { margin-top: 26px; width: 100%; }

/* ==========================================================================
   Card game teaser
   ========================================================================== */
.cardgame {
  background: var(--cream);
  overflow: hidden;
}
.cardgame-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.cardgame-visual {
  position: relative;
  height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.playing-card {
  position: absolute;
  width: 196px; height: 288px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-l);
  border: 3px solid var(--violet-dark);
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease);
  animation: cardFloat 5s ease-in-out infinite;
}
.playing-card.c1 { transform: rotate(-14deg) translateX(-70px); z-index: 1; animation-delay: 0s; }
.playing-card.c2 { transform: rotate(3deg); z-index: 2; animation-delay: .6s; }
.playing-card.c3 { transform: rotate(16deg) translateX(70px); z-index: 1; animation-delay: 1.2s; }
.cardgame-visual:hover .c1 { transform: rotate(-20deg) translateX(-96px) translateY(-8px); }
.cardgame-visual:hover .c2 { transform: rotate(3deg) translateY(-16px); }
.cardgame-visual:hover .c3 { transform: rotate(22deg) translateX(96px) translateY(-8px); }
@keyframes cardFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}
.playing-card .pc-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 20%;
}
.playing-card .pc-overlay {
  position: absolute; inset: 0;
  mix-blend-mode: multiply;
}
.playing-card .pc-overlay { background: linear-gradient(160deg, rgba(236,96,42,.85) 0%, rgba(255,133,82,.75) 100%); }
.playing-card .pc-watermark {
  position: absolute;
  top: 46%; left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  font-weight: 900;
  font-size: 44px;
  letter-spacing: -.01em;
  color: rgba(255,255,255,.22);
  white-space: nowrap;
  pointer-events: none;
}
.playing-card .pc-name {
  position: relative; z-index: 1;
  padding: 18px 16px 0;
  font-size: 23px;
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.playing-card .pc-desc {
  position: relative; z-index: 1;
  margin-top: auto;
  padding: 12px 16px 16px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255,255,255,.92);
}

.badge-soon {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--violet-dark); color: var(--white);
  padding: 8px 16px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 16px;
}
.badge-soon .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange-light);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.6); }
}

/* ==========================================================================
   CTA / signup band
   ========================================================================== */
.cta-band {
  background: var(--gradient-brand);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-l);
  margin: 0 var(--pad);
  padding: clamp(48px, 8vw, 90px) clamp(24px, 6vw, 60px);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(32px, 5vw, 58px); }
.cta-band p { margin-top: 16px; font-size: 17px; opacity: .9; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; margin-top: 30px; }
.cta-band .btn-primary { background: var(--white); color: var(--orange); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.cta-band .btn-primary:hover { background: var(--violet-dark); color: var(--white); }
.cta-band .countdown { justify-content: center; margin-top: 32px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,.7);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .9fr);
  gap: 40px;
}
.footer-brand img { height: 32px; }
.footer-brand p { margin-top: 18px; font-size: 14px; max-width: 300px; color: rgba(255,255,255,.5); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease-bounce);
}
.footer-social a:hover { background: var(--orange); transform: translateY(-4px) rotate(-6deg); }
.footer-col h5 {
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--white); font-weight: 700; margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 14px; transition: color var(--dur-s), padding-left var(--dur-s); }
.footer-col a:hover { color: var(--orange-light); padding-left: 4px; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.4);
}

/* ==========================================================================
   Sponsor page specific
   ========================================================================== */
.sub-hero {
  background: var(--gradient-dark);
  color: var(--white);
  padding-top: 180px;
  padding-bottom: 100px;
  overflow: hidden;
  position: relative;
}
.sub-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../img/gallery/photo-17.jpg') center 30% / cover;
  opacity: .18;
}
.sub-hero .container { position: relative; z-index: 1; }
.sub-hero h1 { font-size: clamp(38px, 6vw, 76px); margin-top: 16px; max-width: 780px; }
.sub-hero p { margin-top: 20px; font-size: 18px; max-width: 560px; color: rgba(255,255,255,.8); }

.reach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.reach-card {
  text-align: center;
  padding: 30px 16px;
  border-radius: var(--radius-m);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
}
.reach-num { font-size: clamp(28px, 3.4vw, 38px); font-weight: 900; color: var(--orange-light); }
.reach-label { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.65); margin-top: 8px; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.audience-card {
  padding: 30px;
  border-radius: var(--radius-l);
  background: var(--grey-100);
  transition: transform var(--dur-m) var(--ease-bounce);
}
.audience-card:hover { transform: translateY(-6px); }
.audience-card .icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--violet-dark); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.audience-card h4 { font-size: 18px; }
.audience-card p { margin-top: 8px; color: var(--grey-700); font-size: 14px; }

.contact-block {
  background: var(--violet-dark);
  border-radius: var(--radius-l);
  padding: clamp(36px, 6vw, 64px);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h2 { font-size: clamp(28px, 4vw, 40px); }
.contact-info p { margin-top: 16px; color: rgba(255,255,255,.75); }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-top: 20px; font-weight: 700; }
.contact-detail .ic {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-light);
  flex-shrink: 0;
}

.form-grid { display: grid; gap: 14px; }
.form-grid input, .form-grid textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: var(--radius-s);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: var(--white);
  transition: border-color var(--dur-s), background var(--dur-s);
}
.form-grid input::placeholder, .form-grid textarea::placeholder { color: rgba(255,255,255,.4); }
.form-grid input:focus, .form-grid textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,.1);
}
.form-grid textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12px; color: rgba(255,255,255,.45); }

/* ==========================================================================
   Misc / pattern strip
   ========================================================================== */
.pattern-strip {
  height: 46px;
  background-image: repeating-linear-gradient(-8deg, transparent 0 40px, rgba(255,255,255,.5) 40px 41px);
}

/* ==========================================================================
   TODO content flag (visible placeholder for unconfirmed facts)
   ========================================================================== */
.todo-flag {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1.5px dashed var(--orange);
  border-radius: var(--radius-s);
  background: rgba(236, 96, 42, .07);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.todo-flag::before { content: "TODO \2014 "; }

/* ==========================================================================
   Dla kogo (audience tiles as links) + FAQ accordion + partner logo strip
   ========================================================================== */
a.audience-card { display: block; }

.faq-list { display: grid; gap: 14px; max-width: 820px; }
.faq-item {
  border: 2px solid var(--grey-100);
  border-radius: var(--radius-m);
  padding: 20px 24px;
  transition: border-color var(--dur-s);
}
.faq-item[open] { border-color: var(--orange); }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grey-100);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: transform var(--dur-s) var(--ease), background var(--dur-s);
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--cream); }
.faq-item p { margin-top: 14px; color: var(--grey-700); font-size: 15px; }

.partner-logos-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.partner-logos-strip img {
  height: 60px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-s);
  transition: transform var(--dur-s) var(--ease);
}
.partner-logos-strip img:hover { transform: translateY(-3px); }

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

.back-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--violet-dark);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-m);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur-s), transform var(--dur-s), background var(--dur-s);
  z-index: 150;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--orange); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .about-grid, .belt-grid, .cardgame-grid, .contact-block { grid-template-columns: 1fr; }
  .about-media { order: -1; max-width: 460px; }
  .discipline-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .reach-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(1, 1fr); }
  .tiers-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partners-teaser-inner { grid-template-columns: 1fr; text-align: center; }
  .partner-logos-row { justify-content: center; }
  .partner-logos-strip { justify-content: center; }
  .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .main-nav, .header-actions .lang-switch { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }

  .mobile-panel {
    position: fixed; inset: 0; top: 0;
    background: var(--violet-dark);
    z-index: 190;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px;
    opacity: 0; visibility: hidden;
    transform: translateY(-16px);
    transition: opacity var(--dur-m) var(--ease), transform var(--dur-m) var(--ease), visibility var(--dur-m);
  }
  .mobile-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-panel a {
    font-size: 26px; font-weight: 900; text-transform: uppercase;
    color: var(--white); padding: 12px 0;
  }
  .mobile-panel .lang-switch { margin-top: 20px; }
  .mobile-panel .btn { margin-top: 20px; }

  .hero-content { padding-top: 130px; }
  .discipline-grid, .program-grid, .reach-grid { grid-template-columns: 1fr; }
  .grid-cols-2, .grid-cols-3 { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 15px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-band { margin: 0 16px; }
  .scroll-cue { display: none; }
  .countdown .cd-item { min-width: 46px; }
  .countdown .cd-num { font-size: 22px; }
}
