/* ==========================================================================
   ORBITING JUNK — retro space arcade
   ========================================================================== */

:root {
  --bg: #070b1a;
  --bg-2: #0c1330;
  --panel: #0e1634;
  --panel-2: #121c42;
  --line: #24305e;
  --text: #e8eefc;
  --muted: #9aa6c8;
  --acid: #b6ff3b;
  --acid-dim: #5fa31c;
  --orange: #ff8a2b;
  --ice: #a9d8ff;
  --danger: #ff4d5e;
  --pixel: 'Press Start 2P', ui-monospace, monospace;
  --sans: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --radius: 4px;
  --shadow-px: 4px 4px 0 #000;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
/* CRT scanlines */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.16) 2px 3px);
  mix-blend-mode: multiply;
}
/* soft vignette */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(61,127,214,.12), transparent 60%),
              radial-gradient(ellipse at 50% 120%, rgba(182,255,59,.06), transparent 50%);
}

#starfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
header, main, footer { position: relative; z-index: 1; }

img, canvas { display: block; }
a { color: var(--acid); }
h1, h2, h3 { font-family: var(--pixel); font-weight: 400; line-height: 1.35; margin: 0; letter-spacing: .02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 28px; } }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--acid); color: #000; padding: 8px 12px; font-weight: 700; }
.skip-link:focus { left: 8px; }

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

.eyebrow {
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--orange);
  margin-bottom: 14px;
}
.accent { color: var(--acid); }
.label { font-family: var(--pixel); font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.fineprint { font-size: 13px; color: var(--muted); margin-top: 14px; }

.panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-px), inset 0 0 0 2px rgba(255,255,255,.02);
}

