/* SISTEMA DE LETRAS - OPCIÓN A */
/* Desktop: Hover + Click | Móvil: Doble tap */

/* POPUP DE LETRAS */
.lyrics-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 14000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.lyrics-popup.show {
    opacity: 1;
}

/* CONTENIDO DEL POPUP */
.lyrics-content {
    background: rgba(20, 20, 20, 0.95);
    border: 2px solid #ff3366;
    border-radius: 16px;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* HEADER DEL POPUP */
.lyrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 51, 102, 0.3);
}

.lyrics-header h3 {
    color: #ff3366;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    margin: 0;
    letter-spacing: 1px;
}

.lyrics-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* BOTONES DE PLATAFORMAS */
.spotify-btn, .youtube-btn {
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.spotify-btn {
    background: #1DB954;
}

.spotify-btn:hover {
    background: #1ed760;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.4);
}

.youtube-btn {
    background: #FF0000;
}

.youtube-btn:hover {
    background: #FF3333;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

/* BOTÓN CERRAR */
.close-lyrics {
    background: none;
    border: none;
    color: #ff3366;
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    line-height: 1;
    position: relative;
    z-index: 14001;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-lyrics:hover,
.close-lyrics:active,
.close-lyrics:focus {
    color: #ff6b8a;
    transform: scale(1.1);
    background: rgba(255, 51, 102, 0.1);
    border-radius: 50%;
}

/* Mejoras específicas para móvil */
@media (max-width: 768px) {
    .close-lyrics {
        font-size: 32px;
        min-width: 50px;
        min-height: 50px;
        padding: 12px;
        margin: 4px;
    }
    
    .close-lyrics:active {
        background: rgba(255, 51, 102, 0.2);
        transform: scale(1.2);
    }
}

/* TEXTO DE LETRAS */
.lyrics-text {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
    color: white;
    font-size: 16px;
    line-height: 1.6;
    font-family: 'Inter', -apple-system, sans-serif;
}

.lyrics-text p {
    margin: 8px 0;
    padding: 0;
}

/* SCROLLBAR PERSONALIZADO */
.lyrics-text::-webkit-scrollbar {
    width: 6px;
}

.lyrics-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.lyrics-text::-webkit-scrollbar-thumb {
    background: #ff3366;
    border-radius: 3px;
}

.lyrics-text::-webkit-scrollbar-thumb:hover {
    background: #ff6b8a;
}

/* RESPONSIVE - MÓVIL */
@media (max-width: 768px) {
    .lyrics-popup {
        padding: 10px;
    }
    
    .lyrics-content {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 12px;
    }
    
    .lyrics-header {
        padding: 15px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .lyrics-header h3 {
        font-size: 24px;
    }
    
    .lyrics-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .spotify-btn, .youtube-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .lyrics-text {
        padding: 15px;
        font-size: 15px;
        max-height: 65vh;
    }
}

/* INDICADOR VISUAL PARA TRACKS CLICKEABLES */
#slide-2 .track-preview {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#slide-2 .track-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.3);
}