/* ============================================================
   EXIT INTENT POPUP — Glassmorphism + Neon
   ============================================================ */
.exit-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.exit-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.exit-content {
    position: relative;
    max-width: 480px;
    width: 100%;
    background: rgba(14, 14, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(200, 155, 60, 0.25);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow:
        0 0 40px rgba(200, 155, 60, 0.12),
        0 0 80px rgba(200, 155, 60, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-40px) scale(0.92);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}

.exit-overlay.active .exit-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Неоновая подсветка по контуру */
.exit-content::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(200, 155, 60, 0.3), transparent 40%, transparent 60%, rgba(200, 155, 60, 0.15));
    z-index: -1;
    filter: blur(1px);
}

.exit-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.exit-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.exit-icon {
    font-size: 52px;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 12px rgba(200, 155, 60, 0.4));
}

.exit-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(200, 155, 60, 0.2);
}

.exit-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.exit-text strong {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(200, 155, 60, 0.3);
}

.exit-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    text-align: left;
}

.exit-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.exit-bullets li:last-child {
    border-bottom: none;
}

.exit-bullets li .bullet-icon {
    color: var(--color-primary);
    font-size: 18px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(200, 155, 60, 0.4));
}

.exit-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--color-primary), #a67c28);
    color: #0e0e0e;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-main);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(200, 155, 60, 0.3);
}

.exit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(200, 155, 60, 0.45);
}

.exit-note {
    font-size: 12px;
    color: rgba(187, 187, 187, 0.5);
}

@media (max-width: 480px) {
    .exit-content {
        padding: 28px 20px;
    }
    .exit-title {
        font-size: 24px;
    }
    .exit-icon {
        font-size: 44px;
    }
}
