/* KickPixel landing — Coach's Tactics Board (elevated).
   The page is a chalkboard on pitch-green felt: chalk-white markings, a real
   formation diagram with sprite "tokens", marching dashed run-arrows, sections
   chalked onto the board. Pure static CSS + a touch of vanilla JS for reveals.
   Identity kept: Press Start 2P, gold #f0c040 highlight, hard edges, pixel art.
   v2 elevation: cinematic hero (floodlight glow + live pill), scroll-reveal,
   hover lift on the chalk cards, ticker edge-fade, tighter type rhythm.
   v3: 8px rhythm scale, bigger legible pixel body, hero step-ladder + louder CTA.
   (Deliberately NOT the dark arcade/scanline look.) */

@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/PressStart2P.woff2') format('woff2');
}
/* Body pixel font — bundled locally so the page stays offline-capable. The
   latin woff2 is a variable file covering the full 400-700 weight range. */
@font-face {
  font-family: 'Pixelify Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/PixelifySans.woff2') format('woff2');
}

:root {
  --felt: #0c3d1f;        /* pitch-green board */
  --felt-2: #0a3319;      /* panel green */
  --felt-3: #07280f;      /* deep green */
  --ink: #051a09;         /* near-black green for shadows/borders */
  --chalk: #eef3ee;       /* chalk white */
  --chalk-dim: #a9c2ac;   /* faded chalk */
  --chalk-line: rgba(238, 243, 238, 0.55);
  --chalk-faint: rgba(238, 243, 238, 0.16);
  --gold: #f0c040;        /* coach's highlight marker */
  --gold-dim: #b9912a;
  --gold-glow: rgba(240, 192, 64, 0.35);
  --red: #ff6a5a;         /* opposition / sink */
  --blue: #8fd6ff;        /* friendly */
  --green: #5ef08a;       /* go / earn */
  --bronze: #d08a4e;
  --silver: #cfd8df;
  --display: 'Press Start 2P', monospace;
  --body: 'Pixelify Sans', ui-monospace, 'Courier New', monospace;
  --sh: 6px 6px 0 var(--ink);       /* default hard shadow */
  --sh-lift: 9px 9px 0 var(--ink);  /* hover/raised */
  /* one vertical-rhythm scale shared by every section + card (8px base) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px;
  --sp-section: 96px;   /* between-section breathing room */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--felt);
  color: var(--chalk);
  font-family: var(--body);
  font-size: 17px;   /* Pixelify Sans reads small; this is the legible floor for body */
  line-height: 1.72; /* generous leading keeps long 8-bit paragraphs crisp */
  letter-spacing: 0.3px;
  overflow-x: hidden;
  /* felt board: faint chalk grid + grass weave + edge vignette */
  background-image:
    linear-gradient(var(--chalk-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--chalk-faint) 1px, transparent 1px),
    url('sprites/tile_grass_a.png'),
    radial-gradient(120% 90% at 50% 0%, rgba(20, 90, 45, 0.5), transparent 55%);
  background-size: 44px 44px, 44px 44px, 36px 36px, 100% 100%;
  background-attachment: fixed, fixed, fixed, fixed;
}
body::before { /* keep grass subtle, sit content above it */
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background: var(--felt);
  opacity: 0.78;
}
/* soft chalk-dust vignette (no scanlines) */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background: radial-gradient(130% 130% at 50% 40%, transparent 62%, rgba(0, 0, 0, 0.5) 100%);
}

img, .sprite { image-rendering: pixelated; image-rendering: crisp-edges; }
::selection { background: var(--gold); color: var(--ink); }

h1, h2, h3, .display { font-family: var(--display); font-weight: 400; line-height: 1.4; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1140px, 92vw); margin: 0 auto; }

/* chalk text treatment */
.chalk { text-shadow: 0 0 1px rgba(255, 255, 255, 0.35), 1px 1px 0 rgba(0, 0, 0, 0.4); }
.eyebrow {
  font-family: var(--display); font-size: 10px; letter-spacing: 2px;
  color: var(--gold); text-transform: uppercase;
}
.muted { color: var(--chalk-dim); }
.gold { color: var(--gold); } .red { color: var(--red); }
.blue { color: var(--blue); } .green { color: var(--green); }

