/* =========================================================
   LARPED — Landing Page
   Brand: near-black (green-tinted) · lime accent · gold (Pass only) · rarity tiers
   Type: Space Grotesk (display) · Geist Mono (stats) · Inter (body)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces — near-black tinted toward the brand hue, never pure #000 */
  --bg:            #040503;
  --bg-warm:       #0B0A07;
  --bg-elev:       #100F0C;
  --surface:       rgba(255, 255, 255, 0.045);
  --surface-2:     rgba(255, 255, 255, 0.07);
  --border:        rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Glass — only where content passes underneath (nav, floating chips) */
  --glass:         rgba(12, 14, 8, 0.6);
  --glass-strong:  rgba(10, 11, 7, 0.82);
  --glass-border:  rgba(255, 255, 255, 0.1);
  --glass-blur:    20px;

  /* Text */
  --text:          #F4F6F0;
  --text-2:        rgba(240, 244, 232, 0.66);
  --text-3:        rgba(240, 244, 232, 0.42);

  /* Brand */
  --green:         #A8D84A;
  --green-bright:  #C4ED6A;
  --green-deep:    #82BD2E;
  --green-grad:    linear-gradient(135deg, #D6F29A 0%, #A8D84A 48%, #82BD2E 100%);
  --gold:          #F8D35A;
  --gold-deep:     #E0A93B;
  --gold-grad:     linear-gradient(135deg, #FCE79A 0%, #F8D35A 45%, #E0A93B 100%);

  /* Rarity */
  --r-common:    #6B7280;
  --r-uncommon:  #1E9E6A;
  --r-rare:      #2C63D6;
  --r-epic:      #8B3FE8;
  --r-legendary: #E0A93B;
  --r-mythic:    #E84393;
  --r-cyan:      #76D7FF;

  /* Elevation & glow */
  --glow-green:   0 0 40px -8px rgba(168, 216, 74, 0.45);
  --shadow-card:  0 24px 60px -24px rgba(0, 0, 0, 0.8);

  /* Layout */
  --maxw: 1180px;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--green); color: #0B0A07; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--green); color: #0B0A07; padding: 10px 16px;
  border-radius: 10px; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
}
.eyebrow--center { justify-content: center; }
.eyebrow--gold { color: var(--gold); }
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px var(--green);
}
.eyebrow .dot--gold { background: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* Accent words: solid brand color — weight and hue carry emphasis, no gradient fills */
.grad { color: var(--green); }
.grad-gold { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}
.section-lead {
  color: var(--text-2);
  font-size: clamp(1rem, 2vw, 1.18rem);
  max-width: 56ch;
  margin-top: 18px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 15.5px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--green);
  color: #0A1400;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 22px -10px rgba(168, 216, 74, 0.55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--green-bright);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 30px -10px rgba(168, 216, 74, 0.65);
}
.btn--gold {
  background: var(--gold-grad);
  color: #2A1D00;
  box-shadow: 0 8px 30px -8px rgba(248, 211, 90, 0.5);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -8px rgba(248, 211, 90, 0.66); }
.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

/* App Store badge */
.appstore-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: #000;
  padding: 11px 22px 11px 18px;
  border-radius: 15px;
  min-height: 56px;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 8px 30px -10px rgba(0,0,0,0.8);
}
.appstore-badge:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255,255,255,0.18); }
.appstore-badge__text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.appstore-badge__text small { font-size: 11px; font-weight: 500; letter-spacing: .01em; }
.appstore-badge__text strong { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; font-family: var(--font-body); }
.appstore-badge--lg { padding: 14px 30px 14px 24px; min-height: 64px; border-radius: 17px; }
.appstore-badge--lg .appstore-badge__text strong { font-size: 23px; }

