/* ============================================================
   RC LEGIA WARSZAWA — RUGBY  |  motyw JASNY (bialy)
   Barwy Legii: czerwony -> bialy -> zielony (akcenty na bieli)
   ============================================================ */

:root {
  --red:        #E2001A;
  --red-deep:   #B00014;
  --green:      #00843D;
  --green-br:   #00A24A;
  --green-deep: #006A33;
  --white:      #FFFFFF;

  --ink:        #0E0F12;   /* tekst glowny  */
  --ink-2:      #3A4046;   /* tekst         */
  --muted:      #6B7177;   /* przygaszony   */
  --muted-2:    #9AA1A8;

  --bg:         #FFFFFF;   /* strona        */
  --bg-2:       #F4F5F2;   /* sekcje alt / karty */
  --bg-3:       #ECEEEA;
  --card:       #FFFFFF;
  --line:       rgba(15, 18, 20, 0.12);
  --line-2:     rgba(15, 18, 20, 0.22);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-cond:    "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* twarda blokada poziomego rozszerzania strony (clip nie tworzy scrolla; hidden = fallback) */
html { overflow-x: hidden; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--red); color: #fff; }

/* ---------------- 3D canvas + atmosfera (jasna) ---------------- */
#scene {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none;
}
.floodlight {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% -10%, rgba(0,132,61,0.06), transparent 70%),
    radial-gradient(42% 52% at 92% 102%, rgba(226,0,26,0.05), transparent 70%);
}
.grain, .vignette, .hero-photo { display: none; }

/* ---------------- Pasek R-W-G ---------------- */
.rwg { display: inline-flex; height: 6px; border-radius: 3px; overflow: hidden; }
.rwg span { display: block; width: 34px; height: 100%; }
.rwg .r { background: var(--red); }
.rwg .w { background: #ffffff; box-shadow: inset 0 0 0 1px var(--line); }
.rwg .g { background: var(--green); }
.rwg--full { width: 100%; }
.rwg--full span { width: 33.34%; }

/* ---------------- Nawigacja ---------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 48px);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px -18px rgba(0,0,0,0.25);
}
/* Ciemna poświata pod nagłówkiem nad jasnym hero (np. biała piłka) — gwarantuje czytelność białych napisów; znika po przewinięciu */
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -44px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,9,10,0.72) 0%, rgba(8,9,10,0.34) 52%, rgba(8,9,10,0) 100%);
  opacity: 1; transition: opacity .4s var(--ease);
}
.site-header.scrolled::before { opacity: 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 46px; height: 46px; object-fit: contain; }
.brand__txt { font-family: var(--font-cond); font-size: 22px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.brand__txt b { font-weight: 700; }
.brand__tag { font-size: 9px; letter-spacing: .28em; color: var(--muted); display: block; margin-top: -2px; }
.nav { display: flex; align-items: center; gap: clamp(13px, 1.5vw, 26px); }
.nav a {
  font-family: var(--font-cond); font-size: 16px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2); position: relative; padding: 4px 0; transition: color .25s;
  white-space: nowrap;
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--red); transition: width .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.btn {
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .08em;
  font-size: 15px; font-weight: 600; padding: 10px 18px; border-radius: 6px; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s var(--ease), background .25s, border-color .25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-br); transform: translateY(-2px); }
.nav-burger { display: none; }

/* ---------------- HERO ---------------- */
main { position: relative; z-index: 10; }
.hero {
  position: relative; min-height: 100vh;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
  padding: 120px clamp(16px, 4vw, 48px) 80px; max-width: var(--maxw); margin: 0 auto;
}
.hero__kicker {
  font-family: var(--font-cond); letter-spacing: .32em; text-transform: uppercase;
  font-size: 14px; color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 14px;
}
.hero__title {
  font-family: var(--font-display); font-size: clamp(40px, 9.5vw, 162px);
  line-height: 0.84; text-transform: uppercase; letter-spacing: .005em; margin: 6px 0 22px;
}
.hero__title .l1 { display: block; color: var(--ink); }
.hero__title .l2 { display: block; color: var(--green); }
.hero__title .rc { color: var(--red); }
/* Wariant hero: wielkie logo sekcji zamiast napisu „RC LEGIA WARSZAWA" */
.hero__title--logo { line-height: 1; margin: 0 0 26px; }
.hero__title--logo .mask { padding-bottom: 0; margin-bottom: 0; }
.hero__logo { display: block; width: min(400px, 66vw); height: auto; }
.hero__lead { max-width: 32ch; font-size: 18px; color: var(--ink-2); margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-family: var(--font-cond); letter-spacing: .25em; text-transform: uppercase;
  font-size: 12px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll .dot { width: 22px; height: 36px; border: 1px solid var(--line-2); border-radius: 12px; position: relative; }
.hero__scroll .dot::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px;
  background: var(--red); transform: translateX(-50%); animation: scrolldot 1.6s var(--ease) infinite;
}
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 100%{opacity:0;transform:translate(-50%,14px)} }

/* ---------------- Karta: najblizszy mecz ---------------- */
.matchcard {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 24px 20px; box-shadow: 0 30px 70px -32px rgba(0,0,0,.30);
}
.matchcard__top {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .18em;
  font-size: 12px; color: var(--muted); margin-bottom: 16px;
}
.matchcard__live { display: inline-flex; align-items: center; gap: 7px; color: var(--red); }
.matchcard__live .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(226,0,26,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(226,0,26,.5)} 70%{box-shadow:0 0 0 12px rgba(226,0,26,0)} 100%{box-shadow:0 0 0 0 rgba(226,0,26,0)} }
.matchcard__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 16px; }
.team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.team__badge { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 16px; overflow: hidden; }
.team__badge--legia { background: transparent; }
.team__badge--rival { background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); }
.team__badge img { width: 100%; height: 100%; object-fit: contain; }
.team__name { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .04em; font-size: 15px; color: var(--ink); }
.vs { font-family: var(--font-display); color: var(--muted-2); font-size: 20px; }
/* mecz wyjazdowy: gospodarz (rywal) po lewej, Legia po prawej */
.matchcard__teams.rev .team--rival { order: 0; }
.matchcard__teams.rev .vs { order: 1; }
.matchcard__teams.rev .team--legia { order: 2; }
.matchcard__meta { font-size: 13px; color: var(--ink-2); display: grid; gap: 4px; margin-bottom: 16px; }
.matchcard__meta i { color: var(--red); width: 16px; display: inline-block; font-style: normal; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.cd__box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 4px; }
.cd__num { font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--ink); }
.cd__lbl { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; color: var(--muted); margin-top: 5px; }
.matchcard__note { font-size: 10px; color: var(--muted-2); margin-top: 12px; text-align: right; }

