@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 800;
  font-display: block;
  src: url('/vendor/barlow-condensed-800-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 900;
  font-display: block;
  src: url('/vendor/barlow-condensed-900-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/vendor/manrope-500-800-latin.woff2') format('woff2');
}

:root {
  --void: #070912;
  --ink: #0e1222;
  --raise: #161b33;
  --raise-2: #1d2340;
  --edge: rgba(255, 255, 255, .07);
  --edge-strong: rgba(255, 255, 255, .13);
  --bone: #f4f0e7;
  --mist: #aab2cf;
  --dim: #6e7797;
  --mint: #7dffb0;
  --mint-2: #4fdc9f;
  --mint-deep: #17a56f;
  --mint-ink: #052116;
  --ember: #ff7a5c;
  --amber: #ffc65c;
  --violet: #a896ff;
  --coin: #ffe07a;
  --gem: #8fe8ff;

  --font-body: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --gut: clamp(20px, 5vw, 72px);
  --wrap: min(1180px, calc(100vw - var(--gut) * 2));
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--mint); color: var(--mint-ink); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--mint); color: var(--mint-ink); padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.eyebrow, .hud, .scrollcue, .acc-label, .nav-links, .foot-row, .menu-link, .stat span, .roster em, .phone-wrap figcaption {
  font-weight: 800; font-size: 11px; line-height: 1; letter-spacing: .14em; text-transform: uppercase;
}
.display, .wordmark, .sec h2, .mech h3, .stat b, .roster b, .nav-mark, .foot-mark, .playhud, .transit-veil span {
  font-family: var(--font-display); font-style: italic; font-weight: 800; line-height: .9; letter-spacing: -.01em; text-transform: uppercase;
}

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 28px; padding: 0 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 var(--edge);
  color: var(--mist); font-weight: 800; font-size: 11px; line-height: 1; letter-spacing: .06em;
  text-transform: uppercase; white-space: nowrap;
}
.pill.mint { color: var(--mint-ink); background: var(--mint); box-shadow: none; }
.pill.hot { color: var(--ember); background: rgba(255, 122, 92, .14); }
.pill.amber { color: var(--amber); background: rgba(255, 198, 92, .14); }

.card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); color: var(--bone);
  background: linear-gradient(180deg, var(--raise-2), var(--raise));
  box-shadow: inset 0 1px 0 var(--edge-strong), 0 14px 30px -20px rgba(0, 0, 0, .9);
}
.card.flat { background: var(--ink); box-shadow: inset 0 1px 0 var(--edge); }
.card.tint::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--tint) 30%, transparent), transparent 62%);
}
.card > * { position: relative; }

.hud { position: fixed; inset: 0; z-index: 90; pointer-events: none; color: var(--dim); }
.hud span { position: absolute; display: flex; align-items: center; gap: 7px; }
.hud-bl { bottom: 18px; left: var(--gut); }
.hud-br { bottom: 18px; right: var(--gut); }
@media (max-width: 860px) { .hud, .scrollcue { display: none; } }

body::before {
  content: ''; position: fixed; top: 0; left: 0; right: 0; height: 74px; z-index: 99;
  background: linear-gradient(180deg, var(--void) 30%, transparent); pointer-events: none;
}
@media (max-width: 860px) { body::before { height: 40px; } }

