* {
    box-sizing: border-box;
}

:root {
    --ink: #29253a;
    --muted: #756f84;
    --brand: #ff607f;
    --brand-dark: #e94367;
    --cream: #fff8f5;
    --panel: #ffffff;
    --line: #eee8ef;
    --violet: #6f5bd3;
    --shadow: 0 18px 50px rgba(57, 40, 76, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fbfafc;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(238, 232, 239, 0.9);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
}

.logo-mark {
    display: grid;
    width: 42px;
    height: 42px;
    color: #ffffff;
    border-radius: 14px 14px 14px 5px;
    background: linear-gradient(135deg, var(--brand), #ff8b69);
    box-shadow: 0 8px 20px rgba(255, 96, 127, 0.3);
    place-items: center;
}

.logo-mark.small {
    width: 32px;
    height: 32px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 4px;
}

.nav-link {
    display: flex;
    padding: 8px 10px;
    align-items: center;
    gap: 5px;
    color: #625c70;
    border-radius: 10px;
    font-size: 14px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-dark);
    background: #fff0f3;
}

.nav-icon {
    font-size: 16px;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    padding: 8px 12px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
}

.hero {
    display: grid;
    min-height: 470px;
    margin-top: 44px;
    padding: 62px;
    align-items: center;
    gap: 56px;
    border-radius: 34px;
    background: radial-gradient(circle at 85% 20%, #ffe2e6 0, transparent 35%), linear-gradient(135deg, #fff6f3, #f2efff);
    grid-template-columns: 1.15fr 0.85fr;
    overflow: hidden;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1.05;
}

.hero h1 a {
    color: transparent;
    background: linear-gradient(135deg, var(--brand-dark), var(--violet));
    background-clip: text;
}

.hero-copy > p {
    max-width: 640px;
    margin: 24px 0 30px;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions,
.chapter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    min-height: 46px;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
}

.btn.primary {
    color: #ffffff;
    background: var(--brand);
    box-shadow: 0 10px 24px rgba(255, 96, 127, 0.25);
}

.btn.secondary {
    color: var(--ink);
    border: 1px solid var(--line);
    background: #ffffff;
}

.btn.light {
    color: var(--violet);
    background: #ffffff;
}

.hero-art {
    display: grid;
    min-height: 310px;
    padding: 36px;
    align-content: center;
    justify-items: center;
    color: #ffffff;
    border: 10px solid rgba(255, 255, 255, 0.7);
    border-radius: 50% 50% 44% 56%;
    background: linear-gradient(145deg, var(--brand), var(--violet));
    box-shadow: var(--shadow);
    text-align: center;
}

.hero-brand-mark {
    font-size: 112px;
    font-weight: 900;
    line-height: 1;
}

.notice-bar {
    display: flex;
    margin-top: 30px;
    padding: 15px 22px;
    align-items: center;
    gap: 18px;
    border: 1px solid #ffe0e7;
    border-radius: 16px;
    background: #fff7f9;
}

.notice-label {
    color: var(--brand-dark);
    font-weight: 800;
    white-space: nowrap;
}

.notice-bar p {
    margin: 0;
    flex: 1;
}

.notice-bar a,
.more-link {
    color: var(--brand-dark);
    font-weight: 800;
    white-space: nowrap;
}

.stats-grid {
    display: grid;
    margin-top: 30px;
    gap: 18px;
    grid-template-columns: repeat(4, 1fr);
}

.stats-grid div {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
    text-align: center;
}

.stats-grid strong {
    display: block;
    color: var(--violet);
    font-size: 28px;
}

.stats-grid span {
    color: var(--muted);
    font-size: 14px;
}

.content-section {
    margin-top: 86px;
    margin-bottom: 86px;
}

.section-title-row {
    display: flex;
    margin-bottom: 28px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-icon,
.page-icon {
    display: grid;
    width: 48px;
    height: 48px;
    color: var(--brand-dark);
    border-radius: 15px;
    background: #fff0f3;
    font-size: 22px;
    place-items: center;
}

.section-title-row h2,
.section-title-row p {
    margin: 0;
}

.section-title-row h2 {
    font-size: 28px;
}

.section-title-row p {
    color: var(--muted);
    font-size: 14px;
}

.card-grid {
    display: grid;
    gap: 24px;
}

.card-grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.card-grid.five {
    grid-template-columns: repeat(5, 1fr);
}

.manga-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel);
    box-shadow: 0 10px 28px rgba(51, 38, 69, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.manga-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.cover-link img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.card-body {
    padding: 18px;
}

.badge {
    display: inline-block;
    padding: 3px 9px;
    color: var(--brand-dark);
    border-radius: 20px;
    background: #fff0f3;
    font-size: 12px;
}

.card-body h3 {
    margin: 9px 0 4px;
    line-height: 1.4;
}

.card-body p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.panel-section {
    padding: 38px;
    border-radius: 28px;
    background: #f4f1ff;
}

.ranking-list {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 12px;
    list-style: none;
}

.ranking-list li {
    display: grid;
    padding: 12px 16px;
    align-items: center;
    gap: 16px;
    border-radius: 16px;
    background: #ffffff;
    grid-template-columns: 42px 58px 1fr 30px;
}

.ranking-list img {
    width: 58px;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
}

.ranking-list h3,
.ranking-list p {
    margin: 0;
}

.ranking-list p {
    color: var(--muted);
    font-size: 13px;
}

.rank-no {
    color: var(--violet);
    font-size: 22px;
    font-weight: 900;
}

.trend {
    color: #23a66f;
}

.feature-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, 1fr);
}

.feature-tile {
    position: relative;
    min-height: 280px;
    padding: 24px;
    overflow: hidden;
    border-radius: 24px;
}

.feature-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}

