/* ============================================================
   Elite Ice — marketing site
   Dark, glassy, sports-broadcast aesthetic matching the app.
   ============================================================ */

:root {
  --bg: #0b1120;
  --bg-2: #0e1626;
  --card: #131c2e;
  --card-2: #1a2438;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f1f5f9;
  --text-2: #aab6c8;
  --text-3: #6b7890;
  --eihl: #2f8bff;
  --eihl-2: #0a84ff;
  --nihl: #a78bfa;
  --nihl-2: #7c3aed;
  --orange: #ff7a2f;
  --green: #34d27a;
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1160px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip; /* safety net: contain incidental horizontal overflow without breaking sticky nav */
  -webkit-font-smoothing: antialiased;
}

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

/* visible, on-brand keyboard focus ring across all interactive elements */
:focus-visible { outline: 2px solid var(--eihl); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .store-badge:focus-visible, .team-toggle__btn:focus-visible { outline-offset: 4px; }

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

/* ---------- decorative background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
}
.bg-glow {
  position: fixed; z-index: -3; border-radius: 50%; filter: blur(120px);
  opacity: 0.5; pointer-events: none;
}
.bg-glow--blue { top: -260px; left: -180px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(47,139,255,0.55), transparent 70%);
  animation: aurora-a 18s ease-in-out infinite; }
.bg-glow--purple { top: 320px; right: -240px; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(124,58,237,0.45), transparent 70%);
  animation: aurora-b 22s ease-in-out infinite; }
.bg-glow--teal { top: 1200px; left: 20%; width: 520px; height: 520px; opacity: 0.32;
  background: radial-gradient(circle, rgba(16,185,165,0.4), transparent 70%);
  animation: aurora-a 26s ease-in-out infinite; animation-delay: -8s; }
@keyframes aurora-a { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(80px,60px) scale(1.15); } }
@keyframes aurora-b { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-90px,-50px) scale(1.12); } }

/* fine film grain for broadcast texture — sits above glows, below content */
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
/* top + bottom vignette to keep focus on the centre of the page */
.bg-vignette {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, transparent 55%, rgba(5,8,15,0.55) 100%),
    linear-gradient(180deg, transparent 80%, rgba(5,8,15,0.6) 100%);
}

/* ---------- skip link + scroll progress ---------- */
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 70;
  background: var(--eihl-2); color: #fff; padding: 9px 16px; border-radius: 10px;
  font-weight: 600; font-size: .9rem; transition: top .2s; }
.skip-link:focus { top: 12px; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 60;
  background: linear-gradient(90deg, var(--eihl), var(--nihl)); box-shadow: 0 0 10px rgba(47,139,255,0.6); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 17, 32, 0.6);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(11,17,32,0.82); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; }
