/* ============================================================
   THE WALK - transicion.css
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#transicion-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

/* ---------- VÍDEO ---------- */
#transicion-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* ---------- OVERLAY ---------- */
#transicion-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#transicion-text {
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: 300;
    animation: fadePulse 3s ease-in-out infinite;
}

@keyframes fadePulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

/* ---------- BARRA DE PROGRESO ---------- */
#progress-container {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 200px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1px;
    overflow: hidden;
}

#progress-bar {
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.1s linear;
    border-radius: 1px;
}

/* ---------- BOTÓN DE SONIDO (estándar) ---------- */
#sonido {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.2);
    font-size: 48px;
    cursor: pointer;
    transition: all 0.6s ease;
    backdrop-filter: blur(4px);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sonido:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transform: translate(-50%, -50%) scale(1.05);
}

#sonido.active {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(105, 170, 93, 0.2);
    background: rgba(105, 170, 93, 0.05);
}

#sonido.silence {
    color: rgba(255, 255, 255, 0.08);
}

/* ---------- SKIP INSTRUCTION ---------- */
#skip-instruction {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.08);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    pointer-events: none;
    animation: fadePulse 4s ease-in-out infinite;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    #transicion-text {
        font-size: 11px;
        letter-spacing: 5px;
    }
    
    #progress-container {
        width: 140px;
        bottom: 70px;
    }
    
    #sonido {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    #skip-instruction {
        font-size: 8px;
        letter-spacing: 2px;
        bottom: 30px;
    }
}

@media (max-width: 480px) {
    #sonido {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    #transicion-text {
        font-size: 9px;
        letter-spacing: 3px;
    }
    
    #progress-container {
        width: 100px;
        bottom: 60px;
    }
}