/* ================================
   Estilo para el HEADER Azules eSports
   ================================ */

#site-header {
  background: linear-gradient(90deg, #001f4d, #0033A0);
  color: #ffffff;
  padding: 20px 40px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.nav-left, .nav-right {
  flex: 1;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 10px 15px;
  border-radius: 20px;
}

.nav-list li a:hover {
  background-color: #DA291C;
  color: #ffffff;
}

.logo {
  flex: 0 0 auto;
  text-align: center;
}

.logo img {
  max-height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Redes sociales */
.header-social {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 15px;
}

.header-social a {
  color: #ffffff;
  font-size: 1.6rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.header-social a:hover {
  color: #DA291C;
  transform: scale(1.2);
}

/* Submenú */
.has-submenu {
  position: relative;
}

.has-submenu .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #001a3d;
  padding: 10px 0;
  border-radius: 8px;
  display: none;
  min-width: 180px;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu li {
  display: block;
}

.submenu li a {
  display: block;
  padding: 10px 20px;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: 'Open Sans', sans-serif;
}

.submenu li a:hover {
  background-color: #DA291C;
  color: #fff;
}

/* Responsive */
@media (max-width: 960px) {
  .header-container {
    flex-direction: column;
    gap: 20px;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .header-social {
    margin-top: 20px;
  }
}
/* BOTÓN HAMBURGUESA */
#menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  display: none;
}

/* MODO RESPONSIVE */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 1001;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    background: #001f4d;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 20px 0;
    z-index: 999;
    border-top: 2px solid #DA291C;
  }

  .main-nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .submenu {
    position: relative;
    background: transparent;
    box-shadow: none;
    display: none;
  }

  .has-submenu:hover .submenu {
    display: block;
  }

  .submenu li a {
    padding-left: 30px;
  }
}
/* === EFECTO SORPRENDENTE PARA EL LOGO === */
.logo-halo {
  position: relative;
  display: inline-block;
  animation: logoIntro 1.5s ease forwards;
  transform: scale(0.9);
  opacity: 0;
}

/* Imagen del logo */
.logo-halo img {
  width: 120px;
  max-width: 100%;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 10px #DA291C);
  z-index: 2;
  position: relative;
}
.logo-halo {
  position: relative;
  display: inline-block;
  animation: logoIntro 1.5s ease forwards;
  transform: scale(0.95);
  opacity: 0;
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

/* Imagen del logo centrada */
.logo-halo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 10px #DA291C);
  z-index: 2;
  position: relative;
}

/* Halo circular animado */
.logo-halo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  border: 3px solid #DA291C;
  border-radius: 50%;
  animation: spinHalo 4s linear infinite, glowingHalo 2.5s ease-in-out infinite;
  z-index: 1;
  opacity: 0.7;
}

/* Hover sobre el logo */
.logo-halo:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 25px #FF0000) brightness(1.2);
}

/* Animación de entrada */
@keyframes logoIntro {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(0.95);
  }
}

/* Giro del halo */
@keyframes spinHalo {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Efecto de brillo pulsante */
@keyframes glowingHalo {
  0%, 100% {
    box-shadow: 0 0 10px #DA291C, 0 0 20px #DA291C;
  }
  50% {
    box-shadow: 0 0 25px #FF0000, 0 0 40px #FF0000;
  }
}