.brand__logo { width: 36px; height: 36px; filter: drop-shadow(0 4px 12px rgba(47,139,255,0.4)); }
.brand__name { font-size: 1.12rem; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { position: relative; color: var(--text-2); font-weight: 500; font-size: .95rem; transition: color .2s; padding: 4px 0; }
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--eihl), var(--nihl)); }
.nav__cta { margin-left: 8px; }
/* Instagram icon link (nav + footer) */
.ig-link { display: inline-flex; align-items: center; opacity: .9; transition: transform .15s, opacity .2s; }
.ig-link:hover { opacity: 1; transform: translateY(-1px); }
.ig-link svg { display: block; }
.nav__ig { margin-left: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; border-radius: 999px; cursor: pointer; border: 0;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn--small { padding: 9px 18px; font-size: .9rem; }
.btn--primary { background: linear-gradient(135deg, var(--eihl), var(--nihl-2)); color: #fff; box-shadow: 0 8px 24px -8px rgba(47,139,255,0.7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(47,139,255,0.8); }

/* store buttons */
.store-buttons { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.store-buttons--center { justify-content: center; }
/* Official App Store / Google Play badges. The Google asset bakes in ~33% of
   transparent clear-space, so it is rendered taller and its horizontal padding
   is absorbed with a negative margin to keep the visual gap even. */
.store-badge { display: inline-flex; transition: transform .15s, filter .2s; }
.store-badge img { display: block; width: auto; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge:hover img { filter: brightness(1.08); }
.store-badge--apple img { height: 48px; }
.store-badge--google img { height: 70px; margin: 0 -11px; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  position: relative; z-index: 1; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  border: 1px solid var(--border); background: rgba(255,255,255,0.03);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; }
.pill--eihl { color: #9cc6ff; border-color: rgba(47,139,255,0.35); background: rgba(47,139,255,0.1); }
.pill--eihl .dot { background: var(--eihl); box-shadow: 0 0 10px var(--eihl); }
.pill--nihl { color: #cbb6ff; border-color: rgba(167,139,250,0.35); background: rgba(124,58,237,0.12); }
.pill--nihl .dot { background: var(--nihl); box-shadow: 0 0 10px var(--nihl); }
.pill--ghost { color: var(--text-2); }

.hero__kicker {
  display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: .96rem; font-weight: 600; color: var(--text-2);
  margin-bottom: 18px; letter-spacing: -0.01em;
}
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: #ff4d4d; box-shadow: 0 0 0 0 rgba(255,77,77,0.6);
  animation: pulse 1.8s ease-out infinite; }
.rotator { position: relative; display: inline-grid; }
.rotator__word {
  grid-area: 1 / 1; font-weight: 800; color: var(--text);
  background: linear-gradient(110deg, var(--eihl), var(--nihl));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  white-space: nowrap; transition: opacity .32s ease, transform .32s ease;
}
.rotator.is-out .rotator__word { opacity: 0; transform: translateY(-0.45em); }

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 900; line-height: 1.02;
  letter-spacing: -0.035em; margin-bottom: 22px;
}
.grad-text {
  background: linear-gradient(110deg, var(--eihl) 0%, #7db6ff 35%, var(--nihl) 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: 1.16rem; color: var(--text-2); max-width: 540px; margin-bottom: 30px; }
.hero__lead strong { color: var(--text); font-weight: 600; }

.hero__bullets { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 26px; }
.hero__bullets li { display: flex; align-items: center; gap: 9px; color: var(--text-2); font-size: .95rem; font-weight: 500; }
.ic { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- phone mockup ---------- */
.hero__device { position: relative; display: flex; justify-content: center;
  perspective: 1300px; animation: phone-bob 7s ease-in-out infinite; }
.phone {
  position: relative; width: 300px; height: 620px;
  background: linear-gradient(160deg, #2b3650, #0c1322);
  border-radius: 46px; padding: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.9), inset 0 0 0 2px rgba(0,0,0,0.4);
  z-index: 2; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
/* glare sweep that tracks the pointer-driven tilt */
.phone::after {
  content: ''; position: absolute; inset: 0; border-radius: 46px; pointer-events: none;
  z-index: 5; opacity: var(--glare, 0); transition: opacity .25s ease;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%),
    rgba(255,255,255,0.16), transparent 60%);
}
.phone__notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; background: #05080f; border-radius: 999px; z-index: 3;
}
.phone__screen {
  width: 100%; height: 100%; background: var(--bg); border-radius: 36px;
  overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,0.05);
}
.phone-glow {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.4), transparent 70%);
  filter: blur(70px); z-index: 1; top: 40%; left: 50%; transform: translate(-50%,-50%);
}
@keyframes phone-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* floating glass UI chips around the hero phone */
.float-chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 14px; max-width: 230px;
  background: rgba(19, 28, 46, 0.72); border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.8);
  animation: chip-float 6s ease-in-out infinite;
}
.float-chip b { display: block; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.float-chip small { display: block; font-size: .68rem; color: var(--text-2); white-space: nowrap; }
.float-chip__ic { font-size: 1.1rem; line-height: 1; }
.goal-light { width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, #ff8a8a, #e02424 70%);
  box-shadow: 0 0 12px 2px rgba(255,60,60,0.75); animation: pulse 1.6s ease-out infinite; }
.float-chip__ic--up { color: var(--green); font-size: .8rem; }
.float-chip--goal { top: 8%; left: -6%; animation-delay: 0s; }
.float-chip--goal b { color: #ff6b6b; }
.float-chip--live { top: 44%; right: -10%; animation-delay: 1.4s; }
.float-chip--rank { bottom: 9%; left: -4%; animation-delay: 2.6s; }
.live-pulse { width: 10px; height: 10px; border-radius: 50%; background: #ff4d4d; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255,77,77,0.6); animation: pulse 1.8s ease-out infinite; }
@keyframes chip-float {
  0%,100% { transform: translate(var(--cx, 0px), var(--cy, 0px)); }
  50%     { transform: translate(var(--cx, 0px), calc(var(--cy, 0px) - 14px)); }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,77,77,0.6); } 100% { box-shadow: 0 0 0 12px rgba(255,77,77,0); } }

/* ---------- playable: confetti, goal flash, tap hint, gliding puck ---------- */
.confetti-canvas { position: fixed; inset: 0; z-index: 75; pointer-events: none; }

.phone__screen { cursor: pointer; }
.goal-flash { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center;
  pointer-events: none; opacity: 0; border-radius: 36px; overflow: hidden; }
.goal-flash::before { content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--team, #e02424) 80%, transparent), transparent 65%); }
.goal-flash span { position: relative; font-weight: 900; font-size: 2.6rem; letter-spacing: .04em;
  color: #fff; text-shadow: 0 6px 26px rgba(0,0,0,.55); transform: scale(.4); }
.goal-flash.show { animation: goalflash 1.05s cubic-bezier(.2,.8,.2,1) forwards; }
.goal-flash.show span { animation: goalpop 1.05s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes goalflash { 0% { opacity: 0; } 12% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes goalpop { 0% { transform: scale(.4); } 30% { transform: scale(1.12); } 45% { transform: scale(1); } 100% { transform: scale(1.04); } }

.tap-hint { position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--text);
  background: rgba(14,22,38,0.92); border: 1px solid var(--border-strong);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,0.8); animation: hint-bob 2.4s ease-in-out infinite;
  transition: opacity .35s, transform .35s; }
.tap-hint::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d;
  box-shadow: 0 0 0 0 rgba(255,77,77,0.6); animation: pulse 1.6s ease-out infinite; }
.tap-hint.is-hidden { opacity: 0; transform: translate(-50%, 12px); pointer-events: none; }
@keyframes hint-bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -5px); } }

