.home-wrap {
    background: url('../images/home_bg.png') no-repeat top center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.home-float {
    position: absolute;
    right: 0;
    top: 10px;
    width: 30px;
    z-index: 3;
}

.home-float li {
    margin-top: 15px;
}

.home-title {
    width: 70%;
    margin: 30px auto;
}

.home-button {
    width: 90%;
    margin: 0 auto;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.home-button .button-top {
    text-align: center;
    width: 50%;
    color: #df007c;
    margin: 0 auto;
}

.home-button .button-top p {
    margin: 10px 0;
}

.home-button .button-bottom ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-button .button-bottom ul li {
    width: 48%;
}

.rule-modal {
    z-index: 999;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

.rule-modal.active {
    opacity: 1;
    visibility: initial;
}

.rule-modal .box {
    width: 80%;
    transform: scale(0);
    transition: all .3s;
    position: relative;
}

.rule-modal.active .box {
    transform: scale(1);
}

.rule-modal .box .box-content {
    position: relative;
}

.rule-modal .box .text-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    line-height: 26px;
    font-size: 16px;
    padding-top: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.rule-modal .box .content-body {
    font-size: 12px;
    width: 70%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 13%;
    height: 80%;
    overflow: hidden;
    line-height: 24px;
}

.rule-modal .box .content-body .scroll {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.rule-modal .box .box-close {
    margin-top: 15px;
    text-align: center;
    position: absolute;
    top: -35px;
    right: 20px;
}

.rule-modal .box .box-close img {
    width: 30px;
}

.order-lists {
    margin-bottom: 50px;
}

.order-lists .item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: relative;
}

.order-lists .item .item-top {
    display: flex;
}

.order-lists .item .item-img {
    width: 70px;
}

.order-lists .item .item-text {
    flex: 1;
    padding-left: 10px;

}

.order-lists .item .item-text span {
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.order-lists .item .item-text p {
    color: #aaaaaa;
    font-size: 12px;
}

.order-lists .item .item-text a {
    margin-top: 5px;
    line-height: 25px;
    text-align: center;
    display: inline-block;
    color: #ff96c4;
    font-size: 16px;
}

.order-lists .item .item-text .status {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 50px;
}

.empty-box {
    text-align: center;
    margin-top: 30%;
    color: #999999;
}

.empty-box img {
    width: 30%;
    margin-bottom: 15px;
}

.order-detail-wrap .detail-box {
    margin-top: 20px;
    display: flex;
    position: relative;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.order-detail-wrap .detail-box .box-img {
    width: 70px;
}

.order-detail-wrap .detail-box .box-text {
    flex: 1;
    padding-left: 10px;
}

.order-detail-wrap .detail-box .box-text span {
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}

.order-detail-wrap .detail-box .box-text p {
    color: #aaaaaa;
    font-size: 12px;
}

.order-detail-wrap .detail-box .box-text a {
    display: block;
    text-align: right;
}

.order-detail-wrap .detail-box .box-text a img {
    width: 100px;
}

.order-detail-wrap .detail-content {
    margin-top: 20px;
    line-height: 26px;
}

.order-detail-wrap .detail-box .status {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 50px;
}

.game-wrap {
    background: url('../images/game_bg.jpg') no-repeat;
    background-size: 100% 100%;
    position: relative;
    height: 100vh;
    width: 100%;
}

.game-music img {
    width: 35px;
}

.game-head {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px;
}

.game-body {
    position: relative;
    width: 100vw;
    height: calc(100vh - 12%);
    overflow: hidden;
    top: 12%;
}

.game-body .item {
    position: absolute;
    width: 80px;
}

.game-timer {
    background: url('../images/timer_bg.png');
    background-size: cover;
    width: 65px;
    height: 74px;
    z-index: 2;
    color: #ff4c97;
    text-align: center;
    font-size: 14px;
    padding-top: 30px;
}

.game-timer span {
    font-size: 22px;
}

.game-count {
    display: flex;
    align-items: center;
    color: #ff4c97;
    font-size: 24px;
}

.game-count img {
    width: 33px;
    margin-right: 5px;
}

.game-guide, .game-countdown {
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .5s;
}

.game-guide.active, .game-countdown.active {
    opacity: 1;
    visibility: initial;
}

.game-guide .box {
    width: 80%;
}

.game-countdown .box {
    width: 60%;
}

.game-guide .box button {
    all: unset;
    width: 60%;
    margin: 30px auto;
    display: block;
}

.game-countdown .box-countdown {
    width: 100px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.game-countdown .box-countdown img {
    margin: 0 auto;
    width: auto;
    height: 100%;
    margin-bottom: 15px;
}

.success-modal {
    z-index: 999;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

.success-modal.active {
    opacity: 1;
    visibility: initial;
}

.success-modal .box {
    width: 80%;
    transform: scale(0);
    transition: all .3s;
    position: relative;
}

.success-modal.active .box {
    transform: scale(1);
}

.success-modal .box .box-content {
    position: relative;
}

.success-modal .box .box-content .content-body {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding-top: 43%;
    color: #fff;
    text-align: center;
    font-size: 16px;
    line-height: 24px;
}

.success-modal .box .box-content .body-button {
    width: 60%;
    margin: 0 auto;
    margin-top: 15px;
}

.success-modal .box .box-close {
    position: absolute;
    top: -15px;
    right: 0;
}

.success-modal .box .box-close img {
    width: 30px;
}

.fail-modal {
    z-index: 999;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

.fail-modal.active {
    opacity: 1;
    visibility: initial;
}

.fail-modal .box {
    width: 80%;
    transform: scale(0);
    transition: all .3s;
    position: relative;
}

.fail-modal.active .box {
    transform: scale(1);
}

.fail-modal .box .box-content {
    position: relative;
}

.fail-modal .box .box-content .content-body {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding-top: 43%;
    color: #6a5f9e;
    text-align: center;
    font-size: 16px;
    line-height: 24px;
}

.fail-modal .box .box-content .body-button {
    width: 60%;
    margin: 0 auto;
    margin-top: 15px;
}

.fail-modal .box .box-close {
    position: absolute;
    top: -15px;
    right: 0;
}

.fail-modal .box .box-close img {
    width: 30px;
}

.lottery-wrap {
    background: url('../images/lottery_page_bg.png') no-repeat #edc1f2 top center;
    background-size: 100%;
    position: relative;
    width: 100%;
    padding-top: 46%;
}

.lottery-wrap .lottery-box {
    width: 90%;
    margin: 0 auto;
    position: relative;
    margin-top: 15px;
    background: url('../images/lottery_bg.png') no-repeat;
    background-size: 100%;
    padding: 7% 10%;
}

.lottery-wrap .lottery-box .rotate-pointer {
    position: absolute;
    width: 25%;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.lottery-wrap .lottery-text {
    color: #ad251e;
    font-size: 16px;
    text-align: center;
    background: url('../images/lottery_text_bg.png');
    background-size: cover;
    width: 260px;
    margin: 0 auto;
}

.lottery-float {
    position: absolute;
    top: 15%;
    right: 0;
    width: 75px;
}

.lottery-buttons {
    width: 70%;
    margin: 0 auto;
    margin-top: 15px;
}

.lottery-buttons p {
    text-align: center;
    color: #df007c;
    font-weight: bold;
    margin-top: 5px;
}

.lotter-rule {
    width: 90%;
    margin: 0 auto;
    margin-top: 50px;
    position: relative;
    background-color: #ffffff;
    border-radius: 15px;
    border: solid 3px #ccb1f4;
    margin-bottom: 30px;
}

.lotter-rule .rule-head {
    width: 70%;
    margin: 0 auto;
    margin-top: -35px;
}

.lotter-rule .rule-text {
    font-size: 14px;
    line-height: 28px;
    overflow: hidden;
    padding: 5px 15px;
    color: #666666;
}


.lottery-result-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

.lottery-result-modal.active {
    opacity: 1;
    visibility: initial;
}

.lottery-result-modal .box {
    width: 80%;
    transform: scale(0);
    transition: all .3s;
    position: relative;
}

.lottery-result-modal.active .box {
    transform: scale(1);
}

.lottery-result-modal .box .box-content {
    position: relative;
}

.lottery-result-modal .box .box-content .content-body {
    position: absolute;
    left: 0;
    top: 0;
    padding-top: 15%;
    width: 100%;
    height: 100%;
}

.lottery-result-modal .box .box-content .content-body .image {
    width: 80px;
    margin: 0 auto;
}

.lottery-result-modal .box .text {
    color: #df007c;
    width: 100%;
    text-align: center;
    margin-top: 15px;
    font-size: 20px;
}


.lottery-result-modal .box .button {
    width: 50%;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
}

.lottery-result-modal .box .box-close {
    position: absolute;
    right: 30px;
    top: -30px;
}

.lottery-result-modal .box .box-close i {
    background: url('../images/close_icon.png');
    background-size: cover;
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto;
}

.float-invite {
    position: absolute;
    right: 10px;
    top: 60%;
    width: 70px;
}

.share-box {
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
}

.share-box .code-img {
    position: absolute;
    right: 1%;
    width: 105px;
    bottom: 4%;
}

.share-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

.share-modal.show {
    opacity: 1;
    visibility: initial;
}


.share-modal .box {
    width: 80%;
    transform: scale(0);
    transition: all .3s;
    position: relative;
}

.share-modal.show .box {
    transform: scale(1);
}

.share-modal .box .box-content {
    position: relative;
}

.share-modal .box .box-content p {
    margin-top: 10px;
    text-align: center;
    color: #fff;
}

.share-modal .box .box-content .text-content {
    width: 50%;
    margin: 0 auto;
    text-align: center;
    padding: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    background: #fff;
    position: absolute;
    bottom: 26%;
}

.share-modal .box .box-close {
    text-align: center;
    position: absolute;
    top: -35px;
    right: 0px;
}

.share-modal .box .box-close img {
    width: 25px;
}

.share-box {
    position: absolute;
    left: 0;
    top: -200%;
    width: 100%;
}

.share-box .code-img {
    position: absolute;
    right: 3%;
    width: 100px;
    bottom: 6%;
}