#video {
    position: absolute;
    z-index: -99;
    width: 100%;
    overflow: hidden;
}

html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 2rem;
}

.header .left {
    text-align: center;
    color: #fff;
    font-weight: bold;
    z-index: 99999;
}

.header img {
    border-radius: 10px;
    width: 200px;
    height: 200px;
}

.header .center {
    color: #fff;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.header .center span {
    background: linear-gradient(0deg, #F28E2C 0%, #F3302E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin-left: -40px;
}

li {
    width: 5rem;
    height: 5rem;
    /*background: #ffffff;*/
    background: linear-gradient(0deg, #F28E2C, #F3302E);
    border-radius: 8px;
    /*color: #bd3124;*/
    color: #fff;
    line-height: 5rem;
    font-weight: bold;
    font-size: 3rem;
    margin-left: 10px;
    text-align: center;
}

.right {
    color: #fff;
    display: flex;
    align-items: center;
}

.bottom {
    position: fixed;
    bottom: 2.5rem;
    width: 100%;
    font-size: 6rem;
    font-weight: bold;
    color: #ffffff;
}

.touziBox {
    display: flex;
}

.touzi {
    color: #ffffff;
    width: 7rem;
    height: 7rem;
    background-color: #bd3124;
    border-radius: 10px;
    margin-left: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.touzi .one {
    width: 1.5rem;
    min-width: 1.5rem;
    height: 1.5rem;
    max-height: 1.5rem;
    border-radius: 50%;
    background-color: #fff;
    margin: 5px;
    display: flex;
    justify-content: center;
}

.a {
    justify-content: center;
}

.c {
    flex-wrap: wrap;
    flex-direction: column;
}

.n {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.danmuBox {
    position: absolute;
    width: 100%;
}

.danmu {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.danmu .text {
    width: 300px;
    text-align: center;
    box-sizing: border-box;
    animation: textTo 20s linear infinite;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 10px;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes textTo {
    from {
        transform: translateX(1000%);
    }
    to {
        transform: translateX(-300%);
    }
}

.user {
    width: 300px;
    height: 260px;
    margin-left: 30px;
    overflow: hidden;
    padding: 20px;

}

.user-text {
    color: #fff;
    font-size: large;
    animation: user-text 0.5s linear;

}

/* 由底部到顶部 */
@keyframes user-text {
    from {
        transform: translateY(1000%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes moveLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-300px);
    }
}

.mask {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    color: #fff5cf;
    font-weight: bold;
    font-size: 200px;
    justify-content: center;
    align-items: center;
}

.mask-text {
    animation: mask-text 1s linear infinite;
}

/* 从大到小 */
@keyframes mask-text {
    from {
        transform: scale(2);
    }
    to {
        transform: scale(0);
    }
}

.centerBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 22rem;
    padding: 0 13rem;
}

.centerBox .centerBox-title-1 {
    width: 20rem;
    height: 20rem;
    background-image: url("../img/title-1.png");
    background-size: 100% 100%;
}

.centerBox .centerBox-title-2 {
    width: 20rem;
    height: 20rem;
    background-image: url("../img/title-2.png");
    background-size: 100% 100%;
}

.dice {
    position: absolute;
    top: 50%;
    left: 50%;
    /*transform: translate(-50%, -50%);*/
    width: 19rem;
    height: 19rem;
    background-image: url("../img/tz@2x.png");
    background-size: 100% 100%;
    animation: dice 3s linear infinite;
}

@keyframes dice {
    from {
        transform: translate(-50%, -50%) rotate(0);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.result {
    width: 50%;
    height: 55%;
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
}

.result .title {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(0deg, #ce7f06 0%, #f9cf50 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result .result-bg {
    margin-top: 50px;
    background-image: url("../img/jzz@2x.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 150px 100px;
}

.game-opt {
    position: fixed;
    bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 70%;
    left: 50%;
    transform: translateX(-50%);

}

.game-item {
    margin: 0.6rem;
    width: 9rem;
    border-radius: 0.6rem;
    background: #DB3325;
    color: #FFD800;
    text-align: center;
    font-weight: bold;
}

.game-item .item-title {
    line-height: 5rem;
    font-size: 3rem;
}

.game-item .item-sub {
    font-size: 1.6rem;
}

/*自适应大屏*/
.screen-wrapper {
    width: 100%;
    height: 100%;
}

.screen-wrapper .screen {
    width: 1920px;
    height: 1080px;
    display: inline-block;
    transform-origin: 0 0;
    position: absolute;
    left: 50%;
}