/**
 * VMusic Player Suite - Estilos del Reproductor y Paywall Modal
 * Consolida estilos de vmusic-trackplayer + vmusic-bundle-fixes
 */

/* =========================================================
   MODAL DEL PAYWALL
   ========================================================= */

#vmtp-paywall-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    backdrop-filter: blur(5px);
}

.vmtp-modal-content {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    padding: 40px 50px;
    border-radius: 16px;
    max-width: 420px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.vmtp-modal-content h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}

.vmtp-modal-content p {
    margin: 0 0 10px 0;
    color: #999;
    font-size: 15px;
    line-height: 1.5;
}

.vmtp-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #555;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.vmtp-modal-close:hover {
    color: #fff;
}

.vmtp-btn-pay {
    display: inline-block;
    background: linear-gradient(135deg, #e6b91e, #d4a017);
    color: #000;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 185, 30, 0.3);
}

.vmtp-btn-pay:hover {
    background: linear-gradient(135deg, #f5c623, #e6b91e);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 185, 30, 0.4);
    color: #000;
    text-decoration: none;
}

/* =========================================================
   BOTÓN DE PLAY EN PORTADAS
   ========================================================= */

.vmc-cover-as-play {
    position: relative;
    cursor: pointer;
}

.vmc-cover-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.vmc-cover-as-play:hover .vmc-cover-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.vmc-cover-play .vmc-icon {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.vmc-cover-play .vmc-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
}

/* Estado Playing */
.vmc-cover-play.is-playing .vmc-icon::before {
    border-width: 0;
    width: 4px;
    height: 20px;
    background: #fff;
    box-shadow: 10px 0 0 #fff;
    left: 50%;
}

/* =========================================================
   INDICADORES DE REPRODUCCIÓN EN LISTA
   ========================================================= */

a.fap-single-track.is-playing {
    color: #e6b91e !important;
    font-weight: 600;
}

a.fap-single-track.is-playing::before {
    content: '▶ ';
    color: #e6b91e;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 480px) {
    .vmtp-modal-content {
        margin: 20px;
        padding: 30px 25px;
    }
    
    .vmtp-modal-content h3 {
        font-size: 20px;
    }
    
    .vmtp-btn-pay {
        padding: 12px 24px;
        font-size: 14px;
    }
}
