:root {
  --bg: #0b0b0c;
  --ink: #e8e4d8;
  --muted: #8a867c;
  --sans: -apple-system, "SF Pro Text", "Helvetica Neue", Inter, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

#life {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

.hero {
  position: fixed;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 0 16px;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 0 24px var(--bg), 0 0 48px var(--bg);
}

.tagline {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  letter-spacing: -0.01em;
  text-shadow: 0 0 16px var(--bg), 0 0 32px var(--bg);
}

.hint {
  position: fixed;
  left: 0; right: 0; bottom: 14px;
  display: flex;
  justify-content: space-between;
  padding: 0 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--muted);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  opacity: 0.8;
}

@media (max-width: 600px) {
  .hint { justify-content: center; }
  .hint .keys { display: none; }
}