/* ---------------- Karta meczu: przerwa miedzysezonowa ---------------- */
.matchcard--off .matchcard__teams,
.matchcard--off .matchcard__meta,
.matchcard--off .countdown { display: none; }
.matchcard__off { text-align: center; padding: 8px 4px 6px; }
.matchcard__off-h { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .06em; font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.matchcard__off-tx { font-size: 14px; color: var(--ink-2); line-height: 1.55; max-width: 42ch; margin: 0 auto; }
.matchcard__off-bilans { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--muted); }
.matchcard__off-bilans b { color: var(--green); font-size: 16px; }
.next-bar--off { justify-content: flex-start; gap: 6px 16px; }
.next-bar--off .next-bar__meta { margin-left: 0; }

/* ---------------- Sekcje ---------------- */
.section { position: relative; z-index: 10; padding: clamp(64px, 9vw, 130px) clamp(16px, 4vw, 48px); background: var(--bg); }
.section--solid { background: var(--bg-2); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .28em;
  font-size: 14px; color: var(--green); display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.section h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(34px, 6vw, 76px); line-height: .92; margin-bottom: 36px; color: var(--ink); }

.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 20px; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); }
.stat:nth-child(2)::before { background: var(--green); }
.stat:nth-child(3)::before { background: var(--red); }
.stat:nth-child(4)::before { background: var(--green); }
.stat:nth-child(5)::before { background: var(--red); }
.stat__num { font-family: var(--font-display); font-size: clamp(40px, 6vw, 64px); line-height: 1; color: var(--ink); }
.stat__num .suffix { font-size: .5em; color: var(--muted); }
.stat__lbl { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .12em; font-size: 14px; color: var(--muted); margin-top: 8px; }
.topscorer {
  margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(0,132,61,.12), rgba(0,0,0,0)); border-left: 4px solid var(--green); padding: 18px 22px; border-radius: 0 12px 12px 0;
}
.topscorer .medal { font-size: 30px; }
.topscorer b { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .04em; font-size: 22px; color: var(--ink); }
.topscorer span { color: var(--muted); }

/* ---------------- Stopka ---------------- */
.site-footer { position: relative; z-index: 10; background: var(--bg-2); border-top: 1px solid var(--line); padding: 50px clamp(16px,4vw,48px) 40px; text-align: center; }
.socials { display: flex; justify-content: center; gap: 14px; margin: 18px 0; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 20px; color: var(--ink-2); transition: .25s var(--ease); }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.site-footer small { color: var(--muted); font-size: 12px; }
.footer__credit { display: inline-block; margin-top: 8px; color: var(--muted-2); }
.footer__credit b { color: var(--muted); font-weight: 600; }

/* ============================================================
   TRENUJ Z NAMI / NABOR  +  oferta partnerska (lista)
   ============================================================ */
.join { display: grid; grid-template-columns: 1.45fr 0.55fr; gap: 28px; align-items: center; background: linear-gradient(90deg, rgba(0,132,61,.08), rgba(226,0,26,.05)); border: 1px solid var(--line); border-radius: 16px; padding: 30px 32px; }
.join__text p { color: var(--ink-2); margin-bottom: 14px; max-width: 58ch; }
.join__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.join__facts li { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .04em; font-size: 13px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.join__loc { font-size: 14px; color: var(--ink-2); }
.join__cta { display: grid; gap: 10px; align-content: center; }
.join__cta .btn { justify-content: center; }
@media (max-width: 760px) { .join { grid-template-columns: 1fr; } }
.partner-cta__text { flex: 1 1 460px; }
.partner-cta .support__perks { margin: 12px 0 0; }

/* ============================================================
   PIWO LEGIA RUGBY (Perun)
   ============================================================ */
.piwo__intro { color: var(--ink-2); font-size: 18px; max-width: 60ch; margin-bottom: 24px; }
.beers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.beer { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 30px 28px 34px; overflow: hidden; }
.beer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; }
.beer--red::before { background: var(--red); }
.beer--green::before { background: var(--green); }
.beer__abv { font-family: var(--font-display); font-size: clamp(40px, 6vw, 64px); line-height: 1; }
.beer--red .beer__abv { color: var(--red); }
.beer--green .beer__abv { color: var(--green); }
.beer h3 { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .04em; font-size: 24px; margin: 6px 0 2px; color: var(--ink); }
.beer__label { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--muted); }
.beer p { color: var(--ink-2); margin-top: 10px; }
.piwo__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.beer__note { font-size: 12px; color: var(--muted); }
@media (max-width: 600px) { .beers { grid-template-columns: 1fr; } }

.footer__links { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; font-size: 15px; }
.footer__links a { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer__links a:hover { color: var(--ink); }
.footer__sep { color: var(--muted-2); }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.linklike:hover { color: var(--ink); }

/* ---------------- Baner cookies ---------------- */
.cookiebar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  width: min(860px, calc(100% - 32px)); margin: 0 auto;
  background: rgba(12,14,16,.93); color: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.16); border-radius: 14px;
  padding: 18px 22px 16px; backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(18px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.cookiebar[hidden] { display: none; }
.cookiebar.is-on { opacity: 1; transform: none; }
.cookiebar::before { /* pasek R-B-Z */
  content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--red) 0 33%, #fff 33% 66%, var(--green) 66% 100%);
}
.cookiebar__txt { flex: 1 1 380px; font-size: 13.5px; line-height: 1.55; }
.cookiebar__txt b { color: #fff; }
.cookiebar__btns { display: flex; gap: 10px; }
.cookiebar .btn--ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.45); color: #fff; }
.cookiebar .btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
@media (max-width: 520px) {
  .cookiebar { left: 10px; right: 10px; bottom: 10px; width: calc(100% - 20px); padding: 16px 16px 14px; }
  .cookiebar__btns { width: 100%; }
  .cookiebar__btns .btn { flex: 1; justify-content: center; }
}

/* ============================================================
   MISJA (callout w sekcji O druzynie)
   ============================================================ */
.mission { position: relative; margin-top: 40px; border-left: 5px solid var(--green); background: linear-gradient(90deg, rgba(0,132,61,.07), rgba(226,0,26,.04)); border-radius: 0 14px 14px 0; padding: 24px 30px; }
.mission__label { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .16em; font-size: 13px; color: var(--green); margin-bottom: 8px; }
.mission__text { font-size: clamp(17px, 2.4vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 74ch; }
.mission__text b { color: var(--ink); font-weight: 700; }

/* ============================================================
   AKCJE SPOLECZNE — "Klub dla miasta"
   ============================================================ */
.akcje-intro { color: var(--ink-2); font-size: 18px; max-width: 64ch; margin-bottom: 30px; }
.akcje-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.akcja { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 24px; overflow: hidden; transition: transform .2s var(--ease), box-shadow .3s var(--ease); }
.akcja::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--red); }
.akcja:nth-child(2n)::before { background: var(--green); }
.akcja:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -24px rgba(0,0,0,.30); }
.akcja__ico { font-size: 34px; line-height: 1; margin-bottom: 14px; display: block; }
.akcja h3 { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .03em; font-size: 19px; line-height: 1.15; color: var(--ink); margin-bottom: 8px; }
.akcja p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
/* stagger wejscia jak inne karty */
.akcje-grid.reveal-up .akcja { opacity: 0; }
.akcje-grid.reveal-up.in-view .akcja { animation: cardInY .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }

