/* ============================================================
   Continue Studios — "ATTRACT MODE" design layer
   The name IS the concept: CONTINUE? — insert coin, don't let
   the moment end. Modern 80s arcade: pixel type for short
   strings, terminal type for data, Poppins for humans.
   Loaded after webflow.css; plain CSS, no build step.
   ------------------------------------------------------------
   01 Tokens            07 Arcade hero (CONTINUE? screen)
   02 Base & scanlines  08 Page heads & mission
   03 Type voices       09 Leaderboard (podium + rows)
   04 Nav & credits     10 Stage cards & stage rows
   05 Buttons           11 1-UP lab (before/after)
   06 CRT bezel         12 Marquee, CTA, forms, footer
   ============================================================ */

/* ─── 01 · TOKENS ─────────────────────────────────────────── */
:root {
  --void:  #08060f;   /* arcade-room dark, violet cast */
  --panel: #120e1e;   /* raised surfaces / cabinets    */
  --inset: #0c0918;   /* screen wells                  */
  --line:  #272040;   /* hairlines                     */
  --paper: #f2f0fa;   /* primary text                  */
  --mist:  #9d95b8;   /* secondary text                */
  --pink:  #ff3d8a;   /* neon display accent           */
  --cyan:  #2de2e6;   /* phosphor: interactive + HUD   */
  --coin:  #ffc94a;   /* quarter gold: CTAs only       */
  --coin-ink: #241503;

  --arcade: 'Press Start 2P', monospace;
  --term:   'VT323', monospace;
  --ui:     'Poppins', system-ui, -apple-system, sans-serif;
  --nav-h: 84px;
}

/* ─── 02 · BASE ───────────────────────────────────────────── */
body,
body.bg-black {
  background:
    radial-gradient(90% 60% at 50% 0%, #140f26 0%, var(--void) 60%),
    var(--void);
  color: var(--paper);
  font-family: var(--ui);
  font-size: 16.5px;
  line-height: 1.7;
}
/* CRT scanlines over the whole stage */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px);
  opacity: .26;
}
::selection { background: var(--pink); color: #fff; }

a { color: var(--cyan); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 0;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(45, 226, 230, .7);
  z-index: 10001;
  transition: width .1s linear;
  pointer-events: none;
}

.wide { width: min(1080px, 94vw); margin-inline: auto; }
.col  { width: min(720px, 92vw);  margin-inline: auto; }

/* ─── 03 · TYPE VOICES ────────────────────────────────────── */
h1, h2, h3 { font-family: var(--arcade); font-weight: 400; line-height: 1.6; }
h4, h5, h6 { font-family: var(--ui); }
h5 { color: var(--mist); font-weight: 400; }
.text-light-gray { color: var(--mist); }
.text-white { color: var(--paper); }

.px { font-family: var(--arcade); font-weight: 400; line-height: 1.75; letter-spacing: .02em; }
.term { font-family: var(--term); }
.hud {
  font-family: var(--arcade); font-size: 9px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cyan);
}
.eyebrow {
  font-family: var(--arcade); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--pink);
  display: inline-flex; align-items: center; gap: 12px;
  text-shadow: 0 0 12px rgba(255, 61, 138, .55);
  margin: 0;
}
.eyebrow::before, .eyebrow.dual::after {
  content: ""; width: 22px; height: 8px; flex: none;
  background:
    linear-gradient(var(--pink), var(--pink)) 0 0 / 8px 8px no-repeat,
    linear-gradient(var(--pink), var(--pink)) 14px 0 / 8px 8px no-repeat;
  opacity: .8;
}
/* dim, never vanish — a CTA that blinks to opacity 0 reads as a broken
   empty button in any still moment, especially on phones */
.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .35; } }

.text-small-caps {
  font-family: var(--term);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 400;
}

