/* Xenttia Visitor Popup – v2.0.0 (blocker) */

.xvp-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: xvpFadeIn 0.3s ease;
}

@keyframes xvpFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes xvpSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.xvp-popup {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 36px 36px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: xvpSlideUp 0.35s ease;
    /* No se puede seleccionar texto detrás */
    user-select: none;
    -webkit-user-select: none;
}

/* Logo */
.xvp-logo {
    margin-bottom: 20px;
}

.xvp-logo img {
    max-height: 40px;
    width: auto;
}

/* Title */
.xvp-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    line-height: 1.3;
}

/* Message */
.xvp-message {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 28px;
}

.xvp-message a {
    color: var(--xvp-primary, #6C3EB6);
    text-decoration: underline;
}

/* Action buttons */
.xvp-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xvp-btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}

.xvp-btn:hover {
    transform: translateY(-1px);
}

.xvp-btn-primary {
    background: var(--xvp-primary, #6C3EB6);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(108, 62, 182, 0.35);
}

.xvp-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(108, 62, 182, 0.5);
    color: #ffffff;
}

.xvp-btn-secondary {
    background: transparent;
    color: var(--xvp-primary, #6C3EB6);
    border: 2px solid var(--xvp-primary, #6C3EB6);
}

.xvp-btn-secondary:hover {
    background: var(--xvp-primary, #6C3EB6);
    color: #ffffff;
}

/* Mobile */
@media (max-width: 480px) {
    .xvp-popup {
        padding: 32px 24px 28px;
        border-radius: 12px;
    }

    .xvp-title {
        font-size: 19px;
    }

    .xvp-message {
        font-size: 14px;
    }

    .xvp-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}
