:root {
  --bg: #02030a;
  --card: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f7f7fb;
  --accent: #84ffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at top, #0c2a5b, var(--bg));
  color: var(--text);
}

.game-shell {
  width: min(100%, 760px);
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 22, 42, 0.95), rgba(3, 6, 16, 0.95));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

header {
  text-align: center;
  margin-bottom: 18px;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 2.5vw, 3rem);
}

p {
  margin: 0;
  color: #cbd5e1;
}

.status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 600;
}

canvas {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #060914;
}

button {
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #84ffff, #69b3ff);
  color: #05131c;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
  transition: transform 150ms ease, opacity 150ms ease;
}

button:hover {
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.5;
  cursor: default;
}

.footer {
  margin-top: 14px;
  text-align: center;
  color: #9fb3c8;
}
