/* ==========================================================================
   ELYVORA ENTERTAINMENT — SACHET & PARAMPARA LIVE 2026 — MOTION DESIGN
   Stage Lighting • Particle Drift • Volumetric Light Sweeps • Staggered Reveals
   ========================================================================== */

/* 1. Volumetric Light Beam Sweeps */
@keyframes beamSweepLeft {
  0% {
    transform: rotate(-22deg) scaleX(1);
    opacity: 0.5;
  }
  50% {
    transform: rotate(-10deg) scaleX(1.15);
    opacity: 0.75;
  }
  100% {
    transform: rotate(-25deg) scaleX(0.95);
    opacity: 0.55;
  }
}

@keyframes beamSweepRight {
  0% {
    transform: rotate(24deg) scaleX(1);
    opacity: 0.55;
  }
  50% {
    transform: rotate(12deg) scaleX(1.2);
    opacity: 0.8;
  }
  100% {
    transform: rotate(22deg) scaleX(0.9);
    opacity: 0.5;
  }
}

/* 2. Audio Ambiance Waveforms */
@keyframes soundWave {
  0% {
    height: 3px;
  }
  100% {
    height: 12px;
  }
}

/* 3. Subtle Glowing Pulses */
@keyframes pulseLight {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

@keyframes goldShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* 4. Scroll Mouse Wheel Indicator */
@keyframes mouseWheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  60% {
    opacity: 0.8;
    transform: translateX(-50%) translateY(8px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

/* 5. Stage Flood Glow Oscillations */
@keyframes floodGlow {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.08);
  }
}

/* 6. Text Reveal Utilities */
.reveal-text-line {
  overflow: hidden;
  display: block;
}

.reveal-text-line span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-active .reveal-text-line span {
  transform: translateY(0%);
}

/* 7. Image Masking & Clip Reveals */
.clip-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.clip-reveal.revealed {
  clip-path: inset(0 0 0 0);
}

/* 8. Fade & Slide Scroll Observer classes for CSS fallback */
.fade-up-element {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up-element.in-view,
.ticket-tier-card {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Stagger 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; }

/* 9. Respect User Reduced-Motion Preferences (Requirement #17 & #22) */
@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;
  }
  
  .fade-up-element {
    opacity: 1 !important;
    transform: none !important;
  }

  .clip-reveal {
    clip-path: none !important;
  }

  .stage-beam {
    animation: none !important;
    opacity: 0.4 !important;
  }

  .reveal-text-line span {
    transform: none !important;
  }
}
