/* 51漫画 www.51manhua02.cn 暖白·红粉渐变 主题 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: #fbf7f9;
    color: #3a2b31;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

.mhbct {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

/* 头部 */
.mhbhd {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 253, 254, 0.94);
    border-bottom: 1px solid rgba(37, 26, 30, 0.08);
    backdrop-filter: blur(10px);
}

.mhbhb {
    display: flex;
    align-items: center;
    gap: 34px;
    height: 66px;
}

.mhblg {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #251a1f;
}

.mhblg img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.mhblg b {
    color: #251a1f;
}

.mhbnav {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.mhbnav a {
    font-size: 14.5px;
    color: #6d5b63;
    transition: color 0.2s;
}

.mhbnav a:hover {
    color: #f0355f;
}

.mhbtop {
    padding: 9px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff3d5e, #ff7bb0);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(240, 53, 95, 0.28);
    transition: filter 0.2s, transform 0.2s;
}

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

.mhbmg {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #3a2b31;
    font-size: 22px;
    border: 1px solid rgba(37, 26, 30, 0.12);
}

/* 抽屉 */
.mhbdk {
    position: fixed;
    top: 0;
    right: -300px;
    z-index: 90;
    width: 280px;
    height: 100vh;
    padding: 20px;
    background: #ffffff;
    transition: right 0.3s;
    overflow-y: auto;
}

.mhbdk.on {
    right: 0;
}

.mhbdt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(37, 26, 30, 0.1);
    font-size: 18px;
    font-weight: 800;
    color: #f0355f;
}

.mhbdt img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.mhbdx {
    margin-left: auto;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: #8a7a81;
    font-size: 18px;
}

.mhbdk > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border-radius: 10px;
    color: #4c3a42;
    font-size: 15px;
    transition: background 0.2s, color 0.2s;
}

.mhbdk > a:hover {
    background: rgba(240, 53, 95, 0.07);
    color: #f0355f;
}

.mhbdbt {
    margin-top: 16px;
    justify-content: center;
    background: linear-gradient(135deg, #ff3d5e, #ff7bb0);
    color: #ffffff;
    font-weight: 700;
}

.mhbmsk {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(24, 12, 17, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mhbmsk.on {
    opacity: 1;
    pointer-events: auto;
}

/* Hero：左文右图 */
.mhbtp {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(640px 420px at 88% 12%, rgba(255, 123, 176, 0.20), transparent 62%),
        radial-gradient(520px 400px at 4% 92%, rgba(255, 61, 94, 0.10), transparent 60%);
}

.mhbhw {
    display: flex;
    align-items: center;
    gap: 56px;
    padding: 82px 0 76px;
}

.mhbtl {
    flex: 1.1;
    min-width: 0;
}

.mhbtb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(240, 53, 95, 0.08);
    border: 1px solid rgba(240, 53, 95, 0.28);
    color: #f0355f;
    font-size: 13.5px;
    font-weight: 700;
}

.mhbht {
    margin-top: 24px;
    font-size: 52px;
    line-height: 1.22;
    font-weight: 900;
    color: #251a1f;
}

.mhbhg {
    background: linear-gradient(100deg, #ff3d5e 8%, #ff7bb0 92%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mhble {
    margin-top: 18px;
    max-width: 540px;
    font-size: 16.5px;
    line-height: 1.8;
    color: #6d5b63;
}

.mhbbtn {
    display: flex;
    gap: 14px;
    margin-top: 32px;
}

.mhbhp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 36px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff3d5e, #ff7bb0);
    color: #ffffff;
    font-size: 16.5px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(240, 53, 95, 0.32);
    transition: filter 0.2s, transform 0.2s;
}

.mhbhp:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
}

.mhbhs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 30px;
    border-radius: 999px;
    border: 1.5px solid rgba(37, 26, 30, 0.22);
    color: #3a2b31;
    font-size: 16px;
    font-weight: 700;
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.mhbhs:hover {
    border-color: rgba(240, 53, 95, 0.55);
    color: #f0355f;
    transform: translateY(-2px);
}

.mhbtd {
    display: flex;
    gap: 54px;
    margin-top: 48px;
}

.mhbtd div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mhbtd b {
    font-size: 26px;
    color: #f0355f;
}

.mhbtd span {
    margin-top: 3px;
    font-size: 13.5px;
    color: #a5959c;
}

/* Hero 右侧：手机界面卡 */
.mhbtr {
    position: relative;
    flex: 0.9;
    display: flex;
    justify-content: flex-end;
}

.mhbph {
    width: 322px;
    border-radius: 32px;
    border: 8px solid #ffffff;
    background: #ffffff;
    box-shadow: 0 26px 64px rgba(240, 53, 95, 0.20);
    overflow: hidden;
}

.mhbph img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: top center;
}

.mhbfa,
.mhbfx {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 18px 13px 13px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(37, 26, 30, 0.14);
}

