/* --- Reseteo Básico y Variables --- */
:root {
    --color-primario: #00FFFF; /* Cyan Eléctrico */
    --color-work-accent: #F000FF; /* Magenta (para Work) */
    --color-fondo: #0a0a0c; /* Un negro más profundo */
    --color-fondo-secundario: #1a1a1a;
    --color-texto: #eaeaea;
    --color-texto-secundario: #a0a0a0;
    --navbar-height: 60px; /* Definimos altura de navbar para usarla después */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { 
    scroll-behavior: smooth;
    background-color: var(--color-fondo);
}
body { 
    font-family: 'Poppins', sans-serif; 
    color: var(--color-texto); 
    line-height: 1.6; 
    background-color: var(--color-fondo); 
    overflow-x: hidden; 
    -webkit-overflow-scrolling: touch; 
}
h1, h2, h3 { position: relative;  font-weight: 600; line-height: 1.2; } h1 { font-size: 3.5rem; } h2 { font-size: 2.5rem; margin-bottom: 2rem; text-align: center; } p { font-size: 1.1rem; }
a { color: var(--color-texto); text-decoration: none; mix-blend-mode: lighten;}
.content-section { 
    padding: 6rem 2rem; 
    max-width: 1200px; 
    margin: 0 auto; 
    position: relative; 
}
.dark-bg { background-color: #121212; border-radius: 8px; }

/* --- Aplicar z-index solo a las secciones del Home --- */
#portafolio,
#reel {
    z-index: 10;
}

/* --- Navbar --- */
.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 2rem; 
    height: var(--navbar-height); 
    background-color: rgba(10, 10, 12, 0.7); 
    backdrop-filter: blur(10px); 
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000; 
}
.nav-brand a { font-size: 1.5rem; font-weight: 700; color: var(--color-texto); }
.nav-links { 
    display: flex; 
    list-style: none; 
    align-items: center; 
    height: 100%; 
} 
.nav-links li { 
    margin-left: 2rem; 
    height: 100%; 
    display: flex; 
    align-items: center; 
} 
.nav-links a { 
    color: var(--color-texto-secundario); 
    font-weight: 400; 
    transition: color 0.3s ease; 
    padding: 0 0.5rem; 
    height: 100%; 
    display: flex; 
    align-items: center; 
} 
.nav-links a:hover { color: var(--color-primario); }

/* --- Botón Hamburguesa (oculto por defecto en desktop) --- */
.hamburger-menu {
    display: none; 
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px; 
    z-index: 1001; 
}
.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-texto);
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55); 
}

/* --- Hero Section --- */
.hero-section { height: 100vh; position: relative; display: flex; justify-content: center; align-items: center; text-align: center; overflow: hidden; background-color: var(--color-fondo); }
#interactive-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-content { position: relative; z-index: 3; padding: 2rem; pointer-events: none; }
.hero-content h1 { color: #fff; margin-bottom: 1rem; text-shadow: 0 0 15px rgba(0, 255, 255, 0.3); }
.hero-content p { font-size: 1.5rem; color: var(--color-texto-secundario); margin-bottom: 2rem; }
.cta-button { background-color: transparent; color: var(--color-primario); padding: 0.8rem 2rem; border: 2px solid var(--color-primario); border-radius: 5px; font-size: 1.1rem; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 0 10px rgba(0, 255, 255, 0.3); margin-top: 3rem; display: inline-block; pointer-events: auto; }
.cta-button:hover { background-color: var(--color-primario); color: var(--color-fondo); box-shadow: 0 0 25px rgba(0, 255, 255, 0.7); transform: translateY(-3px); }

/* --- Portfolio --- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.portfolio-item { position: relative; overflow: hidden; border-radius: 8px; display: block; border: 2px solid transparent; transition: border-color 0.4s ease, box-shadow 0.4s ease; background-size: cover; background-position: center center; background-repeat: no-repeat; height: 280px; }
.portfolio-hover { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(10, 10, 12, 0.95), transparent); padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; transform: translateY(100%); opacity: 0; transition: transform 0.4s ease-out, opacity 0.4s ease-out; }
.portfolio-item:hover { border-color: var(--color-primario); box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); }
.portfolio-item:hover .portfolio-hover { transform: translateY(0); opacity: 1; }

/* --- Reel --- */
#reel .content-section { max-width: 1600px; } 
#reel h2 { margin-bottom: 2rem; }
#reel p { text-align: center; color: var(--color-texto-secundario); margin-bottom: 3rem; }
.video-player-main {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.2);
    margin: 0 auto;
    max-width: 1600px;
    transition: opacity 0.3s ease-in-out;
}
.video-fading-out { opacity: 0; } .video-player-main iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-playlist { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.video-track-item { background-color: var(--color-fondo-secundario); border: 2px solid #333; color: var(--color-texto-secundario); padding: 0.8rem 1.5rem; border-radius: 50px; cursor: pointer; font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 600; transition: all 0.3s ease; text-decoration: none; display: inline-block; }
.video-track-item:hover { background-color: var(--color-primario); color: var(--color-fondo); border-color: var(--color-primario); }
.video-track-item.playing { background-color: var(--color-primario); color: var(--color-fondo); border-color: var(--color-primario); box-shadow: 0 0 15px rgba(0, 255, 255, 0.5); }

/* --- Footer --- */
footer { text-align: center; padding: 2rem; background-color: #000; color: var(--color-texto-secundario); margin-top: 4rem; position: relative; z-index: 0; }

/* --- Controles de Audio --- */
.global-audio-controls { 
    position: fixed; 
    bottom: 2rem; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 1001; 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    background-color: rgba(26, 26, 26, 0.7); 
    backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    padding: 0.75rem 1.5rem; 
    border-radius: 50px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); 
    opacity: 1; 
    transition: transform 0.6s ease-in-out, left 0.6s ease-in-out, opacity 0.3s ease-in-out; 
}
.global-audio-controls.controls-relocated { left: calc(100% - 2rem); transform: translateX(-100%); }
.global-audio-controls.controls-fading { opacity: 0.4; pointer-events: none; }
#audio-toggle-btn { background-color: var(--color-primario); color: var(--color-fondo); border: none; font-size: 1.2rem; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; justify-content: center; align-items: center; line-height: 1; transition: all 0.3s ease; }
#audio-toggle-btn:hover { background-color: #fff; transform: scale(1.1); }
#volume-slider { appearance: none; -webkit-appearance: none; width: 150px; height: 6px; background: rgba(0, 0, 0, 0.5); border-radius: 5px; outline: none; transition: opacity 0.2s; }
#volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; background: var(--color-primario); border-radius: 50%; cursor: pointer; box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); border: 0; }
#volume-slider::-moz-range-thumb { width: 18px; height: 18px; background: var(--color-primario); border-radius: 50%; cursor: pointer; border: none; box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); }


/* =================================================== */
/* Estilos del Modal (Desbloqueo, About y Contacto)    */
/* =================================================== */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 12, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 30000;
    opacity: 0;
    pointer-events: none;
    visibility: hidden; 
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.4s;
    overflow-y: auto; 
    padding: 3rem 1rem; 
    -webkit-overflow-scrolling: touch; 
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible; 
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0s; 
}

.modal-content {
    background-color: var(--color-fondo-secundario);
    padding: 2.5rem 3.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: auto; 
}

.page-work .modal-content {
    border: 1px solid rgba(255, 0, 255, 0.2); 
}

.modal-backdrop.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-content h2 { color: var(--color-texto); margin-bottom: 1rem; font-size: 2rem; }
.modal-content p { color: var(--color-texto-secundario); font-size: 1.1rem; margin-bottom: 2.5rem; line-height: 1.5; }
#start-audio-btn { margin-top: 0; font-size: 1.2rem; padding: 0.9rem 2.5rem; }

/* --- Modal Close Button --- */
.modal-close-btn { position: absolute; top: 1rem; right: 1.5rem; background: transparent; border: none; font-size: 2.5rem; color: var(--color-texto-secundario); cursor: pointer; line-height: 1; transition: color 0.3s ease, transform 0.2s ease; z-index: 10; }
.modal-close-btn:hover { color: var(--color-primario); transform: scale(1.1); }

.page-work .modal-close-btn:hover {
    color: var(--color-work-accent); 
}

/* --- Modal About Específico --- */
#about-modal .modal-content {
    max-width: 900px;
    width: 90%;
    text-align: left;
    position: relative; 
}
.about-content-wrapper {
    display: flex;
    gap: 2rem;
}
.about-text-content {
    flex: 2;
}
.about-text-content p {
    font-size: 1rem;
    color: var(--color-texto);
    margin-bottom: 1rem;
}
.about-text-content p:last-child {
    margin-bottom: 0;
}
.about-image-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.about-image-content img {
    width: 100%;
    height: 220px; 
    object-fit: cover; 
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Modal Contacto Específico --- */
#contact-modal .modal-content { 
    position: relative; 
    max-width: 600px; 
    width: 90%; 
    padding: 3rem 4rem; 
}
#contact-modal h2 { margin-bottom: 1rem; }
#contact-modal p { margin-bottom: 2.5rem; color: var(--color-texto-secundario); }

