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

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0a0a0f;
  font-family: 'Segoe UI', system-ui, sans-serif;
  overflow: hidden;
}

#game-container {
  position: relative;
  border-radius: 12px;
  box-shadow: 0 0 60px rgba(0, 255, 128, 0.3);
  overflow: hidden;
}

#score-board {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  z-index: 10;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 255, 128, 0.8);
  letter-spacing: 2px;
}

#score-board span {
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 128, 0.3);
}

#game-canvas {
  display: block;
  background: #0a0a0f;
}

#start-screen, #game-over-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 20;
}

#start-screen h1, #game-over-screen h1 {
  font-size: 72px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 8px;
  margin-bottom: 20px;
  text-shadow:
    0 0 10px rgba(0, 255, 128, 0.8),
    0 0 30px rgba(0, 255, 128, 0.6),
    0 0 60px rgba(0, 255, 128, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

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

#start-screen p {
  color: #888;
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

button {
  background: linear-gradient(135deg, #00ff80, #00cc6a);
  border: none;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  border-radius: 30px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 255, 128, 0.5);
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 255, 128, 0.8);
}

#game-over-screen {
  display: none;
}

#final-score {
  color: #fff;
  font-size: 24px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 255, 128, 0.8);
}

/* CRT scanline effect */
#game-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.1) 2px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
  border-radius: 12px;
}

/* Glow effect on canvas */
#game-canvas {
  box-shadow: inset 0 0 100px rgba(0, 255, 128, 0.1);
}
