@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap");

:root {
    --ink: #282332;
    --muted: #766f7d;
    --paper: #fffdfb;
    --pink: #f46e9a;
    --pink-dark: #dc4d80;
    --lavender: #f1edff;
    --peach: #fff0e9;
    --line: #eee8e7;
    --shadow: 0 16px 40px rgba(70, 43, 67, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Noto Sans SC", sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

.site-shell {
    width: min(1200px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 253, 251, 0.94);
    border-bottom: 1px solid rgba(238, 232, 231, 0.8);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    gap: 28px;
    align-items: center;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 9px;
    align-items: center;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), #f5a366);
    border-radius: 13px 13px 13px 4px;
    place-items: center;
    font-family: "Playfair Display", serif;
    font-size: 20px;
}

.brand-name {
    font-size: 19px;
    letter-spacing: 0.04em;
}

.brand-name small {
    margin-left: 3px;
    color: var(--pink-dark);
    font-size: 11px;
}

.main-nav {
    display: flex;
    flex: 1;
    gap: 4px;
    align-items: center;
    justify-content: space-between;
}

.main-nav a {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    padding: 8px 7px;
    color: #665e69;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--pink-dark);
    background: #fff0f5;
}

.nav-icon {
    color: var(--pink);
    font-size: 16px;
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
    min-height: 505px;
    margin-top: 50px;
    padding: 48px 62px;
    overflow: hidden;
    background: linear-gradient(115deg, #fff1f3 0%, #f7f1ff 68%, #f3eaff 100%);
    border-radius: 32px;
}

.hero-kicker,
.eyebrow {
    margin: 0 0 8px;
    color: var(--pink-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.hero h1,
.page-hero h1,
.reader-head h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.hero h1 a:hover {
    color: var(--pink-dark);
}

.hero-copy > p:not(.hero-kicker) {
    max-width: 500px;
    margin: 20px 0 28px;
    color: var(--muted);
    font-size: 16px;
}

.hero-actions,
.tag-row,
.chapter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 19px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

.primary {
    color: #fff;
    background: var(--pink);
    box-shadow: 0 8px 20px rgba(244, 110, 154, 0.28);
}

.primary:hover {
    background: var(--pink-dark);
}

.ghost,
.outline {
    color: var(--pink-dark);
    background: #fff;
    border-color: #f3c7d5;
}

.light {
    color: #4c3458;
    background: #fff;
}

.disabled {
    color: #999;
    background: #eee;
}

.hero-art {
    position: relative;
}

.hero-art img {
    height: 345px;
    border: 9px solid #fff;
    border-radius: 180px 180px 30px 30px;
    box-shadow: var(--shadow);
}

.floating-note {
    position: absolute;
    right: -18px;
    bottom: 25px;
    padding: 12px 20px;
    color: #67485a;
    background: #fff9cb;
    border-radius: 15px;
    box-shadow: var(--shadow);
    line-height: 1.25;
    transform: rotate(-5deg);
}

.floating-note strong {
    font-size: 24px;
}

.quick-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 32px;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 17px;
}

.quick-strip div {
    display: grid;
    grid-template-columns: 31px 1fr;
    padding: 19px 21px;
    background: #fff;
}

.quick-strip span {
    grid-row: span 2;
    color: var(--pink);
    font-size: 22px;
}

.quick-strip strong {
    font-size: 14px;
}

.quick-strip small {
    color: var(--muted);
    font-size: 11px;
}

.section-block {
    margin-top: 88px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 27px;
}

.section-heading h2,
.spotlight-copy h2,
.about-module h2,
.app-subscribe h2,
.feature-note h2,
.seo-copy h2 {
    margin: 0;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.3;
}

.section-heading > a {
    color: var(--pink-dark);
    font-size: 14px;
    font-weight: 700;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.category-tile {
    min-height: 168px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.comic-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.category-icon {
    display: grid;
    width: 43px;
    height: 43px;
    margin-bottom: 12px;
    color: var(--pink-dark);
    background: #fff1f5;
    border-radius: 14px;
    place-items: center;
    font-size: 21px;
}

.category-title {
    display: block;
    font-weight: 800;
}

.category-tile small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
}

.spotlight-layout {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 48px;
    align-items: center;
    padding: 34px;
    background: var(--peach);
    border-radius: 26px;
}

.spotlight-image img {
    height: 350px;
    border-radius: 18px;
}

.spotlight-copy > p:not(.eyebrow),
.about-module > p,
.app-subscribe p,
.feature-note p,
.seo-copy p {
    color: var(--muted);
}

.tag-row {
    margin: 22px 0;
}

.tag-row span {
    padding: 4px 11px;
    color: #76576b;
    background: #fff;
    border-radius: 999px;
    font-size: 12px;
}

.comic-grid {
    display: grid;
    gap: 18px;
}

.five-up {
    grid-template-columns: repeat(5, 1fr);
}

.comic-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cover-link img {
    aspect-ratio: 3 / 4;
}

.card-copy {
    padding: 13px 13px 15px;
}

.card-copy .eyebrow {
    margin-bottom: 3px;
    font-size: 10px;
}

.card-copy h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
}

.card-copy p:last-child {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.chart-section {
    padding: 38px;
    background: #fbf9ff;
    border-radius: 26px;
}

.rank-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px 27px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.rank-list li {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px;
    background: #fff;
    border-radius: 13px;
}

.rank-list b {
    color: var(--pink);
    font-family: "Playfair Display", serif;
    font-size: 20px;
}

.rank-list img {
    width: 47px;
    height: 57px;
    border-radius: 8px;
}

.rank-list span {
    flex: 1;
}

.rank-list strong,
.rank-list small {
    display: block;
}

.rank-list small {
    color: var(--muted);
    font-size: 11px;
}

.rank-list em {
    color: #5caa79;
    font-size: 12px;
    font-style: normal;
}

.korean-banner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    background: linear-gradient(115deg, #d9ceff, #f9d8ed);
    border-radius: 27px;
}

.korean-banner > div {
    padding: 47px;
}

.korean-banner h2 {
    margin: 0;
    color: #48334c;
    font-size: 34px;
    line-height: 1.3;
}

.korean-banner p:not(.eyebrow) {
    color: #604c61;
}

.korean-banner img {
    height: 320px;
}

.reading-guide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.guide-card {
    padding: 27px;
    border-top: 3px solid var(--pink);
    background: #fff;
    box-shadow: 0 9px 28px rgba(65, 44, 60, 0.05);
}

.guide-card span {
    color: var(--pink);
    font-family: "Playfair Display", serif;
    font-size: 32px;
}

.guide-card h3 {
    margin: 6px 0;
}

.guide-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.quote-module {
    padding: 48px max(25px, 9%);
    text-align: center;
    background: #272330;
    border-radius: 26px;
}

.quote-module p {
    margin: 0;
    color: #fff;
    font-family: "Playfair Display", "Noto Sans SC", serif;
    font-size: clamp(22px, 3vw, 31px);
    line-height: 1.55;
}

.quote-module span {
    color: #f6adc5;
    font-size: 13px;
}

.shelf-preview {
    padding: 34px;
    background: #f9f5ed;
    border-radius: 24px;
}

.shelf-row {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 23px;
    align-items: center;
}

.shelf-cover img {
    height: 122px;
    border-radius: 10px;
}

.shelf-row h3 {
    margin: 0;
}

.shelf-row p {
    margin: 4px 0 11px;
    color: var(--muted);
}

.progress {
    width: 100%;
    height: 8px;
    overflow: hidden;
    background: #e9e0d4;
    border-radius: 99px;
}

.progress span {
    display: block;
    width: 68%;
    height: 100%;
    background: var(--pink);
    border-radius: inherit;
}

.shelf-row small {
    color: var(--muted);
}

.about-module {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 48px;
    padding: 44px;
    border: 1px solid var(--line);
    border-radius: 24px;
}

.about-module > p {
    margin: 0;
    font-size: 16px;
}

.app-subscribe {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
    margin-top: 88px;
    margin-bottom: 88px;
    padding: 42px 48px;
    color: #fff;
    background: linear-gradient(120deg, #f26f98, #d76cba);
    border-radius: 27px;
}

.app-subscribe .eyebrow,
.app-subscribe p {
    color: #ffe7f0;
}

.app-subscribe p {
    max-width: 600px;
}

.qr-box {
    display: grid;
    gap: 4px;
    justify-items: center;
    padding: 17px;
    color: #5c3b57;
    background: #fff;
    border-radius: 18px;
    text-align: center;
}

.qr-pattern {
    display: grid;
    width: 100px;
    height: 100px;
    color: #fff;
    background: repeating-conic-gradient(#403141 0% 25%, #fff 0% 50%) 50% / 20px 20px;
    border: 7px solid #403141;
    place-items: center;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 1px 1px #403141;
}

.qr-box small {
    color: var(--muted);
}

.site-footer {
    padding-top: 52px;
    color: #ddd9e0;
    background: #292530;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-brand {
    color: #fff;
}

.site-footer p {
    max-width: 290px;
    color: #aaa3ae;
    font-size: 13px;
}

.site-footer h3 {
    margin: 3px 0 10px;
    color: #fff;
    font-size: 15px;
}

.site-footer a:not(.brand) {
    display: block;
    margin-top: 6px;
    color: #bdb6c1;
    font-size: 13px;
}

.copyright {
    padding: 17px 0;
    border-top: 1px solid #433d49;
    color: #948d98;
    font-size: 12px;
}

.page-hero {
    margin-top: 47px;
    padding: 51px 57px;
    background: linear-gradient(120deg, #fff0f4, #f4eeff);
    border-radius: 26px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 25px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a {
    color: var(--pink-dark);
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 50px);
}

.page-hero > p:last-child {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--muted);
}

.feature-note,
.info-panel,
.seo-copy {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 35px;
    padding: 28px 35px;
    background: #fff9f2;
    border-radius: 18px;
}

.feature-note > span {
    display: grid;
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    color: #fff;
    background: var(--pink);
    border-radius: 18px;
    place-items: center;
    font-size: 25px;
}

.feature-note h2,
.info-panel h2,
.seo-copy h2 {
    font-size: 23px;
}

.feature-note p,
.info-panel p,
.seo-copy p {
    margin: 4px 0 0;
}

.genre-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 35px;
}

.genre-board > div {
    padding: 26px;
    text-align: center;
    background: #f7f3ff;
    border-radius: 18px;
}

.genre-board span {
    color: var(--pink);
    font-size: 28px;
}

.genre-board h3,
.genre-board p {
    margin: 3px 0;
}

.genre-board p {
    color: var(--muted);
    font-size: 13px;
}

.result-count {
    color: var(--muted);
    font-size: 13px;
}

.info-panel {
    display: block;
    margin-bottom: 88px;
    background: #f4f9ff;
}

.reader-page {
    max-width: 900px;
    margin-top: 45px;
}

.reader-head {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.reader-head h1 {
    font-size: clamp(31px, 5vw, 47px);
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 15px;
    color: var(--muted);
    font-size: 13px;
}

.reader-meta a {
    color: var(--pink-dark);
}

.reading-note {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    margin: 27px 0 40px;
    padding: 18px 21px;
    background: #fff5e9;
    border-radius: 13px;
}

.reading-note span {
    color: var(--pink);
}

.reading-note p {
    margin: 0;
    color: #705e5e;
    font-size: 14px;
}

.chapter-lead {
    margin: 0 0 22px;
    color: var(--pink-dark);
    font-weight: 700;
    text-align: center;
}

.reader-frame {
    margin: 0 auto 24px;
}

.reader-frame img {
    width: min(100%, 720px);
    aspect-ratio: 4 / 5;
    margin: auto;
    border-radius: 8px;
}

.reader-frame figcaption {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.chapter-end {
    margin: 47px 0 28px;
    padding: 37px;
    text-align: center;
    background: #f8f1ff;
    border-radius: 21px;
}

.chapter-end span {
    color: var(--pink);
    font-size: 30px;
}

.chapter-end h2 {
    margin: 0;
}

.chapter-end p {
    margin: 7px auto 0;
    color: var(--muted);
    font-size: 14px;
}

.chapter-nav {
    justify-content: center;
    margin-bottom: 82px;
}

@media (max-width: 1050px) {
    .header-inner {
        gap: 16px;
    }

    .main-nav {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .main-nav a {
        padding: 8px;
    }

    .main-nav a span:last-child {
        display: none;
    }

    .hero {
        gap: 35px;
        padding: 42px;
    }

    .five-up {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .site-shell {
        width: min(100% - 28px, 1200px);
    }

    .header-inner {
        min-height: 67px;
    }

    .brand-name {
        font-size: 16px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        border-radius: 10px 10px 10px 3px;
        font-size: 17px;
    }

    .main-nav {
        gap: 2px;
    }

    .main-nav a {
        min-width: 34px;
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
        margin-top: 28px;
        padding: 32px 23px;
        border-radius: 22px;
    }

    .hero-art img {
        height: 260px;
    }

    .floating-note {
        right: 0;
    }

    .quick-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-strip div {
        padding: 13px;
    }

    .section-block {
        margin-top: 61px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading > a {
        text-align: right;
    }

    .category-grid,
    .reading-guide,
    .about-module,
    .app-subscribe,
    .spotlight-layout,
    .korean-banner,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 11px;
    }

    .category-tile {
        min-height: 151px;
        padding: 16px;
    }

    .spotlight-layout {
        padding: 20px;
    }

    .spotlight-image img {
        height: 280px;
    }

    .five-up {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .chart-section {
        padding: 21px;
    }

    .rank-list {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .korean-banner > div {
        padding: 31px 25px;
    }

    .korean-banner h2 {
        font-size: 28px;
    }

    .korean-banner img {
        height: 250px;
    }

    .shelf-preview {
        padding: 23px;
    }

    .shelf-row {
        grid-template-columns: 70px 1fr;
        gap: 15px;
    }

    .shelf-row .button {
        grid-column: span 2;
    }

    .shelf-cover img {
        height: 98px;
    }

    .about-module,
    .app-subscribe {
        gap: 19px;
        padding: 29px 24px;
    }

    .app-subscribe {
        margin-top: 61px;
        margin-bottom: 61px;
    }

    .footer-grid {
        gap: 26px;
    }

    .page-hero {
        margin-top: 27px;
        padding: 31px 24px;
    }

    .feature-note,
    .info-panel,
    .seo-copy {
        align-items: flex-start;
        padding: 23px;
    }

    .genre-board {
        grid-template-columns: repeat(2, 1fr);
    }

    .reader-page {
        margin-top: 28px;
    }

    .reader-frame img {
        aspect-ratio: 3 / 4;
    }
}
