/* ==========================================================================
   AC MUSIC GLOBAL - Animations & Micro-interactions
   ========================================================================== */

/* Keyframe Animations */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
  }
  50% {
    box-shadow: 0 0 35px rgba(255, 107, 53, 0.8), 0 0 50px rgba(192, 57, 43, 0.4);
  }
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

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

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Scroll Reveal Classes (Start hidden/offset, animate in when active) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active, .reveal-right.active {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Audio Wave Visualizer Animation */
.audio-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.audio-wave .bar {
  width: 3px;
  height: 100%;
  background: var(--accent-orange);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite alternate;
}

.audio-wave .bar:nth-child(1) { animation-delay: 0.1s; }
.audio-wave .bar:nth-child(2) { animation-delay: 0.3s; }
.audio-wave .bar:nth-child(3) { animation-delay: 0.5s; }
.audio-wave .bar:nth-child(4) { animation-delay: 0.2s; }
.audio-wave .bar:nth-child(5) { animation-delay: 0.4s; }
.audio-wave .bar:nth-child(6) { animation-delay: 0.6s; }

@keyframes wave {
  0% { height: 15%; }
  100% { height: 100%; }
}
