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

body {
  background: #0a0a1a;
  overflow: hidden;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  user-select: none;
}

#game-container {
  position: relative;
  width: 100vw;
  height: 100vh;
}

#game-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #0d0d2b;
}

#ui {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  pointer-events: none;
  z-index: 10;
}

#health-bar {
  width: 200px;
  height: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  border: 2px solid #00f0ff;
  overflow: hidden;
}

#health-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #00f0ff, #00ff88);
  border-radius: 8px;
  transition: width 0.3s ease;
}

#score {
  font-size: 20px;
  color: #bdf077;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(189,240,119,0.5);
}

#controls {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0,0,0,0.6);
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(0,240,255,0.3);
}

#controls p {
  font-size: 12px;
  color: #88aacc;
  margin: 2px 0;
}

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

#start-screen h1, #game-over-screen h1 {
  font-size: 48px;
  color: #00f0ff;
  text-shadow: 0 0 30px rgba(0,240,255,0.6);
  margin-bottom: 16px;
  letter-spacing: 4px;
}

#start-screen p, #game-over-screen p {
  font-size: 18px;
  color: #88ccff;
  margin-bottom: 32px;
}

button {
  padding: 14px 48px;
  font-size: 20px;
  font-family: inherit;
  font-weight: 700;
  color: #0a0a1a;
  background: linear-gradient(135deg, #00f0ff, #00ff88);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  letter-spacing: 2px;
  transition: transform 0.15s, box-shadow 0.15s;
  pointer-events: all;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(0,240,255,0.5);
}

button:active {
  transform: scale(0.97);
}