/* --- REGISTRO BASE RESPONSIVO --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0d0d0d;
    color: #ffffff;
}

/* BARRA DE NAVEGACIÓN (ESCRITORIO) */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    height: 70px;
    background-color: #121212;
    border-bottom: 1px solid #222;
    box-sizing: border-box;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
}

.nav-icon {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    white-space: nowrap;
}

.nav-center {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(195px);
}

.nav-logo {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cccccc;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ffffff;
    background-color: #222222;
    border: 1px solid rgba(212, 175, 55, 0.6);
}

/* ENCABEZADO DE LA BANDA (ESCRITORIO) */
.banda-header {
    max-width: 1200px;
    margin: 3rem auto 2rem;
    padding: 0 2rem;
}

.banda-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
}

.banda-titulo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
}

.banda-escudo {
    height: 90px;
    width: auto;
    object-fit: contain;
}

/* LÍNEA ESTÉTICA DORADA */
.linea-dorada {
    max-width: 1400px; 
    margin: 0 auto 3rem auto; 
    height: 2px;
    background: linear-gradient(90deg, #d4af37 0%, rgba(212, 175, 55, 0.2) 80%, transparent 100%);
    border: none;
}

/* --- REGLAS MÓVIL (PANTALLAS HASTA 768PX) --- */
@media (max-width: 768px) {

    .navbar {
        height: auto;
        flex-direction: column;
        padding: 10px 8px !important;
        gap: 10px;
    }

    .nav-left {
        width: 100%;
        justify-content: center;
        min-width: auto;
        gap: 8px;
    }

    .nav-title {
        font-size: 0.8rem !important;
    }

    .nav-center {
        display: none !important;
    }

    .nav-menu {
        display: flex;
        flex-wrap: nowrap !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 2px !important;
        padding: 0;
    }

    .nav-menu a {
        font-size: 0.65rem !important;
        padding: 5px 3px !important;
        white-space: nowrap;
        text-align: center;
        flex: 1;
        box-sizing: border-box;
    }

    .banda-header {
        margin: 1.2rem auto 0.8rem;
        padding: 0 10px;
    }

    .banda-header-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 10px;
        padding-bottom: 0.8rem;
    }

    .banda-titulo {
        font-size: 1.4rem !important;
        letter-spacing: 0px;
        text-align: center;
    }

    .banda-escudo {
        height: 60px;
        max-width: 100%;
    }

    .search-container {
        padding: 0 10px;
        margin-bottom: 1.2rem;
    }

    #video-search-input {
        font-size: 0.85rem;
        padding: 0.7rem 0.7rem 0.7rem 2.5rem;
    }

    .video-section {
        padding: 0 10px;
    }

    .video-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem;
    }

   /* --- FORZADO DE OCULTACIÓN EN MÓVIL (Poner al final absoluto del archivo) --- */
@media screen and (max-width: 768px) {
    div.custom-player-bar,
    .custom-player-bar,
    .custom-player-bar *,
    .spotify-container, 
    iframe[src*="spotify"],
    div[class*="spotify"],
    .footer-spotify,
    .spotify-player {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        max-height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        pointer-events: none !important;
        overflow: hidden !important;
    }
}
}