:root {
    --bg: #120f16;
    --bg-soft: #181521;
    --panel: rgba(24, 21, 33, 0.74);
    --panel-strong: rgba(32, 27, 44, 0.92);
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 214, 170, 0.24);
    --text: #f8f3ea;
    --muted: #c6bccf;
    --gold: #f0b46a;
    --gold-strong: #ff8f52;
    --rose: #ff6f7d;
    --cyan: #66d3f1;
    --shadow: 0 26px 60px rgba(5, 4, 12, 0.38);
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --container: 1180px;
    --header-height: 88px;
    --transition: 220ms ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 111, 125, 0.16), transparent 28%),
        radial-gradient(circle at 80% 20%, rgba(102, 211, 241, 0.18), transparent 24%),
        linear-gradient(180deg, #120f16 0%, #15111d 42%, #0f0b14 100%);
}

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

button,
input {
    font: inherit;
}

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

.spotlight-poster img,
.featured-poster img,
.detail-poster img,
.poster-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-shell {
    overflow: clip;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(14, 11, 20, 0.72);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, rgba(255, 143, 82, 0.95), rgba(255, 111, 125, 0.95));
    box-shadow: 0 14px 30px rgba(255, 111, 125, 0.3);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-copy strong {
    font-size: 1.06rem;
    letter-spacing: 0.04em;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.82rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.site-nav a {
    color: rgba(248, 243, 234, 0.82);
    font-size: 0.95rem;
    transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--gold);
}

.header-cta,
.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition),
        color var(--transition);
}

.header-cta,
.primary-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
    color: #180e0d;
    font-weight: 700;
}

.secondary-btn {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
}

.header-cta:hover,
.primary-btn:hover,
.secondary-btn:hover,
.filter-pill:hover,
.drama-card:hover,
.related-card:hover {
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.hero-section {
    position: relative;
    padding: 70px 0 36px;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 143, 82, 0.2), transparent 28%),
        radial-gradient(circle at 75% 20%, rgba(102, 211, 241, 0.18), transparent 20%),
        radial-gradient(circle at 50% 80%, rgba(255, 111, 125, 0.16), transparent 24%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
    gap: 34px;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.featured-showcase,
.value-card,
.drama-card,
.workflow-steps,
.faq-item,
.footer-contact-card,
.reason-card,
.story-card,
.side-card,
.related-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-copy {
    border-radius: var(--radius-lg);
    padding: 42px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--gold);
    font-size: 0.76rem;
    margin-bottom: 14px;
}

.hero-copy h1,
.section-head h2,
.workflow-copy h2,
.footer-brand h2 {
    font-family: "Trebuchet MS", "Avenir Next", "PingFang SC", sans-serif;
    line-height: 1.03;
    letter-spacing: -0.03em;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 5vw, 5.3rem);
    max-width: 8ch;
}

.hero-lead {
    margin-top: 18px;
    max-width: 56ch;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.8;
}

.hero-actions,
.hero-tags,
.meta-row,
.footer-card-meta,
.detail-actions,
.related-meta,
.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions {
    margin-top: 28px;
}

.hero-tags {
    margin-top: 24px;
}

.hero-tag,
.tag-chip,
.meta-pill,
.filter-pill,
.status-badge,
.episode-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(248, 243, 234, 0.88);
    font-size: 0.89rem;
}

.hero-panel {
    position: relative;
    min-height: 100%;
    border-radius: var(--radius-lg);
    padding: 18px;
}

.hero-spotlight,
.spotlight-poster,
.featured-poster,
.detail-poster {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 8px);
}

.spotlight-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
    min-height: 100%;
}

.spotlight-poster,
.featured-poster,
.detail-poster,
.poster-thumb {
    background:
        linear-gradient(160deg, var(--poster-start, #ff8f52), var(--poster-end, #5c1938)),
        #201824;
}

.spotlight-poster {
    min-height: 420px;
}

.spotlight-poster::after,
.featured-poster::after,
.detail-poster::after,
.poster-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 0%, rgba(8, 4, 10, 0.18) 46%, rgba(8, 4, 10, 0.78) 100%),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.32), transparent 18%);
}

.poster-thumb {
    aspect-ratio: 0.82;
    border-radius: 24px;
}

.poster-copy {
    position: absolute;
    z-index: 1;
    left: 20px;
    right: 20px;
    bottom: 18px;
    display: grid;
    gap: 8px;
    align-content: end;
}

