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

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

body {
  background: #0a0a0f;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: 'Orbitron', monospace;
  overflow: hidden;
}

#game-wrapper {
  position: relative;
  border: 2px solid #ff00c8;
  box-shadow: 0 0 30px rgba(255, 0, 200, 0.3), inset 0 0 30px rgba(255, 0, 200, 0.05);
  border-radius: 4px;
}

#game-canvas {
  display: block;
  background: #0d0d14;
  cursor: crosshair;
}

#hud {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: rgba(0,0,0,0.7);
  border-bottom: 1px solid #ff00c8;
  font-size: 12px;
  color: #fff;
  text-shadow: 0 0 8px rgba(255,0,200,0.5);
  z-index: 10;
  pointer-events: none;
}

#hud-left, #hud-right, #hud-center { display: flex; gap: 20px; }
#hud-center { color: #ffcc00; font-size: 14px; }

#start-screen, #game-over {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(5,5,15,0.92);
  z-index: 20;
}

#start-screen h1, #game-over h1 {
  font-size: 52px;
  margin-bottom: 10px;
  letter-spacing: 8px;
}

.neon { color: #ff00c8; text-shadow: 0 0 20px #ff00c8, 0 0 60px #ff00c8; }
.pulse { color: #00ffff; text-shadow: 0 0 20px #00ffff, 0 0 60px #00ffff; animation: pulse 2s ease-in-out infinite; }

.subtitle {
  color: #ffcc00;
  font-size: 16px;
  margin-bottom: 30px;
  letter-spacing: 4px;
  text-shadow: 0 0 10px rgba(255,204,0,0.5);
}

.controls-info {
  text-align: center;
  margin-bottom: 30px;
  color: #888;
  font-size: 10px;
  line-height: 2;
}

.controls-info kbd {
  display: inline-block;
  padding: 4px 8px;
  margin: 0 2px;
  background: #1a1a2e;
  border: 1px solid #444;
  border-radius: 3px;
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  color: #fff;
}

button {
  padding: 14px 48px;
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff00c8, #ff6600);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 4px;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(255,0,200,0.4);
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255,0,200,0.6);
}

#game-over h1 { color: #ff0044; text-shadow: 0 0 30px #ff0044, 0 0 80px #ff0044; }
#game-over p { color: #fff; font-size: 16px; margin: 8px 0; text-shadow: 0 0 10px rgba(255,255,255,0.3); }
#game-over button { margin-top: 30px; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
