:root {
    --brand-gradient: linear-gradient(90deg, #ff8f30, #fe9e21, #fcc811);
    --text-dark: #42413d;
    --text-muted: #506252;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
}

body {
    height: 100vh;
    overflow-x: hidden;
    background-color: #fdf3c9;
    background-image: url(../images/bj.png);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}

img {
    display: block;
    border: 0;
}

/* 仅供读屏器（视觉上隐藏标题） */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus-visible {
    outline: 2px solid #ff8f30;
    outline-offset: 3px;
}

/* ---------- 顶部 ---------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 7.3%;
    padding-top: 3.9%;
}

.logo {
    display: inline-block;
    flex: 0 0 auto;
}

.logo-1 {
    height: 60px;
    width: auto;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

.right-btn {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    height: 15vh;
}

.rightmg {
    display: flex;
    justify-content: space-between;
    width: 280px;
    margin-top: 12px;
    margin-right: 90px;
    font-size: 22px;
}

.rightmg a {
    padding: 15px 30px;
    background: var(--brand-gradient);
    margin: 0 10px;
    border-radius: 30px;
}

.m-l {
    margin-right: 0;
    white-space: nowrap;
    color: var(--text-dark);
    font-weight: 600;
    transition: filter .2s ease, transform .2s ease;
}

.m-l:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* ---------- 下载区 ---------- */
.text-but {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 5%;
}

.text-icon {
    height: 90px;
    width: auto;
}

.androidbtn {
    text-align: right;
}

.btn-download {
    display: inline-block;
    line-height: 0;
}

.topBtns-2 {
    height: 80px;
    width: auto;
    transition: transform .2s ease;
}

.btn-download:hover .topBtns-2 {
    transform: translateY(-2px);
}

/* ---------- 宣传图 ---------- */
.imgs {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    margin-top: 28px;
}

.img-pc {
    height: 822px;
    width: auto;
}

.img-1 {
    margin-top: 50px;
}

.img-3 {
    margin-top: 50px;
}

/* ---------- 底部 ---------- */
.text-btm {
    display: block;
    padding: 3% 0;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.butbq {
    padding-top: 30px;
}

.butbq2 {
    padding-top: 10px;
}

/* ---------- 平板 / 手机 ---------- */
@media screen and (max-width: 1390px) {
    body {
        height: auto;
        min-height: 100vh;
        background-image: url(../images/m-bj.png);
        background-position: center top;
        background-size: 100% 100%;
    }

    .header {
        align-items: center;
        margin: 0 5%;
        padding: 3.9% 0 1.9%;
    }

    .logo-1 {
        height: 38px;
    }

    .right-btn {
        height: auto;
        flex: 0 0 auto;
    }

    .rightmg {
        width: auto;
        margin: 0;
        align-items: center;
        gap: 12px;
        font-size: 12px;
    }

    .rightmg a {
        padding: 8px 16px;
        border-radius: 30px;
    }

    .m-l {
        margin: 0;
        font-size: 12px;
    }

    .text-but {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 0 5%;
        margin-top: 4%;
    }

    .text-icon {
        width: 100%;
        max-width: 560px;
        height: auto;
    }

    .androidbtn {
        margin: 0;
        text-align: center;
    }

    .topBtns-2 {
        height: 32px;
        max-width: 100%;
    }

    .imgs {
        flex-direction: column;
        align-items: center;
        height: auto;
        margin-top: 24px;
        overflow: hidden;
    }

    .img-pc {
        display: block;
        width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .text-btm {
        padding: 6% 5% 8%;
        font-size: 12px;
    }

    .butbq {
        padding-top: 20px;
        line-height: 1.6;
    }

    .butbq2 {
        padding-top: 8px;
        line-height: 1.6;
    }
}

/* ---------- 平板：限制单图最大宽度，避免整页被撑得过长 ---------- */
@media screen and (min-width: 768px) and (max-width: 1390px) {
    .imgs {
        padding: 0 8%;
        gap: 8px;
    }

    .img-pc {
        max-width: 620px;
    }

    .text-icon {
        max-width: 520px;
    }
}

/* ---------- 小屏手机 ---------- */
@media screen and (max-width: 375px) {
    .logo-1 {
        height: 28px;
    }

    .rightmg {
        gap: 8px;
    }

    .rightmg a {
        padding: 6px 12px;
    }

    .m-l {
        font-size: 10px;
    }

    .topBtns-2 {
        height: 26px;
    }

    .text-btm {
        font-size: 10px;
    }
}