/* ============================================================
   KLUB 200 — dokumenty do pobrania (PDF)
   ============================================================ */
.club200__docs { margin-top: 4px; }
.club200__docs-h { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.doc-btns { display: grid; gap: 8px; margin-bottom: 18px; }
.doc-btn { display: flex; align-items: center; gap: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; transition: border-color .25s, transform .2s var(--ease), background .25s; }
.doc-btn:hover { border-color: var(--green); transform: translateX(3px); background: #fff; }
.doc-btn__ico { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 7px; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--font-cond); font-weight: 700; font-size: 10px; letter-spacing: .02em; }
.doc-btn__tx { min-width: 0; }
.doc-btn__tx b { display: block; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .02em; font-size: 14px; color: var(--ink); }
.doc-btn__tx span { font-size: 12px; color: var(--muted); }
.club200__links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.club200__patronite { font-size: 13px; color: var(--muted); }
.club200__patronite a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.club200__patronite a:hover { color: var(--green-deep); }

/* ============================================================
   PATRONITE — baner cyklicznego wsparcia (sekcja 1,5%)
   ============================================================ */
.patronite-cta { position: relative; margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(100deg, rgba(0,132,61,.12), rgba(226,0,26,.06)); border: 1px solid var(--line); border-radius: 16px; padding: 26px 30px 26px 34px; overflow: hidden; }
.patronite-cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--green); }
.patronite-cta__tx { flex: 1 1 420px; }
.patronite-cta__eyebrow { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: var(--green); margin-bottom: 6px; }
.patronite-cta__heart { color: var(--red); }
.patronite-cta h3 { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .03em; font-size: 24px; color: var(--ink); margin-bottom: 6px; }
.patronite-cta p { color: var(--ink-2); max-width: 64ch; }
.patronite-cta__btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 620px) { .patronite-cta { padding: 22px 22px 22px 26px; } .patronite-cta__btn { width: 100%; justify-content: center; } }

/* ============================================================
   ZAWODNICY — sklad na boisku (bez zdjec)
   ============================================================ */
.squad-note { color: var(--muted); font-size: 14px; margin-bottom: 20px; max-width: 62ch; }
.roster { list-style: none; border-top: 1px solid var(--line); }
.rosteritem { position: relative; display: flex; align-items: baseline; gap: 18px; padding: 14px clamp(8px, 2vw, 22px); border-bottom: 1px solid var(--line); transition: background .25s var(--ease), padding-left .25s var(--ease); }
.rosteritem::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--red); transition: width .25s var(--ease); }
.rosteritem:nth-child(2n)::before { background: var(--green); }
.rosteritem:hover { background: var(--bg-2); padding-left: calc(clamp(8px, 2vw, 22px) + 16px); }
.rosteritem:hover::before { width: 6px; }
.roster__num { font-family: var(--font-cond); font-size: 14px; letter-spacing: .1em; color: var(--muted-2); min-width: 30px; flex: 0 0 auto; }
.roster__name { flex: 1; min-width: 0; }
.roster__name b { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(24px, 4.6vw, 46px); line-height: .98; color: var(--ink); letter-spacing: .01em; transition: color .2s var(--ease); }
.rosteritem:hover .roster__name b { color: var(--red); }
.rosteritem:nth-child(2n):hover .roster__name b { color: var(--green); }
.roster__name i { font-family: var(--font-cond); font-style: normal; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; color: var(--muted); margin-left: 10px; }
.roster__flag { align-self: center; font-family: var(--font-cond); font-size: 11px; letter-spacing: .08em; color: #fff; background: var(--red); border-radius: 5px; padding: 3px 8px; flex: 0 0 auto; }
.roster__pos { display: block; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: var(--muted-2); margin-top: 5px; }
.rosteritem:hover .roster__pos { color: var(--muted); }

/* ============================================================
   PODSTRONA — dokument (Polityka ochrony dzieci)
   ============================================================ */
.doc { padding: 120px clamp(16px, 4vw, 48px) 80px; background: var(--bg); position: relative; z-index: 10; }
.doc__wrap { max-width: 860px; margin: 0 auto; }
.doc__title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(36px, 7vw, 72px); line-height: .95; margin: 8px 0 16px; color: var(--ink); }
.doc__intro { font-size: 18px; color: var(--ink-2); margin-bottom: 28px; }
.doc h2 { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .04em; font-size: 26px; color: var(--ink); margin: 36px 0 10px; padding-top: 20px; border-top: 2px solid var(--line); }
.doc h3 { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .06em; font-size: 17px; color: var(--green); margin: 22px 0 4px; }
.doc p { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; margin-bottom: 10px; }
.doc .doc__sub { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ============================================================
   O DRUZYNIE — osiagniecia + cele
   ============================================================ */
.about-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.about-extra h3 { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .08em; font-size: 20px; color: var(--ink); margin-bottom: 14px; }
.about-extra ul { list-style: none; display: grid; gap: 10px; }
.about-extra li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 15px; }
.about-extra li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.goals li::before { background: var(--green); }
.goals b { color: var(--ink); }
@media (max-width: 700px) { .about-extra { grid-template-columns: 1fr; gap: 24px; } }
.placeholder-flag { display: inline-block; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 6px; padding: 4px 10px; margin-top: 8px; }

/* ---------------- Reveal ---------------- */
.reveal { will-change: transform, opacity; }

/* ---------------- Responsywnosc ---------------- */
/* Nawigacja: 9 linkow + CTA + brand nie miesci sie ciasno ponizej ~1150px
   -> kompaktowy font <=1280px, zwezone odstepy <=1200px, ponizej 1080px pelnoekranowe menu (burger). */