/* --- Formulario --- */
#contact-form { display: flex; flex-direction: column; gap: 1.5rem; text-align: left; }
.form-group { width: 100%; }
.form-group label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-fondo);
    border: 2px solid #333;
    border-radius: 5px;
    color: var(--color-texto);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#contact-form textarea { resize: vertical; min-height: 120px; }
#contact-form input[type="text"]:focus,
#contact-form input[type="email"]:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primario);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}
#contact-form .cta-button { margin-top: 1rem; width: 100%; font-size: 1.2rem; }
#form-status { text-align: center; margin-top: 1rem; font-size: 0.9rem; color: var(--color-primario); min-height: 1.2rem; }

/* =================================================== */
/* NUEVO: Estilos del Modal de Selección                 */
/* =================================================== */
#selection-modal .modal-content {
    background: none;
    border: none;
    box-shadow: none;
    width: 90%;
    max-width: 900px;
    padding: 0;
    position: relative;
    text-align: left; 
    background-color: var(--color-fondo); 
    backdrop-filter: none;
    -webkit-backdrop-filter: none; 
    padding: 0; 
}

#selection-modal .selection-modal-content {
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    height: 100%; 
    padding: 3rem; 
    text-align: left; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: auto;
}

#selection-modal.active .selection-modal-content {
    transform: scale(1);
    opacity: 1;
}

.selection-inner-wrapper {
    width: 100%;
    max-width: 1200px; 
    position: relative;
}

.selection-inner-wrapper h2 { 
    text-align: center;
    color: var(--color-texto);
    font-size: 2.5rem; 
    margin-bottom: 3rem; 
}

#selection-modal .modal-close-btn {
    z-index: 10;
    position: fixed; 
    top: 1.5rem;
    right: 2rem;
    color: var(--color-texto-secundario);
}
#selection-modal .modal-close-btn:hover {
    color: var(--color-primario);
}

.selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.selection-card {
    transform-style: preserve-3d;
    position: relative;
    display: block;
    height: 60vh;
    max-height: 550px; 
    min-height: 400px; 
    background-color: #000; 
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #000; 
    transition: transform 0.1s ease-out; 
}

.selection-card.selection-card--work {
    border: 2px solid rgba(255, 0, 255, 0.2); 
}

.selection-card:hover {
    transform: scale(1.03);
    border-color: var(--color-primario);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}

.selection-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    transform: translateZ(20px); 
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.3s ease;
}

.selection-card:hover .selection-card-overlay {
    background: linear-gradient(to top, rgba(10, 10, 12, 1), rgba(10, 10, 12, 0.1));
}

.selection-card h3 {
    color: var(--color-texto);
    position: relative;
    mix-blend-mode: lighten;
    font-size: 2.5rem; 
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.selection-card.selection-card--work:hover {
    border-color: var(--color-work-accent);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.4); 
}

.selection-card.selection-card--work h3 {
    color: var(--color-work-accent);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5); 
}

.selection-card p {
    color: var(--color-texto-secundario);
    font-size: 1.1rem; 
    line-height: 1.4;
    transition: color 0.3s ease;
}

.selection-card:hover p {
    color: var(--color-texto);
}


