@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

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

body {
  font-family: 'Orbitron', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: radial-gradient(ellipse at center, #0a1a0a, #040d04);
  padding: 16px;
}

.game-container {
  text-align: center;
  background: rgba(0,255,100,0.05);
  border: 1px solid rgba(0,255,100,0.25);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(0,255,100,0.1);
  width: 100%;
  max-width: 540px;
}

.game-header {
  margin-bottom: 16px;
}

.game-header h1, .game-header h2 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1rem, 4vw, 1.4rem);
  color: #00ff88;
  text-shadow: 0 0 16px rgba(0,255,136,0.5);
  letter-spacing: 2px;
}

.score-container {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 10px;
  color: rgba(0,255,136,0.8);
  letter-spacing: 1px;
}

canvas {
  border: 1px solid rgba(0,255,100,0.3);
  background-color: #030d05;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,255,100,0.12);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  touch-action: none;
}

.controls {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

button {
  padding: 9px 18px;
  font-size: 0.7rem;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  background: rgba(0,255,100,0.12);
  color: #00ff88;
  border: 1px solid rgba(0,255,100,0.35);
  border-radius: 8px;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}

button:hover {
  background: rgba(0,255,100,0.25);
  box-shadow: 0 0 14px rgba(0,255,100,0.3);
  transform: translateY(-1px);
}

.instructions {
  margin-top: 12px;
  font-size: 0.65rem;
  color: rgba(0,255,100,0.4);
  letter-spacing: 0.5px;
  line-height: 1.6;
}