@media (max-width: 1280px) { .nav a { font-size: 15px; letter-spacing: .05em; } }
@media (max-width: 1200px) { .nav { gap: 12px; } .nav a { letter-spacing: .03em; } }
@media (max-width: 1080px) { .nav { display: none; } }
/* .nav-burger { display: block } dla <=1080px jest ustawione PO stylach burgera (nizej w pliku) — inaczej reset display:none by je nadpisal */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; }
  .hero__title .l2::before { clip-path: inset(0 60% 0 0); }
  .hero__copy { width: 100%; }
  .hero__title--logo { text-align: center; }
  .hero__logo { margin-inline: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .matchcard { max-width: 460px; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------------- Dostepnosc ---------------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================================
   ASSETY: zawodnicy, sponsorzy
   ============================================================ */

/* Zawodnicy — najlepsi w lidze */
.players-best { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.best-chip { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px 7px 8px; }
.best-chip .rank { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 13px; color: #fff; background: var(--green); }
.best-chip.is-legia { border-color: rgba(226,0,26,.45); background: rgba(226,0,26,.06); }
.best-chip.is-legia .rank { background: var(--red); }
.best-chip b { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .03em; font-size: 14px; color: var(--ink); }
.best-chip span { color: var(--muted); font-size: 12px; }

.players { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 24px; perspective: 1100px; }
.player { position: relative; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); transform-style: preserve-3d; will-change: transform; transition: box-shadow .3s var(--ease); }
.player::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--red); z-index: 3; }
.player:nth-child(3n+2)::before { background: var(--green); }
.player:nth-child(3n+3)::before { background: var(--ink); }
.player:hover { box-shadow: 0 22px 44px -24px rgba(0,0,0,.40); }
.player img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top center; display: block; filter: grayscale(.12) contrast(1.02); transition: filter .35s, transform .6s var(--ease); }
.player:hover img { filter: none; transform: scale(1.04); }
.player__info { padding: 11px 13px 13px; background: #fff; }
.player__pos { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--green); }
.player__name { font-family: var(--font-cond); text-transform: uppercase; font-weight: 600; font-size: 16px; letter-spacing: .02em; line-height: 1.05; margin-top: 2px; color: var(--ink); }
.staff-h { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 42px 0 2px; font-size: 18px; }
.players--staff { max-width: 320px; }
.players--staff .player__pos { color: var(--red); }

