/* ==========================================================================
   REVO PERSONAL TRAINER - ANIMATIONS & TRANSITIONS
   Fluid Micro-interactions, Scroll Triggers & Glowing Keyframes
   ========================================================================== */

/* --------------------------------------------------------------------------
   Keyframe Definitions
   -------------------------------------------------------------------------- */
@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(4px);
  }
}

@keyframes mouseScrollDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.9;
    transform: translateY(6px);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(210, 255, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(210, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(210, 255, 0, 0);
  }
}

@keyframes soundwave {
  0% {
    height: 8px;
    opacity: 0.5;
  }
  50% {
    height: 28px;
    opacity: 1;
  }
  100% {
    height: 12px;
    opacity: 0.7;
  }
}

@keyframes floatElement {
  0%, 100% {
    transform: translateY(0px) rotate(-4deg);
  }
  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

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

/* --------------------------------------------------------------------------
   Utility Animation Classes
   -------------------------------------------------------------------------- */
.pulse-anim {
  animation: pulseGlow 2.5s infinite;
}

.float-anim {
  animation: floatElement 4s ease-in-out infinite;
}

/* Scroll Reveal Classes */
.reveal-on-scroll {
  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-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Horizontal Slider Drag Polish */
.is-dragging {
  cursor: grabbing !important;
  user-select: none !important;
}