/* ─── 04 · NAV ────────────────────────────────────────────── */
.navigation {
  height: var(--nav-h);
  background-color: rgba(8, 6, 15, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(45, 226, 230, .16), 0 6px 30px rgba(0, 0, 0, .5);
  transition: height .3s ease;
}
.navigation.scrolled { height: 62px; }
.brand { text-decoration: none; }
.brand .text-block {
  font-family: var(--arcade);
  font-size: 11px;
  color: var(--paper);
  line-height: 1.5;
}
.brand .text-block b { color: var(--cyan); font-weight: 400; text-shadow: 0 0 10px rgba(45, 226, 230, .6); }
.nav-link-plain {
  font-family: var(--arcade);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color .2s, text-shadow .2s;
}
.nav-link-plain:hover,
.nav-link-plain.w--current { color: var(--cyan); text-shadow: 0 0 10px rgba(45, 226, 230, .7); }
.nav-credits {
  font-family: var(--term); font-size: 19px; color: var(--coin);
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 18px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.nav-credits .c {
  width: 13px; height: 13px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #ffe49a, var(--coin) 60%, #b8860b);
  box-shadow: 0 0 10px rgba(255, 201, 74, .5);
}
.menu-icon { color: var(--paper); }
.menu-button-mobile.w--open { background-color: var(--panel); }

/* mobile menu panel */
@media screen and (max-width: 991px) {
  /* keep the bar a constant height on mobile: the open menu is fixed at
     top: var(--nav-h), so a shrinking bar would leave a gap band under it */
  .navigation.scrolled { height: var(--nav-h); }
  .nav-menu-mobile { background-color: #0d0a18; }
  .nav-menu-mobile.nav-open {
    top: var(--nav-h) !important; /* webflow.css hardcodes 90px */
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
  }
  .nav-link-plain { color: var(--paper); font-size: 10px; padding: 16px 0; }
  /* extra specificity: the base .button.navigation-button rule is defined
     later in this file and would otherwise win the margin battle */
  .nav-menu-mobile .button.navigation-button { margin: 14px auto 0; }
  .nav-menu-mobile .nav-credits { margin: 16px auto 0; justify-content: center; }
}

/* ─── 05 · BUTTONS ────────────────────────────────────────── */
.notch {
  clip-path: polygon(
    0 6px, 6px 6px, 6px 0,
    calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px,
    100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%,
    6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px));
}
.coin-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--coin); color: var(--coin-ink);
  border: 0; padding: 16px 26px 14px;
  font-family: var(--arcade); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.coin-btn:hover, .coin-btn:focus-visible {
  background: #ffd76e;
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px rgba(255, 201, 74, .35), 0 8px 30px rgba(255, 201, 74, .25);
}
.coin-btn:active { transform: translateY(1px); }
.coin-btn .slot { width: 5px; height: 15px; background: var(--coin-ink); border-radius: 1px; flex: none; }
.ghost-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--cyan);
  border: 2px solid var(--cyan); padding: 13px 22px 11px;
  font-family: var(--arcade); font-size: 9.5px; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 0 18px rgba(45, 226, 230, .12);
  transition: box-shadow .2s, background .2s, transform .15s;
}
.ghost-btn:hover, .ghost-btn:focus-visible {
  background: rgba(45, 226, 230, .1);
  box-shadow: inset 0 0 24px rgba(45, 226, 230, .18), 0 0 24px rgba(45, 226, 230, .28);
  transform: translateY(-2px);
}
/* webflow buttons inherit the coin look (nav Contact, newsletter submit) */
.button,
.button.small,
.button.navigation-button,
.button.white,
input.w-button {
  font-family: var(--arcade);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background-color: var(--coin);
  color: var(--coin-ink);
  border-radius: 0;
  transition: background-color .2s, transform .15s, box-shadow .2s;
}
.button.navigation-button { padding: 12px 18px 10px; margin-left: 15px; }
.button.small { padding: 11px 14px 9px; font-size: 8px; }
.button:hover, input.w-button:hover {
  opacity: 1;
  background-color: #ffd76e;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(255, 201, 74, .3);
}