/* =================================================== */
/* Estilos Responsivos y Menú Hamburguesa              */
/* =================================================== */
@media (max-width: 768px) {
    .navbar {
        z-index: 20000; 
        padding: 0 1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 70%; 
        max-width: 300px; 
        height: 100vh; 
        background-color: rgba(10, 10, 12, 0.9); 
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column; 
        align-items: center; 
        justify-content: flex-start; 
        padding-top: calc(var(--navbar-height) + 2rem); 
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1); 
        z-index: 20000; 
        transform: translateX(100%); 
        overflow-y: auto;
        padding-bottom: 7rem; 
    }

    .nav-links.active {
        right: 0; 
        transform: translateX(0); 
    }

    .nav-links li {
        margin-left: 0; 
        margin-bottom: 2rem; 
        height: auto; 
        width: 100%; 
        text-align: center; 
    }
    
    .nav-links a {
        font-size: 1.2rem; 
        padding: 1rem 0; 
        height: auto; 
        width: 100%; 
        justify-content: center; 
    }
    .nav-links a:hover {
        color: var(--color-primario);
        background-color: rgba(0, 255, 255, 0.1); 
    }

    /* Mostrar botón hamburguesa */
    .hamburger-menu {
        display: block;
        z-index: 20002;

    }

    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .modal-backdrop {
        padding: 2rem 0.5rem; 
    }

    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .hero-content p { font-size: 1.2rem; }
    .content-section { padding: 4rem 1rem; }
    .portfolio-grid { grid-template-columns: 1fr; } 
    .global-audio-controls { 
      bottom: 1.5rem; 
      padding: 0.5rem 1rem;
    }
    #volume-slider { width: 100px; } 
    
    #contact-modal .modal-content {
      width: 95%;
      padding: 2rem 1.5rem;
    }
    
    #about-modal .modal-content {
        width: 95%;
        padding: 2rem 1.5rem; 
    }
    .about-content-wrapper {
        flex-direction: column; 
    }
    .about-image-content {
        order: 2; 
    }
    .about-text-content {
        order: 1; 
    }
    .about-image-content img {
        height: 200px; 
    }

    .selection-modal-content {
        width: 95%;
        padding: 2.5rem 1.5rem;
    }
    .selection-grid {
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }
    .selection-card {
        height: 250px; 
    }
    .selection-card h3 {
        font-size: 1.5rem;
    }
    .selection-card p {
        font-size: 0.9rem;
    }

    #selection-modal .selection-modal-content {
        width: 100%;
        padding: 5rem 1rem 1rem 1rem; 
        justify-content: center; 
        overflow-y: auto; 
    }

    .selection-inner-wrapper h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .selection-grid {
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }
    .selection-card {
        height: 30vh; 
        min-height: 220px; 
    }
    .selection-card h3 {
        font-size: 2rem; 
    }
    .selection-card p {
        font-size: 1rem;
    }
    
    #selection-modal .modal-close-btn {
        top: 1rem;
        right: 1rem;
    }

}


/* =================================================== */
/* ESTILOS DE NAVEGACIÓN SPA Y SECCIONES DE CONTENIDO  */
/* =================================================== */

/* --- Estilos de Transición de Página (SPA) --- */
#main-content-container {
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#main-content-container.page-fading-out {
    opacity: 0;
}

/* --- Estilo de Link de Navegación Activo --- */
.nav-links a.active {
    color: var(--color-primario);
    font-weight: 600; 
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.page-work .nav-links a:hover {
    color: var(--color-work-accent);
}

.page-work .nav-links a.active {
    color: var(--color-work-accent);
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.5); 
}

/* --- Ocultar el reproductor de audio --- */
.global-audio-controls.hidden {
    opacity: 0;
    pointer-events: none;
}

/* --- Estilos para Work/Music (Solución Estética) --- */

.work-description,
.music-description {
    text-align: center;
    color: var(--color-texto-secundario);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem auto; 
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 2.5rem 2rem;
    margin-top: 3rem;
    max-width: 1100px; 
    margin-left: auto;
    margin-right: auto;
}

.video-item-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    cursor: pointer;
    outline: none; 
    border: none;
}

.video-item-container:hover,
.video-item-container:focus-visible { 
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
    outline: none;
}

.video-embed-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000; 
}

.video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-caption {
    font-size: 1.1rem;
    color: var(--color-primario); 
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-align: center;
}

.soundcloud-embed-wrapper {
    max-width: 1100px;
    margin: 0 auto 5rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.2);
    overflow: hidden;
}
.soundcloud-embed-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.video-section-divider {
    margin-top: 5rem;
}

@media (max-width: 900px) {
    .video-gallery-grid {
        grid-template-columns: 1fr; 
        padding: 0 1rem;
        max-width: 500px; 
    }
}


/* =================================================== */
/* ESTILOS DEL REPRODUCTOR DE CONSTELACIONES (MUSIC)   */
/* =================================================== */


#main-music {
    padding: 0 !important;
    max-width: none; 
    height: 100vh; /* Fallback */
    height: 100dvh; /* Fix móvil */
    position: relative;
    overflow: hidden;
    margin: 0;
    background-color: #000;
    background-image: url('img/nebulosa.jpeg');
    background-size: cover;
    background-position: center;
}


#main-music::before { 
    z-index: 1;
}

#main-music::after { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; 
    
    background-image: radial-gradient(circle at 20% 80%, rgba(0,200,255,0.025) 0%, transparent 30%),
                      radial-gradient(circle at 70% 30%, rgba(200, 0, 255, 0.025) 0%, transparent 40%);
    background-size: 150% 150%, 120% 120%; 
    background-position: 0% 0%, 100% 100%; 
    
    animation: gasDrift 60s ease-in-out infinite alternate;
    pointer-events: none; 
}

@keyframes gasDrift {
    0% {
        background-position: 0% 0%, 100% 100%;
        opacity: 1;
        transform: scale(1);
    }
    50% {
        background-position: 50% 50%, 50% 50%;
        opacity: 0.9;
        transform: scale(1.02);
    }
    100% {
        background-position: 100% 0%, 0% 100%;
        opacity: 1;
        transform: scale(1);
    }
}


#music-canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3; 
    cursor: none; 
}


/* --- Tooltip de Información del Álbum --- */
#music-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem; 
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, calc(-100% - 15px)) scale(0.9);
    transform-origin: bottom center;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 300px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    width: max-content; 
    
    display: flex;
    gap: 1rem;
    align-items: center;
}

#music-tooltip.visible {
    opacity: 1;
    transform: translate(-50%, calc(-100% - 15px)) scale(1);
}

#music-tooltip.flip-vertical {
    transform: translate(-50%, 25px) scale(0.9);
    transform-origin: top center;
}

#music-tooltip.flip-vertical.visible {
     transform: translate(-50%, 25px) scale(1);
}

#music-tooltip img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip-text-content {
    text-align: left;
}

#music-tooltip h3 {
    color: var(--color-primario);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
