/* Pop-up de Saída - Exit Intent */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.exit-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.exit-popup {
    background: linear-gradient(180deg, #ff1493 0%, #ff69b4 30%, #da70d6 100%);
    border-radius: 30px;
    padding: 45px 35px;
    max-width: 550px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 80px rgba(255, 20, 147, 0.8),
                0 0 120px rgba(218, 112, 214, 0.6),
                inset 0 0 80px rgba(255, 255, 255, 0.1);
    border: 5px solid #fff;
    animation: popupEntrance 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-align: center;
}

@keyframes popupEntrance {
    0% {
        transform: scale(0.3) rotate(-10deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.exit-popup-header {
    margin-bottom: 20px;
}

.warning-icon {
    font-size: 70px;
    display: inline-block;
    animation: warningPulse 1s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(255, 235, 59, 1));
}

@keyframes warningPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.15) rotate(-5deg);
    }
    75% {
        transform: scale(1.15) rotate(5deg);
    }
}

.exit-popup-title {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 20px 0;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: titleShake 0.5s ease;
}

@keyframes titleShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.exit-popup-text {
    color: #fff;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 25px 0;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

.exit-popup-text strong {
    color: #ffeb3b;
    font-weight: 900;
    font-size: 20px;
    text-shadow: 0 3px 15px rgba(255, 235, 59, 0.8);
}

.exit-popup-warning {
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 25px;
    margin: 30px 0;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: warningBoxPulse 2s ease-in-out infinite;
}

@keyframes warningBoxPulse {
    0%, 100% {
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                    inset 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        border-color: rgba(255, 235, 59, 0.8);
        box-shadow: 0 8px 40px rgba(255, 235, 59, 0.5),
                    inset 0 0 30px rgba(255, 235, 59, 0.2);
    }
}

.exit-popup-warning p {
    color: #fff;
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    font-weight: 600;
}

.exit-popup-warning strong {
    color: #ffd700;
    font-weight: 900;
    font-size: 19px;
    text-transform: uppercase;
    text-shadow: 0 3px 15px rgba(255, 215, 0, 0.8);
}

.exit-popup-button {
    display: block;
    background: linear-gradient(135deg, #7ed321 0%, #5fb300 100%);
    color: #000;
    text-align: center;
    padding: 25px 45px;
    border-radius: 60px;
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
    margin: 30px 0 0 0;
    box-shadow: 0 15px 50px rgba(126, 211, 33, 0.8),
                0 0 80px rgba(126, 211, 33, 0.6),
                inset 0 5px 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: buttonMegaGlow 1.2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 4px solid #fff;
    position: relative;
    overflow: hidden;
}

.exit-popup-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: rotate(45deg);
    animation: buttonShine 2s linear infinite;
}

@keyframes buttonShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes buttonMegaGlow {
    0%, 100% {
        box-shadow: 0 15px 50px rgba(126, 211, 33, 0.8),
                    0 0 80px rgba(126, 211, 33, 0.6),
                    inset 0 5px 20px rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 20px 70px rgba(126, 211, 33, 1),
                    0 0 120px rgba(126, 211, 33, 0.9),
                    inset 0 5px 30px rgba(255, 255, 255, 0.5);
        transform: scale(1.08);
    }
}

.exit-popup-button:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 70px rgba(126, 211, 33, 1),
                0 0 120px rgba(126, 211, 33, 0.9);
}

.exit-popup-button:active {
    transform: scale(0.98);
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    font-size: 36px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: 300;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.exit-popup-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsivo Mobile-First */
@media (max-width: 600px) {
    .exit-popup {
        padding: 35px 25px;
        max-width: 95%;
        border-radius: 25px;
    }
    
    .exit-popup-title {
        font-size: 20px;
        letter-spacing: 0.5px;
    }
    
    .exit-popup-text {
        font-size: 16px;
    }
    
    .exit-popup-text strong {
        font-size: 17px;
    }
    
    .exit-popup-warning {
        padding: 20px;
        margin: 25px 0;
    }
    
    .exit-popup-warning p {
        font-size: 15px;
    }
    
    .exit-popup-warning strong {
        font-size: 16px;
    }
    
    .exit-popup-button {
        font-size: 19px;
        padding: 22px 35px;
    }
    
    .warning-icon {
        font-size: 55px;
    }
    
    .exit-popup-close {
        width: 45px;
        height: 45px;
        font-size: 32px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 400px) {
    .exit-popup {
        padding: 30px 20px;
    }
    
    .exit-popup-title {
        font-size: 18px;
    }
    
    .exit-popup-text {
        font-size: 15px;
    }
    
    .exit-popup-warning p {
        font-size: 14px;
    }
    
    .exit-popup-button {
        font-size: 17px;
        padding: 20px 30px;
    }
}