/* ---------- Phone mockup ---------- */
.phone {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  aspect-ratio: 1242 / 2688;
  border-radius: 46px;
  padding: 9px;
  background:
    linear-gradient(155deg, #2c2c2e 0%, #0a0a0a 42%, #1a1a1a 100%);
  box-shadow:
    0 2px 2px rgba(255,255,255,0.18) inset,
    0 -2px 6px rgba(0,0,0,0.6) inset,
    0 50px 90px -30px rgba(0,0,0,0.85),
    0 0 0 1px rgba(255,255,255,0.05);
}
.phone__screen {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 38px;
  background: #000;
  display: block;
}
.phone__island {
  position: absolute;
  top: 20px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 26px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
.phone--mini, .phone--sm { max-width: 240px; }
.phone--mini .phone__screen, .phone--sm .phone__screen { border-radius: 30px; }
.phone--mini, .phone--sm { border-radius: 36px; padding: 7px; }

/* ---------- NAV ---------- */
/* Floating iOS-glass pill: blur is always on since page content scrolls
   beneath it; .scrolled only deepens the fill and lifts it. */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 12px 16px 0;
}
.nav__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 8px 8px 8px 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled .nav__inner {
  background: var(--glass-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 44px -20px rgba(0, 0, 0, 0.85);
}
.nav__brand img { height: 32px; width: auto; }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color .2s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__cta { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.nav__cta svg { margin-top: -1px; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 76px 0 110px; overflow: hidden; }
/* Ambient aurora: layered off-axis radials in the green family — depth
   without hard edges, fading well before the section boundary. */
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(52% 44% at 72% 28%, rgba(168, 216, 74, 0.2), transparent 68%),
    radial-gradient(38% 42% at 12% 55%, rgba(130, 189, 46, 0.13), transparent 70%),
    radial-gradient(46% 38% at 50% 96%, rgba(196, 237, 106, 0.1), transparent 72%),
    radial-gradient(30% 30% at 88% 75%, rgba(30, 158, 106, 0.1), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--maxw); margin-inline: auto; padding-inline: 24px;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 40px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8.5vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  overflow-wrap: break-word;
}
.hero__title .grad { display: inline-block; }
.hero__sub {
  color: var(--text-2);
  font-size: clamp(1.05rem, 2.1vw, 1.24rem);
  max-width: 50ch;
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__meta {
  list-style: none; display: flex; align-items: center; gap: 16px;
  margin-top: 34px;
  font-family: var(--font-mono);
  font-size: 13.5px; color: var(--text-2); letter-spacing: .02em;
}
.hero__meta b { color: var(--text); font-weight: 600; }
.hero__meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); display: inline-block; }

.hero__device { position: relative; display: flex; justify-content: center; }
.hero__device .phone { max-width: 340px; }
.phone--hero { animation: float 6s ease-in-out infinite; }

.float-chip {
  position: absolute; z-index: 5;
  font-family: var(--font-mono);
  font-weight: 700; font-size: 13px; letter-spacing: .04em;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--glass-strong);
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 18px 40px -16px rgba(0,0,0,0.8);
  animation: float 6s ease-in-out infinite;
}
.float-chip--xp {
  top: 14%; left: -2%;
  color: var(--green-bright);
  border-color: rgba(168,216,74,0.4);
  animation-delay: .6s;
}
.float-chip--rarity {
  bottom: 16%; right: -3%;
  color: color-mix(in srgb, var(--r-epic) 55%, #fff);
  border-color: color-mix(in srgb, var(--r-epic) 45%, transparent);
  animation-delay: 1.4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- RARITY LADDER ---------- */
.rarity { padding: 14px 0 70px; }
.rarity__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 24px;
}
.rarity__row {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.gem {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px; font-weight: 600; letter-spacing: .03em;
  padding: 11px 20px; border-radius: 999px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 38%, transparent);
  color: color-mix(in srgb, var(--c) 60%, #fff);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.gem:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--c) 20%, transparent); }
.gem__dot {
  width: 11px; height: 11px;
  background: var(--c);
  box-shadow: 0 0 12px var(--c);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* ---------- HOW IT WORKS ---------- */
.how { padding: 90px 0; }
.steps { position: relative; display: flex; flex-direction: column; gap: 110px; }
/* Hairline progress spine connecting the three steps on desktop */
.steps::before {
  content: ""; position: absolute; left: 50%; top: 4%; bottom: 4%;
  width: 1px; transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(168, 216, 74, 0.28) 12%, rgba(168, 216, 74, 0.28) 88%, transparent);
}
.step {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
}
.step--reverse .step__media { order: 2; }
.step__media { display: flex; justify-content: center; position: relative; }
.step__media::before {
  content: ""; position: absolute; inset: 10% 18%;
  background: radial-gradient(circle, rgba(168,216,74,0.18), transparent 68%);
  filter: blur(30px); z-index: -1;
}
.step--reverse .step__media::before { background: radial-gradient(circle, rgba(224,169,59,0.18), transparent 68%); }
.step__num {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600; letter-spacing: .12em;
  color: var(--green);
  display: inline-block; margin-bottom: 14px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(168,216,74,0.08);
  border: 1px solid rgba(168,216,74,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.step--reverse .step__num { color: var(--gold); background: rgba(248,211,90,0.08); border-color: rgba(248,211,90,0.28); }
.step__text h3 {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.025em; margin-bottom: 14px;
}
.step__text p { color: var(--text-2); font-size: 1.1rem; max-width: 42ch; }

/* ---------- FEATURES BENTO ---------- */
.features { padding: 90px 0; }
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.card--lg { grid-column: span 1; grid-row: span 2; }
.card--wide { grid-column: span 2; }
/* Flat, quiet icon chip — no glow, hairline border, reads as UI not ornament */
.card__icon {
  position: relative;
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  color: var(--green);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.card__icon svg { width: 24px; height: 24px; }
.card:hover .card__icon {
  border-color: rgba(168, 216, 74, 0.4);
  color: var(--green-bright);
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.35rem; letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.card p { color: var(--text-2); font-size: 1rem; }
.card__viz { width: 100%; height: auto; margin-top: 24px; opacity: .9; }
.card__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: .03em;
  padding: 6px 12px; border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.card__split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: center; height: 100%; }
.card__mini { display: flex; justify-content: center; align-items: flex-end; align-self: stretch; margin-bottom: -64px; }
.card__mini .phone { max-width: 200px; }

/* ---------- LEAGUES ---------- */
.leagues { position: relative; padding: 100px 0; overflow: hidden; }
.leagues__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 80% 50%, rgba(168, 216, 74, 0.13), transparent 70%),
    radial-gradient(35% 45% at 70% 20%, rgba(44, 99, 214, 0.08), transparent 70%);
  pointer-events: none;
}
.leagues__inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.leagues__device { display: flex; justify-content: center; position: relative; }
.float-chip--cut {
  top: 46%; right: 6%;
  color: var(--green-bright);
  border-color: rgba(168, 216, 74, 0.4);
  animation-delay: 1s;
}
.leagues__device .phone { max-width: 320px; }
.ticklist { list-style: none; margin: 26px 0 32px; display: flex; flex-direction: column; gap: 14px; }
.ticklist li {
  display: flex; align-items: center; gap: 13px;
  color: var(--text-2); font-size: 1.05rem;
}
.ticklist li::before {
  content: ""; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
  box-shadow: 0 0 14px rgba(168,216,74,0.4);
}

/* ---------- SHOWCASE MARQUEE ---------- */
.showcase { padding: 30px 0 100px; overflow: hidden; }
.marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  /* Let vertical page scroll pass through while JS captures horizontal swipes. */
  touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
}
.marquee.is-enhanced { cursor: grab; }
.marquee.is-dragging { cursor: grabbing; }
.marquee__track img { -webkit-user-drag: none; }
.marquee__track {
  --marquee-gap: 28px;
  display: flex; width: max-content;
  animation: scroll-x 38s linear infinite;
  /* Promote the whole track to its own GPU layer so the phone shadows are
     rasterized once and the loop just translates — smooth on mobile too. */
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
/* Spacing lives on each phone as a right-margin (not flex gap), so every item
   occupies an equal slot of width + gap. That makes one full set exactly half
   the track, so the loop is a plain translate3d(-50%) — no gap term in the
   keyframe. The previous version put the gap inside the keyframe via var(),
   which Safari/iOS ignores, and that reintroduced the cut-off/blank loop. */
.marquee__track .phone { flex: none; margin-right: var(--marquee-gap); }
@keyframes scroll-x {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- LARP PASS ---------- */
.pass { padding: 70px 0 100px; }
.pass__card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 64px);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(248,211,90,0.14), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(248,211,90,0.22);
  box-shadow:
    inset 0 0 0 1px rgba(248, 211, 90, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    var(--shadow-card);
  overflow: hidden;
}
.pass__shine {
  position: absolute; top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(248,211,90,0.16), transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.pass__content { position: relative; max-width: 620px; }
.pass__list { list-style: none; display: grid; gap: 16px; margin: 30px 0 34px; }
.pass__list li { display: flex; gap: 15px; align-items: flex-start; }
.pass__check {
  flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 2px;
  background: var(--gold-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.pass__list b { display: block; font-size: 1.08rem; font-weight: 600; }
.pass__list span { color: var(--text-2); font-size: .98rem; }
.pass__fine { color: var(--text-3); font-size: .85rem; margin-top: 18px; }

/* ---------- DOWNLOAD CTA ---------- */
.download { position: relative; padding: 110px 0 120px; overflow: hidden; text-align: center; }
.download__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(46% 60% at 50% 78%, rgba(168, 216, 74, 0.2), transparent 70%),
    radial-gradient(30% 40% at 22% 30%, rgba(130, 189, 46, 0.1), transparent 70%),
    radial-gradient(26% 34% at 80% 40%, rgba(30, 158, 106, 0.09), transparent 70%);
  pointer-events: none;
}
.download__inner { position: relative; }
.download__icon {
  width: 104px; height: 104px; border-radius: 26px; margin: 0 auto 30px;
  box-shadow: 0 24px 60px -16px rgba(168,216,74,0.4), 0 0 0 1px var(--border);
}
.download__title {
  font-family: var(--font-display);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.04;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  overflow-wrap: break-word;
}
.download__actions { display: flex; justify-content: center; }
.download__sub { color: var(--text-2); font-size: 1.2rem; margin: 20px 0 38px; }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
  background: var(--bg-warm);
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 30px; padding-bottom: 36px;
}
.footer__brand img { height: 30px; width: auto; margin-bottom: 14px; }
.footer__brand p {
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: .04em; color: var(--text-3);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 26px; }
.footer__links a { font-size: 14.5px; color: var(--text-2); transition: color .2s var(--ease); }
.footer__links a:hover { color: var(--green-bright); }
.footer__base {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer__base p { font-size: 13px; color: var(--text-3); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 940px) {
  .nav__links { display: none; }
  .steps::before { display: none; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 50px; }
  .hero__copy { text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__meta { justify-content: center; flex-wrap: wrap; }
  .hero__sub { margin-inline: auto; }
  .hero__device { order: -1; }

  .step, .step--reverse .step__media { grid-template-columns: 1fr; }
  .step { gap: 30px; text-align: center; }
  .step__media { order: -1 !important; }
  .step__text { text-align: center; }
  .step__text p { margin-inline: auto; }

  .bento { grid-template-columns: 1fr 1fr; }
  .card--lg { grid-row: span 1; }
  .card--wide { grid-column: span 2; }

  .leagues__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .leagues__copy { text-align: center; }
  .leagues__device { order: -1; }
  .ticklist { max-width: 340px; margin-inline: auto; }
  .ticklist li { text-align: left; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container, .hero__inner { padding-inline: 18px; }
  .nav { padding: 10px 10px 0; }
  .nav__inner { padding: 6px 6px 6px 18px; }
  .hero { padding: 36px 0 70px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .appstore-badge,
  .hero__actions .btn { width: 100%; }
  .float-chip { display: none; }
  .steps { gap: 80px; }

  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .card__split { grid-template-columns: 1fr; }
  .card__mini { display: none; }

  /* Showcase marquee on phones: smaller mockups, tighter gap, livelier speed.
     The keyframe offset tracks --marquee-gap, so the loop stays seamless. */
  .showcase { padding: 20px 0 72px; }
  .marquee__track { --marquee-gap: 16px; animation-duration: 22s; }
  .showcase .phone--sm { max-width: 150px; }

  .footer__base { flex-direction: column; }
  .download__actions { width: 100%; display: flex; }
  .download__actions .appstore-badge { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .phone--hero, .float-chip { animation: none; }
  .marquee__track { animation: none; }
  .hero__glow, .hero__gems .g, .pass__shine { animation: none !important; }
  .phone-stage, .hero__gems, .float-chip { transform: none !important; }
}

/* =========================================================
   ENHANCEMENTS — texture, cinematic hero, micro-interactions
   ========================================================= */

/* ---- Film grain overlay ---- */
.grain {
  position: fixed; inset: 0; z-index: 300; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ---- Gradient section dividers ---- */
.section-divider {
  position: relative;
  height: 1px; width: min(92%, 1180px);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(168, 216, 74, 0.32), transparent);
}
.section-divider::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(168, 216, 74, 0.28), transparent);
  filter: blur(4px);
}

/* ---- Hero: breathing glow ---- */
.hero__glow { animation: heroBreathe 9s ease-in-out infinite; will-change: opacity, transform; }
@keyframes heroBreathe {
  0%, 100% { opacity: 0.78; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.05); }
}

/* ---- Hero: floating rarity gems ---- */
.hero__gems { position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform; }
.hero__gems .g {
  position: absolute;
  width: var(--s, 14px); height: var(--s, 14px);
  background: var(--gc);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  filter: drop-shadow(0 0 10px var(--gc));
  opacity: 0.55;
  animation: gemDrift var(--d, 13s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes gemDrift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-24px) rotate(10deg); }
}

/* ---- Hero: 3D phone stage (JS-driven tilt) ---- */
.phone-stage {
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease);
  will-change: transform;
}

/* ---- Feature cards: cursor spotlight ---- */
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: 0; transition: opacity 0.35s var(--ease);
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(196, 237, 106, 0.12), transparent 62%);
  z-index: 0;
}
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }

/* ---- Buttons: shine sweep on hover ---- */
.btn--primary, .btn--gold { position: relative; overflow: hidden; }
.btn--primary::after, .btn--gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg); opacity: 0; pointer-events: none;
}
.btn--primary:hover::after, .btn--gold:hover::after { animation: btnShine 0.75s var(--ease); }
@keyframes btnShine {
  0%   { left: -75%; opacity: 1; }
  100% { left: 125%; opacity: 1; }
}

/* ---- Tabular figures for counting numbers ---- */
.count { font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
  .hero__gems { display: none; }
  .grain { opacity: 0.035; }
}
