#popup-oct2 {
    --popup-width: 704px;
    --popup-height: 498px;
    --close-x: 32px;
    --close-y: 34px;
    --text-dist: 38px;
    --submit-width: 206px;
    --submit-height: 40px;
    --submit-radius: 20px;
    --submit-fontsize: 1.125em;
    --submit-dist: 6.5px;
    --thanks-button-dist: 35px;
    --blue: #2a3b74;
}

@font-face {
    font-family: 'Wak';
    src: url('../../../../fonts/wak-bold/Wak-Bold.woff2') format('woff2'),
        url('../../../../fonts/wak-bold/Wak-Bold.woff') format('woff'),
        url('../../../../fonts/wak-bold/Wak-Bold.ttf') format('truetype'),
        url('../../../../fonts/wak-bold/Wak-Bold.svg#Wak-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

#popup-oct2 .wak-bold {
    font-family: 'Wak';
}


html,
body {
    overflow-x: hidden;
}

#popup-oct2 .popup-content {
    width: 630px;
    height: 630px;
    padding: 0;
    background-image: url(../images/hero/popup-back.jpg);
    background-image: -webkit-image-set(url("../images/hero/popup-back.webp") 1x,
            url("../images/hero/popup-back@2x.webp") 2x);
}

#popup-oct2 picture {
    display: contents;
}

#popup-oct2 .popup-close {
    width: auto;
    height: auto;
    top: 0;
    right: 0;
    padding: 17px;
}

#popup-oct2 form {
    margin-top: 36px;
    width: 571px;
}

#popup-oct2 .button {
    width: 136px;
    height: 45px;
    color: #FFF;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;
    border-radius: 54px;
    background: #6DB650;
    margin-top: 10px;
}

#popup-oct2 .popup-thanks .button {
    margin-top: 30px;
    width: 235px;
    background-color: #6DB650;
}

#popup-oct2 .form-text,
#popup-oct2 .game-text {
    color: #FFF;
    text-align: center;
    font-size: 46px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0;
}

#popup-oct2 .game-text {
    margin-bottom: 10px;
}

#popup-oct2 .thanks-top {
    color: #FFF;
    text-align: center;
    font-size: 53.258px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 5px;
}

#popup-oct2 .thanks-bottom {
    color: #FFF;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    line-height: normal;
    margin-bottom: 24px;
    margin-top: 16px;
}

#popup-oct2 .thanks-note {
    color: #FFF;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 0;
}

#popup-oct2 .scratch-wrapper {
    width: 465px;
    height: 484px;
}

#popup-oct2 .popup-black {
    width: 100%;
}

#popup-oct2 .main-text1 {
    rotate: -1.35deg;
    color: #FFF;
    font-size: 62.674px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    bottom: 16px;
}

#popup-oct2 .thanks-img {
    margin-bottom: -33px;
    margin-top: -114px;
}

@media screen and (min-width: 568px) {
    .cursor-area {
        position: relative;
        border: none;
        cursor: none;
    }

    #fake-cursor {
        position: absolute;
        width: 90px;
        height: 90px;
        pointer-events: none;
        background-image: url(../images/hero/coin.png);
        background-image: -webkit-image-set(url("../images/hero/coin.webp") 1x);
        background-size: contain;
        display: none;
        z-index: 10;
    }
}

@media screen and (max-width: 567px) {
    #popup-oct2 {
        --popup-width: 100%;
        --popup-height: 100%;
        --close-x: 16px;
        --close-y: 20px;
        --text-dist: 21px;
        --submit-width: 150px;
        --submit-height: 33px;
        --submit-radius: 17px;
        --submit-fontsize: 0.8125em;
        --submit-dist: 10px;
        --thanks-button-dist: 24px;
    }

    #popup-oct2 .popup-content {
        width: 100%;
        height: 100%;
        background-image: url(../images/hero/popup-back-m.png);
        background-image: -webkit-image-set(url("../images/hero/popup-back-m.webp") 1x,
                url("../images/hero/popup-back-m@2x.webp") 2x);
    }

    #popup-oct2 .form-text,
    #popup-oct2 .game-text {
        font-size: 9.7cqw;
        line-height: 11cqw;
    }

    #popup-oct2 form {
        margin-top: 5cqw;
        width: 89%;
    }

    #popup-oct2 .button {
        width: 35cqw;
        height: 11cqw;
        margin-top: 2cqw;
        border-radius: 5.5cqw;
        font-size: 5.5cqw;
    }

    #popup-oct2 .scratch-wrapper {
        width: 400px;
        height: auto;
        max-width: 92%;
        aspect-ratio: 353.572 / 368.019;
    }

    #popup-oct2 .popup-game {
        justify-content: center;
    }

    #popup-oct2 .game-text {
        margin-bottom: 10cqw;
    }

    #popup-oct2 .thanks-top {
        font-size: 9cqw;
        line-height: 7cqw;
        margin-bottom: 1cqw;
    }

    #popup-oct2 .thanks-bottom {
        font-size: 6cqw;
        line-height: 9cqw;
        margin-top: 3cqw;
        margin-bottom: 7cqw;
    }

    #popup-oct2 .thanks-note {
        font-size: 6cqw;
        line-height: 9cqw;
    }

    #popup-oct2 .popup-thanks .button {
        width: 58cqw;
    }

    #popup-oct2 .main-text1 {
        font-size: 10.5cqw;
        line-height: 0;
        bottom: unset;
        padding-bottom: 2cqw;
    }

    #popup-oct2 .thanks-img {
        margin-bottom: -6cqw;
        margin-top: -12cqw;
        width: 53cqw;
    }
}