#music-tooltip p {
    color: var(--color-texto);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}
#music-tooltip p:last-child {
    margin-bottom: 0;
    color: var(--color-texto-secundario);
    font-style: italic;
}
/* --- Fin de Tooltip --- */


/* --- Controles de Música (Estilo Home) --- */
.music-player-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}
.music-player-controls:hover
.global-audio-controls:hover {
    opacity: 1;
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.15);
}

#music-toggle-btn {
    background-color: var(--color-primario);
    color: var(--color-fondo);
    border: none;
    font-size: 1.2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    transition: all 0.3s ease;
}
#music-toggle-btn:hover {
    background-color: #fff;
    transform: scale(1.1);
}

#music-volume-slider {
    appearance: none;
    -webkit-appearance: none;
    width: 150px;
    height: 6px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    outline: none;
    transition: opacity 0.2s;
}
#music-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--color-primario);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    border: 0;
}
#music-volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--color-primario);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* ===================================================
 * MENÚS DE PLAYLIST (HUD FIX) - SCROLLBAR & GAP
 * =================================================== */

/* --- Contenedor Base --- */
.music-playlist-menu, 
.work-playlist-menu {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%) translateX(30px);
    width: 320px;
    max-height: 65vh;
    
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.98) 0%, rgba(0, 0, 0, 0.98) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 2px solid var(--color-texto-secundario);
    
    z-index: 10001;
    box-shadow: -10px 10px 40px rgba(0, 0, 0, 0.9);
    
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

body.page-music .music-playlist-menu { border-left-color: var(--color-primario); }
body.page-work .work-playlist-menu { border-left-color: var(--color-work-accent); }

.music-playlist-menu.visible, 
.work-playlist-menu.visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

/* --- Contenedor Interno con SCROLLBAR INVISIBLE/OSCURO --- */
.playlist-container {
    overflow-y: auto;
    padding: 0;

    overscroll-behavior: contain;
    
    scrollbar-width: thin; 
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent; 
}

.playlist-container::-webkit-scrollbar {
    width: 4px; 
}
.playlist-container::-webkit-scrollbar-track {
    background: transparent; 
}
.playlist-container::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15); 
    border-radius: 2px;
}
.playlist-container::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3); 
}


/* --- HEADER (Títulos) --- */
.playlist-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.playlist-album-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.2rem; 
    background: rgba(255, 255, 255, 0.01);
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.playlist-album-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.playlist-album-art {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 2px; 
    opacity: 0.8;
}

.playlist-album-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-texto);
    flex-grow: 1;
    margin: 0;
}
body.page-music .playlist-album-title { color: var(--color-primario); }
body.page-work .playlist-album-title { color: var(--color-work-accent); }

/* Flecha */
.collapsible-chevron {
    font-size: 0.7rem;
    color: var(--color-texto-secundario);
    transition: transform 0.3s ease;
}
.collapsible-header.expanded .collapsible-chevron {
    transform: rotate(180deg);
    color: #fff;
}


/* --- LISTA DE TRACKS --- */
.playlist-track-list {
    background-color: rgba(0, 0, 0, 0.4);
    
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    
    opacity: 1; 
    overflow: hidden;
    
    transition: max-height 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                padding 0.25s ease;
}

.playlist-track-list.expanded {
    max-height: 800px; 
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}


/* --- BOTONES DE TRACK --- */
.playlist-track-btn {
    display: flex;
    align-items: center;
    width: 100%;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    padding: 0.8rem 1rem 0.8rem 1.5rem;
    color: var(--color-texto-secundario);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}
.playlist-track-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-left: 1.8rem; 
}

/* Colores activos */
body.page-music .playlist-track-btn:hover { border-left-color: rgba(0, 255, 255, 0.5); }
body.page-work .playlist-track-btn:hover { border-left-color: rgba(255, 0, 255, 0.5); }

.playlist-track-btn.playing {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    color: #fff;
    font-weight: 600;
    padding-left: 1.8rem;
}
body.page-music .playlist-track-btn.playing { border-left-color: var(--color-primario); text-shadow: 0 0 8px var(--color-primario); }
body.page-work .playlist-track-btn.playing { border-left-color: var(--color-work-accent); text-shadow: 0 0 8px var(--color-work-accent); }


/* ===================================================
 * ESTILOS MÓVIL (Bottom Sheet)
 * =================================================== */
@media (max-width: 900px) {
    .music-playlist-menu, 
    .work-playlist-menu {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 75vh;
        transform: translateY(100%); 
        
        opacity: 1 !important; 
        pointer-events: auto; 

        border-radius: 24px 24px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.4);
        
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        
        /* Ajustes internos */
        .playlist-container {
            padding-bottom: 2rem; 
        }
    }
    body.page-music .music-playlist-menu { border-top-color: var(--color-primario); }
    body.page-work .work-playlist-menu { border-top-color: var(--color-work-accent); }

    .music-playlist-menu.visible, 
    .work-playlist-menu.visible {
        transform: translateY(0);
    }

    /* Manija para móvil */
    .music-playlist-menu::before, 
    .work-playlist-menu::before {
        content: '';
        position: absolute;
        top: 10px; left: 50%; transform: translateX(-50%);
        width: 40px; height: 4px;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        z-index: 10;
    }
    .playlist-container {
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }
}

/* --- Cursor de Música --- */
.music-cursor {
    position: fixed; 
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primario);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none; 
    opacity: 0;
    mix-blend-mode: difference;
    transition: transform 0.1s ease-out, background-color 0.2s ease,
                width 0.2s ease, height 0.2s ease, opacity 0.1s ease;
}

.music-cursor.hovering {
    transform: scale(1.5);
    background-color: rgba(0, 255, 255, 0.3);
}

/* --- Media query para el menú en móviles --- */
@media (max-width: 900px) {
    .music-player-controls {
        justify-content: center;
    }
    #music-volume-slider {
        width: 100px;
    }
}

/* --- Estilos de Portada en Playlist --- */
.playlist-album-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1rem 0.5rem 1.5rem; 
}

.playlist-album-art {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0; 
}

#music-map-toggle:hover {
    background-color: rgba(0, 255, 255, 0.1);
    border-color: var(--color-primario);
    transform: scale(1.1);
}

/* =================================================== */
/* ESTILOS DEL REPRODUCTOR DE CONSTELACIONES (WORK)    */
/* =================================================== */

