@keyframes spin {
    0% {
        transform: translate(0, 0) rotate(0deg)
    }

    to {
        transform: translate(0, 0) rotate(360deg)
    }
}

@keyframes pulseScale {

    0%,
    to {
        transform: scale(1)
    }

    30%,
    70% {
        transform: scale(1.1)
    }

    50% {
        transform: scale(.95)
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: pointer
}

body,
html {
    position: relative;
    background-color: #381c53
}

html {
    width: 100%
}

.mainDiv {
    margin: 0 auto;
    max-width: 720px

    /*margin: 0 auto;
    max-width: 7.5rem;
    width: 100%;
    min-height: 100vh;
    position: relative;
    background-color: #381c53;*/
}

.mainDiv,
.mainDiv img {
    position: relative;
    width: 100%
}

.CdcsDIA .APQWIAa {
    position: absolute;
    top: -1%;
    left: 2%;
    /*border-radius: 5px solid #ccc;*/
    width: 12%;
    height: 12%
}

.X38HDvo,
.kraKDyu {
    transform: translateX(-50%)
}

.kraKDyu {
    width: 77%;
    height: 77%;
    position: absolute;
    top: 13.5%;
    left: 50%
}

.kraKDyu .TvYS5ol {
    width: 100%;
    transition: transform 5s cubic-bezier(.2, .8, .3, 1)
}

.X38HDvo {
    width: 30%;
    height: 30%;
    top: -13%;
    background: url(../res/spin.png)no-repeat center;
    background-size: contain;
    z-index: 999;
    transform-origin: center center
}

.AQ9YU57,
.X38HDvo,
.vMIAypL {
    position: absolute;
    left: 50%
}

.vMIAypL {
    width: 43%;
    height: 43%;
    top: 25%;
    transform: translate(-50%, -50%);
    background: url(../res/spin-btn.png)no-repeat center;
    background-size: contain;
    z-index: 999
}

.AQ9YU57 {
    width: 40%;
    bottom: 2%;
    transform: translateX(-50%)
}

.AQ9YU57 .EHc4CxS {
    width: 100%;
    border-radius: 40px;
    animation: pulseScale 2s ease-in-out infinite;
    transition: all 1.8s cubic-bezier(.68, -.55, .27, 1.55);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-animation: pulseScale 2s infinite;
    -webkit-transform: translateZ(0)
}

.AQ9YU57 .EHc4CxS:hover {
    animation-play-state: paused;
    transform: scale(1.1);
    filter: brightness(110%)
}

@supports not (animation-play-state:paused) {
    .AQ9YU57 .EHc4CxS:hover {
        animation: none;
        transform: scale(1.1)
    }
}

.firstModal,
.secondModal {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    top: 0;
    left: 0;
    z-index: 1000;
    color: #454343;
    display: none
}

.firstModal .miBs1Zu,
.secondModal .miBs1Zu {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1009;
    background-color: #fff;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .3);
    border-radius: 5%;
    width: 520px;
    height: 600px;
    padding: 20px 0;
    text-align: center;
}

.secondModal .miBs1Zu {
    border-radius: 8px;
    padding: 0;
    position: absolute;
}

.miBs1Zu .Ig2nQP8,
.miBs1Zu .download-close {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 5px;
    right: 5px;	
    cursor: pointer;
    background: url(../res/close.png)no-repeat;
    background-size: contain
}

.firstModal .ULoAL1r {
    font-size: 30px
}

.secondModal .ULoAL1r {
    font-size: 26px;
    color: #fff
}

.firstModal .rs1HgKs {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 50%;
    margin-top: 40px;
}

.firstModal .rs1HgKs img {
    width: 30%
}

.firstModal .dTATXxM {
    width: 100%;
    font-size: 26px;
    margin-top: 40px;
}

.iwXwIC2 img {
    /*margin-top: 5%;*/
    padding-top: 15%;
    width: 30%
}

.dKLgCrC {
    font-size: 30px;
    color: #b86412;
}

.asnHQM2 {
    font-size: 26px;
    margin-top: 13%
}

.miBs1Zu .GQmAol2 {
    position: absolute;
    width: 40%;
    height: 18%;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%)
}

.firstModal .lglwgQz,
.secondModal .lglwgQz {
    width: 100%;
    height: 100%;
    animation: pulseScale 2s ease-in-out infinite;
    transition: all 1.8s cubic-bezier(.68, -.55, .27, 1.55);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-animation: pulseScale 2s infinite;
    -webkit-transform: translateZ(0)
}

.secondModal .y8wS2dq {
    height: 80px;
    background-color: #269e09;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px 8px 0 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.firstModal .zA50oXv,
.secondModal .lS4D0aw {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 38px;
}

.secondModal .lS4D0aw {
    background-color: #269e09;
    box-shadow: 0 2px 0 rgba(5, 145, 255, .1);
    width: 320px;
    height: 70px;
    bottom: 10%;
    line-height: 60px;
    border-radius: 6px;
    font-weight: 600
}

.lglwgQz img {
    width: 100%
}

.firstModal .zA50oXv {
    width: 100%;
    bottom: -15%;
    font-size: 18px
}

.dialog-message {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

.dialog-message-content {
    position: absolute;
    width: 85%;
    max-width: 600px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    border: 2px solid #d6bd58;
    background-image: linear-gradient(to bottom, #213f2e, #264c37, #1c3c2b);
}

.dialog-message-text {
    margin-top: 0.6rem;
}

.dialog-message-text>p {
    color: #ead99a;
    font-size: 16px;
    text-align: center;
    line-height: 30px;
}

.dialog-message-text>p:last-child {
    margin-bottom: 0.5rem;
}

.dialog-message-btn {
    width: 38%;
    height: 0.8rem;
    margin: 0.4rem auto;
}

@media screen and (max-width:720px) {
    .mainDiv {
        width: 100%
    }

    .firstModal .miBs1Zu,
    .secondModal .miBs1Zu {
        width: 85%;
        height: auto;
        min-height: 500px;  
        padding: 20px 10px;  
    }

    /*.secondModal .y8wS2dq {
        width: 85%;
    }*/

    /* Logo 调整 */
    /*.CdcsDIA .APQWIAa {
        top: 10px;
        left: 10px;
        width: 50px;
        height: auto;
    }*/

    /* 转盘容器调整 */
    /*.kraKDyu {
        width: 135%;
        height:135%;
        top: 13.5%;
        left: 50%;
    }*/

    /* 转盘spin按钮调整 */
    /*.vMIAypL {
        width: 40%;
        height: 40%;
        top: 15%;
    }*/

    /* 转盘上方指针调整 */
    /*.X38HDvo {
        width: 32%;
        height: 32%;
        top: -15%;
    }*/

    .secondModal .ULoAL1r {
        font-size: 22px
    }

    .firstModal .ULoAL1r {
        font-size: 30px;
        margin-top: 10px
    }

    .firstModal .dTATXxM {
        font-size: 18px;
        margin-top: 20px
    }

    .firstModal .zA50oXv {
        font-size: 14px;
        bottom: -10%;
    }

    .firstModal .rs1HgKs { 
        margin-top: 20px; 
    }

    .firstModal .rs1HgKs img { 
        width: 30%; 
    } /* 适当增大图片宽度 */

    /*.asnHQM2 {
        font-size: 14px
    }*/

    .secondModal .lS4D0aw {
        width: 280px;
    }

    .iwXwIC2 img {
        padding-top: 20%;
    }

    .miBs1Zu .Ig2nQP8,
    .miBs1Zu .download-close {
        width: 60px;
        height: 60px;
        top: 4px;
        right: 4px;
    }
}