/* ==========================================================================
   GG-Idea Innovations - Animations & Micro-interactions
   ========================================================================== */

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

@keyframes pulseGlow {
  0% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 70, 239, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(217, 70, 239, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 70, 239, 0);
  }
}

@keyframes soundWave {
  0%, 100% {
    height: 8px;
  }
  50% {
    height: 26px;
  }
}

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

/* Scroll Reveal Utility Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* Interactive Wave Animation Container */
.sound-wave-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 30px;
}

.wave-bar {
  width: 4px;
  background: white;
  border-radius: 2px;
  animation: soundWave 1.2s infinite ease-in-out;
}

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

/* Subtle card hover 3D tilt */
.interactive-tilt {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
