@charset "UTF-8";
.luckdrawBox {
    width: 100%;
    height: 100vh;
    background-image: url("./pcbg1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.luckdrawBox .luckdrawTop {
    display: none;
}

.luckdrawBox .playicon img {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 36px;
    height: 36px;
}

.luckdrawBox .playicon #stop {
    display: none;
}

.luckdrawBox .playicon #bgm {
    position: absolute;
    right: -100000px;
    top: -1000010px;
    opacity: 0;
}

.luckdrawBox .clickIMGBox img:first-child {
    position: absolute;
    left: -10px;
    bottom: 20px;
    width: 150px;
    height: auto;
    animation: left_right 3s linear infinite;
    cursor: pointer;
}

.luckdrawBox .clickIMGBox img:last-child {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 150px;
    height: auto;
    animation: left_right 3s linear infinite;
    cursor: pointer;
}

.luckdraw {
    width: 510px;
    height: 510px;
    background-image: url("./lightbg.gif");
    background-size: 510px 510px;
    background-repeat: no-repeat;
    background-position: center center;
    box-sizing: border-box;
    padding: 30px;
}

.luckdraw ul {
    position: relative;
    width: 700px;
    height: 310px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
}

.luckdraw li {
    width: 110px;
    height: 110px;
    background-image: url("./img_4.png");
    background-position: center;
    background-size: 110px 110px;
    background-repeat: no-repeat;
    text-align: center;
    line-height: 100px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1rem;
    color: #52350A;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1rem;
    font-size: 14px;
    font-weight: bold;
}

.luckdraw li img {
    width: 70px;
    height: 70px;
}

.luckdraw li.on {
    box-shadow: inset 0 0 10px rgba(152, 23, 53, 0.8), inset 0 0 20px rgba(152, 23, 53, 0.6), inset 0 0 30px rgba(152, 23, 53, 0.4);
}

.rankBox {
    display: none;
}

.rankBox .bg {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 99;
}

.rankBox .mainbox {
    width: 100%;
    height: auto;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10000;
    background: #fff;
    border-radius: 25px 25px 0 0;
}

.rankBox .mainbox .title {
    text-align: center;
    border-bottom: 1px solid #e6e6e6;
    font-weight: bold;
    padding: 10px 20px;
    font-size: 16px;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 0;
}

.rankBox .mainbox .title i {
    position: absolute;
    right: 30px;
    color: #333;
    font-size: 18px;
    cursor: pointer;
}

.rankBox .mainbox .content {
    width: 100%;
    height: auto;
    max-height: 70vh;
    overflow: auto;
    box-sizing: border-box;
    padding: 15px;
}

.rankBox .mainbox .content h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.rankBox .mainbox .content .list {
    margin-bottom: 10px;
}