#main-work {
    padding: 0 !important;
    max-width: none; 
    height: 100vh; /* Fallback */
    height: 100dvh; /* Fix móvil */
    position: relative;
    overflow: hidden;
    margin: 0;
    background-color: #000; /* O var(--color-fondo) */
    background-image: url('img/nebulosa-sounddesign.jpg');
    background-size: cover;
    background-position: center;
}

#main-work::after { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; 
    
    background-image: radial-gradient(circle at 20% 80%, rgba(180,0,255,0.025) 0%, transparent 30%),
                      radial-gradient(circle at 70% 30%, rgba(200, 0, 150, 0.025) 0%, transparent 40%);
    background-size: 150% 150%, 120% 120%;
    background-position: 0% 0%, 100% 100%;
    
    animation: gasDrift 60s ease-in-out infinite alternate;
    pointer-events: none; 
}


#work-canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3; 
    cursor: none; 
}


/* --- Tooltip de Información del Proyecto --- */
#work-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, calc(-100% - 15px)) scale(0.9);
    transform-origin: bottom center;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 300px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    width: max-content; 
    
    display: flex;
    gap: 1rem;
    align-items: center;
}

body.page-work #work-tooltip {
    border: 1px solid rgba(255, 0, 255, 0.2); 
}

body.page-work #work-tooltip h3 {
    color: var(--color-work-accent); 
}

#work-tooltip.visible {
    opacity: 1;
    transform: translate(-50%, calc(-100% - 15px)) scale(1);
}

#work-tooltip.flip-vertical {
    transform: translate(-50%, 25px) scale(0.9);
    transform-origin: top center;
}

#work-tooltip.flip-vertical.visible {
     transform: translate(-50%, 25px) scale(1);
}

#work-tooltip img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip-text-content {
    text-align: left;
}

#work-tooltip h3 {
    color: var(--color-primario);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
#work-tooltip p {
    color: var(--color-texto);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}
#work-tooltip p:last-child {
    margin-bottom: 0;
    color: var(--color-texto-secundario);
    font-style: italic;
}
/* --- Fin de Tooltip --- */


/* --- Menú Playlist Flotante (Work) --- */
.work-playlist-menu {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    width: 300px;
    max-height: 60vh;
    background-color: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}
.work-playlist-menu h2 {
    font-size: 1.2rem;
    color: var(--color-primario);
    text-align: left;
    padding: 1rem 1.5rem;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 3.5rem; 
}

body.page-work .work-playlist-menu h2 {
    color: var(--color-work-accent); 
}

body.page-work .work-playlist-menu .playlist-container::-webkit-scrollbar-thumb {
    background: var(--color-work-accent); 
}

body.page-work .work-playlist-menu .playlist-track-btn:hover {
    background-color: rgba(255, 0, 255, 0.1); 
    color: var(--color-work-accent);
}

body.page-work .work-playlist-menu .playlist-track-btn.playing {
    color: var(--color-work-accent); 
    font-weight: 600;
    background-color: rgba(255, 0, 255, 0.15);
}

.work-playlist-menu .playlist-container {
    overflow-y: auto;
    padding: 0.5rem;
}

.work-playlist-menu .playlist-container::-webkit-scrollbar {
    width: 8px;
}
.work-playlist-menu .playlist-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
.work-playlist-menu .playlist-container::-webkit-scrollbar-thumb {
    background: var(--color-primario);
    border-radius: 4px;
}
.work-playlist-menu .playlist-container::-webkit-scrollbar-thumb:hover {
    background: #fff;
}

.work-playlist-menu .playlist-album-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    padding: 0;
    margin: 0;
}
.work-playlist-menu .playlist-track-btn {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--color-texto-secundario);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    text-align: left;
    padding: 0.75rem 1rem 0.75rem calc( 1.5rem + 50px + 1rem );
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}
.work-playlist-menu .playlist-track-btn:hover {
    background-color: rgba(0, 255, 255, 0.1);
    color: var(--color-primario);
}
.work-playlist-menu .playlist-track-btn.playing {
    color: var(--color-primario);
    font-weight: 600;
    background-color: rgba(0, 255, 255, 0.15);
}


/* --- Cursor (Work) --- */
.work-cursor {
    position: fixed; 
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primario);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none; 
    opacity: 0;
    mix-blend-mode: difference;
    transition: transform 0.1s ease-out, background-color 0.2s ease,
                width 0.2s ease, height 0.2s ease, opacity 0.1s ease;
}

body.page-work .work-cursor {
    border: 2px solid var(--color-work-accent); 
}

body.page-work .work-cursor.hovering {
    background-color: rgba(255, 0, 255, 0.3); 
}

.work-cursor.hovering {
    transform: scale(1.5);
    background-color: rgba(0, 255, 255, 0.3);
}


/* --- Estilos de Portada en Playlist (Work) --- */
.work-playlist-menu .playlist-album-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1rem 0.5rem 1.5rem;
}

.work-playlist-menu .playlist-album-art {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

body.page-work #work-map-toggle {
    border: 2px solid var(--color-work-accent);
    color: var(--color-work-accent);
}

body.page-work #work-map-toggle:hover {
    background-color: rgba(255, 0, 255, 0.1); 
    border-color: var(--color-work-accent);
}

#work-map-toggle:hover {
    background-color: rgba(0, 255, 255, 0.1);
    border-color: var(--color-primario);
    transform: scale(1.1);
}

/* =================================================== */
/* ESTILOS DEL CONMUTADOR E INDICADOR (NUEVO)          */
/* =================================================== */

/* --- Conmutador de Página (Arriba-Centro) --- */
.page-switcher {
    position: absolute;
    top: calc(var(--navbar-height) + 1.5rem); 
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    background-color: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}
.switcher-link {
    padding: 0.75rem 1.5rem;
    color: var(--color-texto-secundario);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 50px;
}
.switcher-link:hover {
    color: var(--color-texto);
}

/* Colores de estado activo específicos por página */
body.page-work .switcher-link.active {
    background-color: var(--color-work-accent);
    color: var(--color-fondo);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}
body.page-work .switcher-link:not(.active):hover {
    color: var(--color-work-accent);
}

body.page-music .switcher-link.active {
    background-color: var(--color-primario);
    color: var(--color-fondo);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}
body.page-music .switcher-link:not(.active):hover {
    color: var(--color-primario);
}