.nav {
  position: fixed; z-index: 100;
  top: 40px; left: 50%; transform: translateX(-50%);
  width: var(--wrap);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 8px 8px 8px 18px;
  background: rgba(14, 18, 34, .74);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 var(--edge-strong), 0 14px 30px -20px rgba(0, 0, 0, .9);
}
.nav-mark { display: flex; align-items: center; gap: 10px; font-size: 20px; color: var(--bone); }
.nav-mark svg { width: 22px; height: 22px; fill: var(--mint); }
.nav-mark circle { fill: var(--void); }
.nav-links { display: flex; gap: 26px; color: var(--dim); letter-spacing: .12em; }
.nav-links a { padding: 8px 0; transition: color .25s; }
.nav-links a:hover { color: var(--bone); }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 18px; border-radius: 13px;
  color: var(--mint-ink);
  background: linear-gradient(180deg, #a9ffdc, var(--mint) 48%, #58e6a6);
  box-shadow: 0 4px 0 var(--mint-deep), inset 0 1px 0 rgba(255, 255, 255, .5);
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 20px; line-height: 1; letter-spacing: .01em;
  transition: transform .12s ease, box-shadow .12s ease;
}
.nav-cta:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--mint-deep), inset 0 1px 0 rgba(255, 255, 255, .5); }
@media (max-width: 860px) { .nav { top: 14px; padding: 6px 6px 6px 14px; border-radius: 16px; } .nav-links { display: none; } }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(66% 70% at 24% 48%, rgba(7, 9, 18, .92), rgba(7, 9, 18, .42) 74%),
    linear-gradient(to top, var(--void) 2%, transparent 34%);
}
@media (max-width: 700px) { .hero-veil { background: linear-gradient(to top, var(--void) 4%, rgba(7, 9, 18, .6) 40%, rgba(7, 9, 18, .5)); } }
.hero-inner { position: relative; z-index: 2; width: var(--wrap); margin: 0 auto; padding-top: 60px; }
.kicker { margin-bottom: 24px; }

.wordmark {
  font-weight: 900;
  font-size: min(calc((100vw - var(--gut) * 2) / 4.7), 96px);
  line-height: .88; letter-spacing: -.035em; white-space: nowrap;
}
@media (min-width: 700px) { .wordmark { font-size: clamp(64px, 10.5vw, 150px); } }
.wordmark span { display: inline-block; }
.wordmark .w1 { color: var(--bone); text-shadow: 0 8px 40px rgba(0, 0, 0, .9); }
.wordmark .w2 { color: transparent; -webkit-text-stroke: clamp(1.4px, .16vw, 2.4px) var(--mint); margin-left: .08em; }

.lede { margin-top: 22px; font-size: clamp(16px, 1.5vw, 19px); color: var(--mist); max-width: 34ch; text-wrap: balance; }
.hero-cta { margin-top: 32px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.scrollcue {
  position: absolute; bottom: 46px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; gap: 10px; color: var(--dim);
}
.scrollcue i { display: block; width: 1px; height: 28px; background: linear-gradient(var(--mint), transparent); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 14px; overflow: hidden;
  color: var(--bone); background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 var(--edge);
  font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
}
.btn i { font-style: normal; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-primary {
  min-height: 64px; padding: 0 28px; border-radius: 18px;
  color: var(--mint-ink);
  background: linear-gradient(110deg, #6ef0b6, #a9ffdc 55%, #6ef0b6);
  box-shadow: 0 7px 0 var(--mint-deep), 0 22px 40px -18px rgba(125, 255, 176, .5), inset 0 1px 0 rgba(255, 255, 255, .55);
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 32px; line-height: 1; letter-spacing: -.01em;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 64%);
  transform: translate3d(-140%, 0, 0);
}
.hero .btn-primary::after, .play .btn-primary::after { animation: sheen 5s cubic-bezier(.16, 1, .3, 1) infinite; }
.btn-primary:active {
  transform: translateY(5px);
  box-shadow: 0 2px 0 var(--mint-deep), 0 14px 28px -18px rgba(125, 255, 176, .4), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn-lg { min-height: 72px; padding: 0 36px; font-size: 38px; }
@keyframes sheen {
  0%, 55% { transform: translate3d(-140%, 0, 0); }
  100% { transform: translate3d(140%, 0, 0); }
}

.accolades {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px; padding: 18px var(--gut);
  border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge);
  background: var(--ink);
}
.acc-label { color: var(--mint); margin-right: clamp(6px, 1.5vw, 16px); }
@media (max-width: 700px) { .accolades { padding: 14px 12px; } .acc-label { width: 100%; text-align: center; margin: 0 0 4px; } }

.sec { scroll-margin-top: 20px; width: var(--wrap); margin: 0 auto; padding: clamp(64px, 10vh, 120px) 0; }

.sec-head { max-width: 62ch; }
.sec-head .pill, .daily-copy .pill { margin-bottom: 22px; }

.sec h2 { font-size: clamp(44px, 6.4vw, 92px); letter-spacing: -.02em; text-wrap: balance; }
.sec h2 em { font-style: inherit; color: var(--mint); }
.sec-lede { margin-top: 22px; color: var(--mist); font-size: clamp(16px, 1.5vw, 18px); max-width: 40ch; }
.sec-lede em { font-style: italic; color: var(--bone); }

.hook-grid { display: grid; gap: 48px; align-items: center; }
.hook-copy h2 { font-size: clamp(40px, 4.8vw, 68px); }
@media (min-width: 980px) { .hook-grid { grid-template-columns: 1fr .96fr; gap: 72px; } }
.mechanics { display: grid; gap: 10px; margin-top: 36px; }
.mech { padding: 22px 20px 24px; }
.mech h3 { font-size: 28px; margin: 14px 0 8px; }
.mech p { color: var(--mist); font-size: 15px; }
.mech-hot { --tint: var(--ember); }
.mech-bet { --tint: var(--amber); }

.phone-wrap { margin: 0; display: grid; justify-items: center; gap: 18px; }
.phone {
  width: min(340px, 78vw); aspect-ratio: 9 / 17.4; position: relative; overflow: hidden;
  border: 10px solid var(--raise-2); border-radius: 46px; background: var(--raise);
  box-shadow: inset 0 0 0 1px var(--edge-strong), 0 40px 80px -40px rgba(0, 0, 0, .95);
}
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-wrap figcaption { display: flex; align-items: center; gap: 10px; color: var(--dim); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: clamp(56px, 8vw, 96px); }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 22px 20px 20px; }
.stat b { display: block; font-size: clamp(44px, 4.6vw, 64px); color: var(--mint); }
.stat span { display: block; margin-top: 12px; color: var(--bone); letter-spacing: .12em; }
.stat em { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--dim); line-height: 1.45; }

