:root {
    --ink: #211b38;
    --muted: #706985;
    --violet: #6c4cff;
    --violet-dark: #5137cf;
    --cream: #fbfaff;
    --line: #eae6f4;
    --shadow: 0 18px 45px rgba(58, 39, 120, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-shell {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(234, 230, 244, 0.9);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.header__inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    font-size: 18px;
    font-weight: 800;
}

.brand__mark {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 12px 12px 12px 4px;
    background: linear-gradient(135deg, #856cff, #ff7fa7);
    color: #ffffff;
    box-shadow: 0 7px 16px rgba(108, 76, 255, 0.28);
}

.main-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 8px;
    border-radius: 10px;
    color: #514a65;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    background: #f0edff;
    color: var(--violet);
}

.nav-link__icon {
    color: var(--violet);
    font-size: 16px;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    padding: 9px;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px;
    background: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 500px;
    margin-top: 46px;
    align-items: center;
    gap: 64px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 9px;
    color: var(--violet);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.eyebrow span {
    display: inline-grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 8px;
    background: #eeebff;
}

h1, h2, h3, p {
    margin-top: 0;
}

.hero h1 {
    max-width: 650px;
    margin-bottom: 18px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.12;
    letter-spacing: -0.06em;
}

.hero h1 a {
    background: linear-gradient(120deg, #5137cf, #ed5d91);
    -webkit-background-clip: text;
    color: transparent;
}

.hero__lead {
    max-width: 570px;
    color: var(--muted);
    font-size: 17px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    background: var(--violet);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(108, 76, 255, 0.24);
}

.button--soft {
    background: #f2efff;
    color: var(--violet-dark);
}

.hero__stats {
    display: flex;
    gap: 25px;
    margin-top: 34px;
}

.hero__stats div {
    display: grid;
}

.hero__stats strong {
    font-size: 18px;
}

.hero__stats span {
    color: var(--muted);
    font-size: 12px;
}

.hero__art {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    border-radius: 42% 42% 30px 30px;
    background: linear-gradient(145deg, #efeaff, #ffdbe8);
    box-shadow: var(--shadow);
}

.hero__art img {
    position: absolute;
    z-index: 2;
    inset: 36px 46px 0;
    width: calc(100% - 92px);
    height: calc(100% - 36px);
    border-radius: 100px 100px 0 0;
    object-fit: cover;
    object-position: center;
}

.hero__orbit {
    position: absolute;
    border: 1px solid rgba(108, 76, 255, 0.22);
    border-radius: 50%;
}

.hero__orbit--one {
    top: 22px;
    right: 18px;
    width: 190px;
    height: 190px;
}

.hero__orbit--two {
    bottom: 32px;
    left: -48px;
    width: 210px;
    height: 210px;
}

.hero__tag, .hero__bubble {
    position: absolute;
    z-index: 3;
    padding: 8px 12px;
    border-radius: 99px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(48, 35, 89, 0.12);
    font-size: 12px;
    font-weight: 800;
}

.hero__tag {
    top: 70px;
    left: 18px;
    color: #e95e91;
}

.hero__bubble {
    right: 14px;
    bottom: 52px;
    color: var(--violet);
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 60px;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(56, 37, 116, 0.05);
}

.feature-strip div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 18px;
    border-right: 1px solid var(--line);
}

.feature-strip div:last-child {
    border: 0;
}

.feature-strip span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    background: #f0edff;
    color: var(--violet);
}

.feature-strip p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.feature-strip strong {
    display: block;
    color: var(--ink);
}

.section {
    margin-top: 96px;
}

.section--tinted {
    padding: 76px 0;
    background: var(--cream);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin-bottom: 5px;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.2;
}

.section-heading > div > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.text-link {
    flex: 0 0 auto;
    color: var(--violet);
    font-size: 14px;
    font-weight: 800;
}

.comic-grid {
    display: grid;
    gap: 18px;
}

.comic-grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.comic-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.comic-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.comic-card__image {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #eee9ff;
}

.comic-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comic-card__body {
    padding: 13px 13px 15px;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 99px;
    background: #f1eeff;
    color: var(--violet-dark);
    font-size: 11px;
    font-weight: 800;
}

.comic-card h3 {
    margin: 8px 0 4px;
    font-size: 15px;
    line-height: 1.4;
}

.comic-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.category-card {
    position: relative;
    display: grid;
    min-height: 190px;
    padding: 20px;
    overflow: hidden;
    border-radius: 18px;
    color: #ffffff;
}

.category-card::after {
    position: absolute;
    right: -19px;
    bottom: -45px;
    width: 125px;
    height: 125px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    content: "";
}

.category-card--violet { background: linear-gradient(135deg, #886eff, #6443ea); }
.category-card--orange { background: linear-gradient(135deg, #ff9b62, #f46d52); }
.category-card--pink { background: linear-gradient(135deg, #ef73a8, #ca4d90); }
.category-card--red { background: linear-gradient(135deg, #fb7184, #e84b65); }
.category-card--blue { background: linear-gradient(135deg, #5aafe8, #397bd7); }
.category-card--green { background: linear-gradient(135deg, #5ec9a0, #2d9d81); }
.category-card--gold { background: linear-gradient(135deg, #e6b941, #be841d); }

.category-card__icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 21px;
}

.category-card__title {
    align-self: end;
    font-size: 20px;
    font-weight: 800;
}

.category-card__desc {
    max-width: 190px;
    font-size: 12px;
    line-height: 1.6;
}

.category-card__go {
    font-size: 12px;
    font-weight: 800;
}

.spotlight {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 58px;
    align-items: center;
}

.spotlight__image {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.spotlight__image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.spotlight h2, .about-panel h2, .app-panel h2 {
    margin-bottom: 16px;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.25;
}

.spotlight__content > p:not(.eyebrow), .about-panel p, .app-panel p {
    color: var(--muted);
}

.meta-list {
    padding: 0;
    margin: 22px 0;
    list-style: none;
}

.meta-list li {
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
    color: #5c5570;
    font-size: 14px;
}

.ranking-panel {
    max-width: 930px;
}

.ranking-list {
    border-top: 1px solid var(--line);
}

.ranking-list a {
    display: grid;
    grid-template-columns: 72px 1fr auto 28px;
    align-items: center;
    gap: 18px;
    padding: 17px 5px;
    border-bottom: 1px solid var(--line);
}

.ranking-list b {
    color: var(--violet);
    font-size: 22px;
}

.ranking-list span {
    font-weight: 800;
}

.ranking-list em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.ranking-list i {
    color: var(--violet);
    font-size: 22px;
    font-style: normal;
}

.mood-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.mood-grid a {
    display: flex;
    min-height: 96px;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
    font-weight: 800;
}

.mood-grid span {
    color: var(--violet);
    font-size: 25px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.calendar-grid div {
    display: grid;
    min-height: 145px;
    align-content: space-between;
    padding: 18px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(63, 46, 121, 0.06);
}

.calendar-grid strong {
    color: var(--violet);
}

.calendar-grid span {
    font-weight: 800;
}

.calendar-grid small {
    color: var(--muted);
}

.note-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.note-grid blockquote {
    margin: 0;
    padding: 24px;
    border-left: 4px solid #d8d0ff;
    border-radius: 0 15px 15px 0;
    background: #fbfaff;
    color: #4c465f;
}

.note-grid cite {
    display: block;
    margin-top: 15px;
    color: var(--violet);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.about-panel {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 33px;
    padding: 48px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f1eeff, #fff5f8);
}

.about-panel__icon {
    display: grid;
    width: 110px;
    height: 110px;
    place-items: center;
    border-radius: 36px 36px 36px 8px;
    background: var(--violet);
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(108, 76, 255, 0.25);
}

.about-panel p:last-child {
    margin-bottom: 0;
}

.app-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 46px 70px;
    overflow: hidden;
    border-radius: 24px;
    background: #211b38;
    color: #ffffff;
}

.app-panel .eyebrow {
    color: #c0b6ff;
}

.app-panel .eyebrow span {
    background: rgba(255, 255, 255, 0.12);
}

.app-panel p {
    max-width: 680px;
    color: #d1cce1;
}

.qr-card {
    display: grid;
    min-width: 174px;
    padding: 15px;
    place-items: center;
    border-radius: 16px;
    background: #ffffff;
    color: var(--ink);
    text-align: center;
}

.qr-code {
    display: grid;
    width: 102px;
    height: 102px;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
    padding: 6px;
    background: #ffffff;
}

.qr-code i {
    background: var(--ink);
}

.qr-code i:nth-child(2n) {
    background: var(--violet);
}

.qr-card strong {
    margin-top: 5px;
    font-size: 12px;
}

.qr-card span {
    color: var(--muted);
    font-size: 11px;
}

.site-footer {
    margin-top: 96px;
    background: #161226;
    color: #d1cbe1;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding: 54px 0 38px;
}

.brand--footer {
    color: #ffffff;
}

.footer__grid p {
    max-width: 300px;
    margin-top: 15px;
    color: #a8a1b8;
    font-size: 13px;
}

.footer__grid h2 {
    margin-bottom: 11px;
    color: #ffffff;
    font-size: 15px;
}

.footer__grid a:not(.brand) {
    display: block;
    margin: 7px 0;
    color: #bdb5ce;
    font-size: 13px;
}

.footer__copyright {
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright p {
    margin: 0;
    color: #91899f;
    font-size: 12px;
}

.listing-hero {
    margin-top: 48px;
    padding: 44px;
    border-radius: 24px;
    background: linear-gradient(120deg, #f1edff, #fff7f9);
}

.listing-hero h1 {
    margin: 7px 0 10px;
    font-size: clamp(34px, 5vw, 52px);
}

.listing-hero > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs a {
    color: var(--violet);
}

.seo-copy {
    max-width: 900px;
}

.seo-copy h2 {
    margin-bottom: 12px;
    font-size: 27px;
}

.seo-copy p {
    margin-bottom: 0;
    color: var(--muted);
}

.reader {
    max-width: 860px;
    margin-top: 46px;
}

.reader__header {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.reader__header h1 {
    margin: 13px 0 9px;
    font-size: clamp(29px, 4vw, 43px);
    line-height: 1.25;
}

.reader__header p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}

.reader__intro {
    margin: 28px 0;
    padding: 18px 21px;
    border-radius: 14px;
    background: #f7f5ff;
}

.reader__intro strong {
    color: var(--violet);
}

.reader__intro p {
    margin: 4px 0 0;
    color: #615a73;
}

.comic-pages figure {
    margin: 0 0 28px;
}

.comic-pages img {
    width: 100%;
    max-height: 860px;
    border-radius: 14px;
    background: #f0edff;
    object-fit: contain;
}

.comic-pages figcaption {
    padding: 11px 6px 0;
    color: var(--muted);
    font-size: 13px;
}

.chapter-end {
    padding: 34px;
    border-radius: 18px;
    background: #f5f2ff;
    text-align: center;
}

.chapter-end span {
    color: var(--violet);
    font-size: 28px;
}

.chapter-end h2 {
    margin: 4px 0;
    font-size: 22px;
}

.chapter-end p {
    margin: 0;
    color: var(--muted);
}

.chapter-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.chapter-nav a {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
}

.chapter-nav a:hover {
    border-color: #cfc4ff;
    background: #f4f1ff;
    color: var(--violet);
}

@media (max-width: 1000px) {
    .main-nav { gap: 0; }
    .nav-link { padding: 8px 5px; font-size: 12px; }
    .nav-link__icon { display: none; }
    .comic-grid--five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .calendar-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
    .site-shell { width: min(100% - 28px, 1200px); }
    .header__inner { min-height: 65px; flex-wrap: wrap; }
    .brand { font-size: 16px; }
    .brand__mark { width: 32px; height: 32px; }
    .menu-toggle { display: block; }
    .main-nav { display: none; width: 100%; padding: 5px 0 13px; flex-wrap: wrap; justify-content: flex-start; }
    .main-nav.is-open { display: flex; }
    .nav-link { padding: 7px 8px; background: #faf9ff; }
    .nav-link__icon { display: inline; }
    .hero { grid-template-columns: 1fr; min-height: 0; margin-top: 30px; gap: 30px; }
    .hero__art { min-height: 365px; }
    .hero__stats { gap: 17px; }
    .feature-strip { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
    .feature-strip div:nth-child(2) { border-right: 0; }
    .feature-strip div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .section { margin-top: 65px; }
    .section--tinted { padding: 53px 0; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .comic-grid--five, .comic-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-card { min-height: 180px; padding: 16px; }
    .category-card__title { font-size: 17px; }
    .spotlight { grid-template-columns: 1fr; gap: 30px; }
    .spotlight__image img { aspect-ratio: 4 / 3; }
    .ranking-list a { grid-template-columns: 42px 1fr 22px; gap: 9px; }
    .ranking-list em { display: none; }
    .mood-grid, .note-grid { grid-template-columns: repeat(2, 1fr); }
    .calendar-grid { grid-template-columns: repeat(2, 1fr); }
    .about-panel { grid-template-columns: 1fr; padding: 30px; gap: 20px; }
    .about-panel__icon { width: 74px; height: 74px; font-size: 35px; }
    .app-panel { flex-direction: column; align-items: flex-start; padding: 33px; gap: 25px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 25px; }
    .footer__grid > div:first-child { grid-column: span 2; }
    .listing-hero { margin-top: 30px; padding: 30px 24px; }
    .reader { margin-top: 30px; }
}

@media (max-width: 420px) {
    .hero__art { min-height: 300px; }
    .hero__art img { inset: 30px 28px 0; width: calc(100% - 56px); height: calc(100% - 30px); }
    .hero__tag { top: 40px; }
    .hero__bubble { bottom: 24px; }
    .feature-strip { grid-template-columns: 1fr; }
    .feature-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
    .feature-strip div:last-child { border-bottom: 0; }
    .comic-grid--five, .comic-grid--four, .category-grid, .mood-grid, .note-grid { grid-template-columns: 1fr; }
    .category-card { min-height: 160px; }
    .calendar-grid { grid-template-columns: 1fr; }
    .chapter-nav { grid-template-columns: 1fr; }
}
