/* ================= SNAKE EASTER EGG ================= */
#snake-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: 'Courier New', Courier, monospace;
}

#snake-overlay.active {
  display: flex;
}

.snake-container {
  position: relative;
  border: 4px solid var(--accent); /* Assuming --accent is defined in Style.css, fallback to cyan */
  border-radius: 8px;
  background-color: #000;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  padding: 10px;
}

/* Fallback for --accent if not defined globally in the exact way */
.snake-container {
  border-color: #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.snake-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: #00ffff;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 0 0 5px #00ffff;
}

.snake-score {
  /* Styling for score */
}

.snake-close {
  background: none;
  border: 1px solid #00ffff;
  color: #00ffff;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: inherit;
  font-weight: bold;
  transition: all 0.3s;
}

.snake-close:hover {
  background: #00ffff;
  color: #000;
}

#snake-canvas {
  background-color: #111;
  border: 1px solid #333;
  display: block;
}

.snake-game-over {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ff0055;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 0 10px #ff0055;
}

.snake-game-over.active {
  display: flex;
}

.snake-game-over span {
  font-size: 1rem;
  color: #fff;
  text-shadow: none;
  margin-top: 10px;
}
