* {
    box-sizing: border-box;
}

:root {
    --ink: #251b2c;
    --muted: #746b78;
    --paper: #fffaf8;
    --pink: #ff4b7d;
    --deep: #2d1743;
    --line: #eee3e8;
    --cream: #fff0f3;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 250, 248, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner,
.footer-inner {
    display: flex;
    width: min(1180px, calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    color: var(--deep);
    font-size: 18px;
    font-weight: 800;
}

.brand span span {
    color: var(--pink);
    font-size: 12px;
    margin-left: 3px;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    background: linear-gradient(145deg, #ff6991, #8f4bcc);
    border-radius: 11px;
    color: white;
    font-size: 18px;
}

.main-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 6px;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    border-radius: 9px;
    color: #584f5b;
    font-size: 14px;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus {
    background: var(--cream);
    color: var(--pink);
}

.nav-icon {
    color: var(--pink);
    font-size: 15px;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--deep);
    font-size: 24px;
}

main {
    overflow: hidden;
}

.hero {
    position: relative;
    width: min(1180px, calc(100% - 40px));
    height: 470px;
    margin: 28px auto 24px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--deep);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: none;
}

.hero-slide.is-active {
    display: block;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    max-width: 680px;
    flex-direction: column;
    justify-content: center;
    padding: 58px;
    color: white;
    background: linear-gradient(90deg, rgba(24, 10, 37, 0.82), rgba(24, 10, 37, 0.20), transparent);
}

.hero-overlay h1,
.hero-overlay h2 {
    margin: 8px 0;
    color: white;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.18;
}

.hero-overlay p:not(.hero-label) {
    max-width: 530px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-label,
.section-kicker,
.eyebrow {
    margin: 0;
    color: var(--pink);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-label {
    color: #ffcfda;
}

.primary-button {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border-radius: 10px;
    background: var(--pink);
    color: white;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease;
}

.primary-button:hover {
    background: #e93c6c;
    transform: translateY(-2px);
}

.hero-dots {
    position: absolute;
    right: 28px;
    bottom: 24px;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255,255,255,.5);
}

.hero-dots button.is-active {
    width: 28px;
    background: white;
}

.quick-strip,
.content-section,
.feature-band,
.quote-section,
.numbers-section,
.about-section,
.newsletter {
    width: min(1180px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.quick-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 64px;
    border: 1px solid var(--line);
    border-radius: 15px;
    overflow: hidden;
    background: white;
}

.quick-strip a {
    padding: 15px 20px;
    border-right: 1px solid var(--line);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.quick-strip a:last-child {
    border-right: 0;
}

.quick-strip span {
    margin-right: 7px;
    color: var(--pink);
}

.content-section {
    margin-bottom: 76px;
}

.section-heading {
    display: flex;
    min-height: 84px;
    margin-bottom: 22px;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading h2,
.feature-copy h2,
.about-copy h2,
.newsletter h2 {
    margin: 2px 0 5px;
    color: var(--deep);
    font-size: 29px;
    line-height: 1.35;
}

.section-heading p:not(.section-kicker) {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.section-more,
.text-link {
    flex: 0 0 auto;
    color: var(--pink);
    font-weight: 700;
}

.section-more span,
.text-link span {
    margin-left: 4px;
}

.card-grid {
    display: grid;
    gap: 18px;
}

.four-up {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.five-up {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.video-card {
    display: flex;
    min-width: 0;
    min-height: 330px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: white;
    transition: box-shadow .2s ease, transform .2s ease;
}

.video-card:hover {
    box-shadow: 0 14px 32px rgba(60, 32, 65, .12);
    transform: translateY(-3px);
}

.card-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eee;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duration {
    position: absolute;
    right: 9px;
    bottom: 8px;
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(26,17,29,.78);
    color: white;
    font-size: 12px;
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px;
}

.card-body h3 {
    margin: 5px 0 8px;
    color: var(--deep);
    font-size: 17px;
    line-height: 1.45;
}

.card-body p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.feature-band,
.about-section,
.newsletter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 350px;
    margin-bottom: 76px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--deep);
}

.feature-copy,
.about-copy,
.newsletter > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px;
}

.feature-copy h2,
.feature-copy p {
    color: white;
}

.feature-copy p:not(.section-kicker) {
    margin: 4px 0 20px;
    color: rgba(255,255,255,.72);
}

.feature-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.channel-tile {
    display: flex;
    min-height: 96px;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
}

.channel-symbol {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    background: var(--cream);
    color: var(--pink);
    font-size: 21px;
}

.channel-tile strong,
.channel-tile small {
    display: block;
}

.channel-tile small {
    color: var(--muted);
    font-size: 12px;
}

.channel-tile b {
    margin-left: auto;
    color: var(--pink);
}

.quote-section {
    margin-bottom: 76px;
    padding: 42px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.quote-section p {
    margin: 0 0 8px;
    color: var(--deep);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
}

.quote-section span {
    color: var(--muted);
    font-size: 14px;
}

.numbers-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 76px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.numbers-section div {
    border-right: 1px solid var(--line);
    text-align: center;
}

.numbers-section div:last-child {
    border-right: 0;
}

.numbers-section strong,
.numbers-section span {
    display: block;
}

.numbers-section strong {
    color: var(--pink);
    font-size: 30px;
}

.numbers-section span {
    color: var(--muted);
    font-size: 13px;
}

.about-section {
    background: white;
    border: 1px solid var(--line);
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-copy p:not(.section-kicker) {
    margin: 7px 0;
    color: var(--muted);
    font-size: 14px;
}

.newsletter {
    margin-bottom: 40px;
    background: linear-gradient(120deg, #481f62, #f04778);
}

.newsletter h2,
.newsletter p:not(.section-kicker) {
    color: white;
}

.newsletter p:not(.section-kicker) {
    margin: 4px 0 20px;
    color: rgba(255,255,255,.84);
}

.newsletter .primary-button {
    background: white;
    color: var(--pink);
}

.qr-card {
    display: grid;
    width: 180px;
    height: 215px;
    margin: auto;
    place-items: center;
    padding: 16px;
    border-radius: 17px;
    background: white;
    color: var(--deep);
    text-align: center;
}

.qr-title {
    font-size: 13px;
    font-weight: 900;
}

.qr-grid {
    display: grid;
    width: 115px;
    height: 115px;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 8px;
    background: #f5e8ed;
}

.qr-grid i {
    background: var(--deep);
}

.qr-grid i:nth-child(2n) {
    background: var(--pink);
}

.qr-card small {
    color: var(--muted);
    font-size: 11px;
}

.site-footer {
    margin-top: 40px;
    background: #211529;
    color: rgba(255,255,255,.72);
}

.footer-inner {
    min-height: 125px;
}

.footer-brand {
    color: white;
}

.footer-inner p {
    margin: 7px 0 0;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
}

.copyright {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 12px;
    text-align: center;
}

.inner-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 28px 0;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: var(--pink);
}

.channel-hero {
    margin-bottom: 48px;
    padding: 48px;
    border-radius: 20px;
    background: linear-gradient(120deg, #fff0f3, #f4edff);
}

.channel-hero h1 {
    margin: 3px 0 8px;
    color: var(--deep);
    font-size: 40px;
}

.channel-hero p:last-child {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
}

.compact-top {
    margin-bottom: 60px;
}

.article-page {
    max-width: 900px;
}

.reading-article {
    margin-bottom: 70px;
    padding: clamp(24px, 5vw, 60px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: white;
}

.article-header {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.article-header h1 {
    margin: 6px 0 14px;
    color: var(--deep);
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.3;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 16px;
    color: var(--muted);
    font-size: 13px;
}

.reading-note {
    margin: 28px 0;
    padding: 17px 20px;
    border-left: 4px solid var(--pink);
    border-radius: 0 10px 10px 0;
    background: var(--cream);
}

.reading-note strong {
    color: var(--deep);
}

.reading-note p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.article-content {
    color: #544b56;
}

.article-content p {
    margin: 0 0 18px;
}

.article-content h2 {
    margin: 30px 0 10px;
    color: var(--deep);
    font-size: 24px;
}

.article-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.article-gallery figure {
    margin: 0;
}

.article-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    object-fit: cover;
}

.article-gallery figcaption {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

.chapter-end {
    display: flex;
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 900px) {
    .header-inner {
        min-height: 64px;
    }
    .menu-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        right: 20px;
        left: 20px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 13px;
        background: white;
        box-shadow: 0 18px 35px rgba(48, 24, 50, .13);
    }
    .main-nav.is-open {
        display: block;
    }
    .main-nav ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .four-up,
    .five-up {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .video-card {
        min-height: 300px;
    }
    .channel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .header-inner,
    .footer-inner,
    .hero,
    .quick-strip,
    .content-section,
    .feature-band,
    .quote-section,
    .numbers-section,
    .about-section,
    .newsletter,
    .inner-page {
        width: min(100% - 28px, 1180px);
    }
    .brand {
        font-size: 15px;
    }
    .brand span span {
        display: none;
    }
    .hero {
        height: 430px;
        margin-top: 18px;
    }
    .hero-overlay {
        padding: 30px;
        justify-content: end;
        background: linear-gradient(0deg, rgba(24, 10, 37, .88), rgba(24, 10, 37, .08));
    }
    .hero-overlay h1,
    .hero-overlay h2 {
        font-size: 32px;
    }
    .quick-strip {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 46px;
    }
    .quick-strip a:nth-child(2) {
        border-right: 0;
    }
    .quick-strip a:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }
    .content-section,
    .feature-band,
    .quote-section,
    .numbers-section,
    .about-section {
        margin-bottom: 52px;
    }
    .section-heading {
        display: block;
    }
    .section-more {
        display: inline-block;
        margin-top: 8px;
    }
    .three-up,
    .four-up,
    .five-up,
    .channel-grid,
    .feature-band,
    .about-section,
    .newsletter {
        grid-template-columns: 1fr;
    }
    .video-card {
        min-height: auto;
    }
    .feature-band img,
    .about-visual {
        min-height: 240px;
    }
    .feature-copy,
    .about-copy,
    .newsletter > div:first-child {
        padding: 32px 25px;
    }
    .feature-band img {
        grid-row: 1;
    }
    .numbers-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 0;
    }
    .numbers-section div:nth-child(2) {
        border-right: 0;
    }
    .footer-inner {
        display: block;
        padding: 30px 0;
    }
    .footer-links {
        margin-top: 20px;
    }
    .channel-hero {
        padding: 30px 22px;
        margin-bottom: 32px;
    }
    .channel-hero h1 {
        font-size: 32px;
    }
    .article-gallery {
        grid-template-columns: 1fr;
    }
    .chapter-end {
        align-items: flex-start;
        flex-direction: column;
    }
}