.ice-puck { position: absolute; left: 0; right: 0; bottom: 6%; height: 14px; z-index: 0;
  pointer-events: none; overflow: visible; }
.ice-puck span { position: absolute; top: 0; left: -8%; width: 14px; height: 9px; border-radius: 999px;
  background: radial-gradient(circle at 40% 30%, #4a566b, #0a0e16 75%);
  box-shadow: 0 6px 14px -4px rgba(0,0,0,0.8);
  animation: puck-glide 13s cubic-bezier(.45,0,.55,1) infinite; }
.ice-puck span::after { content: ''; position: absolute; top: 50%; right: 100%; width: 60px; height: 2px;
  transform: translateY(-50%); background: linear-gradient(90deg, transparent, rgba(156,198,255,0.45)); }
@keyframes puck-glide {
  0% { left: -8%; opacity: 0; } 6% { opacity: .85; }
  46% { left: 104%; opacity: .85; } 52% { left: 104%; opacity: 0; } 100% { left: 104%; opacity: 0; }
}

/* ---------- team marquee ---------- */
.marquee-wrap { padding: 6px 0 18px; }
.marquee { position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: inline-flex; gap: 14px; padding: 6px 7px; white-space: nowrap;
  animation: marquee 46s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0;
  padding: 9px 16px 9px 9px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--border); font-weight: 600; font-size: .9rem; }
.marquee-mono { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: .6rem; flex-shrink: 0; }
.marquee-item small { color: var(--text-3); font-weight: 600; font-size: .72rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.app-status { display: flex; justify-content: space-between; align-items: center;
  padding: 16px 22px 6px; font-size: .8rem; font-weight: 600; }
.app-status__icons { display: flex; align-items: center; gap: 6px; }
.app-status__icons svg { fill: var(--text); }
.app-scroll { flex: 1; overflow: hidden; padding: 6px 14px 10px; }
.app-h1 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin: 6px 2px 12px; }

.fav-card {
  border-radius: 18px; padding: 14px; margin-bottom: 14px; color: #fff;
  background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #000));
  box-shadow: 0 12px 24px -12px var(--c);
}
.fav-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fav-badge { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,0.18);
  display: grid; place-items: center; font-weight: 800; font-size: .78rem; }
.fav-name { font-weight: 800; font-size: 1.02rem; }
.fav-sub { font-size: .72rem; opacity: .85; }
.fav-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; text-align: center; }
.fav-stats b { display: block; font-size: 1.15rem; font-weight: 800; }
.fav-stats span { font-size: .58rem; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }

.app-section { display: flex; justify-content: space-between; align-items: center;
  margin: 14px 2px 8px; font-size: .82rem; font-weight: 700; }
.app-section a { color: var(--eihl); font-weight: 600; font-size: .72rem; }
.live-dot { color: #ff4d4d; font-size: .62rem; font-weight: 800; letter-spacing: .04em; }

.mini-game {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--border); border-radius: 13px;
  padding: 11px 12px; margin-bottom: 8px;
}
.mini-game--live { border-color: rgba(255,77,77,0.35); box-shadow: 0 0 0 1px rgba(255,77,77,0.1); }
.mini-team { display: flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; }
.mini-team--r { justify-content: flex-end; }
.mb { width: 24px; height: 24px; border-radius: 7px; color: #fff; font-size: .56rem;
  font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.mini-score { font-size: 1.05rem; font-weight: 800; white-space: nowrap; }
.mini-score span { color: var(--text-3); margin: 0 1px; }
.mini-score--final { color: var(--text); }
.mini-time { font-size: .82rem; color: var(--eihl); font-weight: 700; }

.app-tabs { display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--border); padding: 9px 6px 12px;
  background: rgba(0,0,0,0.3); }
.app-tab { display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: .58rem; font-weight: 600; color: var(--text-3); }
.app-tab svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.app-tab--on { color: var(--eihl); }

