* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e5e7eb;
}

#game-container {
  position: relative;
}

canvas {
  background: linear-gradient(#38bdf8, #0ea5e9);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  display: block;
}

#overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
}

.title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.subtitle {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 16px;
}

.hint {
  font-size: 13px;
  opacity: 0.9;
}

.badge {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  margin-bottom: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.score {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hidden {
  display: none;
}