/* ---- live status pill (hero) ---------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-size: 9px; letter-spacing: 1.5px;
  color: var(--chalk); text-transform: uppercase;
  border: 2px solid var(--chalk-line); background: rgba(255, 255, 255, 0.04);
  padding: 8px 11px; box-shadow: 3px 3px 0 var(--ink);
}
.pill .dot { width: 8px; height: 8px; background: var(--green); box-shadow: 0 0 9px var(--green); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* ---- chalk underline used under headings ---------------------------- */
.uline { position: relative; display: inline-block; }
.uline::after {
  content: ''; position: absolute; left: 0; right: -6px; bottom: -10px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--chalk) 0 9px, transparent 9px 15px);
  opacity: 0.8;
}

/* ---- marching dashed run-arrow (the signature motif) ---------------- */
.run {
  position: relative; height: 3px; flex: 1;
  background: repeating-linear-gradient(90deg, var(--chalk-line) 0 10px, transparent 10px 20px);
  background-size: 20px 3px;
  animation: march 0.8s linear infinite;
}
.run::after {
  content: ''; position: absolute; right: -2px; top: 50%; transform: translateY(-50%);
  border-left: 10px solid var(--chalk-line); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.run.gold { background-image: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px); }
.run.gold::after { border-left-color: var(--gold); }
@keyframes march { to { background-position-x: -20px; } }

/* divider arrow between sections */
.divider { display: flex; align-items: center; gap: 0; padding: 0 0 4px; }

/* ---- buttons (gold marker box) -------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 13px; padding: 16px 22px;
  border: 2px solid var(--ink); background: var(--gold); color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink); cursor: pointer; text-transform: uppercase;
  transition: transform 0.08s steps(2), box-shadow 0.08s steps(2);
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn--ghost {
  background: transparent; color: var(--chalk);
  border: 2px dashed var(--chalk-line); box-shadow: none;
}
.btn--ghost:hover { color: var(--gold); border-color: var(--gold); transform: translate(2px, 2px); box-shadow: none; }
/* louder primary CTA — the unmistakable "play" action */
.btn--lg { font-size: 15px; padding: 19px 28px; box-shadow: 7px 7px 0 var(--ink); }
.btn--lg:hover { box-shadow: 4px 4px 0 var(--ink); }
.btn--ghost.btn--lg { box-shadow: none; }

