@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #090a1a;
  font-family: 'Orbitron', monospace;
}

#game-canvas {
  display: block;
  margin: 0 auto;
  background: transparent;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

#ui {
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 0; left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.screen {
  background: rgba(10,20,40,0.92);
  color: #fff;
  padding: 2.5em 3.5em;
  border-radius: 1.5em;
  text-align: center;
  pointer-events: auto;
  box-shadow: 0 0 40px #0ff8, 0 0 120px #0ff2;
  border: 2px solid #0ff;
  animation: neon-flicker 2s infinite alternate;
}

@keyframes neon-flicker {
  0% { box-shadow: 0 0 40px #0ff8, 0 0 120px #0ff2; }
  100% { box-shadow: 0 0 60px #0ff, 0 0 180px #0ff4; }
}

.neon-glow {
  font-size: 3em;
  color: #fff;
  text-shadow:
    0 0 8px #fff,
    0 0 24px #0ff,
    0 0 48px #0ff;
  letter-spacing: 0.1em;
  margin-bottom: 0.5em;
  animation: neon-title-flicker 1.5s infinite alternate;
}

@keyframes neon-title-flicker {
  0% { text-shadow: 0 0 8px #fff, 0 0 24px #0ff, 0 0 48px #0ff; }
  100% { text-shadow: 0 0 16px #fff, 0 0 48px #0ff, 0 0 96px #0ff; }
}

.neon-btn {
  font-size: 1.5em;
  padding: 0.5em 2.5em;
  margin-top: 1.2em;
  border: none;
  border-radius: 0.7em;
  background: #0ff;
  color: #111;
  cursor: pointer;
  font-family: 'Orbitron', monospace;
  font-weight: bold;
  box-shadow: 0 0 16px #0ff, 0 0 32px #0ff8;
  transition: background 0.2s, color 0.2s;
  outline: none;
  animation: neon-btn-flicker 1.2s infinite alternate;
}
.neon-btn:hover {
  background: #fff;
  color: #0ff;
  box-shadow: 0 0 32px #0ff, 0 0 64px #0ff8;
}
@keyframes neon-btn-flicker {
  0% { box-shadow: 0 0 16px #0ff, 0 0 32px #0ff8; }
  100% { box-shadow: 0 0 32px #0ff, 0 0 64px #0ff8; }
}

.neon-label {
  font-size: 1.2em;
  color: #fff;
  text-shadow: 0 0 8px #0ff, 0 0 16px #0ff8;
  margin-top: 1em;
}

.neon-input {
  font-size: 1.2em;
  padding: 0.3em 1em;
  border-radius: 0.5em;
  border: 2px solid #0ff;
  background: #111;
  color: #0ff;
  outline: none;
  box-shadow: 0 0 8px #0ff8;
  margin-right: 0.5em;
  font-family: 'Orbitron', monospace;
}

#high-score-list {
  margin-top: 1.5em;
  font-size: 1em;
  color: #fff;
  text-shadow: 0 0 8px #0ff, 0 0 16px #0ff8;
}