/* Sponsorzy */
.sponsor-label { text-align: center; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .2em; font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.sponsor-main { display: flex; flex-direction: column; align-items: center; margin: 8px 0 30px; }
.sponsor-main .tile { width: min(430px, 90%); aspect-ratio: 16 / 7; }
.sponsors { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; aspect-ratio: 1 / 1; transition: transform .2s var(--ease), box-shadow .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -16px rgba(0,0,0,.30); }
/* kafel z linkiem — kursor + ikonka „otworz w nowej karcie" na hover */
.tile--link { cursor: pointer; display: block; }
.tile--link::after { content: "↗"; position: absolute; top: 6px; right: 9px; z-index: 3; font-size: 13px; line-height: 1; color: var(--muted-2); opacity: 0; transition: opacity .25s var(--ease); }
.tile--link:hover { border-color: var(--green); }
.tile--link:hover::after { opacity: 1; }
/* ciemny kafel — dla logotypow z jasnym napisem na ciemnym tle (zeby byly widoczne) */
.tile--dark { background: #101316; border-color: rgba(255,255,255,.14); }
.tile--dark.tile--link::after { color: rgba(255,255,255,.55); }
/* negatyw domyslnie (logo bialy-na-czarnym staje sie czarny-na-bialym), oryginal + ciemny kafel po najechaniu.
   Specyficznosc .sponsors .tile.tile--invert img musi przebic regule szarosci .sponsors .tile img */
.tile--invert { background: #fff; transition: background .3s var(--ease), transform .2s var(--ease), box-shadow .3s; }
.sponsors .tile.tile--invert img { filter: invert(1); transition: filter .3s var(--ease); }
.sponsors .tile.tile--invert:hover img { filter: none; }
.tile--invert:hover { background: #101316; }
.tile--invert:hover.tile--link::after { color: rgba(255,255,255,.55); }
/* sponsor bez pliku logo — nazwa jako tekst */
.tile--txt .tile__txt { position: absolute; inset: 8px; display: grid; place-items: center; text-align: center; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .03em; font-size: 14px; line-height: 1.12; color: var(--ink-2); }
.tile--dark .tile__txt { color: rgba(255,255,255,.85); }
/* logo = warstwa absolutna: kafel zawsze trzyma proporcje, kazde logo dostaje identyczne pudelko */
.tile img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }

@media (max-width: 520px) {
  .players { grid-template-columns: repeat(2, 1fr); }
  .sponsors { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   HERO „photo-forward" — kinowe zdjecie + biala typografia
   ============================================================ */
#scene { display: none; }              /* WebGL pilka off — wejdzie realna pilka ze zdjecia */
.floodlight { display: none; }

.hero { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; color: #fff; overflow: hidden; max-width: none; width: 100%; margin: 0; padding: 120px max(clamp(16px,4vw,48px), calc((100% - 1240px) / 2)) 96px; }
.hero__bg { position: absolute; inset: -12% 0; z-index: 0; pointer-events: none; will-change: transform;
  background: url("../FOTO/glowna2-mirror.jpg") 50% 22% / cover no-repeat; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,10,.94) 0%, rgba(8,9,10,.74) 40%, rgba(8,9,10,.30) 72%, rgba(8,9,10,.55) 100%),
    linear-gradient(180deg, rgba(8,9,10,.60) 0%, rgba(8,9,10,0) 26%, rgba(8,9,10,.55) 78%, var(--bg) 100%); }
.hero__bgimg { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; opacity: 0; transition: opacity 1.2s ease; }
.hero__bgimg.is-active { opacity: 1; }
.hero__copy, .hero .matchcard, .hero__scroll { position: relative; z-index: 2; }
.hero__copy { max-width: 820px; }
.hero .matchcard { max-width: 470px; width: 100%; margin-top: 18px; }
/* Desktop: karta „Najbliższy mecz" przeniesiona na prawą stronę hero (naprzeciw kopii).
   Centrowanie pionowe przez margin-block:auto — bez transform, by nie kolidowac z GSAP reveal i .tilt. */
@media (min-width: 1080px) {
  #hero .matchcard {
    position: absolute;
    /* bottom:220px = 2×110px podnosi srodek karty rowno do srodka logo (symetria L↔P) */
    top: 0; bottom: 220px; margin-block: auto; height: fit-content;
    /* prawy inset = lewy inset logo (margines kontenera) → karta symetryczna do herbu */
    right: max(clamp(16px, 4vw, 48px), calc((100% - 1240px) / 2));
    width: min(430px, 34vw); max-width: 430px;
  }
}
.hero__kicker { color: rgba(255,255,255,.72); }
.hero__title .l1 { color: #fff; }
.hero__title .l2 { color: var(--green-br); }
.hero__lead { color: rgba(255,255,255,.9); max-width: 38ch; }
.hero__scroll { color: rgba(255,255,255,.78); }
.hero__scroll .dot { border-color: rgba(255,255,255,.4); }
.hero .btn--ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.45); color: #fff; }
.hero .btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* Naglowek nad ciemnym hero — jasny tekst; po przewinieciu (biale tlo) — ciemny */
.site-header .brand__txt { color: #fff; }
.site-header .brand__tag { color: rgba(255,255,255,.7); }
.site-header .nav a { color: rgba(255,255,255,.85); }
.site-header .nav a:hover { color: #fff; }
.site-header.scrolled .brand__txt { color: var(--ink); }
.site-header.scrolled .brand__tag { color: var(--muted); }
.site-header.scrolled .nav a { color: var(--ink-2); }
.site-header.scrolled .nav a:hover { color: var(--ink); }
.site-header .nav a.btn--red, .site-header.scrolled .nav a.btn--red { color: #fff; }
.site-header .nav a.btn--red:hover, .site-header.scrolled .nav a.btn--red:hover { color: #fff; }

/* Karta meczu — ciemna szklana wersja na zdjeciu */
.hero .matchcard { background: rgba(12,14,16,.60); border-color: rgba(255,255,255,.14); backdrop-filter: blur(16px); box-shadow: 0 36px 80px -34px rgba(0,0,0,.85); }
.hero .matchcard__top { color: rgba(255,255,255,.66); }
.hero .matchcard .team__name { color: #fff; }
.hero .matchcard .vs { color: rgba(255,255,255,.5); }
.hero .matchcard__meta { color: rgba(255,255,255,.85); }
.hero .matchcard .team__badge--rival { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22); color: #fff; }
.hero .matchcard .cd__box { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.hero .matchcard .cd__num { color: #fff; }
.hero .matchcard__note { color: rgba(255,255,255,.5); }
.hero .matchcard .matchcard__off-h { color: #fff; }
.hero .matchcard .matchcard__off-tx { color: rgba(255,255,255,.82); }
.hero .matchcard .matchcard__off-bilans { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.14); }
.hero .matchcard .matchcard__off-bilans b { color: var(--green-br); }

/* ============================================================
   PRZERYWNIK FOTO (kinowy, ciemny)
   ============================================================ */
.band { position: relative; min-height: 62vh; display: flex; align-items: center; overflow: hidden; padding: clamp(48px,8vw,110px) clamp(16px,4vw,48px); color: #fff; }
.band__bg { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; background: url("../FOTO/316261800_516359510509107_7149864021393904296_n.jpg") center 35% / cover no-repeat; }
.band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,10,.86) 0%, rgba(8,9,10,.45) 60%, rgba(8,9,10,.72) 100%); }
.band .wrap { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.band__kicker { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .28em; font-size: 14px; color: rgba(255,255,255,.82); display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.band__title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(40px,7vw,92px); line-height: .9; }
.band__title span { color: var(--green-br); }
.band__text { max-width: 46ch; margin-top: 16px; font-size: 18px; color: rgba(255,255,255,.9); }

/* ============================================================
   TABELA LIGOWA
   ============================================================ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ligatable { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.ligatable th { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--muted); text-align: center; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.ligatable td { text-align: center; padding: 11px 8px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.ligatable tbody tr:last-child td { border-bottom: 0; }
.ligatable th.lt-team, .ligatable td.lt-team { text-align: left; }
.lt-pos { font-family: var(--font-display); color: var(--ink); width: 40px; }
td.lt-team { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .02em; font-size: 15px; color: var(--ink); font-weight: 600; }
.lt-team-cell { display: flex; align-items: center; gap: 10px; }
.tb { width: 26px; height: 26px; object-fit: contain; flex: 0 0 26px; }
.tb--ph { display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 50%; font-family: var(--font-display); font-size: 9px; color: var(--muted); }
.lt-bil { color: var(--muted); font-variant-numeric: tabular-nums; }
.lt-pkt { font-family: var(--font-display); color: var(--ink); font-size: 18px; }
.ligatable tr.is-legia td { background: rgba(0,132,61,.08); }
.ligatable tr.is-legia td:first-child { box-shadow: inset 4px 0 0 var(--red); }
.ligatable tr.is-legia .lt-pos, .ligatable tr.is-legia .lt-pkt { color: var(--green); }
.table-src { font-size: 12px; color: var(--muted); margin-top: 12px; }
/* mobile: tabela miesci sie W CALOSCI bez przewijania — zwarte kolumny, bez kolumny Bilans */
@media (max-width: 600px) {
  .ligatable { min-width: 0; font-size: 13px; }
  .ligatable th, .ligatable td { padding: 9px 4px; }
  .ligatable th.lt-bil, .ligatable td.lt-bil { display: none; }
  .lt-pos { width: 26px; }
  td.lt-team { font-size: 13.5px; }
  .lt-team-cell { gap: 7px; }
  .lt-team-cell span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tb { width: 22px; height: 22px; flex: 0 0 22px; }
  .lt-pkt { font-size: 16px; }
}

/* ============================================================
   TERMINARZ / WYNIKI
   ============================================================ */
.next-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; background: linear-gradient(90deg, rgba(226,0,26,.07), rgba(0,132,61,.07)); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 22px; }
.next-bar__tag { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: var(--red); }
.next-bar__teams { display: flex; align-items: center; gap: 10px; font-family: var(--font-cond); text-transform: uppercase; font-weight: 600; font-size: 16px; color: var(--ink); }
.next-bar__teams b { color: var(--muted-2); margin: 0 4px; }
.next-bar__teams .tb { width: 30px; height: 30px; }
.next-bar__meta { color: var(--muted); font-size: 13px; margin-left: auto; }
.results { display: grid; gap: 8px; }
.result { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.result__side { display: flex; align-items: center; gap: 10px; justify-content: flex-end; font-family: var(--font-cond); text-transform: uppercase; font-size: 14px; color: var(--ink); min-width: 0; }
.result__side span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result__side--away { justify-content: flex-start; }
.result .tb { width: 24px; height: 24px; flex: 0 0 24px; }
.result__score { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.result__score i { color: var(--muted-2); font-style: normal; }
.result__round { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; min-width: 68px; text-align: right; }
.result__kol { font-family: var(--font-cond); font-size: 12px; color: var(--muted); }
.result__date { font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.result.is-win .result__score { color: var(--green); }
/* naglowek listy (Terminarz / Wyniki) */
.results-h { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--muted); margin: 22px 0 10px; }
.results-h:first-child { margin-top: 0; }
/* kolumna daty w terminarzu nadchodzacych meczow */
.result__when { display: flex; flex-direction: column; align-items: center; line-height: 1.1; min-width: 84px; }
.result__when b { font-family: var(--font-cond); font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.result__when i { font-style: normal; font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.result--fx.is-next { background: linear-gradient(90deg, rgba(226,0,26,.05), rgba(0,132,61,.05)); border-color: color-mix(in srgb, var(--green) 45%, var(--line)); }
@media (max-width: 600px) { .result__round { min-width: 52px; } .result__kol { display: none; } .result--fx .result__date { display: none; } .next-bar__meta { margin-left: 0; width: 100%; } }

/* ============================================================
   HERO — realna pilka (cutout maska + unoszenie)
   ============================================================ */
.hero__ball {
  position: absolute; z-index: 1; pointer-events: none;
  right: clamp(-26px, 1vw, 26px); bottom: clamp(-12px, 3vh, 48px);
  width: clamp(260px, 42vw, 600px); height: auto;
  -webkit-mask-image: radial-gradient(ellipse 53% 47% at 50% 52%, #000 58%, rgba(0,0,0,.55) 76%, transparent 90%);
          mask-image: radial-gradient(ellipse 53% 47% at 50% 52%, #000 58%, rgba(0,0,0,.55) 76%, transparent 90%);
  filter: drop-shadow(0 26px 36px rgba(0,0,0,.55));
  animation: ballfloat 6.5s ease-in-out infinite;
}
@keyframes ballfloat { 0%,100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-16px) rotate(1.2deg); } }
@media (max-width: 920px) { .hero__ball { opacity: .42; right: -12%; bottom: -2%; width: 84%; } }
@media (prefers-reduced-motion: reduce) { .hero__ball { animation: none; } }

/* ============================================================
   WSPARCIE — Klub 200 + 1,5% podatku
   ============================================================ */
.support { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.support__card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 30px 30px 34px; position: relative; overflow: hidden; }
.support__card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--green); }
.support__card--tax::before { background: var(--red); }
.support__big { font-family: var(--font-display); font-size: clamp(54px, 8vw, 96px); line-height: 1; color: var(--green); }
.support__big--red { color: var(--red); }
.support__card h3 { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .04em; font-size: 26px; margin: 4px 0 12px; color: var(--ink); }
.support__card p { color: var(--ink-2); margin-bottom: 14px; }
.support__steps { margin: 0 0 16px 1.1em; color: var(--ink-2); display: grid; gap: 7px; }
.support__steps b { color: var(--ink); }
.krs { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .06em; font-size: 18px; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }
.support__todo { font-size: 12px; color: var(--muted); font-style: italic; }
.support__or { font-size: 13px; color: var(--muted); margin: 4px 0 8px; }
.krs--acc { font-size: 14px; letter-spacing: .02em; line-height: 1.5; word-break: break-word; }
.krs--acc span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

/* ============================================================
   AKTUALNOSCI — natywne karty newsow
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.news { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .3s; }
.news:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(0,0,0,.35); }
.news__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.news__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news:hover .news__img img { transform: scale(1.05); }
.news__cat { position: absolute; left: 12px; top: 12px; background: var(--red); color: #fff; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; padding: 5px 12px; border-radius: 6px; }
.news__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.news__date { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--muted); }
.news h3 { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .02em; font-size: 19px; line-height: 1.1; color: var(--ink); }
.news p { color: var(--ink-2); font-size: 14px; line-height: 1.6; }

/* ============================================================
   KLUB 200 — dedykowana sekcja
   ============================================================ */
.club200 { display: grid; gap: 26px; }
.club200__intro { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.club200__num { font-family: var(--font-display); font-size: clamp(72px, 12vw, 132px); line-height: .82; color: var(--green); }
.club200__num span { display: block; font-family: var(--font-cond); font-size: 17px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.club200__intro p { color: var(--ink-2); font-size: 18px; max-width: 62ch; }
.club200__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.club200__box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; }
.club200__box h3 { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .04em; font-size: 22px; margin-bottom: 14px; color: var(--ink); }
.club200__box .support__steps { margin: 0 0 16px 1.1em; }
@media (max-width: 760px) { .club200__intro { grid-template-columns: 1fr; gap: 14px; } .club200__cols { grid-template-columns: 1fr; } }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal-up { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-up.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-up { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ============================================================
   ZOSTAN PARTNEREM + KONTAKT
   ============================================================ */
.partner-cta { margin-top: 28px; background: linear-gradient(90deg, rgba(226,0,26,.06), rgba(0,132,61,.06)); border: 1px solid var(--line); border-radius: 16px; padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.partner-cta h3 { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .04em; font-size: 24px; color: var(--ink); margin-bottom: 6px; }
.partner-cta p { color: var(--ink-2); max-width: 66ch; }
.partner-cta .btn { white-space: nowrap; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact__main { display: grid; gap: 12px; align-content: start; }
.contact__row { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; transition: border-color .25s, transform .2s var(--ease); }
.contact__row:hover { border-color: var(--green); transform: translateY(-2px); }
.contact__row span { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--muted); }
.contact__row b { font-size: 20px; color: var(--ink); }
.contact__socials { display: flex; gap: 12px; margin-top: 4px; }
.contact__socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); transition: .25s var(--ease); }
.contact__socials a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.contact__board { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; }
.contact__board h3 { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .06em; font-size: 20px; color: var(--ink); margin-bottom: 12px; }
.board { list-style: none; display: grid; gap: 10px; }
.board li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.board li:last-child { border-bottom: 0; padding-bottom: 0; }
.board b { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .02em; font-size: 16px; color: var(--ink); }
.board span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } .partner-cta { flex-direction: column; align-items: flex-start; } }
@media (max-width: 760px) { .support { grid-template-columns: 1fr; } }
.support__perks { list-style: none; display: grid; gap: 8px; margin: 4px 0 18px; }
.support__perks li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15px; }
.support__perks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }

/* ============================================================
   O DRUZYNIE
   ============================================================ */
.about { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.about__text p { color: var(--ink-2); margin-bottom: 14px; max-width: 56ch; }
.about__facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
/* lewa kolumna czerwona, prawa zielona (barwy Legii: czerwony od lewej) */
.about__facts li { border-left: 3px solid var(--red); padding-left: 12px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-cond); }
.about__facts li:nth-child(2n) { border-color: var(--green); }
.about__facts b { display: block; font-family: var(--font-display); font-size: 32px; color: var(--ink); line-height: 1; letter-spacing: 0; }
.about__media img { width: 100%; border-radius: 16px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.4); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about__media { order: -1; } .about__media img { aspect-ratio: 16 / 10; } }

/* ============================================================
   ŻYWA 2.0 — pakiet ożywienia strony
   (postep scrolla, kino w hero, ticker, ciemne statystyki,
    galeria kadry, nabor-foto, staggery, menu mobilne)
   ============================================================ */

/* ---------------- Pasek postepu scrolla ---------------- */
.scrollprog { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; pointer-events: none; }
.scrollprog span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--red) 0 33%, #fff 33% 66%, var(--green) 66% 100%); box-shadow: 0 0 8px rgba(0,0,0,.25); }

/* ---------------- HERO: kino ---------------- */
/* Ken Burns na aktywnym slajdzie tla */
.hero__bgimg { transform: scale(1.08); }
.hero__bgimg.is-active { animation: kenburns 8.5s linear forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1.17); } }

/* Snop swiatla jupiterow przesuwajacy sie po zdjeciu */
.hero__sweep {
  position: absolute; top: -30%; left: 0; width: 30%; height: 160%;
  z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16) 45%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.16) 55%, transparent);
  transform: rotate(13deg) translateX(-170%);
  animation: floodsweep 9.5s ease-in-out infinite;
}
@keyframes floodsweep {
  0%       { transform: rotate(13deg) translateX(-170%); }
  42%, 100% { transform: rotate(13deg) translateX(420%); }
}

/* Tytul wyjezdza spod maski (GSAP animuje .reveal-line) */
.hero__title .mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .l1, .hero__title .l2 { will-change: transform; }

/* Karta meczu: delikatny lift */
.hero .matchcard { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.hero .matchcard:hover { transform: translateY(-4px); }

/* Odliczanie split-flap — klapki jak na dworcowej tablicy:
   gorna polowa starej cyfry sklada sie w dol, dolna polowa nowej rozklada za nia */
.cd__box { perspective: 340px; }
.cd__num.flapnum { position: relative; height: 40px; }
.flapnum .flap {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: #101316; border-radius: 7px; color: #fff;
  backface-visibility: hidden; will-change: transform;
}
.flapnum .flap--t  { clip-path: inset(0 0 50% 0); }
.flapnum .flap--b  { clip-path: inset(50% 0 0 0); }
.flapnum .flap--ft { clip-path: inset(0 0 50% 0); opacity: 0; }
.flapnum .flap--fb { clip-path: inset(50% 0 0 0); opacity: 0; transform: rotateX(90deg); }
.flapnum.flip .flap--ft { opacity: 1; animation: flapFold .3s cubic-bezier(0.45, 0, 0.9, 0.55) forwards; }
.flapnum.flip .flap--fb { opacity: 1; animation: flapUnfold .33s cubic-bezier(0.15, 0.65, 0.35, 1) .28s forwards; }
@keyframes flapFold   { from { transform: rotateX(0); }      to { transform: rotateX(-90deg); } }
@keyframes flapUnfold { from { transform: rotateX(90deg); }  to { transform: rotateX(0); } }
.flapnum.flip .flap--ft::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.28); } /* cien na skladanej klapce */
.flapnum::after { /* os zawiasu */
  content: ""; position: absolute; left: 7%; right: 7%; top: calc(50% - 1px); height: 1px;
  background: rgba(0,0,0,.55); z-index: 5;
}

