:root {
    --背景色: #f1f5ff;
    /* --轮播图宽度: 100%; */
}

* {
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-drag: none;
    text-decoration: none;
    /* box-sizing: border-box; */
}

@media screen and (max-width:1200px) {

    /* 如果屏幕宽度小于1200px，则固定home的宽度 */
    .home {
        width: 100%;
        background: var(--背景色);
        /* padding: 8px; */
        text-align: center;
        margin: 0 auto;
        /* 移动端要加上fixed,不然touchmove时会移动页面 */
        /* position: fixed; */
    }
}

@media screen and (min-width:1200px) {

    /* 如果屏幕宽度大于1200px，则固定home的宽度 */
    .home {
        width: 1200px;
        background: var(--背景色);
        /* padding: 8px; */
        text-align: center;
        margin: 0 auto;
    }
}



.home {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.home .logo {
    margin: 0 auto;
    padding-top: 22px;
    width: 30%;
}

.公告框 {
    margin: 17px 0px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #3b4f76;
    width: calc(100% - 24px);
    /* height: 10vh; */
}

.公告框 .图标 {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}

.公告框 .内容 {
    flex: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left;
}

.功能框 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: calc(100% - 24px);
}

.功能框 .项目 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    width: 100%;

}

.功能框 .项目 a {
    display: flex;
    width: 100%;
}

.功能框 .项目 a:nth-child(2) {
    margin-left: 16px;
}

.功能框 .项目 img {
    width: 100%;
    height: auto;
}

.功能框 #客服信息框 {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #D5E0FE;
    color: #3b4f76;
    background: linear-gradient(to bottom, #dae7ff, #acc2ff);
    border-radius: 8px;
    padding: 8px;
    font-size: 3.4vw;
    overflow: hidden;


}

#客服信息框 img {
    width: 50%;
    margin: 8px auto;
}

#客服信息框 .button {
    /* border: 1px solid #3a7dc1; */
    background: linear-gradient(to bottom, #FAE4CC, #EDD0B2);
    box-shadow: -1px -1px 3px 0px #fff;

    border-radius: 3vw;
    width: 46vw;
    height: 8vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.4vw;
    cursor: pointer;
    color: #3b4f76;
    margin: 8px auto;
}

#客服信息框 .button:hover {
    background: linear-gradient(to bottom, #F2C5A4, #BE8A5A);
}

.平台游戏 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: calc(100% - 24px);
    margin-top: 16px;
}

.平台游戏 .图片标题 {
    width: 50%;
    height: auto;
    margin-bottom: 16px;
}

.平台游戏 .游戏框 {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.平台游戏 .游戏列表 {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-bottom: 8px;
}

.平台游戏 .项目 {
    width: 100%;
    margin-right: 8px;

}

.平台游戏 .项目:last-child {
    /* 最后一个项目右边距为0 */
    margin-right: 0px;
}

.平台游戏 a {
    width: 100%;
    display: flex;

}

.平台游戏 a img {
    width: 100%;
    border-radius: 8px;
}


.注册送 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: calc(100% - 24px);
    margin-top: 16px;
}

.注册送 .图片标题 {
    width: 50%;
    height: auto;
    margin-bottom: 16px;
}

.注册送 .活动详情框 {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.注册送 .文本内容框 {
    width: calc(100% - 16px);
    background: #D5E0FE;
    color: #3b4f76;
    background: linear-gradient(to bottom, #dae7ff, #acc2ff);
    border-radius: 8px;
    padding: 8px;
}

.注册送 .文本内容框 .标题 {

    font-size: 1.05rem;
    font-weight: 900;
}

.注册送 .文本内容框 .内容 {
    font-size: 1rem;

}

.表格框 {
    width: 100%;
    color: #3b4f76;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 16px;
    border-spacing: 0;
    border-collapse: collapse;
    /* border: 1px solid #c6d4fb; */
    /* border-radius: 8px; */
    /* overflow: hidden; */
    /* background: #fff; */
}

.表格框 th {
    background: linear-gradient(to bottom, #ebf6ff, #c1ddff);
}

.表格框 td {
    border-top: 1px solid #acc2ff;
    border-right: 1px solid #acc2ff;
}

.表格框 td:last-child {
    border-right: 0px solid #acc2ff;
}


.表格框外框 {
    border: 1px solid #acc2ff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}