@charset "utf-8";
/*全站共用样式：首页 index.php 与 officialWebsite/ 下各子页面*/
@font-face {
    font-family: myFont;
    src: url("../font/FZY3JW.TTF");
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    color: #383838;
    background-color: #F8F8F8;
    font-family: myFont, "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

p, ul, li {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    cursor: pointer;
}

img {
    max-width: 100%;
}

.Page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*顶部登录条*/
.loginHeaderDiv {
    background-color: #30424a;
    font-size: 12px;
    line-height: 32px;
}

.loginHeaderDiv p {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    color: #ffffff;
}

.loginHeaderDiv a {
    color: #ffffff;
}

.loginHeaderDiv img {
    height: 16px;
    margin-left: 18px;
}

.loginHeaderDiv .rechargeA {
    color: #25b5ef;
}

/*logo 与导航*/
#header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

#header .loginHeaderDiv {
    flex: 0 0 100%;
}

.logoImg {
    height: 40px;
    margin: 18px 0 18px max(16px, calc((100% - 1100px) / 2 + 16px));
    cursor: pointer;
}

.linkDiv {
    display: flex;
    gap: 40px;
    margin-right: max(16px, calc((100% - 1100px) / 2 + 16px));
}

.linkDiv a {
    font-size: 18px;
    color: #30424a;
}

.linkDiv a:hover,
.linkDiv a.current {
    color: #25b5ef;
}

/*正文容器*/
#content {
    flex: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 24px;
    box-sizing: border-box;
}

/*首页 banner*/
.tabContent li {
    margin-bottom: 16px;
}

.loadBigImg {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/*整图页面：团队 / 渲染农场 / 版权说明，图片为同一张长图的切片，需无缝拼接*/
.imgContent {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.imgContent img {
    display: block;
    width: 100%;
    height: auto;
}

/*登录 / 注册*/
.loginDiv {
    max-width: 400px;
    margin: 32px auto;
    padding: 32px 32px 24px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.loginImgDiv {
    margin-bottom: 24px;
}

.loginImgDiv img {
    width: 150px;
}

.loginUser input {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    padding: 10px 12px;
    box-sizing: border-box;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #25b5ef;
    border-radius: 4px;
    outline: none;
}

.loginUser input:focus {
    box-shadow: 0 0 0 2px rgba(37, 181, 239, 0.25);
}

.loginBtn input {
    width: 100%;
    margin-top: 8px;
    padding: 11px 0;
    font-size: 16px;
    font-family: inherit;
    color: #ffffff;
    background-color: #25b5ef;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.loginBtn input:hover {
    background-color: #1ea3d8;
}

.loginBtn input:disabled {
    background-color: #8fd3f2;
    cursor: wait;
}

/*表单提示：error 校验失败 / success 成功 / info 一般说明*/
.formTip {
    min-height: 20px;
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
}

.formTip.error {
    color: #e5484d;
}

.formTip.success {
    color: #1a9f5c;
}

.formTip.info {
    color: #6b7785;
}

.helpDiv,
.registerHelpDiv {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
}

.helpDiv a {
    color: #383838;
}

.helpDiv a:hover,
.registerHelpDiv a {
    color: #25b5ef;
}

.registerHelpDiv a {
    white-space: nowrap;
}

/*苏打豆充值*/
.voucherDiv img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.voucherContent {
    margin-top: 20px;
}

.voucherContent > img {
    display: block;
    width: 260px;
    margin-bottom: 12px;
}

.voucherContent p {
    font-size: 15px;
    line-height: 1.8;
}

.buyDiv {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.buyDiv li {
    cursor: pointer;
}

.buyDiv li img {
    display: block;
    width: 100%;
    height: auto;
}

/*协议 / 隐私政策 / 家长监护 等文本页*/
.agreementHead {
    padding: 28px 32px;
    background-color: #25b5ef;
    border-radius: 8px 8px 0 0;
}

.firstP {
    font-size: 28px;
    color: #ffffff;
}

.secondP {
    margin-top: 4px;
    font-size: 16px;
    color: #0f5c8d;
}

.agreementContent {
    font-size: 15px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.agreementContent img {
    height: auto;
}

/*页脚*/
.footer {
    padding: 20px 16px;
    background-color: #d7d7d7;
    font-size: 12px;
    line-height: 1.9;
    text-align: center;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.footer a {
    color: #383838;
    white-space: nowrap;
}

.footer a:hover {
    color: #25b5ef;
}

.policeRecord {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.policeRecord img {
    height: 18px;
}

@media (max-width: 640px) {
    .logoImg {
        height: 30px;
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .linkDiv {
        gap: 20px;
    }

    .linkDiv a {
        font-size: 15px;
    }

    #content {
        padding: 0 12px 16px;
    }

    .tabContent li {
        margin-bottom: 10px;
    }

    .loadBigImg,
    .imgContent,
    .voucherDiv img {
        border-radius: 6px;
    }

    .loginDiv {
        margin: 16px auto;
        padding: 24px 20px 20px;
    }

    .voucherContent > img {
        width: 200px;
    }

    .voucherContent p {
        font-size: 14px;
    }

    .buyDiv {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .agreementHead {
        padding: 20px;
        border-radius: 6px 6px 0 0;
    }

    .firstP {
        font-size: 22px;
    }

    .secondP {
        font-size: 14px;
    }

    .agreementContent {
        font-size: 14px;
    }

    .footer {
        padding: 16px 12px;
        font-size: 11px;
    }
}
