/* Header móvil idéntico al index (estilos y posiciones) */

/* Elementos del botón LIVE usados en el header */
.live-text {
  background: #888; /* gris para offline */
  color: #fff;
  border-radius: 20px;
  padding: 2px 6px;
  font-weight: bold;
  transition: background 0.3s;
}
.live-btn.live .live-text {
  background: #e53935; /* rojo solo si está en vivo */
}

/* Mobile: 480px y menos */
@media (max-width: 480px) {
  .logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .logo span {
    align-items: center;
    text-align: center;
  }

  /* Contenedor de header */
  .main-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 84px;
  }
  .navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 64px;
    padding: 0.5rem 1rem; /* igual que index */
  }

  /* Logo centrado absoluto */
  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: auto;
    text-align: center;
  }
  .logo span {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .logo-row1,
  .logo-row2 {
    display: block;
    font-size: 1.2em;
    line-height: 1.1;
    font-weight: 600;
  }
  .navbar .logo img {
    height: 35px;
  }

  /* Botón hamburguesa (izquierda) */
  .mobile-menu-toggle {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: linear-gradient(135deg, #e53935 0%, #ff98b7 100%);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.2);
    cursor: pointer;
    transition: box-shadow 0.2s, background 0.2s;
    }
		.mobile-menu-toggle:hover {
			box-shadow: 0 4px 16px rgba(229,57,53,0.4);
			background: linear-gradient(135deg, #e53935 0%, #ff98b7 100%);
		}
		.mobile-menu-toggle.active {
			background: linear-gradient(135deg, #00c8cb 0%, #ff98b7 100%);
    }
    .mobile-menu-toggle span {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      font-size: 2rem;
      color: #fff;
      font-weight: bold;
      line-height: 1;
      letter-spacing: 2px;
      font-family: 'Menlo', 'Consolas', 'Monaco', 'monospace';
      transform: translate(1px, -2px);
    }

  /* Botón LIVE (derecha) */
  .live-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  /* Menú móvil desplegable */
  .navbar-sections {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }
  .navbar-sections.active {
    display: flex;
  }
  .navbar-sections li {
    width: 100%;
  }
  .navbar-sections a {
    padding: 1rem 1.5rem;
    display: block;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .navbar-sections a:hover {
    background: rgba(229, 57, 53, 0.1);
  }

  /* Dropdown en móvil */
  .navbar-dropdown .dropdown-menu {
    position: static;
    display: none;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: none;
  }
  .navbar-dropdown.active .dropdown-menu {
    display: block;
  }
  .dropdown-menu a {
    padding-left: 3rem;
    font-size: 0.9rem;
  }
}
