/* ==========================================================================
   CRAYONZ ENTERTAINMENT - Keyframe Animations & Micro-Interactions
   ========================================================================== */

/* Shimmer Gold Effect */
@keyframes goldGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(255, 200, 87, 0.25), inset 0 0 15px rgba(255, 200, 87, 0.1);
  }
  50% {
    box-shadow: 0 0 35px rgba(255, 200, 87, 0.6), inset 0 0 25px rgba(255, 200, 87, 0.25);
  }
}

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

/* Floating Elements */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.5deg);
  }
}

.float-animation {
  animation: floatGentle 4.5s ease-in-out infinite;
}

/* Radiant Background Gradient Movement */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

/* Scroll Trigger Reveal Classes */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade-in {
  opacity: 0;
  transition: opacity 0.9s ease;
  will-change: opacity;
}

.reveal-fade-in.is-revealed {
  opacity: 1;
}

/* Stagger Delay Helpers */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track {
    animation: none !important;
    overflow-x: auto;
  }
  #cinematic-doors-overlay {
    display: none !important;
  }
}
