/* Snake Game Easter Egg Styles */

/* Subtle styling for drift letters - makes them slightly interactive looking */
.drift-letter {
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  user-select: none;
  pointer-events: all; /* Ensure clicks work */
  padding: 2px 4px; /* Make click target bigger */
}

.drift-letter:hover {
  transform: scale(1.15);
  text-shadow: 0 0 8px currentColor;
}

.drift-letter.clicked {
  color: #00ff99 !important;
  text-shadow: 0 0 15px #00ff99, 0 0 25px #00ff99 !important;
  animation: pulse 0.5s ease;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Snake Game Modal */
#snakeModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#snakeCanvas {
  background: #111;
  border: 3px solid #e63946;
  box-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
}

#scoreBoard {
  color: white;
  font-family: monospace;
  margin-top: 15px;
  font-size: 18px;
  text-align: center;
}

#gameControls {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

#closeGame, #restartGame {
  background: #e63946;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.2s ease;
}

#closeGame:hover, #restartGame:hover {
  background: #ff4b5c;
}

#gameInstructions {
  color: #aaa;
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}