/* --- Indicador de Foco (Izquierda) --- */
.focus-indicator {
    position: absolute;
    top: calc(var(--navbar-height) + 1.5rem); 
    left: 2rem;
    z-index: 1000;
    background-color: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    
    color: var(--color-texto-secundario);
    font-size: 1rem;
    font-weight: 600;
    
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.focus-indicator.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Colores específicos por página */
body.page-work .focus-indicator {
    border-color: rgba(255, 0, 255, 0.2);
    color: var(--color-work-accent);
}
body.page-music .focus-indicator {
    border-color: rgba(0, 255, 255, 0.2);
}
body.page-music .focus-indicator.playing {
    color: var(--color-primario);
}


/* --- Ajustes Responsivos para Conmutador/Indicador --- */
@media (max-width: 900px) {
    .focus-indicator {
        display: none; 
    }
    
    .page-switcher {
        top: auto;
        bottom: calc(2rem + env(safe-area-inset-bottom));
        left: 50%;
        transform: translateX(-50%);
    }
    
    body.page-work .page-switcher {
         top: auto;
         bottom: calc(2rem + env(safe-area-inset-bottom));
         left: 50%;
         transform: translateX(-50%);
    }
    
    body.page-music .page-switcher {
        left: 2rem;
        transform: translateX(0);
    }
    body.page-music .music-player-controls {
        left: auto;
        right: 2rem;
        transform: translateX(0);
        bottom: calc(6rem + env(safe-area-inset-bottom));
    }
}

@media (max-width: 768px) {
     .switcher-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
     }
     body.page-music .page-switcher {
        left: 1rem;
     }
     body.page-music .music-player-controls {
        right: 1rem;
     }
}

@media (max-width: 480px) {
    /* En móviles muy pequeños, apilamos los controles de música */
    body.page-music .page-switcher {
        left: 50%;
        transform: translateX(-50%);
        bottom: calc(8rem + env(safe-area-inset-bottom)); /* Arriba del reproductor */
    }
    body.page-music .music-player-controls {
        left: 50%;
        transform: translateX(-50%);
        bottom: calc(2rem + env(safe-area-inset-bottom));
        right: auto;
        justify-content: center;
    }
}
/* =================================================== */
/* MODIFICACIÓN: Estilos de Grupo de Playlist (Music)  */
/* =================================================== */

/* El "card" principal para cada álbum */
body.page-music .playlist-group {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    margin: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden; 
}

/* El encabezado con la imagen y el título */
body.page-music .playlist-album-header {
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.25rem; 
    gap: 1rem; 
}

body.page-music .playlist-album-art {
    flex-shrink: 0; 
}

body.page-music .playlist-album-title {
    padding: 0; 
    margin: 0;
}

/* El contenedor de solo las canciones */
body.page-music .playlist-track-list {
    padding: 0.5rem; 
}

/* El botón de la canción */
body.page-music .playlist-track-btn {
    padding: 0.75rem 1.25rem;
    margin: 0; 
}

/* =================================================== */
/* MODIFICACIÓN: Controles Superiores (Botones)        */
/* =================================================== */

/* Contenedor para los botones de la esquina superior derecha */
.top-right-controls {
    position: absolute;
    top: calc(var(--navbar-height) + 1.5rem); 
    right: 2rem;
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 0.75rem; 
}

/* Ajuste móvil para top-right-controls */
@media (max-width: 900px) {
    .top-right-controls {
        display: flex;
        align-items: center;
        gap: 0.8rem; /* Espacio entre botones */
    }
}

/* Estilo base para los nuevos botones de UI */
.ui-toggle-btn {
    background-color: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-texto-secundario);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.ui-toggle-btn:hover {
    color: var(--color-texto);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Ajuste móvil para botones */
@media (max-width: 900px) {
    .ui-toggle-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Estilo específico para el botón de "Projects" */
body.page-music #playlist-toggle-btn:hover {
    color: var(--color-primario);
    border-color: var(--color-primario);
}

/* Estilo específico para el botón de "Mapa" */
#music-map-toggle {
    position: relative; 
    top: auto;
    right: auto;
    padding: 0.75rem;
    font-size: 1rem;
    width: 3.5rem;
    border-width: 1px;
}
body.page-music #music-map-toggle {
    border-color: rgba(255, 255, 255, 0.1); 
    color: var(--color-texto-secundario);
}
body.page-music #music-map-toggle:hover {
    color: var(--color-primario);
    border-color: var(--color-primario);
    transform: scale(1.1); 
}

/* =================================================== */
/* MODIFICACIÓN: Controles Superiores (Botones) - WORK */
/* =================================================== */

body.page-work #playlist-toggle-btn:hover {
    color: var(--color-work-accent);
    border-color: var(--color-work-accent);
}

#work-map-toggle {
    position: relative; 
    top: auto;
    right: auto;
    padding: 0.75rem;
    font-size: 1rem;
    width: 3.5rem;
    border-width: 1px;
}
body.page-work #work-map-toggle {
    border-color: rgba(255, 255, 255, 0.1); 
    color: var(--color-texto-secundario);
}
body.page-work #work-map-toggle:hover {
    color: var(--color-work-accent);
    border-color: var(--color-work-accent);
    transform: scale(1.1);
}

.work-playlist-menu {
    opacity: 0;
    transform: translateY(-50%) translateX(20px);
    pointer-events: none;
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}
.work-playlist-menu.visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.work-playlist-menu h2 {
    display: none; 
}
.work-playlist-menu .playlist-container {
    padding-top: 0.5rem; 
}

/* =================================================== */
/* MODIFICACIÓN: Estilos de Grupo de Playlist (WORK)   */
/* =================================================== */

