/* Header Moderno Inspirado en PadelFIP - Only Radio y TV */

:root {
    --header-top-bg: #1a1a1a;
    --header-main-bg: #1e3a8a;
    --header-accent: #f97316;
    --text-light: #ffffff;
    --text-dark: #333333;
    --border-light: #e5e7eb;
    --hover-dark: #2d2d2d;
}

/* Header Principal */
.header {
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: none !important;
}

br {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

/* Barra Superior */
.header_top {
    background-color: var(--header-top-bg);
    padding: 12px 0;
    border-bottom: 1px solid var(--hover-dark);
}

.header_top__wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header_top__col {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header_top__col:first-child {
    flex: 0 0 auto;
}

.header_top__col:last-child {
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 20px;
}

/* Botón Suscriptores */
.player-area {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.player-area:hover {
    background-color: var(--header-accent);
    color: var(--text-light);
}

.player-area svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Selector de Idioma */
.header_top__language-switcher {
    display: flex;
    align-items: center;
}

.language-select {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--header-accent);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-select:hover {
    background-color: var(--header-accent);
    color: var(--text-dark);
}

.language-select option {
    background-color: var(--header-top-bg);
    color: var(--text-light);
}

/* Redes Sociales */
.header_social-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header_social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.header_social-link:hover {
    background-color: var(--header-accent);
    transform: translateY(-2px);
}

.header_social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.screen-reader {
    display: none;
}

/* Barra Principal */
.header_content {
    background-color: var(--header-main-bg);
    padding: 15px 0;
}

.header_content__wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Logo */
.header_logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.header_logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header_logo a:hover {
    opacity: 0.8;
}

.header-logo {
    max-height: 120px;
    width: auto;
    display: block;
}

/* Menú Principal */
.header_menu {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    position: relative;
}

.header_menu_hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
}

.header_menu_hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header_menu_hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(12px, 12px);
}

.header_menu_hamburger.active span:nth-child(2) {
    opacity: 0;
}

.header_menu_hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mainMenu__Main {
    width: 100%;
}

.mainMenu__Main-inner-container {
    width: 100%;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
}

.menu-item {
    position: relative;
}

.menu-item a {
    display: block;
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 28px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.menu-item a:hover {
    color: var(--header-accent);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

/* Buscador */
.header_search {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.menu-search-submit {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-search-submit:hover {
    background-color: var(--header-accent);
    transform: scale(1.1);
}

.menu-search-submit svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Subtítulo de Transmisión */
.header_subtitle {
    width: 100%;
    background-color: transparent;  
     padding: 15px 20px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

.header_subtitle .section-title {
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 24px;
    font-weight: 600;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
    border-bottom: none !important;
}

.header_subtitle .section-title::after,
.header_subtitle .section-title::before {
    content: none !important;
    border: none !important;
}

.on-air-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #dc2626;
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 24px;
    font-weight: 700;
    margin-left: 0;
    white-space: nowrap;
    box-shadow: none !important;
    transition: all 0.3s ease;
    border: none !important;
}

/* Cuando está en vivo (reproduciendo) */
.on-air-badge.on-air-active {
    animation: pulse-blink 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-blink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .header_top__wrapper {
        padding: 0 15px;
        gap: 15px;
    }

    .header_top__col:last-child {
        gap: 10px;
    }

    .header_social-links {
        gap: 12px;
    }

    .header_content__wrapper {
        padding: 0 15px;
        gap: 15px;
    }

    .menu {
        gap: 2px;
    }

    .menu-item a {
        padding: 10px 15px;
        font-size: 13px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .header_top__wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
        gap: 10px;
    }

    .header_top__col:last-child {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
    }

    .header_social-links {
        flex-wrap: wrap;
        gap: 8px;
    }

    .header_social-link {
        width: 28px;
        height: 28px;
    }

    .header_social-link svg {
        width: 14px;
        height: 14px;
    }

    .header_content__wrapper {
        padding: 10px 15px;
        gap: 10px;
    }

    .header_menu_hamburger {
        display: flex;
        order: 1;
    }

    .header-logo {
        max-height: 60px;
    }

    .mainMenu__Main {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--header-main-bg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .mainMenu__Main.active {
        max-height: 400px;
    }

    .menu {
        flex-direction: column;
        gap: 0;
    }

    .menu-item a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header_search {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-search-submit svg {
        width: 18px;
        height: 18px;
    }

    .header_subtitle .section-title {
        font-size: 14px;
    }

    .on-air-badge {
        margin-left: 0;
        padding: 3px 8px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .player-area {
        font-size: 11px;
        padding: 6px 10px;
    }

    .player-area svg {
        width: 14px;
        height: 14px;
    }

    .header_top__col:first-child {
        gap: 10px;
    }

    .language-select {
        padding: 5px 8px;
        font-size: 11px;
    }

    .header_social-link {
        width: 24px;
        height: 24px;
    }

    .header_social-link svg {
        width: 12px;
        height: 12px;
    }

    .header_subtitle .section-title {
        font-size: 12px;
    }

    .on-air-badge {
        margin-left: 0;
        padding: 2px 6px;
        font-size: 9px;
    }
}

/* Utilities */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
