#exit-popup-cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 9999;
    opacity: 0;
    transition: .3s;
    pointer-events: none
}

#exit-popup-cover.active {
    pointer-events: all;
    display: block;
    opacity: 1
}

#exit-popup-close {
    position: absolute;
    width: 30px;
    height: 30px;
    top: -35px;
    right: 0;
    cursor: pointer
}

#exit-popup-close::after,
#exit-popup-close::before {
    position: absolute;
    content: "";
    width: 2px;
    height: 30px;
    background-color: #fff;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto
}

#exit-popup-close::after {
    transform: rotate(45deg)
}

#exit-popup-close::before {
    transform: rotate(-45deg)
}

#exit-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    opacity: 0;
    transform: .5s;
    pointer-events: none;
    width: 700px
}

#exit-popup.active {
    opacity: 1;
    pointer-events: all
}

#exit-popup .content {
    overflow: hidden;
    border-radius: 5px;
    background: #fff
}

#exit-popup .content .popup-img img {
    width: 100%;
    height: auto
}

#exit-popup .btn-area {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px
}

#exit-popup .btn-area a {
    position: relative;
    display: flex;
    justify-content: center;
    background-color: #f90081;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    border-radius: 10px;
    padding: 17px 0 15px;
    width: 440px;
    text-align: center;
    margin: auto;
    text-decoration: none;
    opacity: 1;
    transition: .3s;
    cursor: pointer
}

#exit-popup .btn-area a.pocket {
    background: linear-gradient(90deg, #FF7342 0%, #FF376F 50%, #FF376F 50%, #FF7342 100%) no-repeat 50% 50%/100% 100%;
    background-position: left 0% top 0%;
    background-size: 200% 100%;
}

#exit-popup .btn-area a:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
    width: 0;
    height: 0;
    border-top: 6px solid rgba(0, 0, 0, 0);
    border-bottom: 6px solid rgba(0, 0, 0, 0);
    border-left: 10px solid #fff
}

#exit-popup .btn-area a:hover {
    opacity: .8
}

#exit-popup .btn-area a.arrow:after {
    width: 10px;
    height: 10px;
    border: none;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg)
}

@media(max-width: 768px) {
    #exit-popup {
        width: 90%;
        max-width: 300px
    }

    #exit-popup .btn-area {
        padding: 0 10px;
        margin-top: 15px;
        margin-bottom: 10px
    }

    #exit-popup .btn-area a {
        width: 100%;
        font-size: 14px;
        padding: 12px 0 10px
    }
}