#popup-lucky {
    font-size: 16px;
    z-index: 999999;
    --gray: #A3A3A6;
    --red: #ed1c24;
    --focus-border: #000;
    --focus-color: #79797B;
    --error-border: #E32E22;
    --error-color: #E32E22;
    width: 100%;
    height: 100%;
}

#popup-lucky .popup-overlay {
    background-color: rgba(0, 0, 0, .66);
    width: 100%;
    height: 100%;
}

#popup-lucky .popup-content {
    padding-left: 3em;
    gap: 3em;
    top: 156px;
    flex-basis: 1076px;
    max-height: 100%;
    height: 538px;
    align-self: flex-start;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    background-image: url(../images/hero/popup-back.jpg);
    background-image: -webkit-image-set(url("../images/hero/popup-back.jpg") 1x, url("../images/hero/popup-back@2x.jpg") 2x);
    max-width: calc(100% - 30px);
    transition: all .5s;
    transform: translateX(-100%);
}

#popup-lucky .popup-content.thanks {
    transition: none;
    flex-basis: 783px;
    background-image: url(../images/hero/thanks-back.jpg);
    background-image: -webkit-image-set(url("../images/hero/thanks-back.jpg") 1x, url("../images/hero/thanks-back@2x.jpg") 2x);
}

#popup-lucky .popup-close:before,
#popup-lucky .popup-close:after {
    display: none;
}

#popup-lucky .popup-content.on {
    transform: translateX(0);
}

#popup-lucky .july-left {
    flex-basis: 386px;
    flex-grow: 0;
    flex-shrink: 0;
    padding: 0 15px;
}

#popup-lucky .july-default,
#popup-lucky .july-thanks {
    flex-grow: 1;
    padding: 0 19px;
    max-width: calc(100% - 386px);
}

#popup-lucky .button {
    padding: 0;
    font-size: 1.1em;
    width: 10em;
    height: 2.2em;
    border-radius: 1.1em;
    margin-top: 15px;
    background-color: #b71319;
}

#popup-lucky .form-action {
    display: flex;
    justify-content: center;
    align-items: center;
}

#popup-lucky p {
    margin: 0;
    padding: 0;
    line-height: 1;
}

#popup-lucky .form-text {
    margin-bottom: 10px;
    left: 13px;
}

#popup-lucky .form-text1 {
    margin-bottom: 10px;
    max-width: 312px;
    font-size: 37px;
    line-height: 38px;
    font-weight: 800;
    text-align: center;
    filter: drop-shadow(3.464px 2px 2.5px rgba(0, 0, 0, 0.5));
}

#popup-lucky .form-text2 {
    padding-right: 6px;
    top: -6px;
    font-size: 56px;
    color: #b71319;
    font-weight: 400;
    text-align: center;
    filter: drop-shadow(3.464px 2px 2.5px rgba(0, 0, 0, 0.5));
    -webkit-text-stroke: 3px #ffffff;
    paint-order: stroke fill;
    font-variant-ligatures: no-contextual;
}

#popup-lucky .form-text3 {
    top: -15px;
    left: -12px;
    font-size: 39px;
    color: #b71319;
    font-weight: 400;
    text-align: center;
    filter: drop-shadow(3.464px 2px 2.5px rgba(0, 0, 0, 0.5));
    -webkit-text-stroke: 3px #ffffff;
    paint-order: stroke fill;
    font-variant-ligatures: no-contextual;
        padding: 0 12px;
}

#popup-lucky .prize1-text1 {
    font-size: 80px;
    line-height: 47px;
    color: #9c0e13;
    font-weight: 800;
    text-align: center;
    filter: drop-shadow(0px 5px 1px rgba(0, 0, 0, 0.26));
    -webkit-text-stroke: 3px #ffffff;
    paint-order: stroke fill;
    top: 3px;
    position: relative;
}

#popup-lucky .prize1-text1 span {
    font-size: 39px;
    position: relative;
    top: -21px;
    left: -4px;
}

#popup-lucky .prize1-text2 {
    margin-left: 8px;
    position: relative;
    text-align: left;
    top: -2px;
    padding-left: 10px;
    max-width: 120px;
    font-size: 33px;
    line-height: 29px;
    color: #ffffff;
    font-weight: 800;
    filter: drop-shadow(0px 5px 1px rgba(0, 0, 0, 0.26));
}


#popup-lucky .thanks-top {
    font-size: 45px;
    color: #ffffff;
    font-weight: 400;
    text-align: center;
    margin-bottom: 21px;
}

