@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Roboto:wght@700&display=swap');

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #050505;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
}

#game-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

canvas {
  display: block;
  box-shadow: 0 0 50px rgba(0, 255, 255, 0.1);
}

#ui-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
}

#title {
  font-family: 'Press Start 2P', cursive;
  font-size: 4rem;
  margin-bottom: 20px;
  color: #fff;
  animation: pulse 2s infinite;
}

#subtitle {
  font-size: 1.5rem;
  opacity: 0.8;
  animation: blink 1s infinite alternate;
}

#score-board {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: 'Press Start 2P', cursive;
  font-size: 1.2rem;
  text-shadow: none;
  color: #fff;
}

@keyframes pulse {
  0% { text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff; transform: scale(1); }
  50% { text-shadow: 0 0 20px #ff00ff, 0 0 40px #ff00ff; transform: scale(1.05); }
  100% { text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff; transform: scale(1); }
}

@keyframes blink {
  from { opacity: 0.4; }
  to { opacity: 1; }
}