.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── 06 · CRT BEZEL ──────────────────────────────────────── */
.crt {
  background: var(--inset);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  position: relative;
}
.crt .screen { position: relative; border-radius: 5px; overflow: hidden; }
.crt .screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px),
    radial-gradient(120% 100% at 50% 50%, transparent 62%, rgba(5, 3, 12, .55));
}
.crt .screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── 07 · ARCADE HERO ────────────────────────────────────── */
.arcade-hero {
  position: relative; overflow: hidden;
  min-height: min(96vh, 900px);
  min-height: min(96svh, 900px); /* iOS: size against the small viewport so the coin button isn't under the browser chrome */
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
  padding-top: var(--nav-h);
}
.hero-sky { position: absolute; inset: 0 0 30%; }
.hero-sky .sky-frame {
  position: absolute; inset: 0;
  background-position: 50% 30%;
  background-size: cover;
  opacity: 0;
  transition: opacity 2s ease;
  filter: saturate(1.05);
}
.hero-sky .sky-frame.on { opacity: .5; }
.hero-sky::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 6, 15, .78), rgba(19, 8, 36, .35) 55%, var(--void) 98%),
    linear-gradient(90deg, rgba(255, 61, 138, .13), transparent 40% 60%, rgba(45, 226, 230, .13));
}
.gridfloor {
  position: absolute; inset: auto 0 0; height: 34%;
  overflow: hidden; perspective: 420px; perspective-origin: 50% 0%;
}
.gridfloor .plane {
  position: absolute; inset: -20% -60% -120%;
  transform: rotateX(62deg);
  background-image:
    linear-gradient(rgba(45, 226, 230, .30) 2px, transparent 2px),
    linear-gradient(90deg, rgba(45, 226, 230, .22) 2px, transparent 2px);
  background-size: 52px 52px;
  animation: gridmove 1.5s linear infinite;
}
@keyframes gridmove { to { background-position: 0 52px, 0 0; } }
.gridfloor::before {
  content: ""; position: absolute; inset: -6px 0 auto; height: 42%; z-index: 1;
  background: linear-gradient(180deg, var(--void), transparent);
}
.horizon {
  position: absolute; left: 0; right: 0; bottom: 34%; height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--pink) 30%, var(--cyan) 70%, transparent);
  box-shadow: 0 0 22px 3px rgba(255, 61, 138, .35), 0 0 40px 6px rgba(45, 226, 230, .2);
}
.hero-stage { position: relative; z-index: 2; text-align: center; padding: 40px 20px 110px; width: 100%; }
.hero-stage .hud-row {
  display: flex; justify-content: space-between; align-items: center;
  width: min(920px, 90vw); margin: 0 auto 54px;
}
.hero-title {
  font-family: var(--arcade);
  font-size: clamp(26px, 6.2vw, 60px);
  color: var(--paper);
  line-height: 1.3;
  margin: 0;
  text-shadow:
    -3px 0 0 rgba(45, 226, 230, .55),
    3px 0 0 rgba(255, 61, 138, .55),
    0 0 34px rgba(255, 61, 138, .5);
}
.count {
  font-family: var(--term);
  font-size: clamp(90px, 16vw, 160px);
  line-height: 1;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(45, 226, 230, .65), 0 0 70px rgba(45, 226, 230, .3);
  font-variant-numeric: tabular-nums;
  margin: 6px 0 16px;
}
.hero-sub {
  font-family: var(--term); font-size: clamp(19px, 3vw, 25px); line-height: 1.4;
  color: var(--mist); margin: 0 0 38px;
}
.hero-sub b { color: var(--paper); font-weight: 400; }