.poster-kicker {
    display: inline-flex;
    width: fit-content;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(8, 4, 10, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(248, 243, 234, 0.9);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.poster-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.08;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.poster-thumb .poster-title {
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
}

.poster-thumb .poster-subtitle {
    font-size: 0.76rem;
    line-height: 1.45;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.poster-subtitle {
    font-size: 0.92rem;
    color: rgba(248, 243, 234, 0.78);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.spotlight-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 14px 14px 6px;
}

.spotlight-top h2,
.featured-copy h3,
.story-card h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.drama-copy h3,
.related-copy h3 {
    font-size: clamp(1.18rem, 1.5vw, 1.45rem);
    line-height: 1.2;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.spotlight-top p,
.featured-copy p,
.drama-copy p,
.story-card p,
.workflow-copy p,
.section-intro,
.faq-answer,
.footer-brand p,
.footer-contact-card p,
.related-copy p {
    color: var(--muted);
    line-height: 1.8;
}

.spotlight-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
}

.metric-card,
.stat-card {
    border-radius: 22px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-card {
    min-width: 0;
}

.metric-card strong,
.stat-card strong {
    display: block;
    font-size: 1.35rem;
    color: var(--text);
}

.metric-card span,
.stat-card span,
.drama-meta span,
.footer-card-meta span,
.related-meta span {
    display: block;
    color: rgba(248, 243, 234, 0.66);
    font-size: 0.88rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.metric-card span {
    overflow-wrap: normal;
    word-break: normal;
}

.drama-meta span:last-child,
.related-meta span:last-child {
    grid-column: 1 / -1;
}

.drama-copy p,
.related-copy p {
    font-size: 0.94rem;
    line-height: 1.65;
}

.stats-band {
    padding: 6px 0 18px;
}

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

.stat-card {
    border-radius: 24px;
}

.section {
    padding: 48px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
    align-items: end;
}

.section-head.compact {
    margin-bottom: 0;
}

.section-head h2,
.workflow-copy h2,
.footer-brand h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.section-intro {
    max-width: 58ch;
}

.featured-showcase {
    padding: 22px;
    border-radius: var(--radius-lg);
}

.featured-stage {
    display: grid;
    grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
    gap: 22px;
}

.featured-poster {
    min-height: 510px;
}

.featured-copy {
    display: grid;
    gap: 18px;
    align-content: start;
}

.featured-copy h3 {
    margin-top: 6px;
}

.featured-nav {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.card-actions {
    margin-top: 2px;
}

.small-btn {
    min-height: 42px;
    padding: 0 18px;
}

.featured-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.18);
}

.featured-dot.is-active {
    background: linear-gradient(135deg, var(--gold), var(--gold-strong));
}

.value-grid,
.drama-grid,
.reason-grid,
.related-grid {
    display: grid;
    gap: 18px;
}

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

.value-card,
.drama-card,
.reason-card,
.related-card {
    border-radius: 28px;
    padding: 22px;
}

.value-card {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.value-card-index {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(240, 180, 106, 0.12);
    border: 1px solid rgba(240, 180, 106, 0.2);
    color: var(--gold);
    font-weight: 800;
}

.library-topbar {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-pill {
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-pill.is-active {
    color: #180e0d;
    background: linear-gradient(135deg, var(--gold), var(--gold-strong));
    border-color: transparent;
}

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

.drama-card,
.related-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.drama-card[role="link"] {
    cursor: pointer;
}

.drama-card[role="link"]:focus-visible {
    outline: 2px solid rgba(240, 180, 106, 0.92);
    outline-offset: 3px;
}

.drama-card-link,
.related-card-link {
    display: contents;
}

.drama-header,
.related-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
}

.drama-header > div,
.related-header > div {
    min-width: 0;
}

.drama-copy,
.related-copy {
    display: grid;
    gap: 12px;
}

.drama-meta,
.footer-card-meta,
.related-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.footer-card-meta {
    grid-template-columns: 1fr;
    gap: 8px;
}

.workflow-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 22px;
    align-items: start;
}

.workflow-copy {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.workflow-steps {
    border-radius: var(--radius-lg);
    padding: 20px;
}

.workflow-step {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.workflow-step + .workflow-step {
    margin-top: 14px;
}

.workflow-step-index {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(240, 180, 106, 0.18), rgba(255, 111, 125, 0.16));
    color: var(--gold);
    font-weight: 800;
    font-size: 1.2rem;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    border-radius: 24px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    color: var(--text);
    border: none;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    cursor: pointer;
}

.faq-question strong {
    font-size: 1.04rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--gold);
}

.faq-answer {
    padding: 0 24px 22px;
    display: none;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.site-footer {
    padding: 20px 0 54px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 20px;
    align-items: start;
}

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

.footer-contact-card {
    border-radius: 28px;
    padding: 22px;
}

.footer-contact-card strong {
    display: block;
    font-size: 1.08rem;
    margin-bottom: 10px;
    line-height: 1.35;
}

.empty-state {
    border-radius: 28px;
    padding: 36px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    color: var(--muted);
}

@media (max-width: 1080px) {
    .hero-grid,
    .featured-stage,
    .workflow-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .stats-grid,
    .value-grid,
    .drama-grid,
    .footer-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workflow-copy {
        position: static;
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 76px;
    }

    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .site-nav {
        position: fixed;
        top: calc(var(--header-height) + 8px);
        left: 14px;
        right: 14px;
        padding: 16px;
        background: rgba(18, 15, 22, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 24px;
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
    }

    .site-nav.is-open {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .hero-copy,
    .hero-panel,
    .featured-showcase,
    .value-card,
    .drama-card,
    .faq-item,
    .footer-contact-card,
    .reason-card,
    .story-card,
    .side-card,
    .related-card {
        border-radius: 24px;
    }

    .hero-copy {
        padding: 28px;
    }

    .section-head {
        display: grid;
        align-items: start;
    }

    .stats-grid,
    .value-grid,
    .drama-grid,
    .footer-cards,
    .reason-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .drama-meta,
    .footer-card-meta,
    .related-meta,
    .spotlight-metrics {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .hero-section {
        padding-top: 34px;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .spotlight-metrics,
    .drama-meta,
    .footer-card-meta,
    .related-meta {
        grid-template-columns: 1fr;
    }

    .workflow-step {
        grid-template-columns: 1fr;
    }

    .workflow-step-index {
        width: 52px;
        height: 52px;
        border-radius: 18px;
    }
}