body.page-work .playlist-group {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    margin: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

body.page-work .playlist-album-header {
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.25rem;
    gap: 1rem;
}

body.page-work .playlist-album-art {
    flex-shrink: 0;
}

body.page-work .playlist-album-title {
    padding: 0;
    margin: 0;
    color: var(--color-work-accent); 
}

body.page-work .playlist-track-list {
    padding: 0.5rem;
}

body.page-work .playlist-track-btn {
    padding: 0.75rem 1.25rem;
    margin: 0;
}

/* =================================================== */
/* MODIFICACIÓN: Estilo de Botón "Projects" Activo     */
/* =================================================== */

body.page-music #playlist-toggle-btn.active {
    color: var(--color-primario);
    border-color: var(--color-primario);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

body.page-work #playlist-toggle-btn.active {
    color: var(--color-work-accent);
    border-color: var(--color-work-accent);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

/* =================================================== */
/* Overlay para Menú Móvil                      */
/* =================================================== */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1001; 
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

@media (hover: none) or (pointer: coarse) {
    .music-cursor,
    .work-cursor {
        display: none !important;
    }
}
@media (max-width: 900px) {
    html.body-no-scroll,
    body.body-no-scroll {
        overflow: hidden;
        height: 100%; 
    }
    .mobile-menu-overlay.visible {
        opacity: 1;
        pointer-events: auto;
    }
    /* =================================================== */
    /* Rediseño Móvil (Bottom Sheet)         */
    /* =================================================== */

    /* FIX: Botones de Mapa y Projects al lado, no encima */
    #music-map-toggle,
    #work-map-toggle {
        display: flex !important; 
        position: relative !important; /* Cambiado de absolute a relative para que respete el flex */
        width: 42px !important; /* Ancho fijo igual a la altura */
        padding: 0 !important;  /* Sin padding lateral */
        border-radius: 50%;     /* Círculo perfecto */
        font-size: 1.1rem;
    }

    /* FIX: Tooltip Arriba a la Izquierda y Pequeño */
    #music-tooltip,
    #work-tooltip {
        /* Resetear posición anterior */
        bottom: auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;

        /* Nueva Posición: Arriba Izquierda (debajo del navbar) */
        position: fixed !important;
        top: 80px !important; /* 60px navbar + 20px margen */
        left: 1rem !important;
        
        /* Estilo más pequeño y compacto */
        width: auto;
        max-width: 260px; /* Ancho máximo limitado */
        padding: 0.5rem 0.75rem;
        gap: 0.75rem;
        background-color: rgba(10, 10, 12, 0.85);
        border-radius: 8px;
    }

    /* Ajuste de imagen dentro del tooltip */
    #music-tooltip img,
    #work-tooltip img {
        width: 45px;
        height: 45px;
        border-radius: 4px;
    }

    /* Ajuste de texto dentro del tooltip */
    .tooltip-text-content h3 {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
    }
    .tooltip-text-content p {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    /* Menú inferior (playlist) */
    .music-playlist-menu,
    .work-playlist-menu {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 75vh; 
        transform: translateY(100%); 
        
        opacity: 1 !important; 
        pointer-events: auto; 

        border-radius: 24px 24px 0 0; 
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.4);
        
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0s;
        
        .playlist-container {
            padding-bottom: 2rem; 
        }
    }

    .music-playlist-menu::before,
    .work-playlist-menu::before {
        content: '';
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }

    .work-playlist-menu .playlist-container {
        padding-top: 1.5rem; 
    }
    .music-playlist-menu .playlist-album-header {
         padding-top: 1.5rem; 
    }
     body.page-music .playlist-album-header {
        padding-top: 1.5rem; 
     }


    .music-playlist-menu.visible,
    .work-playlist-menu.visible {
        transform: translateY(0); 
    }
}

/* =================================================== */
/* NUEVO: Estilos para Playlist Colapsable             */
/* =================================================== */

.playlist-album-header.collapsible-header {
    cursor: pointer;
    position: relative; 
    transition: background-color 0.2s ease;
}

.playlist-track-list.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
}

.playlist-track-list.collapsible-content.expanded {
    max-height: 1000px; 
    padding: 0.5rem; 
    transition: max-height 0.8s ease-in-out;
}

.collapsible-chevron {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.4s ease;
    font-size: 0.8rem;
    color: var(--color-texto-secundario);
}

.collapsible-header.expanded .collapsible-chevron {
    transform: translateY(-50%) rotate(180deg);
}

body.page-music .playlist-album-header.collapsible-header:hover {
    background-color: rgba(0, 255, 255, 0.1);
}
body.page-work .playlist-album-header.collapsible-header:hover {
    background-color: rgba(255, 0, 255, 0.1);
}

h1:hover, h2:hover, .selection-card:hover h3 {
    animation: glitch-anim 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}

h1::before, h2::before, .selection-card h3::before,
h1::after, h2::after, .selection-card h3::after {
    content: attr(data-text); 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

/* --- 5. DETALLE: Scrollbars Cyberpunk --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0a0c;
}
::-webkit-scrollbar-thumb {
    background: var(--color-texto-secundario);
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primario);
    box-shadow: 0 0 10px var(--color-primario);
}

/* ===================================================
 * BLOQUEO DE SCROLL PARA MODO INMERSIVO (Work/Music)
 * =================================================== */

body.page-music,
body.page-work {
    overflow: hidden !important; 
    height: 100vh; /* Fallback */
    height: 100dvh; /* Altura dinámica real para móviles */
    position: fixed; 
    width: 100%;
}

body.page-music footer,
body.page-work footer {
    display: none !important;
}

body.page-music .playlist-container,
body.page-work .playlist-container {
    overscroll-behavior: contain; 
    touch-action: pan-y; 
}

/* =================================================== */
/* TUTORIAL OVERLAY (ONBOARDING)                       */
/* =================================================== */

.tutorial-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 12000; 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.tutorial-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.tutorial-card {
    background: rgba(15, 15, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tutorial-backdrop.active .tutorial-card {
    transform: translateY(0) scale(1);
}

.tutorial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primario), transparent);
    opacity: 0.8;
}

body.page-work .tutorial-card::before {
    background: linear-gradient(90deg, transparent, var(--color-work-accent), transparent);
}

.tutorial-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tutorial-header h2 {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: #fff;
}

.tutorial-decoration-line {
    width: 60px;
    height: 3px;
    background-color: var(--color-primario);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--color-primario);
}
body.page-work .tutorial-decoration-line {
    background-color: var(--color-work-accent);
    box-shadow: 0 0 10px var(--color-work-accent);
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.tutorial-step {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease, background 0.2s ease;
}

.tutorial-step:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.step-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primario);
    flex-shrink: 0;
}
.step-icon svg {
    width: 24px;
    height: 24px;
}
body.page-work .step-icon { color: var(--color-work-accent); }

.step-text h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.step-text p {
    font-size: 0.9rem;
    color: var(--color-texto-secundario);
    line-height: 1.3;
    margin: 0;
}

.tutorial-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--color-primario);
    color: var(--color-primario);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

body.page-work .tutorial-btn {
    border-color: var(--color-work-accent);
    color: var(--color-work-accent);
}

.tutorial-btn:hover {
    background: var(--color-primario);
    color: #000;
    box-shadow: 0 0 20px var(--color-primario);
}

body.page-work .tutorial-btn:hover {
    background: var(--color-work-accent);
    color: #fff;
    box-shadow: 0 0 20px var(--color-work-accent);
}