.arcade-hero .ready-wrap { display: none; }
.arcade-hero[data-state="ready"] .attract-wrap { display: none; }
.arcade-hero[data-state="ready"] .ready-wrap { display: block; animation: pop .45s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes pop { from { transform: scale(.92); opacity: 0; } }
.ready-tag {
  font-family: var(--arcade); font-size: 10px; letter-spacing: .2em;
  color: var(--coin); text-transform: uppercase; margin: 0 0 24px;
  text-shadow: 0 0 12px rgba(255, 201, 74, .6);
}
.ready-title {
  font-family: var(--arcade);
  font-size: clamp(20px, 4.2vw, 38px);
  line-height: 1.55; color: var(--paper); margin: 0;
  text-shadow: 3px 0 0 rgba(255, 61, 138, .4), -3px 0 0 rgba(45, 226, 230, .4);
}
.ready-title .p1 { color: var(--cyan); }
.ready-copy {
  font: 400 17px/1.75 var(--ui); color: var(--mist);
  max-width: 56ch; margin: 24px auto 36px;
}
.ready-copy strong { color: var(--paper); }
.replay {
  position: absolute; right: 18px; bottom: 14px; z-index: 3;
  font-family: var(--term); font-size: 17px; color: var(--mist);
  background: none; border: 0; cursor: pointer;
}
.replay:hover { color: var(--cyan); }

/* ─── 08 · PAGE HEADS + MISSION ───────────────────────────── */
.page-head {
  padding: calc(var(--nav-h) + 64px) 0 30px;
  text-align: center;
}
.page-head h1 {
  font-family: var(--arcade);
  font-size: clamp(19px, 3.8vw, 32px);
  line-height: 1.6;
  color: var(--paper);
  margin: 18px 0 14px;
  text-shadow: 2px 0 0 rgba(255, 61, 138, .35), -2px 0 0 rgba(45, 226, 230, .35);
}
.page-head .sub { color: var(--mist); max-width: 58ch; margin: 0 auto; font-size: 15.5px; }
.page-head .sub b, .page-head .sub strong { color: var(--paper); }

section { position: relative; }
.section-pad { padding: clamp(56px, 9vh, 96px) 0; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 {
  font-family: var(--arcade);
  font-size: clamp(16px, 3vw, 26px);
  line-height: 1.65; color: var(--paper);
  margin: 16px 0 0;
}
.sec-head .why { color: var(--mist); max-width: 58ch; margin: 14px auto 0; font-size: 15px; }

.mission { text-align: center; padding: 76px 0 6px; }
.mission p {
  font: 400 clamp(18px, 2.4vw, 22px)/1.8 var(--ui);
  color: var(--mist); max-width: 34em; margin-inline: auto;
}
.mission p strong { color: var(--paper); font-weight: 600; }
.mission .term { color: var(--cyan); font-size: 1.15em; }

/* ─── 09 · LEADERBOARD ────────────────────────────────────── */
.board { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; }
.board-head {
  display: grid; grid-template-columns: 70px 96px 1fr 170px; gap: 16px;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
  font-family: var(--arcade); font-size: 8px; letter-spacing: .16em;
  color: var(--mist); text-transform: uppercase; align-items: center;
}
.board-row {
  display: grid; grid-template-columns: 70px 96px 1fr 170px; gap: 16px;
  width: 100%;
  padding: 14px 22px; align-items: center;
  border: 0; border-bottom: 1px solid var(--line);
  background: transparent; text-align: left;
  text-decoration: none; color: inherit; cursor: pointer;
  transition: background .25s, box-shadow .25s;
  position: relative;
  font-family: var(--ui);
}
.board .board-row:last-child { border-bottom: 0; }
.board-row:hover, .board-row:focus-visible { background: rgba(45, 226, 230, .05); box-shadow: inset 3px 0 0 var(--cyan); }
.rank { font-family: var(--arcade); font-size: 12px; color: var(--mist); }
.board-row.top .rank { color: var(--coin); text-shadow: 0 0 10px rgba(255, 201, 74, .6); }
.board-thumb { width: 96px; padding: 5px; }
.board-thumb .screen { height: 52px; }
.board-title { display: grid; gap: 3px; min-width: 0; }
.board-title .t { font: 600 16px/1.3 var(--ui); color: var(--paper); }
.board-title .l { font-family: var(--term); font-size: 17px; color: var(--cyan); line-height: 1.2; }
.board-score { text-align: right; display: grid; gap: 2px; }
.board-score .s {
  font-family: var(--term); font-size: 24px; color: var(--coin);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.board-score .e { font-family: var(--term); font-size: 14px; color: var(--mist); line-height: 1.3; }
.hi-badge {
  position: absolute; top: -9px; left: 66px; z-index: 2;
  font-family: var(--arcade); font-size: 7px; letter-spacing: .14em;
  color: var(--pink); background: var(--panel);
  border: 1px solid var(--pink); padding: 4px 8px 3px;
  box-shadow: 0 0 14px rgba(255, 61, 138, .4);
}
.board-cta { text-align: center; margin-top: 30px; }
@media (max-width: 700px) {
  .board-head { display: none; }
  .board-row { grid-template-columns: 40px 76px 1fr; }
  .board-thumb { width: 76px; }
  .board-thumb .screen { height: 44px; }
  .board-score { grid-column: 2 / -1; text-align: left; }
  .board-score .s { font-size: 20px; }
  .hi-badge { left: 44px; }
}

/* podium (gallery top 3) */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
@media (max-width: 880px) { .podium { grid-template-columns: 1fr; } }
.podium-card {
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
  overflow: hidden; cursor: pointer; text-align: left;
  padding: 0; color: inherit; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .3s, border-color .3s;
  position: relative;
}
.podium-card .crt { border: 0; border-radius: 0; background: transparent; padding: 10px 10px 0; }
.podium-card .screen { aspect-ratio: 4 / 3; }
.podium-card .screen img { transition: transform .8s cubic-bezier(.2, .6, .2, 1); }
.podium-body { padding: 14px 18px 18px; display: grid; gap: 6px; }
.podium-rank { font-family: var(--arcade); font-size: 10px; color: var(--mist); }
.podium-card.first .podium-rank { color: var(--coin); text-shadow: 0 0 10px rgba(255, 201, 74, .6); }
.podium-title { font: 600 17px/1.3 var(--ui); color: var(--paper); }
.podium-meta { font-family: var(--term); font-size: 16px; color: var(--cyan); }
.podium-score { font-family: var(--term); font-size: 22px; color: var(--coin); font-variant-numeric: tabular-nums; }
.podium-card:hover, .podium-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(45, 226, 230, .5);
  box-shadow: 0 0 0 1px rgba(45, 226, 230, .25), 0 18px 50px rgba(0, 0, 0, .5), 0 0 40px rgba(45, 226, 230, .12);
}
.podium-card:hover .screen img { transform: scale(1.05); }
.podium-card.first {
  border-color: rgba(255, 201, 74, .55);
  box-shadow: 0 0 0 1px rgba(255, 201, 74, .25), 0 0 44px rgba(255, 201, 74, .12);
}

/* circuit filters */
.circuits { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.circuit-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--mist);
  font-family: var(--arcade); font-size: 8px; letter-spacing: .14em;
  text-transform: uppercase;
  padding: 12px 16px 10px;
  cursor: pointer;
  transition: color .25s, border-color .25s, background .25s, box-shadow .25s;
}
.circuit-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.circuit-btn[aria-pressed="true"] {
  background: var(--cyan); border-color: var(--cyan); color: #062a2b;
  box-shadow: 0 0 20px rgba(45, 226, 230, .35);
}
.lb-item.hide { display: none; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 10002;
  background: rgba(5, 3, 12, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 4vmin;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(880px, 94vw); display: grid; gap: 18px; justify-items: center; }
.lightbox img {
  max-height: 72vh; max-width: 100%; width: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 0 60px rgba(45, 226, 230, .12), 0 30px 80px rgba(0, 0, 0, .6);
}
.lightbox figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; justify-content: center; }
.lb-place { font-family: var(--term); font-size: 18px; color: var(--cyan); }
.lb-title { font-family: var(--arcade); font-size: 11px; color: var(--paper); line-height: 1.6; }
.lb-exif { font-family: var(--term); font-size: 16px; color: var(--mist); }
.lb-score { font-family: var(--term); font-size: 20px; color: var(--coin); font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--cyan);
  font-family: var(--term); font-size: 22px;
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s;
}
.lb-btn:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(45, 226, 230, .35); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ─── 10 · STAGES ─────────────────────────────────────────── */
/* teaser cards (home) */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .stages { grid-template-columns: 1fr; } }
.stage-card {
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
  overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .3s, border-color .3s;
  position: relative;
}
.stage-card .marquee {
  padding: 12px 16px 10px;
  font-family: var(--arcade); font-size: 8px; letter-spacing: .16em;
  text-transform: uppercase; color: #0b0616;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.marquee.m-pink { background: linear-gradient(90deg, var(--pink), #ff7ab1); }
.marquee.m-coin { background: linear-gradient(90deg, var(--coin), #ffe08d); }
.marquee.m-cyan { background: linear-gradient(90deg, var(--cyan), #8ff3f5); }
.stage-card .crt { border: 0; border-radius: 0; padding: 10px 10px 0; background: transparent; }
.stage-card .screen { aspect-ratio: 4 / 3; }
.stage-card .screen img { transition: transform .8s cubic-bezier(.2, .6, .2, 1), filter .4s; filter: saturate(.92) brightness(.92); }
.stage-body { padding: 18px 20px 22px; display: grid; gap: 10px; }
.stage-body h3 { font-family: var(--arcade); font-size: 11px; line-height: 1.8; color: var(--paper); margin: 0; }
.stage-body p { color: var(--mist); font-size: 14px; line-height: 1.65; margin: 0; }
.stage-meta { font-family: var(--term); font-size: 16px; color: var(--mist); display: flex; gap: 14px; flex-wrap: wrap; }
.stage-meta b { color: var(--cyan); font-weight: 400; }
.press-start {
  font-family: var(--arcade); font-size: 8px; letter-spacing: .18em;
  color: var(--coin); opacity: 0; transition: opacity .3s; margin-top: 2px;
}
.stage-card:hover, .stage-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(45, 226, 230, .5);
  box-shadow: 0 0 0 1px rgba(45, 226, 230, .25), 0 18px 50px rgba(0, 0, 0, .5), 0 0 40px rgba(45, 226, 230, .12);
}
.stage-card:hover .screen img, .stage-card:focus-visible .screen img { transform: scale(1.05); filter: saturate(1.05) brightness(1); }
.stage-card:hover .press-start, .stage-card:focus-visible .press-start { opacity: 1; animation: blink 1.1s steps(1) infinite; }

/* full stage rows (services) */
.stage-row {
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  overflow: hidden; margin-bottom: 34px;
}
.stage-row .marquee {
  padding: 14px 22px 12px;
  font-family: var(--arcade); font-size: 9px; letter-spacing: .16em;
  text-transform: uppercase; color: #0b0616;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.stage-row-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding: 30px; align-items: center;
}
.stage-row.flip .stage-row-inner > .crt { order: 2; }
@media (max-width: 880px) {
  .stage-row-inner { grid-template-columns: 1fr; gap: 22px; padding: 20px; }
  .stage-row.flip .stage-row-inner > .crt { order: 0; }
}
.stage-row .screen { aspect-ratio: 4 / 3.4; }
.stage-copy h2 {
  font-family: var(--arcade);
  font-size: clamp(13px, 2.2vw, 18px);
  line-height: 1.8; color: var(--paper);
  margin: 0 0 16px;
}
.stage-copy h2 .up { color: var(--cyan); text-shadow: 0 0 14px rgba(45, 226, 230, .6); }
.stage-copy p { color: var(--mist); margin: 0 0 14px; font-size: 15px; }
.stage-copy p strong { color: var(--paper); }
.stat-strip {
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  font-family: var(--term); font-size: 18px; color: var(--mist);
  border-block: 1px solid var(--line);
  padding: 14px 0; margin: 18px 0 22px;
}
.stat-strip b { color: var(--cyan); font-weight: 400; }
.stat-strip .gold { color: var(--coin); }

/* ─── 11 · 1-UP LAB (before/after) ────────────────────────── */
.oneup { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
@media (max-width: 880px) { .oneup { grid-template-columns: 1fr; gap: 30px; } }
.oneup-copy h2 {
  font-family: var(--arcade); font-size: clamp(14px, 2.6vw, 21px);
  line-height: 1.8; color: var(--paper); margin: 18px 0;
}
.oneup-copy h2 .up { color: var(--cyan); text-shadow: 0 0 14px rgba(45, 226, 230, .6); }
.oneup-copy p { color: var(--mist); margin: 0 0 14px; }
.oneup-copy p strong { color: var(--paper); }
.lives { font-family: var(--term); font-size: 19px; color: var(--mist); display: flex; gap: 10px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.lives .heart { color: var(--pink); text-shadow: 0 0 10px rgba(255, 61, 138, .6); }

.ba { position: relative; user-select: none; }
.ba.screen > img, .ba .after-img { display: block; width: 100%; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); z-index: 1; }
.ba-before img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.6) saturate(.45) contrast(.8) brightness(1.02);
}
.ba-before::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(50, 38, 18, .5));
}
.ba-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px;
  background: var(--cyan); transform: translateX(-1px);
  box-shadow: 0 0 14px rgba(45, 226, 230, .8); pointer-events: none; z-index: 3;
}
.ba-grip {
  position: absolute; top: 50%; left: var(--pos, 50%);
  transform: translate(-50%, -50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cyan); color: #062a2b;
  display: grid; place-items: center;
  font-family: var(--term); font-size: 22px;
  box-shadow: 0 0 24px rgba(45, 226, 230, .55); pointer-events: none;
}
.ba-tag {
  position: absolute; top: 16px; z-index: 3;
  font-family: var(--arcade); font-size: 8px; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 10px 5px;
}
.ba-tag.b { left: 16px; background: rgba(8, 6, 15, .72); color: var(--mist); border: 1px solid var(--line); }
.ba-tag.a { right: 16px; background: var(--cyan); color: #062a2b; box-shadow: 0 0 16px rgba(45, 226, 230, .5); }
.ba input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize; touch-action: none; z-index: 4;
}