/* ---------------- Tilt 3D + wedrujacy odblask ---------------- */
.tilt { position: relative; transform-style: preserve-3d; will-change: transform; }
.tilt__glare {
  position: absolute; inset: 0; z-index: 3; border-radius: inherit;
  pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
}

/* ---------------- HERO — plotno WebGL (displacement) ---------------- */
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__bg.bg--gl .hero__bgimg { opacity: 0 !important; animation: none !important; }

/* ---------------- TICKER KLUBOWY ---------------- */
/* overflow:clip + contain — tasma ma ~3000 px szerokosci i NIE MOZE wplywac na szerokosc strony */
.ticker { position: relative; z-index: 10; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; overflow: clip; contain: layout paint; padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: tickermove 30s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__set { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.ticker__set span {
  font-family: var(--font-display); text-transform: uppercase; white-space: nowrap;
  font-size: clamp(40px, 6.5vw, 84px); line-height: 1; color: var(--ink); letter-spacing: .01em;
}
.ticker__set .t-out { color: transparent; -webkit-text-stroke: 2px rgba(14,15,18,.34); }
.ticker__set i { font-style: normal; font-size: clamp(14px, 2vw, 24px); }
.ticker__set .t-r { color: var(--red); }
.ticker__set .t-g { color: var(--green); }
@keyframes tickermove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- SEZON W LICZBACH — panel stadionowy ---------------- */
#stats { position: relative; background: #0d0f12; overflow: hidden; }
#stats::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 60% at 12% 0%, rgba(226,0,26,.14), transparent 70%),
    radial-gradient(56% 64% at 88% 100%, rgba(0,132,61,.16), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 140px);
}
#stats::after { /* jupitery nad panelem */
  content: ""; position: absolute; left: 50%; top: -140px; width: 900px; height: 280px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.10), transparent 70%); pointer-events: none;
}
#stats .wrap { position: relative; z-index: 2; }
#stats .eyebrow { color: var(--green-br); }
#stats h2 { color: #fff; }
#stats .stat { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.12); transition: transform .25s var(--ease), border-color .25s, background .25s; }
#stats .stat:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.07); }
#stats .stat__num { color: #fff; text-shadow: 0 0 26px rgba(255,255,255,.18); }
#stats .stat__num .suffix { color: rgba(255,255,255,.5); }
#stats .stat__lbl { color: rgba(255,255,255,.56); }
#stats .topscorer { background: linear-gradient(90deg, rgba(0,162,74,.18), rgba(0,0,0,0)); border-left-color: var(--green-br); }
#stats .topscorer b { color: #fff; }
#stats .topscorer span { color: rgba(255,255,255,.62); }

