/* 
=========================================
KURUNJI FUN WORLD - CUSTOM STYLES
=========================================
You can edit the colors, animations, and transparency effects here!
This is much easier than editing the long Tailwind classes in the HTML.
*/

/* 1. Hero Background Animation */
@keyframes slow-pulse {
  0% { 
    transform: scale(1.05); 
    opacity: 0.8; 
  }
  100% { 
    transform: scale(1.1); 
    opacity: 1; 
  }
}
.animate-hero-bg {
  animation: slow-pulse 10s infinite alternate ease-in-out;
}

/* 2. Fast Icon Pulse Animation */
@keyframes fast-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.animate-icon-pulse {
  animation: fast-pulse 2s infinite;
}

/* 3. Hero Gradient Overlay (Replaces via-transparent) */
.hero-gradient-overlay {
  background: linear-gradient(to right, rgba(0, 102, 255, 0.15), #000000c7, rgb(112 118 127 / 15%))
}
.py-41{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}


/* 4. Marquee Animation */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}
.animate-marquee:hover {
  animation-play-state: paused;
}

/* 5. Scroll Animations (Intersection Observer) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* 6. Marquee Animated Background */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.marquee-animated-bg {
  background: linear-gradient(90deg, #1d4ed8, #9333ea, #e11d48, #1d4ed8);
  background-size: 300% 100%;
  animation: gradientShift 8s linear infinite;
}
