/* assets/css/reproductor.css - VERSIÓN UNA SOLA PANTALLA */

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

html, body {
    height: 100%;
    overflow: hidden;
}

/* Contenedor principal del reproductor */
.contenedor-reproductor-musica {
    width: 100%;
    height: 100vh;
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* Contenedor principal */
.contenedor-principal {
    width: 95%;
    max-width: 800px;
    height: 90vh;
    max-height: 650px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
}

/* Imagen de fondo */
.imagen-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    filter: brightness(1);
}

/* Logo del Himno - RUTA RELATIVA */
.logo-himno {
    position: absolute;
    top: 15px;
    left: 20px;
    width: 45px;
    height: 45px;
    background-image: url('../img/musica/logo-himno.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 5;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Contenido centrado */
.contenido-musica {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #333;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    opacity: 1;
    border-radius: 15px;
    overflow-y: auto;
}

/* Ocultar scrollbar */
.contenido-musica::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

/* Títulos - COLOR VERDOSO OSCURO */
.titulo-principal {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin: 5px 0;
    color: #1a3b1a;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
    line-height: 1.1;
    position: relative;
}

.titulo-principal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-image: url('../icons/music-note.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.1;
    z-index: -1;
}

.subtitulo {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a3b1a;
    margin: 5px 0 12px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    background-image: url('../icons/headphones-icon.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 18px;
    padding-left: 25px;
}

/* Contenedor del reproductor - AZUL */
.contenedor-reproductor {
    width: 100%;
    max-width: 550px;
    background: #224e87;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 12px 25px rgba(34, 78, 135, 0.3);
    margin: 5px 0;
    color: white;
    position: relative;
    z-index: 4;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Sello de calidad - RUTA RELATIVA */
.sello-calidad {
    position: absolute;
    top: -10px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-image: url('../icons/hd-icon.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: #224e87;
    border-radius: 50%;
    padding: 8px;
    border: 2px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 5;
}

/* Información de la canción */
.info-cancion {
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 15px;
}

.titulo-cancion {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.album {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    background-image: url('../icons/vinyl-icon.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 12px;
    padding-left: 18px;
    display: inline-block;
}

/* Tiempo de reproducción */
.tiempo-reproduccion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 0 5px;
}

.tiempo-actual,
.tiempo-total {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.tiempo-total {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Barra de progreso */
.barra-progreso {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 10px 0 15px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s;
}

.barra-progreso:hover {
    height: 6px;
}

.progreso {
    height: 100%;
    background: white;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.punto-progreso {
    position: absolute;
    top: -4px;
    right: -6px;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Controles */
.controles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 8px 0;
    padding: 5px;
}

.btn-control {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.btn-control:hover {
    background: white;
    color: #224e87;
    transform: scale(1.1);
}

.btn-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    color: #224e87;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(34, 78, 135, 0.4);
}

.btn-play:hover {
    background: #f8f9fa;
    transform: scale(1.1);
}

.btn-play.playing {
    background: #224e87;
    color: white;
}

/* Control de volumen */
.control-volumen {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.icono-volumen {
    color: white;
    font-size: 15px;
    min-width: 16px;
}

.barra-volumen {
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.barra-volumen:hover {
    height: 6px;
}

.volumen-progreso {
    height: 100%;
    background: white;
    border-radius: 2px;
    width: 80%;
    position: relative;
}

.punto-volumen {
    position: absolute;
    top: -3px;
    right: -5px;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.porcentaje-volumen {
    font-family: 'Montserrat', sans-serif;
    color: white;
    font-size: 12px;
    font-weight: 600;
    min-width: 30px;
    text-align: right;
}

/* Indicadores K y M */
.indicadores {
    position: absolute;
    top: 15px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.indicador {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
    color: #224e87;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.indicador.k {
    background: rgba(34, 78, 135, 0.9);
    color: white;
}

/* Información adicional */
.info-adicional {
    margin: 8px 0;
    text-align: center;
    padding: 8px 12px;
    width: 100%;
    max-width: 550px;
    color: #444;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(34, 78, 135, 0.1);
    font-size: 13px;
}

.repetir-cancion {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 1.3;
}

/* Footer Bicentenario */
.footer-bicentenario {
    margin: 8px 0 5px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 8px 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.texto-bicentenario {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #1a3b1a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

/* Responsive */
@media (max-height: 600px) {
    .contenedor-principal {
        height: 95vh;
        max-height: 500px;
    }
    
    .titulo-principal {
        font-size: 28px;
    }
    
    .subtitulo {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .contenedor-reproductor {
        padding: 10px;
    }
    
    .titulo-cancion {
        font-size: 20px;
    }
    
    .info-cancion {
        padding-top: 10px;
        margin-bottom: 5px;
    }
    
    .btn-play {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .btn-control {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .texto-bicentenario {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .contenido-musica {
        padding: 10px;
    }
    
    .titulo-principal {
        font-size: 26px;
    }
    
    .subtitulo {
        font-size: 15px;
        padding-left: 20px;
        background-size: 15px;
    }
    
    .contenedor-reproductor {
        padding: 10px;
    }
    
    .titulo-cancion {
        font-size: 20px;
    }
    
    .album {
        font-size: 13px;
    }
    
    .controles {
        gap: 15px;
    }
    
    .btn-play {
        width: 45px;
        height: 45px;
    }
    
    .barra-volumen {
        width: 90px;
    }
    
    .indicadores {
        top: 10px;
        right: 12px;
    }
    
    .indicador {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .texto-bicentenario {
        font-size: 18px;
    }
    
    .info-adicional {
        font-size: 11px;
        padding: 5px 8px;
    }
}