.mhbfa {
    left: -6px;
    bottom: 52px;
}

.mhbfx {
    right: -14px;
    top: 58px;
}

.mhbfa i,
.mhbfx i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #ffeaf1, #ffdde8);
    color: #f0355f;
    font-size: 19px;
}

.mhbfa b,
.mhbfx b {
    display: block;
    font-size: 14.5px;
    color: #251a1f;
}

.mhbfa span,
.mhbfx span {
    display: block;
    margin-top: 1px;
    font-size: 12px;
    color: #a5959c;
}

/* 版块通用 */
.mhbsec {
    padding: 78px 0;
}

.mhbalt {
    background: #fdf0f5;
}

.mhbth {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 800;
    color: #251a1f;
}

.mhbth i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff3d5e, #ff7bb0);
    color: #ffffff;
    font-size: 21px;
    box-shadow: 0 8px 18px rgba(240, 53, 95, 0.26);
}

.mhbtx {
    margin-top: 10px;
    font-size: 15px;
    color: #8a7a81;
}

/* 产品展示：一行 4 张，移动端横向滑动 */
.mhbsw {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.mhbsi {
    background: #ffffff;
    border: 1px solid rgba(37, 26, 30, 0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.mhbsi:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(240, 53, 95, 0.16);
}

.mhbsim {
    height: 320px;
    overflow: hidden;
    background: #f5e9ee;
}

.mhbsim img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s;
}

.mhbsi:hover .mhbsim img {
    transform: scale(1.035);
}

.mhbsb {
    padding: 18px 20px 22px;
}

.mhbsl {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(240, 53, 95, 0.08);
    border: 1px solid rgba(240, 53, 95, 0.26);
    color: #f0355f;
    font-size: 12px;
    font-weight: 700;
}

.mhbsb b {
    display: block;
    margin-top: 10px;
    font-size: 17px;
    color: #251a1f;
}

.mhbsb p {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.7;
    color: #8a7a81;
}

/* 产品优势：3 列卡 */
.mhbaw {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 34px;
}

.mhbaa {
    padding: 24px 22px;
    background: #ffffff;
    border: 1px solid rgba(37, 26, 30, 0.08);
    border-radius: 16px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.mhbaa:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(240, 53, 95, 0.14);
}

.mhbai {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffeaf1, #ffdde8);
    color: #f0355f;
    font-size: 25px;
}

.mhbaa b {
    display: block;
    margin-top: 14px;
    font-size: 17.5px;
    color: #251a1f;
}

.mhbaa p {
    margin-top: 7px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #8a7a81;
}

/* 下载中心：3×2 竖卡 */
.mhbdw {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 34px;
}

.mhbda {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 26px 20px 24px;
    background: #ffffff;
    border: 1px solid rgba(37, 26, 30, 0.08);
    border-radius: 16px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.mhbda:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(240, 53, 95, 0.14);
}

.mhbdj {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 3px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff3d5e, #ff7bb0);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.mhbdb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffeaf1, #ffdde8);
    color: #f0355f;
    font-size: 24px;
}

.mhbda b {
    margin-top: 13px;
    font-size: 17.5px;
    color: #251a1f;
}

.mhbda em {
    margin-top: 3px;
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
    color: #f0355f;
}

.mhbds {
    margin-top: 7px;
    font-size: 13px;
    color: #a5959c;
}

.mhbda a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    padding: 11px 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff3d5e, #ff7bb0);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 800;
    transition: filter 0.2s;
}

.mhbda a:hover {
    filter: brightness(1.06);
}

/* 使用流程：一行 4 步 */
.mhbfw {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 34px;
}

.mhbfo {
    position: relative;
    padding: 26px 22px 24px;
    background: #ffffff;
    border: 1px solid rgba(37, 26, 30, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.mhbfo:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(240, 53, 95, 0.14);
}

.mhbfn {
    position: absolute;
    right: 16px;
    top: 8px;
    font-size: 52px;
    font-weight: 900;
    color: rgba(240, 53, 95, 0.12);
    line-height: 1.2;
}

.mhbfo b {
    display: block;
    font-size: 17.5px;
    color: #251a1f;
}

.mhbfo p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.7;
    color: #8a7a81;
}

.mhbftm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: #f0355f;
}

.mhbftm i {
    font-size: 14px;
}

/* 常见问题：2 列手风琴 */
.mhbfaq {
    column-count: 2;
    column-gap: 20px;
    margin-top: 34px;
}

.mhbfi {
    break-inside: avoid;
    background: #ffffff;
    border: 1px solid rgba(37, 26, 30, 0.08);
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
}

.mhbft {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    font-size: 15.5px;
    font-weight: 700;
    color: #3a2b31;
    transition: color 0.2s;
}

.mhbft:hover {
    color: #f0355f;
}

