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

body {
  margin: 0;
  padding: 0;
  font-family: 'Press Start 2P', cursive;
  background: radial-gradient(circle, #580876, #1c5899, #127186);
  color: #fff;
  text-align: center;
  overflow-y: auto;
  overflow-x: auto;
}

#tsparticles {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.game-container {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

h1 {
  font-size: 24px;
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
}

.instructions {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 20px;
}

.circle-grid {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 20px;
  justify-content: center;
  margin: 30px auto;
}

.circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #222;
  border: 2px solid #0ff;
  box-shadow: 0 0 10px #0ff;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.circle.glow {
  background-color: #00ffff;
  transform: scale(1.1);
  box-shadow: 0 0 20px #00ffff;
}

.circle.selected {
  background-color: #11ffee11;
  box-shadow: 0 0 10px #00ffeeaa;
  transform: scale(1.05);
}

button {
  margin: 10px;
  padding: 10px 20px;
  background: #00ffff;
  color: #000;
  border: none;
  border-radius: 10px;
  font-family: 'Press Start 2P', cursive;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 0 10px #00ffff;
  transition: 0.3s;
}

button:hover {
  background-color: #0ff;
  color: #000;
}

.hidden {
  display: none;
}

.try-again-msg {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.3rem;
  color: #ff0080;
  text-shadow: 0 0 8px #ff0080;
  margin-top: 20px;
  animation: pulseTry 0.8s ease-in-out infinite alternate;
}

@keyframes pulseTry {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(1.05); opacity: 1; }
}