/* ---------------- Buttons ---------------- */
.btn {
  --b: var(--acid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  font-family: var(--pixel);
  font-size: 12px;
  letter-spacing: .06em;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  color: #050814;
  background: var(--b);
  border: 2px solid #000;
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 #000;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease, filter .15s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:hover { filter: brightness(1.08); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #000; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #000; }
.btn--lg { min-height: 54px; padding: 16px 24px; font-size: 13px; }
.btn--sm { min-height: 38px; padding: 9px 14px; font-size: 10px; }
.btn--primary { --b: var(--acid); }
.btn--buy { --b: var(--orange); }
.btn--ghost { background: transparent; color: var(--acid); border-color: var(--acid); box-shadow: 4px 4px 0 rgba(0,0,0,.6); }
.btn--social { --b: var(--ice); min-width: 180px; }
.btn--social svg { width: 18px; height: 18px; }

/* Disabled / pre-launch: clearly inert, dashed, never "success" green */
.btn:disabled,
.btn[aria-disabled='true'] {
  background: transparent;
  color: var(--muted);
  border: 2px dashed #3a4675;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  filter: none;
}
.btn .soon-tag {
  font-size: 8px;
  padding: 3px 5px;
  border: 1px solid currentColor;
  border-radius: 2px;
  letter-spacing: .1em;
}

/* ---------------- Nav ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 26, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--pixel); font-size: 12px; letter-spacing: .06em; }
.logo img { image-rendering: pixelated; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a:not(.btn) { color: var(--text); text-decoration: none; font-family: var(--pixel); font-size: 10px; letter-spacing: .1em; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav__links a:not(.btn):hover { color: var(--acid); border-bottom-color: var(--acid); }
.nav__buy-mobile { display: none; }
.nav__toggle { display: none; }

@media (max-width: 820px) {
  .nav__inner { min-height: 60px; gap: 12px; }
  .nav__buy { margin-left: auto; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0 11px;
    background: transparent; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer;
  }
  .nav__toggle span { display: block; height: 3px; background: var(--acid); transition: transform .2s, opacity .2s; }
  .nav__toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0;
    padding: 8px var(--gutter) 20px;
    background: rgba(7, 11, 26, .98);
    border-bottom: 2px solid var(--line);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { font-size: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav__buy-mobile { display: inline-flex; margin-top: 16px; }
}
@media (max-width: 420px) {
  .logo span { font-size: 10px; }
  .nav__buy { display: none; }
  .nav__toggle { margin-left: auto; }
}

/* ---------------- Hero ---------------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 40px;
  min-height: min(760px, calc(100vh - 68px));
}
.hero h1 { font-size: clamp(24px, 3.6vw, 44px); line-height: 1.32; text-shadow: 4px 4px 0 #000; }
.hero h1 .accent { display: block; margin-top: 6px; }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: #cdd6f0; margin-top: 24px; max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; }
#hero-canvas {
  width: min(100%, 480px);
  height: auto;
  aspect-ratio: 1;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.status-chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--pixel); font-size: 9px; letter-spacing: .12em;
  color: var(--acid);
  padding: 9px 12px;
  background: rgba(182,255,59,.08);
  border: 2px solid rgba(182,255,59,.4);
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.blink-dot { width: 8px; height: 8px; background: var(--orange); box-shadow: 0 0 8px var(--orange); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.hero__caption { font-family: var(--pixel); font-size: 8px; letter-spacing: .14em; color: #55628d; margin-top: 4px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 24px; min-height: 0; text-align: left; }
  #hero-canvas { width: min(100%, 320px); }
}
@media (max-width: 520px) {
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------------- Contract ---------------- */
.contract { margin-top: 8px; margin-bottom: 40px; }
.contract__card { padding: 20px 24px; max-width: 820px; margin: 0 auto; }
.contract__status {
  display: inline-block;
  font-family: var(--pixel); font-size: 9px; letter-spacing: .12em;
  color: var(--orange);
  border: 1px dashed var(--orange);
  padding: 6px 10px;
  margin-bottom: 14px;
}
.contract__status.is-live { color: var(--acid); border: 1px solid var(--acid); }
.contract__row { display: flex; align-items: center; gap: 16px; }
.contract__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.contract__addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  color: var(--text);
  word-break: break-all;
}
.contract__addr.is-pending { color: var(--muted); font-family: var(--sans); font-weight: 500; }
.contract__msg { min-height: 1.5em; margin-top: 8px; font-size: 14px; color: var(--acid); }
.contract__msg.is-error { color: var(--orange); }
@media (max-width: 560px) {
  .contract__row { flex-direction: column; align-items: stretch; }
  .contract__row .btn { width: 100%; }
}

/* ---------------- Section heads ---------------- */
section { scroll-margin-top: 76px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(20px, 2.8vw, 32px); text-shadow: 3px 3px 0 #000; }
.section-head p:not(.eyebrow) { color: #cdd6f0; margin-top: 16px; }

.game-section, .hangar, .how, .token, .community { padding-top: 72px; padding-bottom: 32px; }

/* ---------------- Game / Cabinet ---------------- */
.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 1000px) { .game-layout { grid-template-columns: 1fr; } }

.cabinet {
  position: relative;
  background: linear-gradient(180deg, #1b2450, #10173a 40%, #0b112c);
  border: 3px solid #000;
  border-radius: 14px 14px 8px 8px;
  padding: 0 18px 16px;
  box-shadow: 8px 8px 0 #000, inset 0 0 0 3px #2d3a78, 0 0 80px rgba(182,255,59,.08);
}
.cabinet__marquee {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 0 -18px 14px;
  padding: 14px 12px;
  background: repeating-linear-gradient(90deg, #ff8a2b 0 16px, #0b0f1f 16px 32px);
  border-bottom: 3px solid #000;
  border-radius: 11px 11px 0 0;
  font-family: var(--pixel); font-size: clamp(10px, 1.6vw, 14px); letter-spacing: .1em;
  color: var(--acid);
  text-shadow: 2px 2px 0 #000;
  position: relative;
}
.cabinet__marquee::before { content: ''; position: absolute; inset: 6px; background: #0b0f1f; border: 2px solid #000; z-index: 0; }
.cabinet__marquee > * , .cabinet__marquee { z-index: 1; }
.cabinet__marquee { isolation: isolate; }
.cabinet__marquee::before { z-index: -1; }
.marquee-bolt { width: 10px; height: 10px; background: var(--orange); box-shadow: 0 0 10px var(--orange); }

.hud { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 10px 22px; align-items: end; padding: 4px 4px 12px; }
.hud__item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hud__label { font-family: var(--pixel); font-size: 8px; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.hud__value { font-family: var(--pixel); font-size: 16px; color: var(--acid); font-variant-numeric: tabular-nums; }
#hud-best { color: var(--ice); }
#hud-time.is-low { color: var(--orange); animation: blink .6s steps(2) infinite; }
.integrity { height: 18px; border: 2px solid #000; background: #1a0f1a; box-shadow: inset 0 0 0 2px #3a1f2e; position: relative; }
.integrity__fill { height: 100%; width: 100%; background: repeating-linear-gradient(90deg, var(--acid) 0 8px, #8fd12b 8px 10px); transition: width .2s steps(5); }
.integrity.is-warn .integrity__fill { background: repeating-linear-gradient(90deg, var(--orange) 0 8px, #c4521a 8px 10px); }
.integrity.is-crit .integrity__fill { background: repeating-linear-gradient(90deg, var(--danger) 0 8px, #a32030 8px 10px); animation: blink .5s steps(2) infinite; }
@media (max-width: 560px) {
  .hud { grid-template-columns: repeat(3, 1fr); gap: 8px 10px; }
  .hud__item--wide { grid-column: 1 / -1; }
  .hud__label { font-size: 7px; white-space: normal; line-height: 1.5; }
  .hud__item { justify-content: flex-end; }
  .hud__value { font-size: 13px; }
}

.screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #050816;
  border: 4px solid #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0,0,0,.8), 0 0 0 3px #2d3a78;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
@media (max-width: 640px) { .screen { aspect-ratio: 4 / 5; max-height: 70vh; } }
#game-canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; }
.screen__fx {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.025) 0 1px, transparent 1px 3px),
              radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,.55));
}
.screen.is-hit .screen__fx { animation: hitflash .25s; }
@keyframes hitflash { 0% { box-shadow: inset 0 0 0 9999px rgba(255,77,94,.35); } 100% { box-shadow: none; } }

.screen__chips { position: absolute; left: 10px; top: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.combo { font-family: var(--pixel); font-size: 9px; color: var(--acid); background: rgba(5,8,22,.75); border: 1px solid rgba(182,255,59,.5); padding: 5px 7px 7px; position: relative; opacity: 0; transition: opacity .2s; }
.combo.is-on { opacity: 1; }
.combo i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--acid); width: 0; }
.pu-chips { display: flex; gap: 6px; }
.pu-chip { font-family: var(--pixel); font-size: 9px; padding: 5px 7px; background: rgba(5,8,22,.75); border: 1px solid currentColor; }
.pu-chip--shield { color: var(--ice); }
.pu-chip--magnet { color: var(--orange); }
.badge-chip { margin-left: auto; font-family: var(--pixel); font-size: 8px; color: #ffd36b; background: rgba(5,8,22,.75); border: 1px solid #ffd36b; padding: 5px 7px; }

.alert-banner {
  position: absolute; left: 0; right: 0; top: 42%;
  text-align: center;
  font-family: var(--pixel); font-size: clamp(10px, 2vw, 16px); letter-spacing: .12em;
  color: var(--orange); text-shadow: 2px 2px 0 #000;
  background: repeating-linear-gradient(-45deg, rgba(255,138,43,.18) 0 10px, transparent 10px 20px);
  padding: 10px 0;
  opacity: 0; pointer-events: none;
}
.alert-banner.is-on { animation: alertblink 2.2s steps(1) forwards; }
@keyframes alertblink { 0%,20%,40%,60%,80% { opacity: 1; } 10%,30%,50%,70% { opacity: .2; } 100% { opacity: 0; } }

.countdown { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--pixel); font-size: clamp(36px, 8vw, 72px); color: var(--acid); text-shadow: 5px 5px 0 #000; pointer-events: none; }

.overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 20px;
  text-align: center;
  background: rgba(5, 8, 22, .78);
}
.overlay[hidden] { display: none; }
.overlay__kicker { font-family: var(--pixel); font-size: 10px; letter-spacing: .14em; color: var(--orange); }
.overlay__title { font-family: var(--pixel); font-size: clamp(14px, 2.6vw, 24px); line-height: 1.4; color: var(--text); text-shadow: 3px 3px 0 #000; max-width: 20em; }
.overlay__text { color: #cdd6f0; }
.overlay__fine { font-size: 12px; color: var(--muted); max-width: 30em; }
.over-stats { display: flex; gap: 22px; margin: 4px 0; flex-wrap: wrap; justify-content: center; }
.over-stats div { display: flex; flex-direction: column; gap: 6px; }
.over-stats dt { font-family: var(--pixel); font-size: 8px; color: var(--muted); letter-spacing: .1em; }
.over-stats dd { margin: 0; font-family: var(--pixel); font-size: 18px; color: var(--acid); }
.over-newbest { font-family: var(--pixel); font-size: 11px; color: #ffd36b; animation: blink .7s steps(2) infinite; }
@media (max-width: 640px) {
  .overlay { gap: 10px; padding: 14px; }
  .over-stats { gap: 14px; }
  .over-stats dd { font-size: 14px; }
  .overlay__fine { font-size: 11px; }
}

.only-coarse { display: none; }
@media (pointer: coarse) { .only-fine { display: none; } .only-coarse { display: inline; } }

.cabinet__deck { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; background: #0a0f28; border: 2px solid #000; border-radius: 6px; box-shadow: inset 0 0 0 2px #1d2758; }
.deck__stick { width: 40px; height: 40px; border-radius: 50%; background: #05081a; border: 2px solid #000; display: grid; place-items: center; flex: none; }
.deck__stick i { width: 18px; height: 18px; border-radius: 50%; background: var(--danger); box-shadow: inset -3px -3px 0 rgba(0,0,0,.35); }
.deck__btn {
  font-family: var(--pixel); font-size: 9px; letter-spacing: .08em;
  min-height: 40px; padding: 8px 12px;
  color: var(--text); background: #1b2450; border: 2px solid #000; border-radius: var(--radius);
  box-shadow: 3px 3px 0 #000; cursor: pointer;
}
.deck__btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; }
.deck__btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.deck__btn[aria-pressed='false'] { color: var(--muted); }
.deck__coin { margin-left: auto; font-family: var(--pixel); font-size: 7px; line-height: 1.6; color: #6b779d; text-align: center; padding: 6px 8px; border: 2px solid #000; background: #070b1f; }
@media (max-width: 420px) { .deck__coin { display: none; } .deck__stick { display: none; } .deck__btn { flex: 1; } }

/* How to play */
.howto { padding: 22px; }
.howto h3 { font-size: 13px; color: var(--acid); margin-bottom: 16px; }
.howto__controls { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; font-size: 15px; }
.howto__controls li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.key { font-family: var(--pixel); font-size: 8px; padding: 5px 6px; border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 3px; color: var(--ice); background: #0a1028; }
.howto__legend { display: grid; gap: 12px; padding: 14px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); margin-bottom: 14px; }
.legend-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #cdd6f0; }
.legend-row b { font-family: var(--pixel); font-size: 9px; color: var(--text); display: block; margin-bottom: 2px; letter-spacing: .06em; }
.legend-icon { width: 40px; height: 40px; flex: none; image-rendering: pixelated; background: #070b1f; border: 1px solid var(--line); }
.howto__tip { font-size: 14px; color: #cdd6f0; margin-top: 6px; }
.howto__tip b { font-family: var(--pixel); font-size: 9px; color: var(--orange); }

/* ---------------- Hangar ---------------- */
.hangar__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .hangar__grid { grid-template-columns: 1fr; } }
.hangar h2 { font-size: clamp(20px, 2.8vw, 32px); text-shadow: 3px 3px 0 #000; margin-bottom: 18px; }
.hangar__copy > p:not(.eyebrow):not(.fineprint) { color: #cdd6f0; }
.hangar__facts { margin: 20px 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; color: #cdd6f0; }
.hangar__facts li { padding-left: 22px; position: relative; }
.hangar__facts li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; background: var(--acid); }
.hangar__action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hangar__status { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.hangar__status.is-ok { color: var(--acid); }
.hangar__status.is-warn { color: var(--orange); }
.btn.is-granted { --b: var(--acid); cursor: default; }
.btn.is-nohold { background: transparent; color: var(--orange); border: 2px solid var(--orange); box-shadow: none; cursor: default; }
.wallet-picker { display: flex; flex-wrap: wrap; gap: 10px; }
.wallet-picker[hidden] { display: none; }
.wallet-picker .btn { --b: var(--ice); font-size: 10px; min-height: 42px; }
.wallet-picker img { width: 20px; height: 20px; }
.wallet-picker p { font-size: 14px; color: var(--muted); width: 100%; }
.wallet-addr { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--ice); }
.link-btn { background: none; border: none; color: var(--muted); text-decoration: underline; font: inherit; font-size: 13px; cursor: pointer; padding: 4px 0; }

.locker { padding: 22px; display: grid; gap: 16px; }
.locker__preview { display: flex; align-items: center; gap: 18px; padding: 14px; background: #070b1f; border: 2px solid var(--line); }
#locker-canvas { width: 96px; height: 96px; image-rendering: pixelated; flex: none; }
.locker__badge { font-family: var(--pixel); font-size: 9px; color: #ffd36b; line-height: 1.6; }
.locker__group h3 { font-size: 9px; color: var(--muted); letter-spacing: .12em; margin-bottom: 8px; }
.locker__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--pixel); font-size: 8px; letter-spacing: .06em;
  min-height: 36px; padding: 8px 10px;
  color: var(--text); background: #0a1028; border: 2px solid var(--line); border-radius: 3px; cursor: pointer;
}
.opt[aria-pressed='true'] { border-color: var(--acid); color: var(--acid); box-shadow: 0 0 0 2px rgba(182,255,59,.2); }
.opt:disabled { color: #5a6690; cursor: not-allowed; border-style: dashed; }
.opt .swatch { width: 10px; height: 10px; border: 1px solid #000; }
.lock { width: 10px; height: 10px; flex: none; }
.locker__note { font-size: 13px; color: var(--muted); }

/* ---------------- How it works ---------------- */
.how__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .how__cards { grid-template-columns: 1fr; } }
.card { padding: 26px 22px; position: relative; overflow: hidden; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--acid-dim); }
.card__num { position: absolute; right: 16px; top: 14px; font-family: var(--pixel); font-size: 22px; color: rgba(255,255,255,.06); }
.card__icon { width: 72px; height: 72px; image-rendering: pixelated; margin-bottom: 18px; }
.card h3 { font-size: 15px; color: var(--acid); margin-bottom: 10px; }
.card p { color: #cdd6f0; }

/* ---------------- Token ---------------- */
.token__card { max-width: 820px; margin: 0 auto; padding: 28px; }
.token__list { margin: 0 0 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 2px solid var(--line); }
.token__list > div { padding: 16px 18px; border-bottom: 2px solid var(--line); }
.token__list > div:nth-child(odd):not(.token__ca) { border-right: 2px solid var(--line); }
.token__list .token__ca { grid-column: 1 / -1; border-bottom: none; }
.token__list dt { font-family: var(--pixel); font-size: 9px; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px; }
.token__list dd { margin: 0; font-size: 18px; font-weight: 700; }
.token__list code { font-family: ui-monospace, Menlo, monospace; font-size: 15px; word-break: break-all; font-weight: 500; }
.token__list code.is-pending { color: var(--muted); font-family: var(--sans); }
.token__note { color: #cdd6f0; margin-bottom: 22px; padding-left: 14px; border-left: 3px solid var(--orange); }
@media (max-width: 520px) {
  .token__card { padding: 18px; }
  .token__list { grid-template-columns: 1fr; }
  .token__list > div:nth-child(odd):not(.token__ca) { border-right: none; }
  .token__card .btn { width: 100%; }
}

/* ---------------- Community ---------------- */
.community__card { text-align: center; padding: 44px 24px; max-width: 820px; margin: 0 auto; background: radial-gradient(ellipse at top, rgba(169,216,255,.08), transparent 70%), linear-gradient(180deg, var(--panel-2), var(--panel)); }
.community h2 { font-size: clamp(18px, 2.6vw, 28px); margin-bottom: 14px; text-shadow: 3px 3px 0 #000; }
.community__card > p:not(.eyebrow) { color: #cdd6f0; max-width: 34em; margin: 0 auto; }
.social-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 28px; }
@media (max-width: 520px) { .social-btns .btn { flex: 1 1 100%; } }

/* ---------------- Footer ---------------- */
.footer { margin-top: 72px; border-top: 2px solid var(--line); background: rgba(5,8,20,.85); padding: 36px 0 44px; }
.footer__inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer__links a { font-family: var(--pixel); font-size: 9px; letter-spacing: .1em; color: var(--muted); text-decoration: none; padding: 8px 0; }
.footer__links a:hover { color: var(--acid); }
.disclaimer { font-size: 14px; color: #cdd6f0; max-width: 40em; }
.copyright { font-size: 12px; color: #5d6a93; }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, .reduce-motion .reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
