/* Animations */
@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(155, 109, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(155, 109, 255, 0.8);
  }
  100% {
    box-shadow: 0 0 5px rgba(155, 109, 255, 0.5);
  }
}

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

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

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

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

/* Apply animations */
.logo {
  animation: glow 3s infinite;
}

.cta-button {
  animation: pulse 3s infinite;
}

.game-card {
  animation: fadeIn 1s ease-out;
}

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

.section-header h2 {
  animation: slideUp 1s ease-out;
}

.feature-card {
  animation: fadeIn 1s ease-out;
}

/* Particle animation styles */
.particle {
  position: absolute;
  background-color: rgba(155, 109, 255, 0.7);
  border-radius: 50%;
  pointer-events: none;
}

/* Feature icon pulse effect */
.feature-icon {
  animation: pulse 4s infinite;
}

/* Stagger animations for game cards */
.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }
.game-card:nth-child(5) { animation-delay: 0.5s; }
.game-card:nth-child(6) { animation-delay: 0.6s; }

/* Stagger animations for feature cards */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.3s; }
.feature-card:nth-child(3) { animation-delay: 0.5s; }