/* HERO SECTION con fondo degradado y partículas */
.hero-section {
  background: linear-gradient(135deg, #ff6b6b, #5f27cd);
  color: white;
  padding: clamp(40px, 12vh, 80px) 20px;
  margin-top: 33px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 10px 25px rgba(95, 39, 205, 0.3);
}

/* Fondo de partículas */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Contenido con efecto glass */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Título principal con animación de gradiente */
.hero-title {
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 800;
  background: linear-gradient(90deg, #ffffff, #ffcc00, #ffffff);
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: textGlow 6s infinite linear, fadeInUp 1.5s ease-out;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

/* Subtítulo */
.hero-subtitle {
  font-size: 20px;
  color: #f8f9fa;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  animation: fadeInUp 2s ease-out;
  text-wrap: balance;
  word-break: break-word;
  text-align: center; 
}

/* Botón animado */
.hero-btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 17px;
  font-weight: bold;
  color: white;
  background: linear-gradient(45deg, #ffcc00, #ff6b6b);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  box-shadow: 0px 8px 20px rgba(255, 107, 107, 0.3);
  animation: pulseBtn 2.8s infinite ease-in-out, fadeInUp 2s ease-out;
}

.hero-btn:hover {
  background: linear-gradient(45deg, #ff6b6b, #ffcc00);
  transform: scale(1.07) rotate(-1deg);
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.6);
}

/* Animaciones */
@keyframes textGlow {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

@keyframes pulseBtn {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(255, 204, 0, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(255, 204, 0, 0.8); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}