@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes rainbow {
  0%, 100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(360deg);
  }
}

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

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

@keyframes flashIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.floating-nut {
  position: absolute;
  animation: float linear infinite;
  pointer-events: none;
}

.glass-card {
  background: rgba(30, 20, 60, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 8px 32px 0 rgba(168, 85, 247, 0.2);
}

.glow-green {
  box-shadow: 0 0 30px rgba(74, 222, 128, 0.5),
              0 0 60px rgba(74, 222, 128, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.glow-gray {
  box-shadow: 0 0 20px rgba(100, 100, 100, 0.3);
}

.pulse {
  animation: pulse 1s ease-in-out infinite;
}

.nut-bounce {
  animation: nutBounce 0.3s ease-in-out;
}

.deezNuts-flash {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  font-weight: 900;
  color: #fbbf24;
  text-shadow: 0 0 20px #fbbf24,
               0 0 40px #f59e0b,
               0 0 60px #d97706;
  animation: flashIn 0.3s ease-out;
  pointer-events: none;
  z-index: 100;
}

@media (max-width: 768px) {
  .deezNuts-flash {
    font-size: 2.5rem;
  }
}

/* Smooth transitions */
* {
  transition: background-color 0.3s ease,
              color 0.3s ease,
              transform 0.3s ease;
}

button {
  transition: all 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

button:active {
  transform: translateY(0);
}