#work-canvas, 
#music-canvas {
    touch-action: none; /* Bloquea zoom/scroll del navegador solo aquí */
}

/* =================================================== */
/* AJUSTES FINALES DE HUD MÓVIL                        */
/* =================================================== */

/* 1. BOTÓN DE INFORMACIÓN (TOGGLE TOOLTIP) - Arriba Izquierda */
.info-toggle-btn {
    position: absolute;
    top: calc(var(--navbar-height) + 1rem); /* A la misma altura que los otros */
    left: 1rem;
    z-index: 10002;
    width: 42px;  /* Cuadrado fijo */
    height: 42px; /* Altura fija */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 50%; /* Totalmente redondo */
}

/* Estado Desactivado (Ojo cerrado o tachado visualmente) */
body.tooltips-hidden .info-toggle-btn {
    opacity: 0.5;
    border-color: rgba(255, 255, 255, 0.1);
    filter: grayscale(100%);
}

/* Lógica para OCULTAR el tooltip cuando la clase está activa */
body.tooltips-hidden #music-tooltip,
body.tooltips-hidden #work-tooltip {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    transform: translate(-50%, 10px) !important; /* Pequeño desplazamiento */
}


/* 2. UNIFORMIDAD DE BOTONES DERECHOS (PROJECTS & MAPA) */
@media (max-width: 900px) {
    

    /* Forzamos que AMBOS botones tengan la misma estructura */
    .top-right-controls .ui-toggle-btn {
        height: 42px !important; /* Altura idéntica para ambos */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 1.2rem; /* Padding lateral cómodo */
        font-size: 0.9rem;
        border-radius: 50px; /* Forma de píldora */
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        min-width: 42px; /* Asegura que el círculo no se aplaste */
    }


    /* Ajuste para el botón de texto (Projects) */
    #playlist-toggle-btn {
        width: auto; /* Ancho automático según el texto */
        border-radius: 20px; /* Píldora */
    }
}
/* ===================================================
 * AJUSTE PARA REELS DE INSTAGRAM EN MODALES
 * =================================================== */
iframe[src*="instagram.com"] {
    width: 100% !important;
    max-width: 350px !important; /* Limita el ancho al tamaño típico de un celular */
    height: 75vh !important;     /* Altura máxima del 75% de la pantalla */
    max-height: 650px !important;
    margin: 0 auto !important;   /* Lo centra horizontalmente en el modal */
    display: block !important;
    border-radius: 12px;         /* Le da bordes redondeados más estéticos */
    background: transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Sombra para que resalte */
}

/* ===================================================
 * FEATURE: Logros + Captions + Return to Orbit + Spatial toggle
 * =================================================== */

/* "Return to orbit" en el page-switcher */
.return-to-orbit {
    font-size: 0.85rem;
    opacity: 0.7;
    transition: opacity .2s ease, color .2s ease;
}
.return-to-orbit:hover { opacity: 1; }
body.page-work .return-to-orbit:hover { color: var(--color-work-accent); }
body.page-music .return-to-orbit:hover { color: var(--color-primario); }

/* Toggle de Foley espacial (botón 🎧 en top-right-controls) */
#work-spatial-toggle {
    opacity: 0.6;
    transition: opacity .2s ease, border-color .2s ease;
}
#work-spatial-toggle[aria-pressed="true"] {
    opacity: 1;
    border-color: var(--color-work-accent);
    color: var(--color-work-accent);
}

/* HUD de logros: ajuste fino para no tapar el navbar en móvil */
@media (max-width: 768px) {
    .achievements-hud { top: 60px !important; right: 8px !important; font-size: 11px !important; }
    #sound-caption-bar { bottom: 80px !important; font-size: 12px !important; }
}

/* ===================================================
 * FEATURE: Star Launcher panel
 * =================================================== */
.star-launcher-panel button:hover {
    background: rgba(0, 255, 255, 0.12) !important;
    box-shadow: 0 0 16px rgba(0, 255, 255, 0.4) !important;
}
@media (max-width: 768px) {
    .star-launcher-panel { bottom: 110px !important; left: 8px !important; right: 8px !important; min-width: 0 !important; font-size: 11px !important; }
}

/* ===================================================
 * FEATURE: "Send a transmission" — reskin del contacto
 * =================================================== */
@keyframes transmission-scan {
    0%   { box-shadow: inset 0 0 0 0 rgba(0,255,255,0); transform: scale(1); }
    40%  { box-shadow: inset 0 0 60px 8px rgba(0,255,255,0.35); transform: scale(0.98); }
    100% { box-shadow: inset 0 0 0 0 rgba(0,255,255,0); transform: scale(1); }
}
.transmission-sending {
    animation: transmission-scan 1.1s ease-out;
}
.transmission-sent .modal-content {
    border-color: var(--color-primario) !important;
    box-shadow: 0 0 40px rgba(0,255,255,0.3) !important;
}

/* ===================================================
 * ACCESIBILIDAD: prefers-reduced-motion
 * Congela parpadeos, ripples y drift de partículas.
 * =================================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .tutorial-card, .modal-content, .selection-card { transition: none !important; }
}

/* ===================================================
 * MODO CABINA: ocultar toda la UI que no es la cabina.
 * El canvas + el HUD de la cabina son lo único visible.
 * =================================================== */
body.cockpit-mode .navbar,
body.cockpit-mode .hero-content,
body.cockpit-mode .global-audio-controls,
body.cockpit-mode #star-launcher-panel,
body.cockpit-mode #achievements-hud,
body.cockpit-mode #canvas-tutorial,
body.cockpit-mode #portafolio,
body.cockpit-mode #reel,
body.cockpit-mode footer,
body.cockpit-mode #about-modal,
body.cockpit-mode #contact-modal,
body.cockpit-mode #work-video-modal,
body.cockpit-mode #selection-modal,
body.cockpit-mode #mobile-menu-overlay {
    display: none !important;
}
/* El caption bar se mantiene para a11y pero muy sutil y sin bloquear. */
body.cockpit-mode #sound-caption-bar {
    bottom: 12px !important;
    opacity: 0.5 !important;
    font-size: 11px !important;
}
/* El canvas ocupa toda la pantalla en modo cabina. */
body.cockpit-mode {
    overflow: hidden !important;
    height: 100vh !important;
    height: 100dvh !important;
}
body.cockpit-mode #interactive-canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 1 !important;
}
