/* 51漫画 www.51manhua01.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: #0e0c0d;
    color: #f1ecee;
    line-height: 1.6;
}

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

img {
    display: block;
}

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

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

/* 头部 */
.mhhh {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(10, 8, 9, 0.92);
    border-bottom: 1px solid rgba(245, 236, 240, 0.08);
}

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

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

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

.mhhg span {
    color: #ff6f9f;
}

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

.mhhn a {
    font-size: 14.5px;
    color: #b7b1b5;
    transition: color 0.2s;
}

.mhhn a:hover {
    color: #ff6f9f;
}

.mhhbt {
    padding: 9px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff3d5e, #ff7bb0);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    transition: filter 0.2s, transform 0.2s;
}

.mhhbt:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.mhhmg {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #f1ecee;
    font-size: 22px;
    border: 1px solid rgba(245, 236, 240, 0.14);
}

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

.mhgdk.on {
    right: 0;
}

.mhdkt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(245, 236, 240, 0.1);
    font-size: 18px;
    font-weight: 800;
    color: #ff6f9f;
}

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

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

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

.mhgdk > a:hover {
    background: rgba(255, 111, 159, 0.1);
    color: #ff6f9f;
}

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

.mhgmsk {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(5, 3, 4, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

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

/* Hero 封面墙 */
.mhgtp {
    position: relative;
    padding: 96px 0 84px;
    overflow: hidden;
}

.mhgwl {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
}

.mhgwl img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(7px) brightness(0.5) saturate(0.7);
    transform: scale(1.12);
}

.mhgwlm {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(760px 420px at 50% 30%, rgba(255, 111, 159, 0.12), transparent 62%),
        linear-gradient(180deg, rgba(10, 8, 9, 0.86), rgba(14, 11, 12, 0.9));
}

.mhgtw {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mhgtb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 111, 159, 0.13);
    border: 1px solid rgba(255, 111, 159, 0.35);
    color: #ff6f9f;
    font-size: 13.5px;
    font-weight: 700;
}

.mhght {
    margin-top: 26px;
    font-size: 54px;
    line-height: 1.22;
    font-weight: 900;
    color: #f7f0f3;
}

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

.mhghd {
    margin-top: 18px;
    max-width: 560px;
    font-size: 17px;
    color: #bab4b9;
}

.mhghb {
    display: flex;
    gap: 14px;
    margin-top: 34px;
}

.mhghp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff3d5e, #ff7bb0);
    color: #ffffff;
    font-size: 16.5px;
    font-weight: 800;
    transition: filter 0.2s, transform 0.2s;
}

.mhghp:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.mhghs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 32px;
    border-radius: 999px;
    border: 1.5px solid rgba(245, 236, 240, 0.28);
    color: #f1ecee;
    font-size: 16px;
    font-weight: 700;
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.mhghs:hover {
    border-color: rgba(255, 111, 159, 0.55);
    color: #ff6f9f;
    transform: translateY(-2px);
}

.mhgtd {
    display: flex;
    gap: 54px;
    margin-top: 52px;
}

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

.mhgtd b {
    font-size: 27px;
    color: #ff6f9f;
}

.mhgtd span {
    margin-top: 3px;
    font-size: 13.5px;
    color: #9b959b;
}

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

.mhgalt {
    background: #0a0809;
}

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

.mhgth 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;
}

.mhgtx {
    margin-top: 10px;
    font-size: 15px;
    color: #9b959b;
}

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

.mhgsi {
    background: #1b1618;
    border: 1px solid rgba(245, 236, 240, 0.09);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.mhgsi:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 111, 159, 0.4);
    box-shadow: 0 18px 38px rgba(5, 3, 4, 0.5);
}

.mhgsim {
    height: 330px;
    overflow: hidden;
    background: #130e10;
}

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

.mhgsi:hover .mhgsim img {
    transform: scale(1.035);
}

.mhgsb {
    padding: 16px 16px 20px;
}

.mhgsl {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(255, 111, 159, 0.14);
    border: 1px solid rgba(255, 111, 159, 0.3);
    color: #ff6f9f;
    font-size: 12px;
    font-weight: 700;
}

.mhgsb b {
    display: block;
    margin-top: 10px;
    font-size: 16.5px;
    color: #f6eff2;
}

.mhgsb p {
    margin-top: 7px;
    font-size: 13.5px;
    line-height: 1.7;
    color: #a7a1a7;
}

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