/* ─── 12 · MARQUEE / CTA / FORMS / FOOTER ─────────────────── */
.attract { border-block: 1px solid var(--line); background: #0a0714; overflow: hidden; padding: 26px 0; }
.attract-label { text-align: center; margin-bottom: 18px; }
.attract-track { display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
.attract:hover .attract-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.attract-frame { width: 210px; flex: none; margin: 0; }
.attract-frame .screen { height: 140px; }
.attract-frame figcaption {
  font-family: var(--term); font-size: 15px; color: var(--mist);
  text-align: center; margin-top: 8px;
}

.coin-cta { text-align: center; position: relative; }
.coin-cta h2 {
  font-family: var(--arcade); font-size: clamp(17px, 3.4vw, 28px);
  line-height: 1.7; color: var(--paper);
  text-shadow: 3px 0 0 rgba(255, 61, 138, .4), -3px 0 0 rgba(45, 226, 230, .4);
  margin: 16px 0 18px;
}
.coin-cta .sub { color: var(--mist); max-width: 46ch; margin: 0 auto 34px; }
.coin-cta .micro { font-family: var(--term); font-size: 17px; color: var(--mist); margin-top: 22px; }
.coin-cta .micro b { color: var(--coin); font-weight: 400; }

/* contact console + form fields */
.console {
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  padding: 30px;
}
.console-head {
  font-family: var(--arcade); font-size: 9px; letter-spacing: .16em;
  color: var(--cyan); text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px; margin-bottom: 22px;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.console-head .ok { color: var(--mist); }
label.text-white, .field-label {
  font-family: var(--arcade);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
  display: block;
  margin-bottom: 10px;
}
.text-field,
.w-input,
.w-select,
textarea.w-input {
  background-color: var(--inset);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--paper);
  font-family: var(--term);
  font-size: 19px;
  transition: border-color .25s, box-shadow .25s;
}
.text-field::placeholder,
.w-input::placeholder { color: #55496b; }
textarea.w-input { min-height: 130px; }
.text-field:focus,
.w-input:focus,
textarea.w-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(45, 226, 230, .16), 0 0 20px rgba(45, 226, 230, .12);
  outline: none;
}
.promise-hud {
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  overflow: hidden;
}
.promise-hud .crt { border: 0; border-radius: 0; padding: 10px 10px 0; background: transparent; }
.promise-hud .screen { aspect-ratio: 16 / 10; }
.promise-body { padding: 20px 24px 24px; display: grid; gap: 12px; }
.promise-body .big { font-family: var(--arcade); font-size: 11px; line-height: 1.8; color: var(--paper); }
.promise-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.promise-body li {
  font-family: var(--term); font-size: 18px; color: var(--mist);
  line-height: 1.5;
}
.promise-body li b { color: var(--cyan); font-weight: 400; }
.promise-body li::before { content: "▸ "; color: var(--coin); }

/* newsletter (footer) */
.single-item-form {
  background-color: var(--inset);
  border: 1px solid var(--line);
  border-radius: 0;
}
.single-item-form-text-field {
  color: var(--paper);
  font-family: var(--term);
  font-size: 18px;
}
.w-form-done, .w-form-fail { font-family: var(--term); font-size: 18px; color: var(--cyan); background: transparent; }
.w-form-fail { color: var(--pink); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 46px; background: #0a0714; position: relative; }
.foot-inner { width: min(1080px, 94vw); margin-inline: auto; text-align: center; }
.gameover { font-family: var(--arcade); font-size: 12px; color: var(--mist); letter-spacing: .1em; margin: 0; }
.gameover .no { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--pink); }
.continue-link {
  display: inline-block; margin-top: 14px;
  font-family: var(--arcade); font-size: 16px; color: var(--cyan);
  text-decoration: none; letter-spacing: .12em;
  text-shadow: 0 0 16px rgba(45, 226, 230, .6);
}
.continue-link:hover { animation: blink 1.1s steps(1) infinite; }
.foot-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin: 32px 0 26px; }
.foot-links a {
  font-family: var(--arcade); font-size: 8px; letter-spacing: .14em;
  color: var(--mist); text-decoration: none; text-transform: uppercase;
}
.foot-links a:hover { color: var(--cyan); }
.foot-news { max-width: 420px; margin: 0 auto 30px; }
.foot-news .field-label { text-align: left; }
.foot-copy { font-family: var(--term); font-size: 16px; color: var(--mist); margin: 0; }
.foot-copy a { color: var(--mist); }
.foot-copy a:hover { color: var(--cyan); }
.konami-hint { font-family: var(--term); font-size: 14px; color: #4d4468; margin: 16px 0 0; }

/* ─── 13 · LEGAL PROSE + CAREERS ──────────────────────────── */
.legal { padding: 14px 0 70px; }
.legal-updated {
  font-family: var(--term); font-size: 17px; color: var(--mist);
  text-align: center; margin: -4px 0 26px;
}
.legal-toc {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center;
  margin: 0 0 34px; padding: 0;
  font-family: var(--term); font-size: 16.5px;
}
.legal-toc a { color: var(--mist); text-decoration: none; }
.legal-toc a:hover { color: var(--cyan); }
.tldr {
  border: 1px solid var(--line); border-left: 3px solid var(--coin);
  background: var(--panel); border-radius: 8px;
  padding: 18px 22px; margin: 0 0 30px;
}
.tldr .t {
  font-family: var(--arcade); font-size: 9px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--coin);
  display: block; margin-bottom: 10px;
}
.tldr p { color: var(--mist); font-size: 15px; margin: 0; line-height: 1.7; }
.tldr p strong { color: var(--paper); }
.legal h2 {
  font-family: var(--arcade); font-size: 11.5px; line-height: 1.85;
  color: var(--paper); margin: 44px 0 14px;
}
.legal h2 .n { color: var(--pink); margin-right: 10px; }
.legal p, .legal li { color: var(--mist); font-size: 15.5px; line-height: 1.75; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--paper); font-weight: 600; }
.legal .mono-note { font-family: var(--term); font-size: 16.5px; color: var(--mist); }

