/* all of this was set up by ai */

:root {
  --neon-blue: #00f2fe;
  --stadium-dark: #0a0e14;
  --glass: rgba(0, 242, 254, 0.1);
}

body {
  margin: 0;
  padding: 0;
  background-color: #05070a;
  color: white;
  font-family: 'Orbitron', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

#game-container {
  position: relative;
  border: 2px solid var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
  background: var(--stadium-dark);
}

/* The Top HUD bar */
#hud {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: var(--glass);
  border-bottom: 1px solid var(--neon-blue);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.stat span {
  color: var(--neon-blue);
  font-weight: bold;
}

#clock {
  color: #ff0055; /* Red alert clock */
}

/* Instruction text at the bottom */
#footer-instructions {
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 8px;
  opacity: 0.6;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Center the p5 canvas inside the container */
canvas {
  display: block;
}

/* Bonus: CRT Scanline effect overlay */
#game-container::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), 
              linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  z-index: 100;
  background-size: 100% 4px, 3px 100%;
  pointer-events: none;
}