body {
  background: #181828;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
}
canvas {
  border: 4px solid #39ff14;
  background: linear-gradient(180deg, #181828 0%, #23234d 100%);
  box-shadow: 0 0 40px #39ff14, 0 0 10px #00eaff;
  width: 90vw;
  max-width: 1400px;
  min-width: 320px;
  margin-left: 5vw;
  margin-right: 5vw;
  display: block;
}

/* Neon obstacle styles */
.neon-obstacle {
  filter: drop-shadow(0 0 8px #ff00de) drop-shadow(0 0 16px #00eaff);
  animation: neon-glow 1.2s infinite alternate, neon-hue 3s linear infinite;
}
@keyframes neon-glow {
  0% { filter: drop-shadow(0 0 8px #ff00de) drop-shadow(0 0 16px #00eaff); }
  100% { filter: drop-shadow(0 0 16px #00eaff) drop-shadow(0 0 32px #ff00de); }
}
@keyframes neon-hue {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24, 24, 40, 0.96);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-family: 'Segoe UI', Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  text-shadow: 0 0 8px #00eaff, 0 0 2px #fff;
}
.overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.overlay h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
  font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
  color: #39ff14;
  text-shadow: 0 0 12px #39ff14, 0 0 4px #00eaff;
}
.overlay p {
  font-size: 1em;
  max-width: 400px;
  margin-bottom: 1.5em;
  line-height: 1.5;
  text-align: center;
  word-break: break-word;
}
@media (max-width: 600px) {
  .overlay h1 { font-size: 1.2em; }
  .overlay p { font-size: 0.9em; }
}
.overlay button {
  font-size: 1.2em;
  padding: 0.6em 2em;
  border: none;
  border-radius: 6px;
  background: #00eaff;
  color: #181828;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
  box-shadow: 0 0 8px #00eaff, 0 0 2px #fff;
}
.overlay button:hover {
  background: #39ff14;
  color: #181828;
  box-shadow: 0 0 12px #39ff14, 0 0 4px #00eaff;
}
.credits {
  margin-top: 1.5em;
  font-size: 0.95em;
  color: #b0ffe7;
  opacity: 0.7;
  text-align: center;
  letter-spacing: 0.02em;
} 