/* ===============================================
   Animations & Effects
   - Keyframes
   - Cursor effects
   - Aurora glow
   - Fade/bounce animations
   =============================================== */

.animate-aurora {
  background-size: 200% center;
  animation: aurora-glow 3s ease infinite;
}

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

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 0.5s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.animate-check-pop {
  animation: check-pop 0.5s ease-out;
}

@keyframes aurora-glow {
  to {
    background-position: 200% center;
  }
}

@keyframes subtle-pulse {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 1;
  }
}

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

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

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

@keyframes check-pop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Cursor effects */
.cursor-main {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(165, 180, 252, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  display: none;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(165, 180, 252, 0.4);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #a5b4fc;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  display: none;
  box-shadow: 0 0 6px rgba(165, 180, 252, 0.8);
}

@keyframes fadeTrail {
  to {
    opacity: 0;
    transform: scale(0);
  }
}

/* Mobile nav animation */
@keyframes bounce-slight {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-bounce-slight {
  animation: bounce-slight 0.4s ease;
}
