:root {
  --bg: #05050d;
  --ground: #0b0b1a;
  --line: #1c1c3a;
  --text: #e9ecff;
  --muted: #9aa0c4;
  --hero: #00e5ff;
  --coin: #ffc400;
  --tower: #39ff14;
  --enemy: #ff2e88;
  --offer: #1de9b6;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--hero); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.08em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav a { margin-left: 16px; text-decoration: none; color: var(--muted); font-size: 15px; }
nav a:hover { color: var(--hero); }
.hero { text-align: center; padding: 40px 0 28px; }
.hero img.icon { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 0 44px rgba(0, 229, 255, 0.35); }
h1 { margin: 22px 0 6px; font-size: clamp(38px, 9vw, 64px); line-height: 1.05; letter-spacing: 0.06em; color: var(--coin); text-shadow: 0 0 22px rgba(255, 196, 0, 0.45); }
.tagline { margin: 0 auto 26px; max-width: 30em; color: var(--muted); font-size: 19px; }
.cta { display: inline-block; padding: 16px 30px; border: 2px solid rgba(57, 255, 20, 0.6); border-radius: 10px; background: rgba(18, 18, 26, 0.7); color: var(--tower); font-weight: 700; font-size: 18px; letter-spacing: 0.06em; text-decoration: none; }
.cta.soon { border-color: rgba(154, 160, 196, 0.4); color: var(--muted); cursor: default; }
.note { margin-top: 10px; color: var(--muted); font-size: 14px; }
h2 { margin: 44px 0 14px; font-size: 26px; letter-spacing: 0.06em; color: var(--hero); }
h3 { margin: 26px 0 6px; font-size: 19px; color: var(--text); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border: 2px solid var(--line); border-radius: 12px; }
.shots figcaption { margin-top: 6px; text-align: center; color: var(--muted); font-size: 14px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; margin: 0; list-style: none; }
.features li { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(11, 11, 26, 0.85); }
.features b { display: block; margin-bottom: 2px; color: var(--coin); letter-spacing: 0.04em; }
.features span { color: var(--muted); font-size: 15px; }
.panel { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(11, 11, 26, 0.9); }
.doc { padding-bottom: 20px; }
.doc p, .doc li { color: #cfd3ee; }
.doc .updated { color: var(--muted); font-size: 14px; }
footer { margin-top: 56px; padding: 24px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; }
footer a { color: var(--muted); margin: 0 8px; }
@media (max-width: 620px) {
  .shots { grid-template-columns: repeat(3, 72%); overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .shots figure { scroll-snap-align: center; }
  .features { grid-template-columns: 1fr; }
  nav a { margin-left: 12px; }
}

/* arcade layer */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; background: repeating-linear-gradient(rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px); }
@keyframes cycle { 0%, 100% { color: #ffc400; text-shadow: 0 0 10px #ffc400, 0 0 34px rgba(255, 196, 0, 0.6); } 20% { color: #ff2e88; text-shadow: 0 0 10px #ff2e88, 0 0 34px rgba(255, 46, 136, 0.6); } 40% { color: #9d4dff; text-shadow: 0 0 10px #9d4dff, 0 0 34px rgba(157, 77, 255, 0.6); } 60% { color: #00e5ff; text-shadow: 0 0 10px #00e5ff, 0 0 34px rgba(0, 229, 255, 0.6); } 80% { color: #39ff14; text-shadow: 0 0 10px #39ff14, 0 0 34px rgba(57, 255, 20, 0.6); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 rgba(57, 255, 20, 0); } 50% { box-shadow: 0 0 26px rgba(57, 255, 20, 0.45); } }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.25; } }
.stage { position: relative; min-height: min(100svh, 900px); display: flex; flex-direction: column; overflow: hidden; border-bottom: 1px solid var(--line); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 0 45%, rgba(5, 5, 13, 0.8) 62%, rgba(5, 5, 13, 0.96) 100%); pointer-events: none; }
.stage > .wrap { position: relative; z-index: 2; width: 100%; flex: 1; display: flex; flex-direction: column; }
.stage .hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 0 44px; }
.stage h1 { margin: 0 0 10px; font-size: clamp(46px, 13vw, 96px); font-weight: 800; animation: cycle 9s linear infinite; }
.stage .tagline { color: var(--text); text-shadow: 0 2px 12px #000; }
.hud { display: flex; justify-content: space-between; margin-bottom: 14px; width: 100%; max-width: 460px; font: 600 13px/1 ui-monospace, Menlo, monospace; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.hud b { color: var(--coin); font-weight: 600; }
.hud .live { color: var(--enemy); animation: blink 1.4s steps(1) infinite; }
.cta { min-width: min(100%, 460px); min-height: 78px; display: inline-flex; align-items: center; justify-content: center; text-align: center; border-width: 3px; background: rgba(18, 18, 26, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-transform: uppercase; transition: transform 0.12s, border-color 0.12s; }
a.cta:hover { transform: translateY(-2px); border-color: currentColor; }
.cta.soon { border-color: rgba(57, 255, 20, 0.55); color: var(--tower); animation: pulse 2.6s ease-in-out infinite; }
h2 { text-shadow: 0 0 14px rgba(0, 229, 255, 0.55); text-transform: uppercase; }
h2::before { content: "> "; color: var(--enemy); }
.shots figure { position: relative; }
.shots video, .shots img { display: block; width: 100%; height: auto; border: 3px solid var(--tone, var(--line)); border-radius: 22px; box-shadow: 0 0 26px color-mix(in srgb, var(--tone, #000) 45%, transparent); background: #000; }
.shots figcaption { color: var(--tone, var(--muted)); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.features li { border: 2px solid color-mix(in srgb, var(--tone) 50%, transparent); background: rgba(18, 18, 26, 0.6); transition: transform 0.12s, box-shadow 0.12s; }
.features li:hover { transform: translateY(-3px); box-shadow: 0 0 22px color-mix(in srgb, var(--tone) 40%, transparent); }
.features b { color: var(--tone); text-shadow: 0 0 10px color-mix(in srgb, var(--tone) 60%, transparent); }
.roster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0; margin: 0; list-style: none; }
.roster li { padding: 14px 6px; text-align: center; border: 2px solid color-mix(in srgb, var(--tone) 55%, transparent); border-radius: 10px; background: rgba(18, 18, 26, 0.6); color: var(--tone); font-weight: 700; letter-spacing: 0.1em; font-size: 14px; }
.roster small { display: block; margin-top: 2px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
@media (max-width: 620px) { .roster { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .stage h1, .cta.soon, .hud .live { animation: none; } }