/* ---------- stat bar ---------- */
.statbar { padding: 18px 0 30px; }
.statbar__inner {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 24px; box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat__num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff, #9cc6ff); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.stat__label { color: var(--text-2); font-size: .88rem; font-weight: 500; margin-top: 4px; }

/* ---------- trust strip ---------- */
.trust { padding: 6px 0 8px; }
.trust__row { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust__item { display: flex; align-items: center; gap: 13px; padding: 16px 18px;
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .2s, border-color .2s; }
.trust__item:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.trust__ic { width: 30px; height: 30px; flex-shrink: 0; fill: none; stroke: var(--green);
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.trust__item b { display: block; font-size: .96rem; font-weight: 700; letter-spacing: -0.01em; }
.trust__item span { display: block; font-size: .8rem; color: var(--text-3); }

/* ---------- sections ---------- */
.section { padding: 84px 0; position: relative; }
.section--alt { background:
  linear-gradient(180deg, transparent, rgba(124,58,237,0.04) 30%, rgba(47,139,255,0.04) 70%, transparent); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--eihl); margin-bottom: 14px;
  padding: 5px 14px; border: 1px solid rgba(47,139,255,0.3); border-radius: 999px;
  background: rgba(47,139,255,0.08); }
.section__head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.08; }
.section__head h2 .amp { color: var(--text-3); font-weight: 400; }
.section__head p { color: var(--text-2); font-size: 1.08rem; margin-top: 16px; }

/* ---------- features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; grid-auto-flow: dense; }

/* featured hero card spans two columns and carries a live scoreline preview */
.feature--hero { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 26px; align-items: center; padding: 30px; }
.feature--hero::before { content: ''; position: absolute; inset: 0; z-index: 0; opacity: .7;
  background: radial-gradient(120% 130% at 0% 0%, rgba(47,139,255,0.16), transparent 55%); }
.feature--hero > * { position: relative; z-index: 1; }
.feature--hero h3 { font-size: 1.42rem; line-height: 1.12; }
.feature__preview { display: flex; flex-direction: column; gap: 10px;
  background: rgba(5,8,15,0.5); border: 1px solid var(--border); border-radius: 16px; padding: 14px; }
.lp-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
  position: relative; padding: 10px 12px 22px; border-radius: 12px; background: var(--card);
  border: 1px solid var(--border); }
.lp-row--live { border-color: rgba(255,77,77,0.4); box-shadow: 0 0 0 1px rgba(255,77,77,0.12); }
.lp-team { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; }
.lp-team--r { justify-content: flex-end; }
.lp-b { width: 24px; height: 24px; border-radius: 7px; color: #fff; font-size: .54rem; font-weight: 800;
  display: grid; place-items: center; flex-shrink: 0; font-style: normal; }
.lp-score { font-size: 1.12rem; font-weight: 800; white-space: nowrap; }
.lp-score em { color: var(--text-3); font-style: normal; margin: 0 2px; }
.lp-score--final { color: var(--text); }
.lp-flag { position: absolute; left: 12px; bottom: 6px; font-size: .58rem; font-weight: 800;
  letter-spacing: .05em; color: #ff6b6b; display: inline-flex; align-items: center; gap: 5px; }
.lp-flag--final { color: var(--text-3); }
.lp-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d;
  box-shadow: 0 0 0 0 rgba(255,77,77,0.6); animation: pulse 1.6s ease-out infinite; }