.feature-tile span,
.feature-tile strong {
    position: relative;
    z-index: 1;
    display: block;
    color: #ffffff;
}

.feature-tile strong {
    margin-top: 140px;
    font-size: 25px;
}

.category-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, 1fr);
}

.category-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
}

.category-card:last-child {
    grid-column: 2 / 4;
}

.category-icon {
    font-size: 30px;
}

.category-card h3 {
    margin: 12px 0 6px;
}

.category-card p {
    min-height: 52px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
}

.category-arrow {
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 800;
}

.timeline {
    position: relative;
    display: grid;
    padding-left: 22px;
    gap: 16px;
}

.timeline::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 6px;
    width: 2px;
    content: "";
    background: #ffd2dc;
}

.timeline article {
    display: grid;
    padding: 20px;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    grid-template-columns: 70px 1fr auto;
}

.timeline article::before {
    position: absolute;
    left: 0;
    width: 14px;
    height: 14px;
    content: "";
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: var(--brand);
}

.timeline h3,
.timeline p {
    margin: 0;
}

.timeline p {
    color: var(--muted);
    font-size: 13px;
}

.status {
    color: #188c60;
    font-size: 13px;
}

.spotlight,
.app-banner {
    display: grid;
    margin-top: 90px;
    margin-bottom: 90px;
    padding: 52px;
    align-items: center;
    gap: 42px;
    color: #ffffff;
    border-radius: 30px;
    background: linear-gradient(135deg, #302b63, #7d4fc2);
    grid-template-columns: 1fr 1fr;
}

.eyebrow.light {
    color: #ffd9e1;
}

.spotlight h2,
.app-banner h2 {
    margin: 0 0 16px;
    font-size: 34px;
}

.spotlight-copy p,
.app-copy p {
    color: #e8e2ff;
}

.spotlight-covers {
    display: grid;
    align-items: end;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
}

.spotlight-covers img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border: 5px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    object-fit: cover;
    transform: rotate(-4deg);
}

.spotlight-covers img:nth-child(2) {
    transform: translateY(-18px);
}

.spotlight-covers img:nth-child(3) {
    transform: rotate(4deg);
}

.benefit-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.benefit-grid article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
}

.benefit-grid article > span {
    color: var(--violet);
    font-size: 32px;
}

.benefit-grid h3 {
    margin: 10px 0 6px;
}

.benefit-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.about-section {
    display: grid;
    padding: 44px;
    gap: 38px;
    border-radius: 28px;
    background: #fff7f2;
    grid-template-columns: 1.5fr 0.8fr;
}

