/* FRONT-PAGE.AZULES.ESPORTS - TRANSICIONES MODERNAS */

/* ========= SEPARADORES SVG ========= */
.separador-curvo {
  width: 100%;
  height: 100px;
  line-height: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.separador-curvo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.separador-curvo path {
  fill: #001f4d; /* Fondo de la siguiente sección */
  transition: fill 0.4s ease;
}

/* ========= EFECTO DE DESPLAZAMIENTO SUAVE ========= */
.section-scroll-anim {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-scroll-anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========= EFECTO ONDA DE FONDO ========= */
.section-fondo-onda {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #0033A0, #001f4d);
  overflow: hidden;
}

.section-fondo-onda::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 51, 160, 0.08), transparent 70%);
  animation: fondoOnda 15s linear infinite;
  z-index: 0;
}

/* ========= TÍTULOS FLUORESCENTES ========= */
.section-titulo-azul {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  position: relative;
  margin-bottom: 60px;
  z-index: 2;
}

.section-titulo-azul::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #DA291C, #0033A0);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
  animation: pulseBanda 2s infinite;
}

/* ========= ANIMACIONES ========= */
@keyframes fondoOnda {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseBanda {
  0%, 100% {
    box-shadow: 0 0 8px #DA291C;
  }
  50% {
    box-shadow: 0 0 20px #FF4444;
  }
}
#azules-main {
  background: linear-gradient(180deg, #001f4d, #000d26);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#azules-main::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 170, 255, 0.05), transparent 70%);
  animation: fondoHalo 30s linear infinite;
  z-index: 0;
}

.section-scroll-anim {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.section-scroll-anim.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fondoHalo {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
