/* ==========================================================================
   PlaySprint - Pure CSS Animations & Keyframes
   ========================================================================== */

/* Floating Geometric Shapes */
@keyframes floatShape {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-20px) rotate(10deg) scale(1.05);
  }
  100% {
    transform: translateY(15px) rotate(-10deg) scale(0.95);
  }
}

@keyframes floatRotate {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-10px) rotate(360deg);
  }
}

/* Fade In on Scroll (Intersection Observer Class) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Animation Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Subtle Glow Pulse */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
  }
  100% {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
  }
}

.pulse-glow {
  animation: pulseGlow 3s infinite ease-in-out;
}
