:root {
  --bg: #0b0c0e;
  --ink: #f1efe9;
  --ink-dim: rgba(241, 239, 233, 0.45);
  --accent: #19c78a;
}

* {
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: crosshair;
}

.mono {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}

canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
  pointer-events: none;
}

.hud-label {
  color: var(--ink-dim);
  margin-right: 8px;
}

.hud-value {
  font-size: 13px;
}

.hud-gap {
  margin-left: 20px;
}

.overlay {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
  padding: 0 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(
    ellipse 60% 50% at 50% 50%,
    rgba(11, 12, 14, 0.85),
    rgba(11, 12, 14, 0.25)
  );
}

.overlay.is-open {
  opacity: 1;
}

.eyebrow {
  color: var(--accent);
}

h1 {
  font-size: clamp(44px, 9vw, 120px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.rules {
  color: var(--ink-dim);
  line-height: 1.9;
}

.cta {
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

.foot {
  position: fixed;
  bottom: 18px;
  right: 24px;
  color: var(--ink-dim);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    animation: none;
  }
}
