/*
 * WOW Picks landing page styles. Plain CSS, no preprocessor, no build step.
 *
 * READ THIS FIRST: the file is in two layers.
 *   Layer 1 (top, "============ Section ============" headings): the base styles per section.
 *   Layer 2 (from "WOW Vegas section treatment" down to "Responsive"): later design rounds.
 *           These rules come AFTER the base rules on purpose and override some of them
 *           (hero background, step transitions, film states, performance hints).
 *           When you change a property, search the whole file for the selector first.
 *   Responsive block at the end: max-width 820px (mobile) and smaller breakpoints.
 *
 * Fonts: 'countach' (Adobe Fonts kit nze7rnj, loaded in index.html) for display numerals / titles,
 *        'InterVariable' (self-hosted, assets/fonts/inter-variable.woff2) for everything else.
 * Animation timings are listed in docs/ANIMATION-SPEC.md.
 *
 * ============ Foundations ============
 * Direction: dark, cinematic, full-bleed. No boxed sections.
 * Colour comes from the 3D art and the product UI; brand blue is used as an accent,
 * green only on the primary action. No orange/gold UI colour, no glows, no eyebrow lines.
 */
@font-face {
  font-family: 'InterVariable';
  src: url('../assets/fonts/inter-variable.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
:root {
  --black: #111318;
  --ink: #0D0F13;
  --slate-top: #21252F;   /* LFS card gradient family */
  --slate-mid: #171A21;
  --ui-bg: #18181B;
  --ui-card: #202024;
  --ui-raised: #27272A;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #FAFAFA;
  --muted: #8E8E93;
  --dim: rgba(255,255,255,.45);

  --brand: #0078FE; /* WOW logo blue: accents only (key words, progress, numbers, links) */
  --blue: #3B82F6;
  --blue-light: #93C5FD;
  --green: #16A34A;
  --green-hover: #15803D;
  --green-light: #4ADE80;
  --red: #EF4444;

  --max: 1240px;
  --gutter: 32px;
  --head: 68px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  background: linear-gradient(180deg, #18181B 0, #00021F 3400px) no-repeat, #00021F; color: var(--text);
  font-family: 'InterVariable', system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.5; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: none; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.display {
  font-family: 'countach', 'InterVariable', sans-serif; /* Adobe Fonts kit nze7rnj */
  font-weight: 700; text-transform: uppercase;
  letter-spacing: -.005em; line-height: .88;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 32px; border-radius: 8px;
  font-weight: 800; font-size: 15px; letter-spacing: .02em; text-transform: uppercase;
  transition: background .15s, transform .15s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-hover); }

.hl { color: var(--brand); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: #0062D1; }

/* ============ Header ============ */
.head { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head); transition: background .3s, transform .35s cubic-bezier(.2,.8,.2,1); }
.head.solid { background: rgba(0,2,31,.35); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.head.hide { transform: translateY(-100%); }
.head .wrap { height: 100%; display: flex; align-items: center; gap: 8px; }
.head .logo img { height: 40px; width: auto; }
.head .sp { flex: 1; }
.head .login { font-weight: 700; font-size: 14px; padding: 0 16px; height: 40px; display: inline-flex; align-items: center; }
.head .btn { height: 40px; padding: 0 20px; font-size: 13px; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--head) + 48px); text-align: center; }
.hero .display { font-size: clamp(48px, 6.2vw, 96px); }
.hero .display .ln { white-space: nowrap; }
.hero-logo { height: 52px; width: auto; margin: 0 auto 24px; }
@media (max-width: 820px) { .hero-logo { height: 34px; margin-bottom: 16px; } }
.hero .sub { margin: 24px auto 28px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 620px; }
.hero .sub b { color: var(--text); font-weight: 700; }
.hero .sub, .hero .note{ text-shadow: 0 1px 12px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.8); }
.hero .note { margin-top: 16px; font-size: 13px; color: #B4B4BA; }
.hero .note a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hero-scene { position: relative; height: 600px; margin-top: 48px; }
.hero-scene .phone { position: absolute; left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.hero-scene .art { position: absolute; z-index: 1; pointer-events: none; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.hero-scene .art-helmet { width: 300px; left: calc(50% - 390px); top: 230px; transform: rotate(-8deg); }
.hero-scene .art-ball { width: 365px; left: calc(50% + 60px); top: 195px; transform: rotate(-14deg); }
.hero::before { /* background layer; final gradient + mask are set in "Hero: WOW Picks banner gradient" below */
  content: ""; position: absolute; inset: 0 0 auto; height: 1180px; z-index: 0; pointer-events: none;
  background: none;
  opacity: .85;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.hero > .wrap, .hero-scene { position: relative; z-index: 1; }
.hero::after { /* hard floor so the phone sits in the page, not on a card */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line);
}

/* ============ iPhone mockup (hero + steps) ============ */
.phone {
  width: 330px; height: 680px; border-radius: 58px; padding: 4px;
  background: linear-gradient(145deg, #9A9A9F 0%, #4A4A4D 16%, #2A2A2C 50%, #4A4A4D 84%, #9A9A9F 100%);
  box-shadow: 0 50px 100px rgba(0,0,0,.7);
}
.phone::before, .phone::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: #4A4A4D; }
.phone::before { left: -3px; top: 130px; height: 36px; box-shadow: 0 56px 0 #4A4A4D; }
.phone::after { right: -3px; top: 180px; height: 84px; }
.bezel { width: 100%; height: 100%; background: #000; border-radius: 54px; padding: 10px; }
.screen { position: relative; width: 100%; height: 100%; background: #201F24; border-radius: 45px; overflow: hidden; font-size: 12px; line-height: 1.3; text-align: left; }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 100px; height: 29px; border-radius: 16px; background: #000; z-index: 5; }
.status { display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 8px 28px 0 32px; font-weight: 700; font-size: 14px; }
.status .ic { display: flex; gap: 5px; align-items: center; }

/* Hero phone shows a real WOW Picks home screenshot under the HTML status bar */
.app-shot { display: block; width: 100%; height: calc(100% - 48px); object-fit: cover; object-position: top; }

/* ============ Leagues: ticker ============
   Every object is trimmed to its alpha bounds and drawn at one height, so
   all of them read at the same optical size. */
.leagues { padding: 28px 0; overflow: hidden; position: relative; }
.leagues::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1332px; max-width: 100%; height: 4px; opacity: .8; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, #007EFF 0%, rgba(0,126,255,0) 100%); }
.ticker { display: flex; }
.tk-run { display: flex; align-items: center; gap: 28px; padding-right: 28px; flex-shrink: 0; animation: tk 120s linear infinite; }
.tk-name { font-family: 'countach', sans-serif; font-weight: 700; font-size: 48px; line-height: 1; letter-spacing: 0; text-transform: uppercase; white-space: nowrap; }
.tk-obj { height: 38px; width: auto; flex-shrink: 0; filter: drop-shadow(0 12px 16px rgba(0,0,0,.6)); }
@keyframes tk { to { transform: translateX(-50%); } }

/* ============ Pick a side ============ */
.duel { padding: 120px 0; text-align: center; }
.duel-logo { height: 44px; width: auto; margin: 0 auto 20px; }
.duel-title { font-size: clamp(52px, 6.4vw, 96px); margin-bottom: 40px; }

.duel-row { display: flex; align-items: center; justify-content: center; gap: 24px; }
.duel-vs { font-weight: 900; font-size: 20px; color: var(--muted); letter-spacing: .02em; }
/* Pick cards are rendered assets (Higgsfield, GPT Image 2.5 sunburst): frame, stage and label in one image */
.side-card { flex: 0 0 340px; width: 340px; display: block; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.side-card img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.duel-cta { margin-top: 32px; }

/* ============ Features (pinned) ============
   The track is tall; the pin sticks while scroll progress picks the feature.
   The page keeps scrolling underneath, so nothing is hijacked. */
.feat-track { position: relative; height: calc((var(--n) - .6) * 55vh + 100vh); }
.feat-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.feat-inner { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feat-copy { position: relative; z-index: 3; }

.feat-titles { position: relative; height: clamp(130px, 12vw, 170px); }
.feat-titles h3 { position: absolute; inset: 0; font-size: clamp(44px, 5.2vw, 76px); opacity: 0; transform: translateY(30px); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.feat-titles h3.on { opacity: 1; transform: none; }
.feat-lines { position: relative; height: 32px; margin-top: 8px; }
.feat-lines p { position: absolute; inset: 0; font-size: 20px; color: var(--muted); opacity: 0; transition: opacity .4s; }
.feat-lines p.on { opacity: 1; }
/* Numbered stepper: 1 — 2 — 3; the connector after the active step fills with scroll */
.feat-bar { display: flex; align-items: center; margin-top: 40px; max-width: 360px; }
.feat-bar i { flex: 1; display: flex; align-items: center; gap: 10px; font-style: normal; }
.feat-bar i:last-child { flex: 0 0 auto; }
.feat-bar button { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: var(--muted); border: 1.5px solid var(--line-2); transition: background .25s, color .25s, border-color .25s; font-variant-numeric: tabular-nums; }
.feat-bar i.on button, .feat-bar i.done button { background: var(--brand); border-color: var(--brand); color: #fff; }
.feat-bar i::after { content: ""; flex: 1; height: 3px; margin-right: 10px; border-radius: 2px; background: linear-gradient(90deg, var(--brand) calc(var(--fill, 0) * 100%), var(--line-2) 0); }
.feat-bar i:last-child::after { display: none; }
.feat-cta { display: none; }
.feat-bar button { cursor: pointer; padding: 0; background: transparent; }
.feat-bar button:hover { border-color: var(--brand); color: #fff; }
.feat-bar button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.feat-stage { position: relative; z-index: 1; height: calc(100vh - var(--head) - 48px); display: flex; align-items: center; justify-content: center; }
.feat-phone { position: relative; z-index: 2; transform: scale(var(--ps, 1)); transform-origin: center; flex-shrink: 0; }
.fart { position: absolute; z-index: 1; width: 420px; left: -70px; top: 50%; opacity: 0; transform: translate(-30px, -50%) rotate(-10deg) scale(.9); transition: opacity .5s, transform .7s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); pointer-events: none; }
.fart.on { opacity: 1; transform: translate(0, -50%) rotate(-10deg); }
.scr { position: relative; height: calc(100% - 150px); }
.fv { position: absolute; inset: 0; padding: 0 12px; opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.fv.on { opacity: 1; transform: none; }

/* Shared section title */
.sec-title { font-size: clamp(44px, 5.4vw, 80px); margin-bottom: 64px; }

/* ============ FAQ ============ */
.faq-sec { padding: 120px 0; }
.faq-grid .sec-title { font-size: clamp(32px, 3.4vw, 48px); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq-grid .sec-title { margin-bottom: 20px; }
.faq-grid .help { color: var(--muted); }
.faq-grid .help a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; background: var(--brand); transition: transform .2s; }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 580px; }

/* ============ Sports sequence ============
   Low-light frame sequence painted on a canvas and scrubbed by scroll
   (image sequence instead of video.currentTime: smooth in both directions in every browser).
   Frames are graded onto the page navy (#00021F) so the section has no visible edge. */
.seq { position: relative; background: #00021F; }
.seq-track { position: relative; height: 520vh; }
.seq-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.seq-video { display: none; }
.seq-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: .75; transition: opacity .7s ease, filter .7s ease; }
.seq-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,2,31,.75) 0%, rgba(0,2,31,0) 55%), linear-gradient(180deg, #00021F 0, transparent 12%, transparent 88%, #00021F 100%); }
.seq-copy { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.seq-steps { position: relative; width: 480px; height: 260px; }
.seq-step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(24px); transition: opacity .45s, transform .55s cubic-bezier(.2,.8,.2,1); }
.seq-step.on { opacity: 1; transform: none; }

.seq-step h3 { font-size: clamp(72px, 9vw, 140px); }
.seq-step p { color: rgba(255,255,255,.75); font-size: 19px; margin-top: 10px; }
.seq-final { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; opacity: 0; transform: scale(.96); transition: opacity .6s, transform .7s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.seq-logo { height: 48px; width: auto; margin-bottom: 26px; }
.seq-final .display { font-size: clamp(56px, 8vw, 128px); max-width: 1000px; }
.seq-final p { color: var(--muted); font-size: 20px; margin: 22px 0 32px; }
.seq.done .seq-steps { opacity: 0; transition: opacity .4s; }
.seq.done .seq-final { opacity: 1; transform: none; pointer-events: auto; }
.seq.done .seq-canvas { opacity: .16; filter: blur(6px); }
@media (max-width: 820px) {
  /* mobile: no scroll scrub; the film loops on its own and the headline fades in */
  .seq-track { height: auto; }
  .seq-pin { position: relative; height: 100svh; min-height: 620px; }
  .seq-canvas, .seq-bar { display: none; }
  .seq-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
  .seq.in .seq-video { opacity: .6; transition: opacity 1.2s ease; }
  .seq.in .seq-final { opacity: 1; transform: none; pointer-events: auto; }
  .seq-final { justify-content: center; padding-bottom: 0; }
  .seq-shade { background: linear-gradient(0deg, rgba(0,2,31,.85) 0%, rgba(0,2,31,0) 50%), linear-gradient(180deg, #00021F 0, transparent 12%); }
  .seq-copy { align-items: center; justify-content: center; padding: 0; }
  .seq-steps { width: 100%; height: 200px; transition: opacity .4s; }
  .seq.in .seq-steps { opacity: 0; }
  .seq-step h3 { font-size: 22vw; }
  .seq-step p { font-size: 16px; }
  .seq-final .display { font-size: 15vw; }
  .seq-logo { height: 32px; margin-bottom: 18px; }
  .seq-final p { font-size: 16px; }
}

/* ============ Footer ============ */
footer { background: transparent; border-top: 1px solid var(--line); padding: 56px 0 48px; text-align: center; }
footer .award { width: 130px; margin: 0 auto 24px; }
footer .flogo { height: 34px; width: auto; margin: 0 auto 16px; }
footer .social { display: flex; justify-content: center; gap: 12px; margin-bottom: 16px; }
footer .social a { width: 34px; height: 34px; border-radius: 6px; background: rgba(255,255,255,.05); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
footer .social a:hover { color: #fff; }
footer .copy { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 22px; }
footer .age { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--muted); align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: var(--muted); margin-bottom: 12px; }
footer .legal { font-size: 11px; color: var(--dim); max-width: 960px; margin: 0 auto 8px; line-height: 1.6; }
.m-cta { display: none; }

.static *, .static *::before, .static *::after { transition: none !important; }
.static .hero .cta .btn, .static .m-cta .btn { animation: none; }

/* ==================================================================
   LAYER 2: later design rounds. Rules below intentionally override the base rules above.
   ================================================================== */

/* WOW Vegas section treatment (from wowvegas.com): blue edge lines + brand swirl */
.wv { position: relative; isolation: isolate; overflow: hidden; max-width: 1440px; margin-left: auto; margin-right: auto; }
.wv::before, .wv::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 1332px; max-width: 100%; height: 4px; opacity: .8; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, #007EFF 0%, rgba(0,126,255,0) 100%);
}
.wv::before { top: 0; }
.wv::after { bottom: 0; }
.wv-swirl { position: absolute; left: 50%; top: 50%; height: calc(100% - 48px); width: auto; max-width: none; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; }
@media (max-width: 820px) { .wv-swirl { height: calc(100% - 32px); } }

/* Play Now pulse: gentle scale beat, no glow */
@keyframes cta-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.hero .cta .btn, .m-cta .btn { animation: cta-pulse 1.8s ease-in-out infinite; }
.hero .cta .btn:hover, .seq-final .btn:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hero .cta .btn, .m-cta .btn { animation: none; } }

/* Feature phone shows real product screenshots */
.scr.shots { position: absolute; inset: 48px 0 0; height: auto; }
.scr.shots .fv { padding: 0; }
.scr.shots img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* Step changes read as distinct moves: outgoing content leaves in the opposite
   direction, the active progress segment fills with scroll inside the step */
.feat-titles h3.past { opacity: 0; transform: translateY(-30px); }
.feat-lines p { transform: translateY(12px); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.feat-lines p.on { transform: none; }
.scr.shots .fv { transform: translateX(70px) scale(.98); transition: opacity .3s, transform .4s cubic-bezier(.2,.8,.2,1); }
.scr.shots .fv.on { transform: none; }
.scr.shots .fv.past { transform: translateX(-70px) scale(.98); }
.fart { transition: opacity .35s, transform .5s cubic-bezier(.2,.8,.2,1); }
.fart:not(.on) { transform: translate(-60px, -50%) rotate(-40deg) scale(.85); }
.fart.past { transform: translate(40px, -50%) rotate(30deg) scale(.85); }

/* Hero: WOW Picks banner gradient + Figma burst, de-emphasised */
.hero { background: none; }
/* gradient + burst live on one layer that fades out at the bottom into the page background */
.hero::before { background: linear-gradient(100.6deg, rgba(10,7,72,1) 12.5%, rgba(26,20,184,1) 78.5%); opacity: 1; mix-blend-mode: normal; inset: 0; height: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 260px), transparent 100%); mask-image: linear-gradient(180deg, #000 calc(100% - 260px), transparent 100%); }
.hero > .hero-burst-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url('../assets/brand/hero-burst.svg') 50% 42% / max(2600px, 190vw) auto no-repeat; opacity: .35; mix-blend-mode: plus-lighter;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 260px), transparent 100%); mask-image: linear-gradient(180deg, #000 calc(100% - 260px), transparent 100%); }
.hero::after { display: none; }
.hero .sub { color: rgba(255,255,255,.8); }
.hero .note { color: rgba(255,255,255,.75); }
.hero .note a, .hero .hl { color: #fff; }
.hero .display .hl { color: #fff; }
@media (max-width: 820px) { .hero > .hero-burst-layer { background-size: 1500px auto; background-position: 50% 40%; } }
@media (max-width: 820px) { .hero::before { background: linear-gradient(180deg, #14109A 0%, #110D84 40%, #0A0748 100%); } }

/* Hero: hockey helmet + puck balance the two big balls */
.hero-scene .art-puck { width: 130px; left: calc(50% + 360px); top: 40px; transform: rotate(-20deg); filter: drop-shadow(0 20px 26px rgba(0,0,0,.5)); }
.hero-scene .art-hhelmet { width: 130px; left: calc(50% - 500px); top: 20px; transform: rotate(-20deg); filter: drop-shadow(0 20px 26px rgba(0,0,0,.5)); }
@media (max-width: 820px) {
  .hero-scene .art-x { width: 64px; }
  .hero-scene .art-puck { left: auto; right: 6px; top: 10px; width: 56px; }
  .hero-scene .art-hhelmet { left: 6px; top: 0; width: 64px; }
}

/* Who you got: matchups rotate across sports (NBA, NFL, MLB, soccer); cards flip in sync */
.side-card { position: relative; display: grid; }
.side-card img:not(.pick-coin) { grid-area: 1 / 1; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.side-card img:not(.on):not(.pick-coin) { opacity: 0; transform: rotateY(70deg) scale(.92); pointer-events: none; }
.side-card.r img:not(.on):not(.pick-coin) { transform: rotateY(-70deg) scale(.92); }
.duel-row { perspective: 1400px; }

/* Steps: WOW swirl centred behind the pinned stage, faint gradient edge lines.
   No overflow:hidden on .feat (it would break the sticky pin). */
.feat { position: relative; }
.feat-swirl { position: absolute; left: 50%; bottom: 0; height: min(112vh, 1080px); width: auto; max-width: none; transform: translateX(-50%); opacity: .14; z-index: 0; pointer-events: none; }
.feat-inner { position: relative; z-index: 1; }

/* Sports sequence copy: centred under the centred object, no counters */
.seq-copy { justify-content: center; align-items: center; padding: 0; }
.seq-steps { width: 100%; max-width: 760px; height: 230px; margin: 0 auto; }
.seq-step { align-items: center; text-align: center; justify-content: center; }
.seq-step h3 { text-shadow: 0 6px 40px rgba(0,2,31,.75); }
.seq-step p { text-shadow: 0 2px 16px rgba(0,2,31,.9); }
.seq-shade { background: radial-gradient(ellipse 40% 30% at 50% 50%, rgba(0,2,31,.45) 0%, rgba(0,2,31,0) 100%), linear-gradient(180deg, #00021F 0, transparent 12%, transparent 88%, #00021F 100%) !important; }

/* Progress bar: one segment per sport, fills with scroll so the reader keeps going */
.seq-bar { position: absolute; z-index: 3; left: 50%; bottom: 5vh; transform: translateX(-50%); display: flex; gap: 6px; width: min(360px, 70vw); transition: opacity .4s; }
.seq-bar i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); position: relative; overflow: hidden; }
.seq-bar i::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform: scaleX(var(--fill, 0)); transform-origin: left; }
.seq.done .seq-bar { opacity: 0; }
@media (max-width: 820px) { .seq-bar { display: none; } }

/* Final headline pops in once the last sport has played */
@keyframes seq-pop { 0% { opacity: 0; transform: scale(.35); } 60% { opacity: 1; transform: scale(1.12); } 80% { transform: scale(.97); } 100% { opacity: 1; transform: scale(1); } }
@keyframes seq-rise { 0% { opacity: 0; transform: translateY(18px); } 100% { opacity: 1; transform: none; } }
.seq-final { transform: none !important; transition: opacity .2s !important; }
.seq.done .seq-final .display { animation: seq-pop .7s cubic-bezier(.2,.9,.3,1.2) both; }
.seq.done .seq-final .seq-logo { animation: seq-rise .5s ease both .05s; }
.seq.done .seq-final p { animation: seq-rise .5s ease both .45s; }
.seq.done .seq-final .btn { animation: seq-rise .5s ease both .6s, cta-pulse 1.8s ease-in-out 1.2s infinite; }
.seq.in .seq-final .display { animation: seq-pop .7s cubic-bezier(.2,.9,.3,1.2) both; }
.seq.in .seq-final .seq-logo { animation: seq-rise .5s ease both .05s; }
.seq.in .seq-final p { animation: seq-rise .5s ease both .45s; }
.seq.in .seq-final .btn { animation: seq-rise .5s ease both .6s, cta-pulse 1.8s ease-in-out 1.2s infinite; }
@media (prefers-reduced-motion: reduce) { .seq-final * { animation: none !important; } }

/* Inline WOW mark: W cap band sized to the headline cap height, swirl overflows like the logo */
.wow-inline { display: inline-block; height: 1cap; width: auto; aspect-ratio: 109 / 25.5; overflow: visible; vertical-align: baseline; margin: 0 .04em 0 .12em; }
@supports not (height: 1cap) { .wow-inline { height: .72em; } }

/* Who you got: an S coin lands on one card each time the matchup changes, alternating sides
   (left card bottom-left, right card top-right) so the switch reads clearly. */
.side-card .pick-coin { position: absolute; z-index: 3; width: 78px; height: auto; grid-area: auto; opacity: 0; transform: scale(.4) rotate(-40deg); pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(255,196,64,.55)) drop-shadow(0 8px 10px rgba(0,0,0,.45)); transition: opacity .35s ease, transform .55s cubic-bezier(.2,.9,.3,1.3); }
.side-card.l .pick-coin { left: -26px; bottom: -14px; }
.side-card.r .pick-coin { right: -26px; top: -18px; }
.side-card.has-coin .pick-coin { opacity: 1; transform: none; }
@media (max-width: 820px) { .side-card .pick-coin { width: 46px; } .side-card.l .pick-coin { left: -10px; bottom: -8px; } .side-card.r .pick-coin { right: -10px; top: -10px; } }

/* 3D step numeral on the phone's top-left corner; swaps with the step so the screen change reads */
.fnum { position: absolute; z-index: 3; left: calc(50% - 205px * var(--ps, 1) - 10px); top: calc(50% - 345px * var(--ps, 1) - 10px); width: 64px; height: auto; opacity: 0; transform: scale(.5) rotate(-25deg); transition: opacity .3s, transform .45s cubic-bezier(.2,.9,.3,1.3); filter: drop-shadow(0 16px 20px rgba(0,0,0,.5)); pointer-events: none; }
.fnum.on { opacity: 1; transform: rotate(-8deg); }
@media (max-width: 820px) { .fnum { width: 42px; left: calc(50% - 170px * var(--ps, 1) - 18px); top: calc(50% - 345px * var(--ps, 1) - 6px); } }

/* Composite the moving hero pieces on their own layers so drop-shadows are rasterised once, not per frame */
.hero-scene .art, .hero-scene .phone { will-change: transform, translate, opacity; backface-visibility: hidden; }

/* Hero objects: one-time entrance from the edges, then a slow idle float.
   Uses the individual translate/scale properties so each object keeps its own rotate. */
@keyframes in-l { from { opacity: 0; translate: -140px 60px; scale: .7; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes in-r { from { opacity: 0; translate: 140px 60px; scale: .7; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes in-up { from { opacity: 0; translate: 0 80px; scale: .9; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero-scene .phone { animation: in-up .9s cubic-bezier(.2,.8,.2,1) both .15s; }
.hero-scene .art-hhelmet { animation: in-l .9s cubic-bezier(.2,.9,.3,1.15) both .45s, bob 5.5s ease-in-out 1.4s infinite; }
.hero-scene .art-helmet  { animation: in-l 1s cubic-bezier(.2,.9,.3,1.15) both .3s, bob 6.5s ease-in-out 1.4s infinite; }
.hero-scene .art-ball    { animation: in-r 1s cubic-bezier(.2,.9,.3,1.15) both .35s, bob 6s ease-in-out 1.6s infinite; }
.hero-scene .art-puck    { animation: in-r .9s cubic-bezier(.2,.9,.3,1.15) both .55s, bob 5s ease-in-out 1.5s infinite; }
.static .hero-scene .phone, .static .hero-scene .art { animation: none; }
.static .hero .hero-scene .phone, .static .hero .hero-scene .art { animation-play-state: running; }
@media (prefers-reduced-motion: reduce) { .hero-scene .phone, .hero-scene .art { animation: none; } }

/* Headings: the wowvegas.com title treatment, white fading to a pale blue (#CDE6FF) top to bottom */
.display, .tk-name { background: linear-gradient(180deg, #FFFFFF 0%, #CDE6FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .display .hl { color: transparent; }
.seq-step h3 { text-shadow: none; filter: drop-shadow(0 6px 30px rgba(0,2,31,.75)); }

/* Mobile film: the logo waits in the navbar slot and the CTA in the bottom-bar slot while the
   sports play; on the final beat both glide into the headline composition. */
@media (max-width: 820px) {
  .seq .seq-final { opacity: 1; transform: none; transition: none !important; pointer-events: none; }
  .seq .seq-final .display, .seq .seq-final p { opacity: 0; }
  .seq .seq-final .seq-logo, .seq .seq-final .btn { translate: 0 var(--dy, 0px); transition: translate .7s cubic-bezier(.2,.8,.2,1); pointer-events: auto; }
  .seq.in .seq-final .seq-logo, .seq.in .seq-final .btn { translate: 0 0; }
  .seq.measure .seq-final .seq-logo, .seq.measure .seq-final .btn { translate: none; transition: none; }
  .seq.in .seq-final .seq-logo { animation: none; }
  .seq.in .seq-final .btn { animation: cta-pulse 1.8s ease-in-out .9s infinite; }
  .seq.in .seq-final .display { animation: seq-pop .7s cubic-bezier(.2,.9,.3,1.2) both .15s; }
  .seq.in .seq-final p { animation: seq-rise .5s ease both .45s; }
}

/* Bridge from the 1-2-3 steps into the film: a calm dark beat with one line, then the sports */
.seq-copy { position: relative; }
.seq-intro { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 20px; pointer-events: none; opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.seq-intro .display { font-size: clamp(56px, 7vw, 112px); }
.seq.intro .seq-intro { opacity: 1; transform: none; }
.seq.intro .seq-steps { opacity: 0; }
@media (max-width: 820px) {
  .seq-intro .display { font-size: 15vw; }
  /* film stays dark until the section has settled, then fades up */
  .seq .seq-video { opacity: 0; transition: opacity .6s ease; }
  .seq.intro .seq-video { opacity: .35; scale: 1.08; }
  .seq.playing .seq-video { opacity: .8; scale: 1; }
  .seq .seq-video { transition: opacity .6s ease, scale 1.6s cubic-bezier(.2,.8,.2,1); }
  .seq .seq-steps { opacity: 0; }
  .seq.playing .seq-steps { opacity: 1; }
  .seq.in .seq-video { opacity: .6; transition: opacity 1.2s ease; }
  /* logo + CTA arrive half a beat after the film starts */
  .seq .seq-final .seq-logo, .seq .seq-final .btn { opacity: 0; transition: translate .7s cubic-bezier(.2,.8,.2,1), opacity .45s ease; }
  .seq.bars .seq-final .seq-logo, .seq.bars .seq-final .btn, .seq.in .seq-final .seq-logo, .seq.in .seq-final .btn { opacity: 1; }
}

/* Performance: the hero entrance waits until its images and the display font are decoded,
   so the first animated frames are not spent decoding or re-laying out text. */
.hero-scene .phone, .hero-scene .art { animation-play-state: paused; }
.hero.ready .hero-scene .phone, .hero.ready .hero-scene .art { animation-play-state: running; }
/* Animated elements carrying drop-shadows get their own compositor layer: the shadow is rasterised once */
.side-card img, .pick-coin, .fart, .fnum, .fv, .seq-step, .seq-intro, .seq-final .display { will-change: transform, opacity; }
.tk-run { will-change: transform; }
.head { will-change: transform; }
/* Sections that never change size keep their paint work to themselves */
.duel, .faq-sec, footer { contain: layout paint; }

/* Hero CTA: a bit wider on desktop */
@media (min-width: 821px) { .hero .cta .btn { min-width: 240px; padding: 0 48px; } }

/* Reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .hero-scene .art-helmet { width: 260px; left: calc(50% - 330px); }
  .hero-scene .art-ball { width: 250px; left: calc(50% + 70px); }
  .fart { width: 280px; left: -20px; }
}
@media (max-width: 820px) {
  :root { --gutter: 20px; --head: 58px; }
  .head .logo img { height: 34px; }
  .head .login { padding: 0 10px; font-size: 13px; }
  .head .btn { height: 36px; padding: 0 14px; }

  .hero { padding-top: calc(var(--head) + 36px); }
  .hero .display { font-size: 9.4vw; }
  .hero .sub { margin: 18px auto 0; font-size: 16px; max-width: 300px; }
  .hero .cta, .hero .note { display: none; }
  .hero-scene { height: 470px; margin-top: 36px; }
  .hero-scene .phone { transform: translateX(-50%) scale(.86); transform-origin: top center; }
  .hero-scene .art-helmet { width: 130px; left: -24px; top: 220px; }
  .hero-scene .art-ball { width: 150px; left: auto; right: -30px; top: 215px; }

  .leagues { padding: 24px 0; }
  .tk-run { gap: 24px; padding-right: 24px; animation-duration: 90s; }
  .tk-name { font-size: 32px; }
  .tk-obj { height: 26px; }

  .duel { padding: 80px 0; }
  .duel-logo { height: 30px; margin-bottom: 14px; }
  
  .duel-row { gap: 10px; }
  .duel-vs { display: none; }
  .side-card { flex: 1 1 0; width: auto; }
  .duel-cta { margin-top: 24px; }
  .duel-cta .btn { width: 100%; max-width: 320px; }
      .feat-track { height: calc((var(--n) - .6) * 40svh + 100svh); }
  .feat-pin { height: 100svh; align-items: flex-start; padding-top: 40px; }
  .feat-inner { grid-template-columns: 1fr; gap: 0; }
  .feat-copy { order: 2; text-align: center; }
  
  .feat-titles { height: 92px; }
  .feat-titles h3 { font-size: 40px; }
  .feat-lines { margin-top: 4px; }
  .feat-lines p { font-size: 16px; }
  .feat-bar { margin: 22px auto 0; max-width: 260px; }
  .feat-cta { display: inline-flex; margin-top: 20px; height: 48px; padding: 0 40px; }
  /* mobile: swirl smaller than the pinned screen so its whole shape rests on the bottom edge */
  .feat-swirl { height: auto; width: 150vw; bottom: -2svh; }
  .feat-lines { height: 48px; }
  .feat-bar button { width: 28px; height: 28px; font-size: 12px; }
  .feat-stage { order: 1; height: 52svh; margin-bottom: 12px; }
  .fart { width: 150px; left: -10px; top: 30%; }

  
  .sec-title { margin-bottom: 36px; }
  
  
  
  
  

  .faq-sec { padding: 72px 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 16px; }
  .faq summary { font-size: 16px; padding: 18px 0; }

  
  
  
  
  
  
  

  .m-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 28px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(0,2,31,0) 0%, rgba(0,2,31,.55) 45%, rgba(0,2,31,.8) 100%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28px); mask-image: linear-gradient(180deg, transparent 0, #000 28px); }
  .m-cta .btn { width: 100%; height: 50px; }
  .m-cta { transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s; }
  .m-cta.hide { transform: translateY(110%); opacity: 0; pointer-events: none; }
  footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  
  .tk-run { animation: none; }
}