/* careers */
.quest-board {
  border: 1px solid var(--line); border-radius: 10px; background: var(--panel);
  padding: 16px 22px; margin: 0 auto 40px; max-width: 620px;
  font-family: var(--term); font-size: 18px; color: var(--mist);
  display: grid; gap: 6px; text-align: center;
}
.quest-board b { color: var(--cyan); font-weight: 400; }
.quest-board .gold { color: var(--coin); }
.role-status {
  font-family: var(--arcade); font-size: 8px; letter-spacing: .16em;
  color: var(--coin); text-transform: uppercase; margin-top: 4px;
}
.perk-strip {
  display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: center;
  font-family: var(--term); font-size: 17px; color: var(--mist);
  border-block: 1px solid var(--line);
  padding: 16px 0; margin: 36px 0;
  text-align: center;
}
.perk-strip b { color: var(--cyan); font-weight: 400; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  z-index: 10005; background: var(--panel); border: 1px solid var(--coin);
  color: var(--paper); font-family: var(--arcade); font-size: 9px; letter-spacing: .1em;
  padding: 14px 20px; opacity: 0; pointer-events: none;
  box-shadow: 0 0 30px rgba(255, 201, 74, .3);
  transition: opacity .3s, transform .3s;
  text-align: center; line-height: 1.8;
  max-width: 92vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
body.rainbow { animation: hue 2.4s linear 2; }
@keyframes hue { to { filter: hue-rotate(360deg); } }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media screen and (max-width: 991px) {
  .stage-row .screen { aspect-ratio: 4 / 3; }
  .hero-stage .hud-row { margin-bottom: 36px; }
}
@media screen and (max-width: 600px) {
  body { font-size: 16px; }
  .coin-btn { font-size: 9px; padding: 14px 18px 12px; }
  .ghost-btn { font-size: 8.5px; }
  .hero-stage .hud-row { flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
  .foot-links { gap: 12px 18px; }
  .foot-copy { line-height: 1.9; padding: 0 12px; }
}

/* ─── MOTION SAFETY ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .blink, .press-start, .continue-link:hover, .hi-badge { animation: none !important; }
  .gridfloor .plane, .attract-track { animation: none !important; }
  .arcade-hero[data-state="ready"] .ready-wrap { animation: none; }
  .hero-sky .sky-frame { transition: none; }
  body.rainbow { animation: none; }
  * { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