/* ---- top clipboard bar ---------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 26, 9, 0.9); border-bottom: 3px solid var(--chalk-line);
  backdrop-filter: blur(2px);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; }
.brand { font-family: var(--display); font-size: 15px; color: var(--chalk); display: flex; align-items: center; gap: 9px; }
.brand b { color: var(--gold); }
.brand .tag { font-family: var(--body); font-size: 10px; letter-spacing: 2px; color: var(--chalk-dim); border: 1px dashed var(--chalk-line); padding: 3px 6px; }
.topnav { display: flex; align-items: center; gap: 24px; font-family: var(--display); font-size: 10px; letter-spacing: 1px; }
.topnav a.lnk { color: var(--chalk-dim); position: relative; transition: color 0.12s ease; }
.topnav a.lnk::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.16s ease;
}
.topnav a.lnk:hover { color: var(--gold); }
.topnav a.lnk:hover::after { transform: scaleX(1); }
.topbar .btn { padding: 11px 16px; font-size: 10px; box-shadow: 4px 4px 0 var(--ink); }

/* ---- sprite primitives (asset-driven, scaled via --s, steps anim) --- */
.sprite { display: inline-block; background-repeat: no-repeat; }
.player {
  --s: 3; width: calc(43px * var(--s)); height: calc(80px * var(--s));
  background-size: calc(86px * var(--s)) calc(80px * var(--s));
  animation: idle 0.72s steps(2) infinite;
}
@keyframes idle { to { background-position-x: calc(-86px * var(--s)); } }
.face { --s: 2.4; width: calc(43px * var(--s)); height: calc(80px * var(--s)); background-size: calc(43px * var(--s)) calc(80px * var(--s)); }
.coin {
  --s: 4; width: calc(8px * var(--s)); height: calc(8px * var(--s));
  background: url('sprites/coin_sheet.png'); background-size: calc(32px * var(--s)) calc(8px * var(--s));
  image-rendering: pixelated; animation: coin 0.6s steps(4) infinite;
}
@keyframes coin { to { background-position-x: calc(-32px * var(--s)); } }
.ball {
  --s: 4; width: calc(8px * var(--s)); height: calc(8px * var(--s));
  background: url('sprites/ball_bounce_sheet.png'); background-size: calc(16px * var(--s)) calc(8px * var(--s));
  image-rendering: pixelated; animation: ballframe 0.26s steps(2) infinite, bob 1.3s ease-in-out infinite;
}
@keyframes ballframe { to { background-position-x: calc(-16px * var(--s)); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.flag { --s: 2.4; width: calc(16px * var(--s)); height: calc(10px * var(--s)); background-size: 100% 100%; border: 1px solid var(--ink); }
.pack {
  --s: 2; width: calc(64px * var(--s)); height: calc(96px * var(--s)); background-size: 100% 100%;
  filter: drop-shadow(5px 6px 0 rgba(0, 0, 0, 0.5)); animation: float 3.2s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
.stars { display: inline-flex; gap: 2px; }
.star { --s: 2; width: calc(7px * var(--s)); height: calc(7px * var(--s)); background-size: 100% 100%; }

/* ---- player token on the pitch (chalk position ring + label) -------- */
.token { position: relative; display: flex; flex-direction: column; align-items: center; }
.token .pos { font-family: var(--display); font-size: 8px; color: var(--gold); margin-top: 6px; letter-spacing: 1px; }
.token::before { /* chalk ring under the feet */
  content: ''; position: absolute; bottom: 16px; left: 50%; transform: translate(-50%, 50%);
  width: 38px; height: 14px; border: 2px dashed var(--chalk-line); border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
}

/* ---- scroll reveal (vanilla JS toggles .in) ------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- section scaffold ----------------------------------------------- */
section { position: relative; padding: var(--sp-section) 0; }
.sec-head { margin-bottom: var(--s6); max-width: 64ch; }
.sec-head .eyebrow { display: inline-block; margin-bottom: var(--s2); }
.sec-head h2 { font-size: clamp(23px, 3.5vw, 36px); line-height: 1.32; color: var(--chalk); margin-top: 4px; }
.sec-head h2 .hl { color: var(--gold); }
.sec-head p { color: var(--chalk-dim); max-width: 60ch; margin-top: var(--s3); font-size: 15.5px; }

/* ---- hero = the tactics board --------------------------------------- */
.hero { padding: 70px 0 40px; position: relative; }
.hero::before { /* warm floodlight glow pooling behind the board */
  content: ''; position: absolute; z-index: -1; top: -80px; right: -8%;
  width: 70%; height: 150%; pointer-events: none;
  background:
    radial-gradient(46% 46% at 64% 42%, var(--gold-glow), transparent 70%),
    radial-gradient(34% 26% at 60% 8%, rgba(255, 255, 255, 0.14), transparent 72%);
  opacity: 0.7;
}
.hero::after { /* soft stadium-light wash raking across the top of the hero */
  content: ''; position: absolute; z-index: -1; top: -110px; left: 8%; right: 0; height: 72%;
  pointer-events: none; opacity: 0.42;
  background: radial-gradient(58% 52% at 72% 0%, rgba(255, 255, 255, 0.10), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(34px, 6.2vw, 68px); line-height: 1.04; color: var(--chalk); margin-top: var(--s2); }
.hero h1 .k { color: var(--gold); text-shadow: 0 0 22px var(--gold-glow), 1px 1px 0 rgba(0, 0, 0, 0.4); }
.hero .lead { margin: var(--s3) 0 var(--s1); font-size: 16.5px; max-width: 48ch; }
.hero .sub { color: var(--chalk-dim); font-size: 13px; margin-bottom: var(--s4); }
/* three-step conversion ladder: collect -> build -> win */
.hero .steps { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 var(--s3); }
.hero .steps .step { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 9px; letter-spacing: 1px; color: var(--chalk); text-transform: uppercase; }
.hero .steps .step b { color: var(--gold); font-size: 11px; }
.hero .steps .run.mini { width: 26px; flex: none; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .note { margin-top: var(--s3); font-size: 12px; color: var(--chalk-dim); display: flex; align-items: center; gap: 8px; }

/* the board itself */
.board-pitch {
  position: relative; border: 3px solid var(--chalk-line);
  background: linear-gradient(180deg, var(--felt-2), var(--felt-3));
  box-shadow: 12px 12px 0 var(--ink); padding: 30px 22px; min-height: 488px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; /* centre the formation, no clipping */
}
.board-pitch::after { /* subtle stadium spotlight on the turf */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 36%, rgba(255, 255, 255, 0.07), transparent 70%);
}
.board-pitch .mark { position: absolute; pointer-events: none; }
.m-box { top: 14px; bottom: 14px; left: 14px; right: 14px; border: 2px solid var(--chalk-line); }
.m-half { top: 14px; bottom: 14px; left: 50%; width: 0; border-left: 2px dashed var(--chalk-line); }
.m-circle { top: 50%; left: 50%; width: 96px; height: 96px; transform: translate(-50%, -50%); border: 2px solid var(--chalk-line); border-radius: 50%; }
.m-goal-l { top: 50%; left: 8px; width: 10px; height: 78px; transform: translateY(-50%); border: 2px solid var(--chalk-line); border-left: none; }
.m-goal-r { top: 50%; right: 8px; width: 10px; height: 78px; transform: translateY(-50%); border: 2px solid var(--chalk-line); border-right: none; }

/* Columns size to their tallest stack (3 players) and the single-token columns
   (GK / FWD) centre against it. Content-driven height + the board's min-height
   mean no sprite is ever clipped by the board edge. */
.formation {
  position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr);
  align-items: center; gap: 4px; padding: 6px 0;
}
.line { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.pitch { --s: 1.25; }

/* run arrows drawn over the pitch */
.pitch-run { position: absolute; z-index: 3; height: 3px; }
.pitch-run.a { top: 34%; left: 38%; width: 22%; }
.pitch-run.b { top: 64%; left: 44%; width: 26%; }
.ball-spot { position: absolute; z-index: 4; left: 46%; top: 50%; transform: translateY(-50%); }

/* chalk sticky note pinned to the board */
.note-pin {
  position: absolute; z-index: 5; font-family: var(--display); font-size: 8px; line-height: 1.6;
  color: var(--ink); background: var(--gold); padding: 7px 9px; box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-3deg);
}
.note-pin.tl { top: 22px; left: 22px; }
.note-pin.br { bottom: 22px; right: 22px; transform: rotate(2deg); }

.scoreline {
  position: relative; z-index: 5; margin-top: 14px; display: flex; align-items: center; justify-content: center;
  gap: 12px; font-family: var(--display); font-size: 12px; color: var(--chalk);
  border-top: 2px dashed var(--chalk-line); padding-top: 14px;
}
.scoreline .vs { color: var(--gold); }

/* ---- nation strip (chalk roster) ------------------------------------ */
.ticker {
  background: var(--felt-3); border-top: 3px solid var(--chalk-line); border-bottom: 3px solid var(--chalk-line); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker-inner { display: flex; gap: 26px; align-items: center; padding: 14px 0; width: max-content; animation: marquee 40s linear infinite; }
.ticker-inner .tk { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 10px; color: var(--chalk-dim); }
.ticker:hover .ticker-inner { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- "the plays" (chalk-boxed set-piece cards) ---------------------- */
.plays { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.play {
  border: 2px solid var(--chalk-line); background: var(--felt-2); box-shadow: var(--sh);
  padding: var(--s3); position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.12s steps(2), box-shadow 0.12s steps(2);
}
.play:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-lift); }
.play .tab {
  position: absolute; top: -13px; left: 16px; font-family: var(--display); font-size: 9px;
  background: var(--gold); color: var(--ink); padding: 5px 8px; border: 2px solid var(--ink);
}
.play h3 { font-size: 13px; margin: var(--s2) 0 10px; }
.play p { color: var(--chalk-dim); font-size: 13.5px; flex-grow: 1; } /* grow so art + runbar bottom-align across all cards */
.play .art { display: flex; align-items: flex-end; justify-content: center; gap: 8px; margin-top: var(--s3); min-height: 92px; }
.play .runbar { margin-top: var(--s3); display: flex; align-items: center; }

/* ---- the squad (tier ladder as pinned cards) ------------------------ */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.tier {
  border: 2px solid var(--chalk-line); background: var(--felt-2); box-shadow: 5px 5px 0 var(--ink);
  padding: 20px 18px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform 0.12s steps(2), box-shadow 0.12s steps(2);
}
.tier:hover { transform: translate(-2px, -3px); box-shadow: var(--sh-lift); }
.tier .badge { font-family: var(--display); font-size: 10px; letter-spacing: 1px; padding: 5px 8px; border: 2px solid; }
.tier.bronze { border-color: var(--bronze); } .tier.bronze .badge { color: var(--bronze); border-color: var(--bronze); }
.tier.silver { border-color: var(--silver); } .tier.silver .badge { color: var(--silver); border-color: var(--silver); }
.tier.gold { border-color: var(--gold); } .tier.gold .badge { color: var(--gold); border-color: var(--gold); }
.tier.legend { border-color: var(--green); box-shadow: 5px 5px 0 var(--ink), 0 0 22px rgba(94, 240, 138, 0.22); }
.tier.legend:hover { box-shadow: var(--sh-lift), 0 0 28px rgba(94, 240, 138, 0.32); }
.tier.legend .badge { color: var(--green); border-color: var(--green); }
.tier .badge { min-width: 96px; text-align: center; } /* equal badge width so all four align */
.tier .card-frame {
  width: 100%; height: 184px; padding: 8px; background: var(--felt-3); border: 2px solid var(--chalk-faint);
  display: flex; align-items: center; justify-content: center; overflow: hidden; /* identical frame across tiers */
}
.tier .label { font-family: var(--display); font-size: 9px; color: var(--chalk-dim); }
.packs-row { display: flex; align-items: center; justify-content: center; gap: 50px; margin-top: 50px; flex-wrap: wrap; }
.packs-row figure { text-align: center; }
.packs-row figcaption { font-family: var(--display); font-size: 9px; color: var(--chalk-dim); margin-top: 14px; }

/* ---- fixture list (coach's schedule) -------------------------------- */
.board { border: 3px solid var(--chalk-line); background: var(--felt-2); box-shadow: 8px 8px 0 var(--ink); }
.fixture {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: center;
  padding: 20px 22px; border-bottom: 2px dashed var(--chalk-faint);
  transition: background 0.12s ease;
}
.fixture:hover { background: rgba(255, 255, 255, 0.03); }
.fixture:last-child { border-bottom: none; }
.fixture .when { font-family: var(--display); font-size: 11px; color: var(--gold); }
.fixture .when small { display: block; color: var(--chalk-dim); font-size: 8px; margin-top: 8px; letter-spacing: 1px; }
.fixture h3 { font-size: 13px; margin-bottom: 6px; }
.fixture p { color: var(--chalk-dim); font-size: 13px; }
.tag { font-family: var(--display); font-size: 8px; padding: 5px 7px; border: 2px solid; letter-spacing: 1px; white-space: nowrap; }
.tag.ranked { color: var(--gold); border-color: var(--gold); }
.tag.free { color: var(--blue); border-color: var(--blue); }
.tag.live { color: var(--green); border-color: var(--green); }

/* ---- game plan (earn -> spend -> sink chalk flow) ------------------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.flow .col {
  border: 2px solid var(--chalk-line); background: var(--felt-2); box-shadow: 5px 5px 0 var(--ink); padding: 22px;
  transition: transform 0.12s steps(2), box-shadow 0.12s steps(2);
}
.flow .col:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-lift); }
.flow .col h3 { font-family: var(--display); font-size: 12px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.flow .col.earn h3 { color: var(--green); } .flow .col.spend h3 { color: var(--gold); } .flow .col.sink h3 { color: var(--red); }
.flow ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.flow li { font-size: 13.5px; color: var(--chalk); padding-left: 16px; position: relative; }
.flow li::before { content: '\203A'; position: absolute; left: 0; color: var(--gold); }
.flow li small { color: var(--chalk-dim); }
.flow .arrow { display: flex; align-items: center; justify-content: center; min-width: 40px; }
.flow .arrow .run { width: 40px; flex: none; }
.gate {
  margin-top: 32px; border: 3px dashed var(--gold); background: rgba(240, 192, 64, 0.07);
  padding: 20px 22px; display: flex; align-items: center; gap: 16px; font-size: 13px;
}
.gate .big { font-family: var(--display); font-size: 16px; color: var(--gold); white-space: nowrap; text-shadow: 0 0 14px var(--gold-glow); }

/* ---- two-up panels (on-chain / rivals) ------------------------------ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.card {
  border: 2px solid var(--chalk-line); background: var(--felt-2); box-shadow: var(--sh); padding: 26px;
  transition: transform 0.12s steps(2), box-shadow 0.12s steps(2);
}
.card:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-lift); }
.card h3 { font-family: var(--display); font-size: 13px; color: var(--gold); margin-bottom: 14px; }
.card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.card li { font-size: 13.5px; padding-left: 18px; position: relative; color: var(--chalk); }
.card li::before { content: '+'; position: absolute; left: 0; color: var(--green); font-family: var(--display); font-size: 10px; top: 3px; }

/* ---- final / team sheet --------------------------------------------- */
.final { text-align: center; }
.final h2 { font-size: clamp(26px, 5vw, 48px); margin-bottom: 16px; }
.final h2 .k { color: var(--gold); text-shadow: 0 0 18px var(--gold-glow), 1px 1px 0 rgba(0, 0, 0, 0.4); }
.final .row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.figbar { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.figbar .stat { font-family: var(--display); }
.figbar .stat b { display: block; font-size: 28px; color: var(--gold); text-shadow: 0 0 14px var(--gold-glow); }
.figbar .stat span { font-size: 9px; color: var(--chalk-dim); letter-spacing: 1px; }

/* ---- footer --------------------------------------------------------- */
footer { padding: 40px 0 70px; border-top: 3px solid var(--chalk-line); }
footer .wrap { display: flex; flex-direction: column; gap: 18px; }
footer .frow { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer .brand { font-size: 13px; }
footer .disc { font-size: 11.5px; color: var(--chalk-dim); max-width: 80ch; line-height: 1.8; }
footer .disc b { color: var(--gold-dim); }

/* ---- responsive ----------------------------------------------------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero::before, .hero::after { display: none; }
  .plays { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .flow .arrow { transform: rotate(90deg); padding: 2px 0; }
  .duo { grid-template-columns: 1fr; }
  .topnav { display: none; }
  .fixture { grid-template-columns: 100px 1fr; }
  .fixture .tag { grid-column: 2; justify-self: start; }
  .note-pin { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 15px; }
  section { padding: 56px 0; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .figbar .stat b { font-size: 22px; }
  .btn { font-size: 11px; padding: 14px 16px; }
  .board-pitch { min-height: 400px; }
  .pitch { --s: 1.05; }
  .line { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .player, .coin, .ball, .pack, .ticker-inner, .run, .pill .dot { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
