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

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at top, #2b5876, #4e4376);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #f5f5f5;
}

.game-container {
  background: rgba(0, 0, 0, 0.35);
  padding: 20px 24px 26px;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
  text-align: center;
  backdrop-filter: blur(10px);
}

.game-container h1 {
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  font-size: 24px;
  text-transform: uppercase;
}

#game {
  border-radius: 10px;
  background: #111827;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: block;
  margin: 0 auto;
}

.info {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

#score {
  font-weight: 600;
}

#restart {
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: #10b981;
  color: #0b1120;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s ease,
    transform 0.1s ease,
    box-shadow 0.15s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

#restart:hover {
  background: #34d399;
  transform: translateY(-1px);
}

#restart:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.hint {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.8;
}
