* { box-sizing: border-box; }
html, body, canvas, button { -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, #222 0%, #050505 62%, #000 100%);
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}
.game-shell {
  position: relative;
  width: min(100vw, 960px);
  aspect-ratio: 3 / 2;
  background: #000;
  box-shadow: 0 0 35px rgba(255,255,255,.14);
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  image-rendering: auto;
}
.overlay {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  align-content: center;
  gap: 18px;
  text-align: center;
  padding: 28px;
  background: rgba(0,0,0,.78);
  z-index: 10;
}
.overlay.show { display: grid; }
h1 { margin: 0; font-size: clamp(38px, 9vw, 84px); line-height: .95; letter-spacing: .04em; text-shadow: 0 0 14px rgba(255,255,255,.25); }
h2 { margin: 0; font-size: clamp(34px, 8vw, 70px); }
p { max-width: 620px; line-height: 1.7; margin: 0; }
.small { color: #ccc; font-size: 14px; }
button {
  border: 3px solid #fff;
  background: #000;
  color: #fff;
  padding: 14px 34px;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}
button:hover { background: #fff; color: #000; }
.button-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
