/* Animaciones */
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-10px) scale(1.05);
  }
  60% {
    transform: translateY(-5px) scale(1.02);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 255, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(229, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 255, 0, 0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(229, 255, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(229, 255, 0, 0.8);
  }
}

@keyframes shimmer {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Clases de animación */
.bounce-animation {
  animation: bounce 1s ease;
}

.glow-effect {
  box-shadow: 0 0 15px rgba(229, 255, 0, 0.8);
  transition: box-shadow 1s ease;
}

.cta-pulse {
  animation: pulse 2s infinite;
}

.shimmer-effect {
  background: linear-gradient(90deg, 
    rgba(58, 58, 194, 0.1) 0%, 
    rgba(229, 255, 0, 0.2) 25%, 
    rgba(229, 255, 0, 0.1) 50%, 
    rgba(58, 58, 194, 0.1) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
}

/* Clases para efecto de aparición en scroll */
.hidden-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease;
}

.hidden-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease;
}

.hidden-bottom {
  opacity: 0;
  transform: translateY(100px);
  transition: all 1s ease;
}

.hidden-top {
  opacity: 0;
  transform: translateY(-100px);
  transition: all 1s ease;
}

.hidden-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.fade-in {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.show {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Efectos de hover para elementos interactivos */
.hover-glow {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 15px rgba(229, 255, 0, 0.5);
  transform: translateY(-3px);
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Animación para el fondo de partículas */
@keyframes particlesMove {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.particle {
  animation: particlesMove 15s infinite ease-in-out;
}