.roster { margin: clamp(24px, 4vw, 40px) auto 0; max-width: 820px; }
.roster picture { display: block; }
.roster img { width: 100%; aspect-ratio: 8 / 3; object-fit: cover; }
.roster figcaption { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--edge); }
.roster figcaption span { padding: 16px 22px; text-align: center; }
.roster figcaption span + span { border-left: 1px solid var(--edge); }
.roster b { display: block; font-size: 22px; color: var(--bone); }
.roster em { display: block; margin-top: 6px; font-style: normal; font-size: 10px; color: var(--mint); }

.daily { position: relative; }
.daily-inner { isolation: isolate; min-height: 560px; padding: clamp(36px, 6vw, 80px); }
.daily-art { position: absolute; z-index: 0; inset: 0 0 0 31%; }
.daily-art picture { display: block; width: 100%; height: 100%; }
.daily-art img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; opacity: .82; }
.daily-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--raise-2) 0%, rgba(29, 35, 64, .94) 13%, rgba(22, 27, 51, .3) 58%, rgba(22, 27, 51, .06));
}
.daily-copy { position: relative; z-index: 1; width: min(54%, 560px); }
.daily h2 { margin-bottom: 22px; font-size: clamp(40px, 5.4vw, 76px); }
.daily p { color: var(--mist); max-width: 40ch; font-size: clamp(16px, 1.5vw, 18px); }
.daily .btn { margin-top: 30px; }