/* ---------------- TRENUJ Z NAMI — kinowe tlo ---------------- */
#nabor { position: relative; background: #0c0e10; overflow: hidden; }
#nabor::before {
  content: ""; position: absolute; inset: 0;
  background: url("../FOTO/346952161_1341197743416996_4048153716276205768_n.jpg") 72% 28% / cover no-repeat;
}
#nabor::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,9,10,.93) 0%, rgba(8,9,10,.78) 44%, rgba(8,9,10,.34) 100%),
              linear-gradient(180deg, rgba(8,9,10,.35), rgba(8,9,10,.35));
}
#nabor .wrap { position: relative; z-index: 2; }
#nabor .eyebrow { color: var(--green-br); }
#nabor h2 { color: #fff; }
#nabor .join { background: rgba(12,14,16,.55); border-color: rgba(255,255,255,.14); backdrop-filter: blur(14px); }
#nabor .join__text p { color: rgba(255,255,255,.88); }
#nabor .join__facts li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
#nabor .btn--ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.45); color: #fff; }
#nabor .btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ---------------- TABELA + TERMINARZ — staggery i akcenty ---------------- */
/* Wejscia przez keyframes (animation), zeby nie kolidowac z transition hovera/tiltu */
@keyframes rowInX  { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes cardInY { from { opacity: 0; transform: translateY(24px);  } to { opacity: 1; transform: none; } }
#tabela-mount.reveal-up tbody tr { opacity: 0; }
#tabela-mount.reveal-up.in-view tbody tr { animation: rowInX .5s var(--ease) both; }
#tabela-mount.reveal-up.in-view tbody tr:nth-child(1) { animation-delay: .05s; }
#tabela-mount.reveal-up.in-view tbody tr:nth-child(2) { animation-delay: .11s; }
#tabela-mount.reveal-up.in-view tbody tr:nth-child(3) { animation-delay: .17s; }
#tabela-mount.reveal-up.in-view tbody tr:nth-child(4) { animation-delay: .23s; }
#tabela-mount.reveal-up.in-view tbody tr:nth-child(5) { animation-delay: .29s; }
#tabela-mount.reveal-up.in-view tbody tr:nth-child(6) { animation-delay: .35s; }
#tabela-mount.reveal-up.in-view tbody tr:nth-child(7) { animation-delay: .41s; }
#tabela-mount.reveal-up.in-view tbody tr:nth-child(8) { animation-delay: .47s; }
#tabela-mount.reveal-up.in-view tbody tr:nth-child(9) { animation-delay: .53s; }
.ligatable tr.is-legia td { animation: legiarow 3.4s ease-in-out infinite; }
@keyframes legiarow { 0%, 100% { background: rgba(0,132,61,.08); } 50% { background: rgba(0,132,61,.15); } }

.result { border-left: 4px solid transparent; transition: transform .2s var(--ease), box-shadow .3s var(--ease); }
.result.is-home { border-left-color: var(--green); }   /* mecz domowy — zielony pasek z lewej */
.result.is-away { border-left-color: var(--red); }     /* mecz wyjazdowy — czerwony pasek z lewej */
.result:hover { transform: translateX(6px); box-shadow: 0 14px 28px -18px rgba(0,0,0,.35); }
#terminarz-mount.reveal-up .result { opacity: 0; }
#terminarz-mount.reveal-up.in-view .result { animation: cardInY .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }

/* ---------------- Staggery kart: newsy, sponsorzy ---------------- */
#news-grid.reveal-up .news,
#sponsors-grid.reveal-up .tile { opacity: 0; }
#news-grid.reveal-up.in-view .news,
#sponsors-grid.reveal-up.in-view .tile { animation: cardInY .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }

/* ---------------- Sponsorzy: szarosc -> kolor (tylko desktop/hover) ---------------- */
/* na dotyku nie ma hovera — loga musza byc od razu w kolorze */
@media (hover: hover) and (pointer: fine) {
  .sponsors .tile img { filter: grayscale(1) opacity(.68); transition: filter .35s var(--ease); }
  .sponsors .tile:hover img { filter: none; }
}
/* mobile: loga po prostu jedno pod drugim (jedna kolumna) */
@media (max-width: 520px) {
  .sponsors { grid-template-columns: 1fr; gap: 10px; }
  .sponsors .tile { aspect-ratio: 16 / 7; }
}

/* ---------------- Naglowki sekcji: perspektywiczny reveal ---------------- */
.section h2.reveal-up { transform: perspective(680px) rotateX(26deg) translateY(44px); transform-origin: left bottom; }
.section h2.reveal-up.in-view { transform: none; }
.eyebrow .rwg span { transform-origin: left; transition: transform .5s var(--ease); }
.eyebrow.reveal-up:not(.in-view) .rwg span { transform: scaleX(0); }
.eyebrow.reveal-up.in-view .rwg .r { transition-delay: .05s; }
.eyebrow.reveal-up.in-view .rwg .w { transition-delay: .13s; }
.eyebrow.reveal-up.in-view .rwg .g { transition-delay: .21s; }

/* ---------------- Scrollspy w nawigacji ---------------- */
.nav a.is-active { color: var(--ink); }
.site-header:not(.scrolled) .nav a.is-active { color: #fff; }
.nav a.is-active::after { width: 100%; }

/* ---------------- Menu mobilne (burger) ---------------- */
.nav-burger {
  display: none; position: relative; z-index: 45; width: 44px; height: 44px;
  background: transparent; border: 0; cursor: pointer; padding: 10px;
}
.nav-burger span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .25s, background .3s; }
.nav-burger span + span { margin-top: 6px; }
.site-header.scrolled .nav-burger span { background: var(--ink); }
body.menu-open .nav-burger span { background: #fff; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobnav {
  position: fixed; inset: 0; z-index: 25; background: rgba(10,12,14,.96); backdrop-filter: blur(14px);
  display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: 90px clamp(24px, 8vw, 60px) 40px;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
body.menu-open .mobnav { opacity: 1; visibility: visible; }
.mobnav__links { display: grid; gap: 6px; }
.mobnav__links a {
  font-family: var(--font-display); text-transform: uppercase; font-size: clamp(34px, 9vw, 56px); line-height: 1.12;
  color: #fff; opacity: 0; transform: translateY(20px); transition: opacity .4s var(--ease), transform .4s var(--ease), color .25s;
}
.mobnav__links a:hover { color: var(--green-br); }
body.menu-open .mobnav__links a { opacity: 1; transform: none; }
body.menu-open .mobnav__links a:nth-child(1) { transition-delay: .06s; }
body.menu-open .mobnav__links a:nth-child(2) { transition-delay: .10s; }
body.menu-open .mobnav__links a:nth-child(3) { transition-delay: .14s; }
body.menu-open .mobnav__links a:nth-child(4) { transition-delay: .18s; }
body.menu-open .mobnav__links a:nth-child(5) { transition-delay: .22s; }
body.menu-open .mobnav__links a:nth-child(6) { transition-delay: .26s; }
body.menu-open .mobnav__links a:nth-child(7) { transition-delay: .30s; }
body.menu-open .mobnav__links a:nth-child(8) { transition-delay: .34s; }
body.menu-open .mobnav__links a:nth-child(9) { transition-delay: .38s; }
.mobnav__cta { color: var(--red) !important; }
.mobnav__cta:hover { color: #fff !important; }
.mobnav__rwg { max-width: 220px; }
body.menu-open { overflow: hidden; }
/* przy otwartym menu naglowek zawsze "ciemny" (przezroczysty, jasne napisy) */
body.menu-open .site-header { background: transparent; box-shadow: none; border-color: transparent; backdrop-filter: none; }
body.menu-open .site-header::before { opacity: 0; }
body.menu-open .site-header .brand__txt { color: #fff; }
body.menu-open .site-header .brand__tag { color: rgba(255,255,255,.7); }
@media (max-width: 1080px) { .nav-burger { display: block; } }

/* ---------------- Reduced motion: nowe elementy zawsze widoczne ---------------- */
@media (prefers-reduced-motion: reduce) {
  .hero__sweep, .scrollprog { display: none; }
  .ticker__track { animation: none; }
  .hero__bgimg { transform: none; }
  #news-grid .news, #sponsors-grid .tile,
  #tabela-mount tbody tr, #terminarz-mount .result,
  .mobnav__links a { opacity: 1 !important; transform: none !important; }
  .eyebrow .rwg span { transform: none !important; }
  .ligatable tr.is-legia td { animation: none; }
}
