/* ===================================
   COMPREHENSIVE ANIMATIONS & EFFECTS
   =================================== */

/* -------- Fade In Animations -------- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* -------- Scale & Zoom Animations -------- */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scaleUp {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

@keyframes scaleDown {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0.95);
  }
}

/* -------- Glow Effects -------- */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(26, 240, 125, 0.3), 0 0 10px rgba(26, 115, 240, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(26, 240, 125, 0.6), 0 0 30px rgba(26, 115, 240, 0.4);
  }
}

@keyframes glowGreen {
  0%, 100% {
    box-shadow: 0 0 10px rgba(26, 240, 125, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(26, 240, 125, 0.8);
  }
}

@keyframes glowBlue {
  0%, 100% {
    box-shadow: 0 0 10px rgba(26, 115, 240, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(26, 115, 240, 0.8);
  }
}

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

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

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

/* -------- Pulse Animations -------- */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes pulseBright {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* -------- Rotate Animations -------- */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

/* -------- Border Animations -------- */
@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(26, 240, 125, 0.3);
  }
  50% {
    border-color: rgba(26, 240, 125, 0.8);
  }
}

/* -------- Progress Bar Animations -------- */
@keyframes slideInWidth {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

@keyframes slideInWidthVariant {
  from {
    width: 0%;
    opacity: 0;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

/* -------- Shimmer/Skeleton Loading -------- */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* -------- Bounce Animations -------- */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(-20px);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

@keyframes bounceInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------- Slide Animations -------- */
@keyframes slideInBottom {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInTop {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------- Staggered Animation Classes -------- */
.animate-stagger {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.animate-stagger:nth-child(1) { animation-delay: 0.1s; }
.animate-stagger:nth-child(2) { animation-delay: 0.2s; }
.animate-stagger:nth-child(3) { animation-delay: 0.3s; }
.animate-stagger:nth-child(4) { animation-delay: 0.4s; }
.animate-stagger:nth-child(5) { animation-delay: 0.5s; }
.animate-stagger:nth-child(6) { animation-delay: 0.6s; }
.animate-stagger:nth-child(n+7) { animation-delay: 0.7s; }

/* -------- Utility Animation Classes -------- */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-down {
  animation: fadeInDown 0.8s ease forwards;
}

.fade-in-left {
  animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
  animation: fadeInRight 0.8s ease forwards;
}

.scale-in {
  animation: scaleIn 0.6s ease forwards;
}

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

.float-alt {
  animation: floatAlt 4s ease-in-out infinite;
}

.float-slow {
  animation: floatSlow 5s ease-in-out infinite;
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

.bounce {
  animation: bounce 1s ease-in-out infinite;
}

.glow {
  animation: glow 2s ease-in-out infinite;
}