.feature {
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px;
  transition: transform .25s, border-color .25s, box-shadow .25s; position: relative; overflow: hidden;
}
.feature:hover { transform: translateY(-5px); border-color: var(--border-strong);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,0.8); }
.feature__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.feature__ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.feature__ic--blue { background: linear-gradient(135deg, #2f8bff, #0a84ff); box-shadow: 0 10px 22px -10px rgba(47,139,255,0.8); }
.feature__ic--purple { background: linear-gradient(135deg, #a78bfa, #7c3aed); box-shadow: 0 10px 22px -10px rgba(124,58,237,0.8); }
.feature__ic--orange { background: linear-gradient(135deg, #ff9a4d, #ff6b2f); box-shadow: 0 10px 22px -10px rgba(255,107,47,0.7); }
.feature__ic--green { background: linear-gradient(135deg, #4ade9a, #22b067); box-shadow: 0 10px 22px -10px rgba(52,210,122,0.7); }
/* fill icons that look better filled */
.feature__ic--orange svg path { fill: #fff; stroke: none; }
.feature h3 { font-size: 1.16rem; font-weight: 700; margin-bottom: 7px; letter-spacing: -0.01em; }
.feature p { color: var(--text-2); font-size: .95rem; }
.feature p strong { color: var(--text); font-weight: 600; }

/* ---------- scroll-synced tour ---------- */
.tour__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: start; }
.tour__rail { position: sticky; top: 88px; align-self: start; display: flex; justify-content: center; }
.phone--tour { animation: none; }
.tour__screens { position: relative; flex: 1; overflow: hidden; }
.tour-screen { position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transform: translateY(10px) scale(.985); transition: opacity .5s ease, transform .5s ease; }
.tour-screen.is-active { opacity: 1; transform: none; pointer-events: auto; }
.tour-screen .app-scroll { height: 100%; }

/* app tabs become real buttons in the tour */
.app-tab { border: 0; background: transparent; cursor: pointer; font-family: var(--font); }
.app-tab:hover { color: var(--text-2); }
.app-tab--on, .app-tab--on:hover { color: var(--eihl); }

/* tour steps */
.tour__steps { list-style: none; display: flex; flex-direction: column; }
.tour-step { min-height: 58vh; display: flex; flex-direction: column; justify-content: center;
  padding: 8px 0 8px 26px; position: relative; cursor: pointer;
  opacity: .35; transition: opacity .45s ease; border-left: 2px solid var(--border); }
.tour-step::before { content: ''; position: absolute; left: -2px; top: 50%; transform: translateY(-50%);
  width: 2px; height: 0; background: linear-gradient(var(--eihl), var(--nihl));
  transition: height .45s ease; }
.tour-step.is-active { opacity: 1; }
.tour-step.is-active::before { height: 64%; }
.tour-step__kicker { display: inline-block; font-size: .74rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; color: var(--eihl); margin-bottom: 12px; }
.tour-step h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.tour-step p { color: var(--text-2); font-size: 1.04rem; max-width: 460px; }

/* schedule rows */
.sch-date { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-3); margin: 4px 2px 10px; }
.sch-row { background: var(--card); border: 1px solid var(--border); border-radius: 13px;
  padding: 11px 12px; margin-bottom: 8px; }
.sch-match { display: flex; flex-direction: column; gap: 7px; }
.sch-team { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; }
.sch-team b { margin-left: auto; font-size: .92rem; font-weight: 800; }
.sch-meta { display: flex; align-items: center; gap: 8px; margin-top: 9px;
  padding-top: 8px; border-top: 1px solid var(--border); }
.sch-final { font-size: .56rem; font-weight: 800; letter-spacing: .05em; color: var(--text-3); }
.sch-time { font-size: .72rem; font-weight: 800; color: var(--eihl); }
.sch-rink { font-size: .66rem; color: var(--text-3); margin-left: auto; }

/* standings table */
.tbl { display: flex; flex-direction: column; gap: 4px; }
.tbl-head, .tbl-row { display: grid; grid-template-columns: 22px 1fr 28px 32px; align-items: center; gap: 6px; }
.tbl-head { font-size: .58rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-3); padding: 2px 10px 6px; }
.tbl-head span:last-child, .tbl-row span:last-child, .tbl-head span:nth-child(3), .tbl-row span:nth-child(3) { text-align: right; }
.tbl-row { background: var(--card); border: 1px solid var(--border); border-radius: 11px; padding: 9px 10px;
  font-size: .78rem; font-weight: 600; }
.tbl-pos { font-weight: 800; color: var(--text-3); text-align: center; }
.tbl-team { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; }
.tbl-team [data-fav-name], .tbl-team span:last-child { overflow: hidden; text-overflow: ellipsis; }
.tbl-pts { font-weight: 800; color: var(--text); }
.tbl-row--fav { border-color: color-mix(in srgb, var(--c, var(--eihl)) 55%, var(--border-strong));
  box-shadow: inset 3px 0 0 var(--c, var(--eihl)); }

/* scoring leaders */
.ldr-row { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 11px 13px; margin-bottom: 8px; }
.ldr-rank { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  font-weight: 800; font-size: .72rem; background: rgba(255,255,255,0.05); color: var(--text-2); }
.ldr-row:first-child .ldr-rank { background: linear-gradient(135deg, #ffd86b, #f0a500); color: #1d1d1f; }
.ldr-name { font-size: .82rem; font-weight: 700; line-height: 1.1; }
.ldr-name small { display: block; font-size: .64rem; font-weight: 500; color: var(--text-3); }
.ldr-pts { font-size: 1.05rem; font-weight: 800; }
.ldr-pts small { font-size: .54rem; font-weight: 700; color: var(--text-3); margin-left: 3px; }

/* ---------- league cards ---------- */
.league-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.league-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 34px;
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--border);
}
.league-card__glow { position: absolute; top: -120px; right: -120px; width: 320px; height: 320px;
  border-radius: 50%; filter: blur(80px); opacity: .5; }
.league-card--eihl { border-color: rgba(47,139,255,0.25); }
.league-card--eihl .league-card__glow { background: radial-gradient(circle, rgba(47,139,255,0.6), transparent 70%); }
.league-card--nihl { border-color: rgba(124,58,237,0.25); }
.league-card--nihl .league-card__glow { background: radial-gradient(circle, rgba(124,58,237,0.6), transparent 70%); }
.league-card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; position: relative; }
.league-mono { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.8rem; font-weight: 900; color: #fff; flex-shrink: 0; }
.league-card--eihl .league-mono { background: linear-gradient(135deg, #2f8bff, #0a84ff); box-shadow: 0 12px 26px -10px rgba(47,139,255,0.8); }
.league-card--nihl .league-mono { background: linear-gradient(135deg, #a78bfa, #7c3aed); box-shadow: 0 12px 26px -10px rgba(124,58,237,0.8); }
.league-card__head h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.league-card__head p { color: var(--text-2); font-size: .92rem; }
.league-card__body { color: var(--text-2); position: relative; margin-bottom: 20px; }
.league-card__list { list-style: none; display: flex; flex-direction: column; gap: 11px; position: relative; }
.league-card__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--text); font-size: .96rem; }
.league-card__list li span { width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px;
  display: grid; place-items: center; font-weight: 800; font-size: .85rem;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border); }
.league-card--eihl .league-card__list li span { color: #9cc6ff; }
.league-card--nihl .league-card__list li span { color: #cbb6ff; }

/* ---------- teams ---------- */
.team-toggle { display: flex; width: fit-content; max-width: 100%; gap: 4px; padding: 5px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--card);
  margin: 0 auto 36px; }
.team-toggle__btn { border: 0; background: transparent; color: var(--text-2);
  font-family: var(--font); font-weight: 600; font-size: .95rem; padding: 9px 22px;
  border-radius: 999px; cursor: pointer; transition: color .2s, background .2s; }
.team-toggle__btn.is-active { color: #fff; }
.team-toggle__btn[data-league="eihl"].is-active { background: linear-gradient(135deg, #2f8bff, #0a84ff); }
.team-toggle__btn[data-league="nihl"].is-active { background: linear-gradient(135deg, #a78bfa, #7c3aed); }

.team-count { text-align: center; margin: -18px 0 14px; color: var(--text-3);
  font-size: .9rem; font-weight: 600; }
.team-count b { color: var(--text-2); font-weight: 700; }

/* reset-colours control (appears once a team theme is applied) */
.team-reset { display: inline-flex; align-items: center; gap: 7px; margin: 0 auto 24px;
  padding: 8px 16px; border-radius: 999px; cursor: pointer; font-family: var(--font);
  font-weight: 600; font-size: .85rem; color: var(--text-2);
  background: var(--card); border: 1px solid var(--border-strong);
  transition: color .2s, border-color .2s, transform .15s; }
.team-reset { position: relative; left: 50%; transform: translateX(-50%); }
.team-reset:hover { color: var(--text); border-color: var(--text-3); }
.team-reset svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.team-chip {
  display: flex; align-items: center; gap: 13px; padding: 14px 16px; width: 100%;
  text-align: left; font-family: var(--font); cursor: pointer; color: var(--text);
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--border); border-radius: 15px;
  transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
  position: relative; overflow: hidden;
}
/* "Preview" affordance — slides in on hover, swaps to a tick when picked */
.team-chip__pick { margin-left: auto; flex-shrink: 0; position: relative; z-index: 1;
  font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--tc); opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; }
.team-chip:hover .team-chip__pick, .team-chip:focus-visible .team-chip__pick { opacity: .9; transform: none; }
.team-chip.is-picked { border-color: color-mix(in srgb, var(--tc) 60%, var(--border-strong));
  box-shadow: 0 0 0 1px var(--tc), 0 16px 34px -18px var(--tc); }
.team-chip.is-picked .team-chip__pick { opacity: 1; transform: none; color: var(--tc); }
.team-chip.is-picked::after { opacity: 1; }
.team-chip::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tc); }
/* team-coloured wash that fades in on hover */
.team-chip::after { content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: linear-gradient(120deg, color-mix(in srgb, var(--tc) 16%, transparent), transparent 60%);
  transition: opacity .25s; }
.team-chip:hover { transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tc) 50%, var(--border-strong));
  box-shadow: 0 16px 34px -18px var(--tc); }
.team-chip:hover::after { opacity: 1; }
.team-chip__badge { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; position: relative;
  display: grid; place-items: center; font-weight: 800; font-size: .82rem; color: #fff;
  background: var(--tc); box-shadow: 0 8px 18px -8px var(--tc);
  transition: transform .25s; }
.team-chip:hover .team-chip__badge { transform: scale(1.06) rotate(-3deg); }
.team-chip__name, .team-chip__venue { position: relative; display: block; }
.team-chip > span:not([class]) { min-width: 0; }
.team-chip__name { font-weight: 700; font-size: .96rem; line-height: 1.15; }
.team-chip__venue { font-size: .76rem; color: var(--text-3); }

/* ---------- screenshots ---------- */
.screens { position: relative; overflow: hidden; }
.screens__spotlight { position: absolute; top: 18%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 520px; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(47,139,255,0.22), rgba(124,58,237,0.14) 45%, transparent 70%);
  filter: blur(20px); }
.screens .container { position: relative; z-index: 1; }
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 30px 4px 40px; scroll-snap-type: x mandatory; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--card-2); border-radius: 8px; }
.shots--stage { perspective: 1800px; }
.shot { flex: 0 0 auto; width: 232px; scroll-snap-align: center; text-align: center;
  transition: transform .45s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.shots--stage .shot { transform: rotateY(16deg) rotateX(4deg) translateZ(-30px); }
.shots--stage .shot:nth-child(even) { transform: rotateY(-16deg) rotateX(4deg) translateZ(-30px); }
.shots--stage .shot:hover { transform: rotateY(0) rotateX(0) translateZ(40px) scale(1.04); z-index: 2; }
.shot img { width: 100%; aspect-ratio: 1290 / 2796; border-radius: 26px; border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -28px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.04); }
.shot figcaption { margin-top: 18px; color: var(--text-2); font-size: .9rem; font-weight: 600; }
.shots__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 6px; }
.shots__btn { width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--border-strong); background: var(--card); color: var(--text);
  font-size: 1.4rem; line-height: 1; display: grid; place-items: center;
  transition: transform .15s, background .2s, border-color .2s; }
.shots__btn:hover { transform: translateY(-2px); background: var(--card-2); border-color: var(--eihl); }
.shots__btn:disabled { opacity: .35; cursor: default; transform: none; }
.shots__hint { font-size: .82rem; font-weight: 600; color: var(--text-3); letter-spacing: .02em;
  transition: opacity .3s; }
.shots__nav.is-scrolled .shots__hint { opacity: 0; }

/* ---------- how it works ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  counter-reset: step; position: relative; }
/* connecting rail behind the step cards on desktop */
.steps::before { content: ''; position: absolute; top: 46px; left: 16%; right: 16%; height: 2px; z-index: 0;
  background: linear-gradient(90deg, transparent, var(--eihl), var(--nihl), transparent); opacity: .4; }
.step { position: relative; z-index: 1; text-align: center; padding: 30px 24px 26px;
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .25s, border-color .25s; }
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step__num { position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: .9rem; color: #fff;
  background: linear-gradient(135deg, var(--eihl), var(--nihl-2));
  box-shadow: 0 8px 18px -6px rgba(47,139,255,0.7); }
.step__ic { width: 58px; height: 58px; margin: 8px auto 16px; border-radius: 18px; display: grid;
  place-items: center; background: rgba(255,255,255,0.04); border: 1px solid var(--border); }
.step__ic svg { width: 28px; height: 28px; fill: none; stroke: #9cc6ff; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: 1.16rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { color: var(--text-2); font-size: .94rem; }

/* ---------- CTA ---------- */
.cta__card { position: relative; overflow: hidden; text-align: center;
  border-radius: var(--radius-lg); padding: 64px 32px;
  background: linear-gradient(160deg, rgba(47,139,255,0.14), rgba(124,58,237,0.14));
  border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.cta__glow { position: absolute; inset: 0; background:
  radial-gradient(circle at 30% 0%, rgba(47,139,255,0.35), transparent 55%),
  radial-gradient(circle at 80% 100%, rgba(124,58,237,0.3), transparent 55%); z-index: 0; }
.cta__card > * { position: relative; z-index: 1; }
.cta__logo { margin: 0 auto 18px; filter: drop-shadow(0 10px 24px rgba(47,139,255,0.5)); }
.cta__card h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -0.03em; }
.cta__card p { color: var(--text-2); font-size: 1.1rem; max-width: 520px; margin: 14px auto 28px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 4px 20px; transition: border-color .2s; }
.faq__item[open] { border-color: var(--border-strong); }
.faq__item summary { cursor: pointer; font-weight: 600; font-size: 1.04rem; padding: 16px 0;
  list-style: none; display: flex; align-items: center; justify-content: space-between; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--eihl);
  transition: transform .25s; line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--text-2); padding: 0 0 18px; font-size: .98rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 48px 0 36px; margin-top: 30px;
  background: var(--bg-2); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand strong { display: block; font-weight: 800; }
.footer__brand span { color: var(--text-3); font-size: .85rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__links a { color: var(--text-2); font-size: .92rem; font-weight: 500; transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer__legal { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer__legal p { color: var(--text-3); font-size: .82rem; max-width: 720px; margin-bottom: 8px; }
.credit-link { color: var(--text-2); font-weight: 500; transition: color .2s; }
.credit-link:hover { color: #4ea1ff; }
.li-icon { display: inline-block; vertical-align: -3px; margin-left: 5px; }

/* ---------- sticky mobile download bar ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55;
  display: none; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 16px; border: 1px solid var(--border-strong);
  background: rgba(14, 22, 38, 0.86); backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 18px 44px -16px rgba(0,0,0,0.85);
  transform: translateY(160%); opacity: 0; transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .3s;
}
.mobile-cta.is-visible { transform: translateY(0); opacity: 1; }
.mobile-cta__logo { border-radius: 9px; flex-shrink: 0; }
.mobile-cta__txt { flex: 1; min-width: 0; line-height: 1.2; }
.mobile-cta__txt b { display: block; font-weight: 800; font-size: .98rem; }
.mobile-cta__txt span { display: block; font-size: .76rem; color: var(--text-3); }
.mobile-cta__btn { white-space: nowrap; }
.mobile-cta__x { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,0.06); color: var(--text-2); font-size: 1.2rem; line-height: 1;
  cursor: pointer; transition: background .2s, color .2s; }
.mobile-cta__x:hover { background: rgba(255,255,255,0.12); color: var(--text); }
@media (max-width: 720px) { .mobile-cta { display: flex; } }

/* ---------- team re-theming (applied to <html> when a club is picked) ---------- */
.team-themed { --eihl: var(--team); }
.team-themed .btn--primary {
  background: linear-gradient(135deg, var(--team), color-mix(in srgb, var(--team) 55%, #000));
  box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--team) 75%, transparent);
}
.team-themed .scroll-progress {
  background: linear-gradient(90deg, var(--team), color-mix(in srgb, var(--team) 45%, #fff));
  box-shadow: 0 0 10px color-mix(in srgb, var(--team) 60%, transparent);
}
.team-themed .bg-glow--blue {
  background: radial-gradient(circle, color-mix(in srgb, var(--team) 55%, transparent), transparent 70%);
}
.team-themed .phone-glow {
  background: radial-gradient(circle, color-mix(in srgb, var(--team) 45%, transparent), transparent 70%);
}
.team-themed .phone {
  border-color: color-mix(in srgb, var(--team) 45%, rgba(255,255,255,0.14));
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.9), inset 0 0 0 2px rgba(0,0,0,0.4),
    0 0 60px -18px color-mix(in srgb, var(--team) 70%, transparent);
}
.team-themed .eyebrow {
  color: color-mix(in srgb, var(--team) 70%, #fff);
  border-color: color-mix(in srgb, var(--team) 45%, transparent);
  background: color-mix(in srgb, var(--team) 14%, transparent);
}

/* celebration toast shown when a team is picked */
.theme-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 130%);
  z-index: 80; display: flex; align-items: center; gap: 11px; max-width: calc(100vw - 32px);
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: rgba(14, 22, 38, 0.92); border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -18px rgba(0,0,0,0.85);
  opacity: 0; transition: transform .42s cubic-bezier(.2,.8,.2,1), opacity .3s; pointer-events: none;
}
.theme-toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.theme-toast__badge { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; font-size: .72rem; color: #fff;
  background: var(--tt); box-shadow: 0 6px 16px -6px var(--tt); }
.theme-toast__txt { line-height: 1.2; }
.theme-toast__txt b { display: block; font-size: .92rem; font-weight: 800; }
.theme-toast__txt span { display: block; font-size: .74rem; color: var(--text-3); }

/* ---------- reveal animation (progressive enhancement: only hide when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .phone, .hero__device, .float-chip, .live-pulse, .bg-glow--blue, .bg-glow--purple, .bg-glow--teal,
  .marquee__track, .tap-hint, .ice-puck span, .kicker-dot { animation: none !important; }
  .phone { transform: none !important; }
  .ice-puck { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__copy { order: 1; }
  .hero__device { order: 2; }
  .pill-row, .store-buttons, .hero__bullets { justify-content: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .league-cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .trust__row { grid-template-columns: repeat(2, 1fr); }
  /* tour stacks: phone on top (tap the tabs), steps read as a list below */
  .tour__grid { grid-template-columns: 1fr; gap: 24px; }
  .tour__rail { position: static; }
  .tour__steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tour-step { min-height: 0; opacity: 1; cursor: default; padding: 18px;
    border-left: 0; border: 1px solid var(--border); border-radius: var(--radius);
    background: linear-gradient(180deg, var(--card), var(--bg-2)); }
  .tour-step::before { display: none; }
  .float-chip--goal { left: 0; top: 4%; }
  .float-chip--rank { left: 0; bottom: 4%; }
  .float-chip--live { right: 0; }
}
@media (max-width: 600px) {
  .float-chip { display: none; }
  .shots--stage .shot, .shots--stage .shot:nth-child(even) { transform: none; }
}
@media (max-width: 900px) and (min-width: 721px) {
  .nav__links { gap: 18px; }
  .nav__links a { font-size: .9rem; }
  .nav__inner { gap: 16px; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__ig { margin-left: auto; }
  .statbar__inner { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature--hero { grid-column: auto; grid-template-columns: 1fr; gap: 18px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tour__steps { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before { display: none; }
  .section { padding: 64px 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 440px) {
  .team-grid { grid-template-columns: 1fr; }
  .trust__row { grid-template-columns: 1fr; }
  .hero__title { font-size: 1.95rem; }
  .hero__lead { font-size: 1.04rem; }
  .container { padding: 0 18px; }
  .phone { width: 270px; height: 560px; }
  .store-badge--apple img { height: 42px; }
  .store-badge--google img { height: 61px; }
}