.play { text-align: center; }
.play-inner { display: grid; justify-items: center; gap: 20px; }
.play p { color: var(--mist); font-size: 17px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.badge {
  display: flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 1px 0 var(--edge);
  color: var(--mist); font-weight: 800; font-size: 12px; letter-spacing: .04em;
}
.badge em { font-style: normal; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

@media (max-width: 700px) {
  .roster figcaption span { padding: 12px 6px; }
  .roster b { font-size: 18px; }
  .roster em { letter-spacing: .1em; }
  .daily-inner { min-height: 0; }
  .daily-art { inset: 0; }
  .daily-art img { object-position: 24% center; opacity: .3; }
  .daily-art::after { background: linear-gradient(180deg, rgba(22, 27, 51, .4), rgba(22, 27, 51, .9) 78%, var(--raise)); }
  .daily-copy { width: 100%; }
}

.foot { border-top: 1px solid var(--edge); padding: 30px 0 54px; margin-top: 24px; }
.foot-row {
  width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  color: var(--dim); letter-spacing: .12em;
}
.foot-links { display: flex; gap: 26px; }
.foot-links a { padding: 10px 2px; display: inline-block; }
.foot-links a:hover { color: var(--mint); }
.foot-mark { font-size: 20px; color: var(--bone); }

@keyframes hover-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.phone { animation: hover-float 6s ease-in-out infinite; }
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: var(--mint);
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero .btn-primary::after, .play .btn-primary::after, .phone { animation: none; }
  .progress { display: none; }
}

.reveal-armed [data-reveal] { opacity: 0; transform: translateY(22px); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

.playhint {
  position: absolute; z-index: 3; right: var(--gut); bottom: 46px;
  display: flex; align-items: center; gap: 10px;
  min-height: 42px; padding: 0 16px; border-radius: 13px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone);
  background: rgba(14, 18, 34, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--edge-strong);
  transition: background .3s, opacity .3s, transform .2s;
}
.hero:hover .playhint { background: rgba(29, 35, 64, .9); }
.playhint:active { transform: scale(.98); }
.hero.is-playing .playhint { opacity: 0; pointer-events: none; }

.playhud {
  position: absolute; z-index: 3; right: var(--gut); top: 132px;
  font-size: 24px; letter-spacing: .02em; color: var(--mint);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .7);
  font-variant-numeric: tabular-nums;
  opacity: 0; transition: opacity .3s;
}
.hero.is-playing .playhud { opacity: 1; }
.hero.is-playing { user-select: none; -webkit-user-select: none; }
@media (max-width: 860px) { .playhint { bottom: 92px; } }
@media (prefers-reduced-motion: reduce) { .playhint { display: none; } }

.game-frame {
  position: fixed; inset: 0; z-index: 140;
  width: 100%; height: 100%; border: 0;
  background: var(--void);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .42s ease, visibility 0s linear .42s;
}
.game-frame.is-live {
  opacity: 1; pointer-events: auto; visibility: visible;
  transition: opacity .42s ease;
}
.transit-veil {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: var(--void);
  opacity: 0; pointer-events: none;
  transition: opacity .26s ease;
}
.transit-veil.is-on { opacity: 1; pointer-events: auto; }
.transit-veil span { font-size: 22px; letter-spacing: .04em; color: var(--mint); opacity: 0; }
.transit-veil.is-on span { animation: veil-pulse 1.1s ease-in-out .15s infinite; opacity: 1; }
@keyframes veil-pulse { 50% { opacity: .35; } }
html.in-game { overflow: hidden; }
html.in-game .hud, html.in-game .progress { display: none; }
@media (prefers-reduced-motion: reduce) {
  .game-frame, .game-frame.is-live, .transit-veil { transition: none; }
  .transit-veil.is-on span { animation: none; }
}

#field { will-change: transform; }
html.is-handoff #field { animation: field-dive .7s both; }
html.is-return #field { animation: field-return .5s ease-out both; }
@keyframes field-dive {
  0% { transform: scale(1); animation-timing-function: ease-out; }
  20% { transform: scale(0.955); animation-timing-function: cubic-bezier(.62, 0, .88, .46); }
  100% { transform: scale(1.52); }
}
@keyframes field-return {
  from { transform: scale(1.52); }
  to { transform: scale(1); }
}
html.is-handoff .nav,
html.is-handoff .hud,
html.is-handoff .progress,
html.is-handoff .hero-inner,
html.is-handoff .scrollcue,
html.is-handoff .hero .playhint,
html.is-handoff .hero.is-playing .playhud,
html.is-handoff .hero-veil {
  opacity: 0;
  transition: opacity .2s ease;
}
@media (prefers-reduced-motion: reduce) {
  html.is-handoff #field, html.is-return #field { animation: none; }
}

.menu-link {
  display: inline-block; margin-top: 18px; padding: 8px 2px;
  color: var(--dim); letter-spacing: .12em;
  transition: color .25s;
}
.menu-link:hover { color: var(--mint); }