.about-section > .section-title-row {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.about-copy p {
    margin-top: 0;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.about-tags span {
    padding: 6px 12px;
    color: var(--brand-dark);
    border-radius: 20px;
    background: #ffffff;
    font-size: 13px;
}

.about-quote {
    padding: 28px;
    color: #ffffff;
    border-radius: 22px;
    background: var(--brand);
}

.about-quote strong {
    font-size: 26px;
}

.app-banner {
    background: linear-gradient(135deg, #f05273, #ff9068);
    grid-template-columns: 1fr 220px;
}

.app-copy small {
    display: block;
    margin-top: 12px;
    color: #fff1f4;
}

.qr-placeholder {
    display: grid;
    width: 190px;
    height: 190px;
    padding: 18px;
    align-content: center;
    justify-self: end;
    color: var(--ink);
    border: 10px solid #ffffff;
    border-radius: 24px;
    background: repeating-linear-gradient(45deg, #ffffff 0, #ffffff 10px, #ffe4ea 10px, #ffe4ea 20px);
    text-align: center;
}

.qr-brand {
    display: block;
    color: var(--brand-dark);
    font-size: 70px;
    font-weight: 900;
    line-height: 1;
}

.breadcrumb {
    display: flex;
    margin-top: 32px;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--brand-dark);
}

.page-hero {
    margin-top: 28px;
    padding: 46px;
    border-radius: 26px;
    background: linear-gradient(135deg, #fff0f3, #f3efff);
}

.page-hero h1 {
    margin: 12px 0 8px;
    font-size: 42px;
}

.page-hero p {
    max-width: 820px;
    margin: 0;
    color: var(--muted);
}

.seo-copy {
    margin-top: 80px;
    margin-bottom: 90px;
    padding: 34px;
    border-left: 5px solid var(--brand);
    border-radius: 8px 20px 20px 8px;
    background: #ffffff;
}

.reader {
    max-width: 920px;
    margin-top: 40px;
    margin-bottom: 100px;
}

.article-header {
    margin-bottom: 30px;
    text-align: center;
}

.article-category {
    color: var(--brand-dark);
    font-weight: 800;
}

.article-header h1 {
    margin: 12px 0;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.25;
}

.article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--muted);
    font-size: 13px;
}

.reading-note {
    margin-bottom: 38px;
    padding: 26px;
    border: 1px solid #ffe0e7;
    border-radius: 18px;
    background: #fff8fa;
}

.reading-note h2,
.reading-note p {
    margin-top: 0;
}

.chapter-content > h2 {
    margin-bottom: 22px;
    text-align: center;
}

.comic-panels {
    display: grid;
    gap: 28px;
}

.comic-panels figure {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.comic-panels img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.comic-panels figcaption {
    padding: 12px 18px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.chapter-end {
    margin: 52px 0 28px;
    padding: 34px;
    border-radius: 22px;
    background: #f3f0ff;
    text-align: center;
}

.chapter-end h2,
.chapter-end p {
    margin: 6px 0;
}

.end-icon {
    color: #23a66f;
    font-size: 34px;
}

.chapter-nav {
    justify-content: center;
}

.site-footer {
    padding: 48px 0 28px;
    color: #d9d3e2;
    background: #282334;
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    font-size: 20px;
}

.footer-links {
    display: flex;
    margin: 22px 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-links a:hover {
    color: #ffffff;
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #ffffff;
        box-shadow: var(--shadow);
        grid-template-columns: repeat(4, 1fr);
    }

    .main-nav.open {
        display: grid;
    }

    .nav-link {
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding: 48px;
        grid-template-columns: 1fr 0.7fr;
    }

    .hero-art {
        min-height: 260px;
    }

    .card-grid.five {
        grid-template-columns: repeat(3, 1fr);
    }

    .card-grid.five .manga-card:nth-child(4),
    .card-grid.five .manga-card:nth-child(5) {
        transform: translateX(52%);
    }

    .benefit-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card:last-child {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1200px);
    }

    .header-inner {
        min-height: 68px;
    }

    .logo-text {
        font-size: 18px;
    }

    .main-nav {
        top: 68px;
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        margin-top: 28px;
        padding: 34px 24px;
        gap: 30px;
        border-radius: 24px;
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-art {
        min-height: 220px;
    }

    .hero-brand-mark {
        font-size: 82px;
    }

    .notice-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .stats-grid,
    .card-grid.four,
    .card-grid.five,
    .feature-grid,
    .benefit-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-grid.five .manga-card:nth-child(4),
    .card-grid.five .manga-card:nth-child(5) {
        transform: none;
    }

    .card-grid.five .manga-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 12px);
        justify-self: center;
    }

    .section-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .panel-section,
    .about-section {
        padding: 24px;
    }

    .spotlight,
    .app-banner,
    .about-section {
        padding: 34px 24px;
        grid-template-columns: 1fr;
    }

    .about-section > .section-title-row {
        grid-column: auto;
    }

    .qr-placeholder {
        justify-self: center;
    }

    .timeline article {
        gap: 10px;
        grid-template-columns: 58px 1fr;
    }

    .timeline .status {
        grid-column: 2;
    }

    .page-hero {
        padding: 30px 24px;
    }

    .breadcrumb {
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .stats-grid,
    .card-grid.four,
    .card-grid.five,
    .feature-grid,
    .benefit-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .card-grid.five .manga-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .hero-actions .btn,
    .chapter-nav .btn {
        width: 100%;
    }

    .ranking-list li {
        gap: 10px;
        grid-template-columns: 34px 50px 1fr;
    }

    .ranking-list img {
        width: 50px;
    }

    .ranking-list .trend {
        display: none;
    }

    .spotlight-covers {
        gap: 6px;
    }
}