.rankBox .mainbox .content .list .item {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
    height: 40px;
    background: linear-gradient(50deg, #fefefe, #f6f5f5 50%, #eeecec);
}

.rankBox .mainbox .content .list .item:last-child {
    margin-bottom: 0;
}

.rankBox .mainbox .content .list .item img {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

.rankBox .mainbox .content .list .item > span {
    display: block;
    width: 32px;
    margin-right: 6px;
    color: #732f2f;
    font-size: 14px;
}

.rankBox .mainbox .content .list .item div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    box-sizing: border-box;
    padding: 0 10px;
}

.rankBox .mainbox .content .list .item div p {
    color: #555;
    font-size: 14px;
}

.rankBox .mainbox .content .list .item div span {
    color: #555;
    font-size: 14px;
}

.rankBox .mainbox .content > p {
    font-size: 14px;
    color: #333;
    word-break: break-all;
    margin-bottom: 10px;
}

.luckdraw-go,
.luckdraw-go1 {
    position: absolute;
    top: 116px;
    left: 116px;
    width: 224px;
    height: 221px;
    overflow: hidden;
    background-image: url("./btn.gif");
    background-position: center;
    background-size: 224px 224px;
    background-repeat: no-repeat;
    text-align: center;
    line-height: 100px;
    cursor: pointer;
}

.luckdraw-go1 {
    z-index: 99;
}

.inputkeyBox {
    display: none;
}

.inputkeyBox .main {
    position: fixed;
    width: 520px;
    height: 360px;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-image: linear-gradient(#ffffff, #36378B);
    border-radius: 10px;
    padding: 160px 20px 20px;
    box-sizing: border-box;
}

.inputkeyBox .main .bgimg {
    position: absolute;
    width: 520px;
    height: auto;
    left: 0;
    top: -80px;
    z-index: -1;
}

.inputkeyBox .main input {
    display: block;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    padding: 0 10px;
}

.inputkeyBox .main .btnimg {
    display: block;
    margin: 30px auto 0;
    width: 280px;
    height: auto;
    cursor: pointer;
}

.inputkeyBox .main .Icon {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 50%;
    bottom: -80px;
    cursor: pointer;
    background: #fff;
    margin-left: -25px;
    border-radius: 50%;
    color: #7b48b3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.inputkeyBox .bg {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.historyBox {
    display: none;
}

.historyBox .bg {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 99;
}

.historyBox .mainbox {
    width: 30vw;
    height: auto;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    background: #fff;
    border-radius: 25px;
    min-width: 500px;
}

.historyBox .mainbox .title {
    text-align: center;
    border-bottom: 1px solid #e6e6e6;
    font-weight: bold;
    padding: 10px 20px;
    font-size: 16px;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 0;
}

.historyBox .mainbox .title i {
    position: absolute;
    right: 30px;
    color: #333;
    font-size: 18px;
    cursor: pointer;
}

.historyBox .mainbox .content {
    padding: 20px;
    height: auto;
    overflow-y: auto;
}

.historyBox .mainbox .content .search {
    width: 100%;
    display: flex;
    align-items: center;
}

.historyBox .mainbox .content .search input {
    flex: 1;
    height: 35px;
    outline: none;
    border: 1px solid #e6e6e6;
    border-radius: 10px 0 0 10px;
    padding: 0 10px;
    box-sizing: border-box;
}

.historyBox .mainbox .content .search div {
    width: 100px;
    height: 35px;
    background: #fc7b7b;
    border-radius: 0 10px 10px 0;
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 35px;
    cursor: pointer;
}

.historyBox .mainbox .content .search div {
    width: 100px;
    height: 35px;
    background: #fc7b7b;
    border-radius: 0 10px 10px 0;
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 35px;
    cursor: pointer;
}

.historyBox .mainbox .content .text {
    display: flex;
    align-items: center;
    min-height: 100px;
}

.historyBox .mainbox .content .text p {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #999;
}

.rankToast {
    display: none;
}

.rankToast .bg {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0px;
    z-index: 98;
}

.rankToast .bgimg {
    position: absolute;
    width: 400px;
    height: 150px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 400px 150px;
}

.rankToast .bgimg.bg1 {
    background-image: url("/images/raffle/ranktoastbg1.png");
    display: block;
}

.rankToast .bgimg.bg2 {
    background-image: url("/images/raffle/ranktoastbg2.png");
    display: block;
}

.rankToast .bgimg .text {
    width: 400px;
    text-align: center;
    font-size: 16px;
    color: #333;
    height: 190px;
    box-sizing: border-box;
    /*padding: 130px 20px 0;*/
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-all;
    background-color: #fff;
    border-radius: 10px;
    background-image: url("./activeBg.jpg");
    background-size: 140% 140%;
    border: 4px solid #fff;
    color: #fff;
    background-position-x: center;
    background-position-y: top;
}


#rankresultbg {
    background-color: #ffffff45;
    backdrop-filter: saturate(180%) blur(20px);
}

@media (max-width: 500px) {
    .luckdrawBox {
        display: block;
        height: 100vh;
        background-size: 100% 100%;
        /*background-repeat: repeat;*/
        background-position: center top;
        background-image: url("./pcbg1.jpg");
    }

    .luckdrawBox .luckdrawTop {
        width: 80vw;
        height: auto;
        margin: 0 auto 40px;
    }

    .luckdrawBox .clickIMGBox img:first-child {
        left: 10px;
        width: 100px;
        height: 100px;
    }

    .luckdraw {
        width: 360px;
        height: 360px;
        background-size: 360px 360px;
        padding: 10px;
        margin: 0 auto;
    }

    .luckdraw li {
        width: 80px;
        height: 80px;
        background-size: 80px 80px;
    }

    .luckdraw li img {
        width: 70px;
        height: 70px;
    }

    .luckdraw-go,
    .luckdraw-go1 {
        top: 86px;
        left: 86px;
        width: 163px;
        height: 163px;
        background-size: 163px 163px;
    }

    .inputkeyBox .main {
        width: 80vw;
        height: 240px;
        padding-top: 85px;
    }

    .inputkeyBox .main .bgimg {
        width: 80vw;
        top: -120px;
    }

    .inputkeyBox .main .btnimg {
        width: 46vw;
        margin-top: 20px;
    }

    .inputkeyBox .main .Icon {
        bottom: -80px;
        font-size: 20px;
    }

    .rankToast .bgimg {
        width: 305px;
        height: 190px;
        background-size: 305px 248px;
    }

    .rankToast .bgimg .text {
        width: 305px;
        /* height: 248px; */
        /* padding: 90px 20px 0; */
        font-size: 14px;
    }

    .historyBox .mainbox {
        width: 90vw;
        height: auto;
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 10000;
        background: #fff;
        border-radius: 25px;
    }
}

@keyframes up_down {
    0% {
        -o-transform: translateY(0);
        -ms-transform: translateY(0);
        -moz-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    50% {
        -o-transform: translateY(20px);
        -ms-transform: translateY(20px);
        -moz-transform: translateY(20px);
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
    100% {
        -o-transform: translateY(0);
        -ms-transform: translateY(0);
        -moz-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes left_right {
    0% {
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    25% {
        -o-transform: rotate(10deg);
        -ms-transform: rotate(10deg);
        -moz-transform: rotate(10deg);
        -webkit-transform: rotate(10deg);
        transform: rotate(10deg);
    }
    50% {
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    75% {
        -o-transform: rotate(-10deg);
        -ms-transform: rotate(-10deg);
        -moz-transform: rotate(-10deg);
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }
    100% {
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}
