.exit-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

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

.exit-popup {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border-radius: 20px;
    padding: 50px;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 2px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 100px rgba(255, 215, 0, 0.1);
    animation: slideUp 0.4s ease;
    overflow: hidden;
}

.exit-popup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('TC BANNER2.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.12;
    filter: blur(1px);
    z-index: 0;
    pointer-events: none;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.exit-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #888;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 1;
}

.exit-popup-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.exit-popup-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.exit-popup-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.exit-popup-highlight {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 600;
}

.exit-popup-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.popup-feature {
    background: rgba(74, 144, 226, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    border-left: 3px solid #4a90e2;
    text-align: left;
    color: #ffffff;
    font-weight: 500;
}

.exit-popup-divider {
    font-size: 0.95rem;
    color: #888;
    margin: 20px 0;
    font-weight: 400;
}

.exit-popup-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 15px;
}

.exit-popup-cta.primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    border: 2px solid transparent;
}

.exit-popup-cta.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}

.exit-popup-cta.primary i {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.exit-popup-cta.secondary {
    background: rgba(74, 144, 226, 0.15);
    color: #4a90e2;
    border: 2px solid #4a90e2;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.2);
    font-size: 1rem;
    padding: 15px 30px;
}

.exit-popup-cta.secondary:hover {
    background: rgba(74, 144, 226, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.exit-popup-cta span {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.8;
}

.exit-popup-dismiss {
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.exit-popup-dismiss:hover {
    color: #888;
}

@media (max-width: 768px) {
    .exit-popup {
        padding: 25px 20px;
        max-height: 85vh;
        overflow-y: auto;
        width: 95%;
        margin: 20px auto;
    }

    .exit-popup-content h2 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .exit-popup-highlight {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .exit-popup-features {
        gap: 10px;
        margin: 20px 0;
    }

    .popup-feature {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .exit-popup-cta {
        font-size: 1rem;
        padding: 16px 25px;
        margin-bottom: 12px;
    }

    .exit-popup-cta.primary {
        padding: 18px 30px;
    }

    .exit-popup-cta.primary i {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }

    .exit-popup-cta.secondary {
        padding: 14px 25px;
        font-size: 0.95rem;
    }

    .exit-popup-divider {
        font-size: 0.85rem;
        margin: 15px 0;
    }

    .exit-popup-close {
        width: 50px;
        height: 50px;
        font-size: 36px;
        background: rgba(255, 255, 255, 0.1);
        top: 10px;
        right: 10px;
    }

    .exit-popup-dismiss {
        font-size: 0.85rem;
        padding: 12px;
        margin-top: 5px;
        display: inline-block;
    }
}