.mhbfg {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(240, 53, 95, 0.08);
    color: #f0355f;
    font-size: 14px;
    font-weight: 800;
}

.mhbft i {
    margin-left: auto;
    color: #a5959c;
    transition: transform 0.3s;
}

.mhbft.on i {
    transform: rotate(180deg);
    color: #f0355f;
}

.mhbfc {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s;
}

.mhbfc p {
    padding: 0 20px 18px 64px;
    font-size: 14.5px;
    line-height: 1.75;
    color: #8a7a81;
}

/* 产品资讯：3 列卡 */
.mhbnw {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 34px;
}

.mhbni {
    position: relative;
    padding: 22px 20px 20px;
    background: #ffffff;
    border: 1px solid rgba(37, 26, 30, 0.08);
    border-top: 3px solid #ff5c8a;
    border-radius: 14px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.mhbni:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(240, 53, 95, 0.12);
}

.mhbnd {
    font-size: 13px;
    font-weight: 800;
    color: #f0355f;
    letter-spacing: 0.04em;
}

.mhbni b {
    display: block;
    margin-top: 9px;
    font-size: 16.5px;
    line-height: 1.5;
    color: #251a1f;
}

.mhbni p {
    margin-top: 8px;
    font-size: 13.5px;
    line-height: 1.7;
    color: #8a7a81;
}

/* 用户评价：3 列 */
.mhbcw {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 34px;
}

.mhbca {
    padding: 22px 20px;
    background: #ffffff;
    border: 1px solid rgba(37, 26, 30, 0.08);
    border-radius: 16px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.mhbca:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(240, 53, 95, 0.14);
}

.mhbcs {
    display: flex;
    gap: 3px;
    color: #ff5c8a;
    font-size: 17px;
}

.mhbca p {
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.75;
    color: #4c3a42;
}

.mhbcu {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 15px;
    font-size: 13.5px;
    color: #a5959c;
}

.mhbcv {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffeaf1, #ffdde8);
    color: #f0355f;
    font-size: 13px;
    font-weight: 700;
}

/* 页脚 */
.mhbpb {
    background: #1d1216;
    border-top: 4px solid #ff5c8a;
    padding: 58px 0 24px;
}

.mhbpg {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 34px;
}

.mhbfm img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.mhbfm b {
    display: block;
    margin-top: 12px;
    font-size: 18px;
    color: #ff7bb0;
}

.mhbfm p {
    margin-top: 9px;
    font-size: 13.5px;
    line-height: 1.7;
    color: #9a868e;
    max-width: 300px;
}

.mhbfl b {
    display: block;
    font-size: 15px;
    color: #ff7bb0;
    margin-bottom: 14px;
}

.mhbfl a {
    display: block;
    padding: 5px 0;
    font-size: 14px;
    color: #b3a0a8;
    transition: color 0.2s;
}

.mhbfl a:hover {
    color: #ff7bb0;
}

.mhbcp {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(245, 236, 240, 0.12);
    text-align: center;
    font-size: 13px;
    color: #7d6a72;
}

/* 移动端 */
@media (max-width: 767px) {
    .mhbct {
        padding: 0 16px;
    }

    .mhbnav,
    .mhbtop {
        display: none;
    }

    .mhbmg {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .mhbhw {
        flex-direction: column;
        gap: 44px;
        padding: 52px 16px 56px;
    }

    .mhbtl {
        width: 100%;
        text-align: center;
    }

    .mhbht {
        font-size: 32px;
    }

    .mhble {
        font-size: 15px;
    }

    .mhbbtn {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .mhbhp {
        width: 100%;
        padding: 15px 0;
    }

    .mhbhs {
        display: none;
    }

    .mhbtd {
        gap: 28px;
        margin-top: 38px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .mhbtd b {
        font-size: 22px;
    }

    .mhbtr {
        width: 100%;
        justify-content: center;
    }

    .mhbph {
        width: 262px;
    }

    .mhbph img {
        height: 452px;
    }

    .mhbfa {
        left: 0;
        bottom: 18px;
    }

    .mhbfx {
        right: 0;
        top: 24px;
    }

    .mhbsec {
        padding: 52px 0;
    }

    .mhbth {
        font-size: 21px;
    }

    .mhbth i {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .mhbaw,
    .mhbdw,
    .mhbfw,
    .mhbnw,
    .mhbcw {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mhbsw {
        display: flex;
        gap: 14px;
        margin: 26px -16px 0;
        padding: 0 16px 6px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mhbsw::-webkit-scrollbar {
        display: none;
    }

    .mhbsi {
        flex: none;
        width: 240px;
        scroll-snap-align: start;
    }

    .mhbsim {
        height: 320px;
    }

    .mhbfaq {
        column-count: 1;
    }

    .mhbfc p {
        padding-left: 20px;
    }

    .mhbpg {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}