#popup-lucky .main-text {
    font-size: 17px;
    line-height: 23px;
    color: #ffffff;
    text-align: center;
    max-width: 343px;
    margin-top: 14px;
}

#popup-lucky .code {
    font-size: 28px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    margin: 10px auto;
    letter-spacing: 1px;
}

#popup-lucky .lucky-thanks .button {
    margin-top: 8px;
}

#popup-lucky .disclaimer {
    width: 302px;
    font-size: 10px;
    line-height: 12px;
    color: #ffffff;
    text-align: center;
    margin-top: 23px;
}

#popup-lucky .popup-close {
    top: 0;
    right: 0;
    padding: 16px;
    width: unset;
    height: unset;
}

#popup-lucky .prize2-text1 {
    font-size: 67px;
    color: #9c0e13;
    font-weight: 800;
    font-family: "Sofia Pro";
    text-align: center;
    filter: drop-shadow(0px 5px 1px rgba(0, 0, 0, 0.26));
    -webkit-text-stroke: 3px #ffffff;
    paint-order: stroke fill;
}

#popup-lucky .prize2-text2 {
    font-size: 33px;
    color: #ffffff;
    font-weight: 800;
    text-align: center;
    filter: drop-shadow(0px 5px 1px rgba(0, 0, 0, 0.26));
    margin-top: 5px;
}

@supports (background: -webkit-named-image(i)) {
    #popup-lucky .button {
        padding-top: 3px !important;
    }
}


@media screen and (max-width: 991px) {}

@media screen and (max-width: 767px) {
    #popup-lucky {
        left: inherit;
        width: 100%;
        justify-content: center;
    }

    #popup-lucky .popup-content {
        background-position: bottom center;
        background-image: url(../images/hero/popup-back-m.jpg);
        background-image: -webkit-image-set(url("../images/hero/popup-back-m.jpg") 1x, url("../images/hero/popup-back-m@2x.jpg") 2x);
        flex-basis: auto;
        transform: translateY(100%);
        align-self: flex-end;
    }

    #popup-lucky .popup-content.thanks {
        background-position: bottom center;
        background-image: url(../images/hero/thanks-back-m.jpg);
        background-image: -webkit-image-set(url("../images/hero/thanks-back-m.jpg") 1x, url("../images/hero/thanks-back-m@2x.jpg") 2x);
        flex-basis: auto;
        transform: translateY(100%);
        align-self: flex-end;
    }

    #popup-lucky .popup-content.on {
        transform: translatey(0);
        padding: 0 15px;
        width: 100%;
        height: 100%;
        top: 0;
        flex-direction: column-reverse;
        max-width: 100%;
        gap: 1em;
        justify-content: flex-end;
    }

    #popup-lucky .july-default,
    #popup-lucky .july-thanks {
        margin: 0 auto;
        padding: 45px 0 25px;
        display: flex;
        align-items: center;
    }

    #popup-lucky .july-default,
    #popup-lucky .july-form {
        max-width: 100%;
    }

    #popup-lucky .july-left {
        flex-basis: auto;
        padding: 0;
        order: 2;
        padding-bottom: 20px;
    }

    #popup-lucky .slot {
        width: 312px;
    }

    #popup-lucky .july-thanks {
        flex-direction: column;
        justify-content: center;
    }

    #popup-lucky .july-thanks img {
        width: 250px;
    }

    #popup-lucky .form-text1 {
        font-size: 29px;
        line-height: 34px;
        font-weight: 800;
        text-align: center;
        margin-top: 1em;
        max-width: unset;
    }

    #popup-lucky .form-7 {
        width: 70px;
    }

    #popup-lucky .form-action {
        padding: 0;
    }

    #popup-lucky .popup-close {
        padding: 13px;
        right: 0;
        width: unset;
        height: unset;
    }

    #popup-lucky .thanks-top {
        font-size: 45px;
        margin-top: 38px;
    }

    #popup-lucky .main-text {
        font-size: 17px;
        line-height: 21px;
    }

    #popup-lucky .code {
        font-size: 30px;
    }

    #popup-lucky .disclaimer {
        font-size: 11px;
        line-height: 15px;
        margin-top: 2px;
    }

    #popup-lucky .prize1-text2 {
        margin-left: 8px;
        padding-left: 0;
    }

    #popup-lucky .prize1-text1 {
        top: 6px;
        position: relative;
    }

    #popup-lucky .doublesevens-box {
        left: 7px;
    }
}

@media screen and (max-width: 414px) and (max-height: 700px) {}