/* ===================================
   VIDEOLITICS PARA WEBFLOW
   Estilos encapsulados con prefijo 'vl-'
   =================================== */

/* Contenedor del video */
#videolitics-player {
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* Loading */
.vl-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.vl-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: vl-spin 1s linear infinite;
}

@keyframes vl-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal de continuar */
.vl-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: vl-fade-in 0.3s ease;
}

.vl-modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.vl-modal-content h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #333;
}

.vl-modal-content p {
    margin: 0 0 25px 0;
    color: #666;
    font-size: 16px;
}

.vl-modal-buttons {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.vl-btn-primary,
.vl-btn-secondary {
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vl-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.vl-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.vl-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.vl-btn-secondary:hover {
    background: #e0e0e0;
}

/* Botón de WhatsApp (opcional) */
.vl-whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white !important;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 99998;
    transition: all 0.3s ease;
    display: none;
    animation: vl-slide-up 0.5s ease;
}

.vl-whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Clase para sección visible (opcional - Webflow puede usar sus propias animaciones) */
.vl-section-visible {
    /* Webflow manejará las animaciones */
}

/* Animaciones */
@keyframes vl-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes vl-slide-up {
    from {
        opacity: 0;
        bottom: -50px;
    }
    to {
        opacity: 1;
        bottom: 20px;
    }
}

/* Responsive */
@media (max-width: 767px) {
    .vl-modal-content {
        padding: 25px;
    }
    
    .vl-modal-content h3 {
        font-size: 20px;
    }
    
    .vl-whatsapp-btn {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 13px;
    }
}