.mhgaa {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: #1b1618;
    border: 1px solid rgba(245, 236, 240, 0.09);
    border-radius: 16px;
    transition: transform 0.25s, border-color 0.25s;
}

.mhgaa:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 111, 159, 0.4);
}

.mhgai {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #43202b, #241017);
    color: #ff6f9f;
    font-size: 25px;
}

.mhgaa b {
    display: block;
    font-size: 17.5px;
    color: #f6eff2;
}

.mhgaa p {
    margin-top: 7px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #a7a1a7;
}

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

.mhgda {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 26px 20px 24px;
    background: #1b1618;
    border: 1px solid rgba(245, 236, 240, 0.09);
    border-radius: 16px;
    transition: transform 0.25s, border-color 0.25s;
}

.mhgda:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 111, 159, 0.4);
}

.mhgdj {
    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;
}

.mhgdb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #43202b, #241017);
    color: #ff6f9f;
    font-size: 24px;
}

.mhgda b {
    margin-top: 13px;
    font-size: 17.5px;
    color: #f6eff2;
}

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

.mhgds {
    margin-top: 7px;
    font-size: 13px;
    color: #8f898f;
}

.mhgda 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;
}

.mhgda a:hover {
    filter: brightness(1.1);
}

/* 使用流程：2×2 大数字 */
.mhgfw {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 34px;
}

.mhgfo {
    position: relative;
    padding: 26px 24px 24px;
    background: #1b1618;
    border: 1px solid rgba(245, 236, 240, 0.09);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s;
}

.mhgfo:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 111, 159, 0.4);
}

.mhgfn {
    position: absolute;
    right: 16px;
    top: 8px;
    font-size: 52px;
    font-weight: 900;
    color: rgba(255, 111, 159, 0.13);
    line-height: 1.2;
}

.mhgfo b {
    display: block;
    font-size: 18px;
    color: #f6eff2;
}

.mhgfo p {
    margin-top: 8px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #a7a1a7;
}

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

.mhgfi {
    break-inside: avoid;
    background: #1b1618;
    border: 1px solid rgba(245, 236, 240, 0.09);
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
}

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

.mhgft:hover {
    color: #ff6f9f;
}

.mhgfg {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255, 111, 159, 0.14);
    color: #ff6f9f;
    font-size: 14px;
    font-weight: 800;
}

.mhgft i {
    margin-left: auto;
    color: #8f898f;
    transition: transform 0.3s;
}

.mhgft.on i {
    transform: rotate(180deg);
    color: #ff6f9f;
}

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

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

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

.mhgni {
    position: relative;
    padding: 22px 20px 20px;
    background: #1b1618;
    border: 1px solid rgba(245, 236, 240, 0.09);
    border-top: 3px solid #ff5c8a;
    border-radius: 14px;
    transition: transform 0.25s, border-color 0.25s;
}

.mhgni:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 111, 159, 0.35);
}

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

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

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

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

.mhgca {
    padding: 22px 20px;
    background: #1b1618;
    border: 1px solid rgba(245, 236, 240, 0.09);
    border-radius: 16px;
    transition: transform 0.25s, border-color 0.25s;
}

.mhgca:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 111, 159, 0.4);
}

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

.mhgca p {
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.75;
    color: #c6c0c6;
}

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

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

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

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

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

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

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

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

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

.mhgfl a:hover {
    color: #ff6f9f;
}

.mhgcp {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(245, 236, 240, 0.08);
    text-align: center;
    font-size: 13px;
    color: #736d73;
}

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

    .mhhn,
    .mhhbt {
        display: none;
    }

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

    .mhgtp {
        padding: 58px 0 56px;
    }

    .mhgwl {
        grid-template-columns: repeat(2, 1fr);
    }

    .mhght {
        font-size: 32px;
    }

    .mhghd {
        font-size: 15px;
    }

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

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

    .mhghs {
        display: none;
    }

    .mhgtd {
        gap: 28px;
        margin-top: 38px;
        flex-wrap: wrap;
    }

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

    .mhgsec {
        padding: 52px 0;
    }

    .mhgth {
        font-size: 21px;
    }

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

    .mhgsw,
    .mhgaw,
    .mhgdw,
    .mhgfw,
    .mhgnw,
    .mhgcw {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mhgsw {
        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;
    }

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

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

    .mhgsim {
        height: 320px;
    }

    .mhgfaq {
        column-count: 1;
    }

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

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