:root {
  --text: #e8eef6;
  --muted: #8fa3b8;
  --faint: #5d7288;
  --line: #1b2836;
  --panel: #0b1118;
  --accent: #ffb020;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background:
    radial-gradient(1100px 520px at 50% -8%, #14202d 0%, rgba(20, 32, 45, 0) 60%),
    radial-gradient(700px 400px at 85% 110%, #101a24 0%, rgba(16, 26, 36, 0) 60%),
    #070a0e;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  justify-content: center;
  padding: clamp(16px, 4vw, 52px) clamp(14px, 4vw, 32px);
}

.page {
  width: min(940px, 100%);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 28px);
}

.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 700;
  background: linear-gradient(180deg, #ffffff 0%, #b9c8d8 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.roles {
  margin: 0;
  color: #c3d0de;
  font-size: clamp(11px, 1.6vw, 13px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blurb {
  margin: 0;
  color: var(--muted);
  font-size: clamp(13px, 1.9vw, 15px);
}

.stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
  box-shadow:
    0 30px 70px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  touch-action: manipulation;
  cursor: pointer;
}

canvas {
  display: block;
  width: 100%;
  height: 300px;
  background: #0b1118;
}

.hud {
  position: absolute;
  top: 12px;
  left: 14px;
  display: flex;
  gap: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  user-select: none;
}

.hud b {
  color: var(--text);
  font-weight: 600;
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(7, 10, 14, 0.15), rgba(7, 10, 14, 0.6));
  transition: opacity 0.25s ease;
}

.overlay.hidden { opacity: 0; }

.overlay-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: clamp(12px, 2.2vw, 16px);
  text-transform: uppercase;
  color: var(--text);
}

.overlay-sub {
  margin: 0;
  color: #9db0c4;
  font-size: clamp(11px, 1.7vw, 13px);
}

.hint {
  margin: 0;
  text-align: center;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  color: var(--faint);
  font-size: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.foot p { margin: 0; }
.foot .soon { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .overlay { transition: none; }
}
