/* Reset básico de márgenes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Evitar scroll global en toda la página */
body {
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

/* 2. Contenedor de la Historia principal */
.contenedor-historia {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    position: relative;
}

/* 3. Escenas o Secciones */
.escena {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Clases utilitarias JS */
.oculto {
    display: none !important;
}

/* 4. Bloqueador de Móviles */
#mobile-blocker {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0d0015; /* Fondo oscuro acorde al tema */
    z-index: 999999;
    color: #fff;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.mobile-blocker-content {
    max-width: 450px;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 105, 180, 0.15);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 105, 180, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.mobile-blocker-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #ff80ab;
    margin-bottom: 20px;
    line-height: 1.3;
}

.mobile-blocker-content p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
}

/* Media Query para activar el bloqueador en pantallas de tablet o móviles (<= 1024px) */
@media (max-width: 1024px) {
    #mobile-blocker {
        display: flex;
    }
}

/* 5. Audio Overlay */
#audio-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(13, 0, 21, 0.9);
    z-index: 999998;
    color: #fff;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.audio-overlay-content {
    max-width: 450px;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 105, 180, 0.2);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 105, 180, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.audio-overlay-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #ff80ab;
    margin-bottom: 20px;
    line-height: 1.3;
}

.audio-overlay-content p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
}
