/* ==========================================================================
   Animaciones Astronómicas, Ondas Cósmicas y Micro-interacciones
   ========================================================================== */

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    transform: scale(1.15);
    opacity: 0.85;
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

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

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

@keyframes aurora-wave {
  0% {
    opacity: 0.3;
    transform: scale(1) translateY(0);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.05) translateY(-5px);
  }
  100% {
    opacity: 0.3;
    transform: scale(1) translateY(0);
  }
}

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

/* Spinner para envío de formulario */
.spinner-icon {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: rotate-slow 0.8s linear infinite;
  display: inline-block;
}

/* Clases Utilitarias de Animación */
.animate-float {
  animation: float-gentle 6s ease-in-out infinite;
}

.animate-aurora {
  animation: aurora-wave 12s ease-in-out infinite;
}

/* Efectos de entrada al scroll (suaves) */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
