/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glow Pulse Animation for Game Container */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.2), 0 0 10px rgba(76, 201, 240, 0.2);
  }
  50% {
    box-shadow: 0 0 50px rgba(157, 78, 221, 0.4), 0 0 20px rgba(76, 201, 240, 0.5);
  }
  100% {
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.2), 0 0 10px rgba(76, 201, 240, 0.2);
  }
}

.pulse-glow {
  animation: glowPulse 4s infinite alternate ease-in-out;
}

/* Floating Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}