:root {
    --ink: #2c2030;
    --muted: #786d79;
    --pink: #f54f82;
    --rose: #fff0f4;
    --paper: #fffdfd;
    --line: #f2dce3;
    --shadow: 0 18px 42px rgba(100, 42, 62, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff9fa;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.7;
}

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

img {
    display: block;
    max-width: 100%;
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 253, 0.94);
    backdrop-filter: blur(12px);
}

.header-row {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 12px 12px 12px 3px;
    color: #fff;
    background: linear-gradient(135deg, #ff8aab, var(--pink));
}

.brand-copy {
    font-size: 20px;
    letter-spacing: 1px;
}

.brand-copy span {
    color: var(--pink);
}

.primary-nav {
    flex: 1;
}

.primary-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    gap: 4px;
    list-style: none;
}

.primary-nav a,
.header-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    border-radius: 10px;
    color: #5e4e5a;
    font-size: 14px;
    white-space: nowrap;
}

.primary-nav a:hover,
.header-action:hover {
    color: var(--pink);
    background: var(--rose);
}

.header-action {
    border: 1px solid #ffcddd;
    color: var(--pink);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    color: var(--pink);
    background: transparent;
    font-size: 24px;
}

.hero {
    margin-top: 28px;
}

.hero-slide {
    display: grid;
    min-height: 380px;
    overflow: hidden;
    grid-template-columns: 1.08fr 0.92fr;
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(112deg, #3d2037, #7b355d);
    box-shadow: var(--shadow);
}

.hero-copy {
    display: flex;
    padding: 54px;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: #ffc8d8;
    font-size: 13px;
    letter-spacing: 3px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.18;
}

.hero h1 a {
    text-decoration: underline;
    text-decoration-color: #ff8eae;
    text-underline-offset: 9px;
}

.hero p {
    max-width: 560px;
    color: #f5dce6;
}

.button {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    padding: 11px 17px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--pink);
    font: inherit;
    cursor: pointer;
}

.hero-image img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 14px;
    gap: 8px;
}

.slider-dots button {
    width: 26px;
    height: 4px;
    border: 0;
    border-radius: 9px;
    background: #ecc0cf;
}

.slider-dots button:first-child {
    background: var(--pink);
}

.section {
    margin-top: 62px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.section-heading h2,
.section-heading h1 {
    margin: 0;
    font-size: 28px;
}

.section-heading p {
    max-width: 580px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.text-link {
    color: var(--pink);
    font-size: 14px;
    white-space: nowrap;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.video-card,
.feature-card,
.stat-card,
.about-card,
.subscribe-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 8px 24px rgba(94, 48, 65, 0.05);
}

.video-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.card-body {
    display: flex;
    min-height: 148px;
    padding: 18px;
    flex-direction: column;
}

.tag {
    color: var(--pink);
    font-size: 12px;
}

.video-card h3 {
    margin: 8px 0 5px;
    font-size: 17px;
    line-height: 1.45;
}

.video-card p {
    margin: auto 0 0;
    color: var(--muted);
    font-size: 13px;
}

.category-grid,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    min-height: 158px;
    padding: 24px;
}

.feature-card .icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    color: var(--pink);
    background: var(--rose);
    font-size: 22px;
}

.feature-card h3 {
    margin: 12px 0 5px;
}

.feature-card p,
.about-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.editorial {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    overflow: hidden;
    border-radius: 22px;
    background: #ffe8ef;
}

.editorial img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.editorial-copy {
    padding: 42px;
}

.editorial-copy h2 {
    margin-top: 0;
}

.editorial-copy p {
    color: #725462;
}

.quote {
    padding: 24px 28px;
    border-left: 4px solid var(--pink);
    border-radius: 0 16px 16px 0;
    background: #fff;
    color: #573645;
    font-size: 18px;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
    min-height: 126px;
    padding: 22px;
}

.stat-card strong {
    display: block;
    color: var(--pink);
    font-size: 28px;
}

.stat-card span {
    color: var(--muted);
    font-size: 13px;
}

.about-card {
    padding: 35px;
}

.subscribe-card {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 34px;
    gap: 24px;
    background: linear-gradient(135deg, #fff4f7, #fff);
}

.subscribe-card h2 {
    margin-top: 0;
}

.subscribe-card p {
    color: var(--muted);
}

.qr {
    display: grid;
    width: 128px;
    height: 128px;
    place-items: center;
    border: 8px solid #fff;
    border-radius: 14px;
    color: #fff;
    background: repeating-conic-gradient(#392230 0 25%, #fff 0 50%) 0 / 20px 20px;
    box-shadow: var(--shadow);
    font-weight: 800;
    text-shadow: 0 1px 3px #000;
}

.breadcrumbs {
    margin-top: 26px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs a {
    color: var(--pink);
}

.listing-intro {
    margin-top: 25px;
    padding: 34px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(115deg, #77415e, #f06c95);
}

.listing-intro h1 {
    margin: 0 0 8px;
    font-size: 34px;
}

.listing-intro p {
    max-width: 700px;
    margin: 0;
    color: #ffe6ee;
}

.article-layout {
    display: grid;
    margin-top: 24px;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
}

.article,
.aside-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
}

.article {
    padding: 38px;
}

.article h1 {
    margin: 8px 0 12px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.3;
}

.article-meta {
    color: var(--muted);
    font-size: 13px;
}

.reading-note {
    margin: 28px 0;
    padding: 14px 16px;
    border-radius: 10px;
    color: #735766;
    background: var(--rose);
    font-size: 14px;
}

.article h2 {
    margin-top: 34px;
    font-size: 23px;
}

.article p {
    color: #514450;
}

.article-figure {
    margin: 24px 0;
}

.article-figure img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    object-fit: cover;
}

.article-figure figcaption {
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
}

.article-end {
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--pink);
}

.aside-card {
    position: sticky;
    top: 98px;
    height: fit-content;
    padding: 22px;
}

.aside-card h2 {
    margin-top: 0;
    font-size: 18px;
}

.aside-card a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.site-footer {
    margin-top: 70px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 900px) {
    .primary-nav {
        display: none;
    }

    .primary-nav.is-open {
        display: block;
        position: absolute;
        top: 76px;
        right: 20px;
        left: 20px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-toggle {
        display: block;
    }

    .header-action {
        display: none;
    }

    .hero-slide,
    .editorial,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: none;
    }

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

    .aside-card {
        position: static;
    }
}

@media (max-width: 600px) {
    .shell {
        width: min(100% - 28px, 1180px);
    }

    .header-row {
        min-height: 66px;
    }

    .hero {
        margin-top: 16px;
    }

    .hero-slide {
        min-height: 325px;
    }

    .hero-copy,
    .editorial-copy,
    .article,
    .about-card,
    .subscribe-card {
        padding: 24px;
    }

    .section {
        margin-top: 42px;
    }

    .section-heading {
        display: block;
    }

    .section-heading p {
        margin-top: 6px;
    }

    .text-link {
        display: inline-block;
        margin-top: 7px;
    }

    .card-grid,
    .category-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .subscribe-card {
        grid-template-columns: 1fr;
    }

    .qr {
        width: 112px;
        height: 112px;
    }

    .footer-row {
        display: block;
    }
}