:root {
    --bg: #080b12;
    --surface: #101622;
    --surface-2: #151d2c;
    --text: #f7f8fb;
    --muted: #aab3c4;
    --line: rgba(255, 255, 255, 0.1);
    --gold: #ffbd4a;
    --gold-2: #ffe3a8;
    --red: #ff5c67;
    --blue: #66a8ff;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    background: radial-gradient(circle at 10% 0%, rgba(255, 189, 74, 0.12), transparent 34%), radial-gradient(circle at 90% 18%, rgba(102, 168, 255, 0.1), transparent 32%);
    pointer-events: none;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: calc(100% - 40px);
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 11, 18, 0.9);
    backdrop-filter: blur(18px);
}

.header-main {
    display: flex;
    min-height: 74px;
    align-items: center;
    gap: 26px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
}

.brand img {
    width: 42px;
    height: 42px;
}

.brand-copy strong,
.brand-copy span {
    display: block;
}

.brand-copy strong {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

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

.primary-nav {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 4px;
}

.primary-nav a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border-radius: 12px;
    color: #d6dcea;
    font-size: 0.91rem;
    white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: #11151d;
    background: var(--gold);
}

.icon {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-link,
.nav-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text);
    background: var(--surface);
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

.breadcrumb {
    padding-top: 22px;
    color: var(--muted);
    font-size: 0.875rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb li + li::before {
    margin-right: 8px;
    color: #687286;
    content: "/";
}

.hero {
    padding: 34px 0 26px;
}

.hero-shell {
    position: relative;
    display: grid;
    min-height: 440px;
    overflow: hidden;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    border: 1px solid rgba(255, 189, 74, 0.2);
    border-radius: 30px;
    background: linear-gradient(120deg, #18110d 0%, #111827 58%, #0b2033 100%);
    box-shadow: var(--shadow);
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 6vw, 76px);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.14em;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 5.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero h1 a {
    background: linear-gradient(90deg, #ffffff, var(--gold-2));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 720px;
    margin: 22px 0 0;
    color: #d8dfeb;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.button.primary {
    border-color: var(--gold);
    color: #17130b;
    background: var(--gold);
    font-weight: 700;
}

.hero-art {
    position: relative;
    min-height: 340px;
}

.hero-orbit {
    position: absolute;
    top: 50%;
    left: 48%;
    width: min(30vw, 380px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(255, 255, 255, 0.025), 0 0 0 84px rgba(255, 255, 255, 0.018);
}

.hero-play {
    position: absolute;
    top: 50%;
    left: 48%;
    display: grid;
    width: 126px;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    place-items: center;
    border-radius: 50%;
    color: #17130b;
    background: var(--gold);
    box-shadow: 0 0 80px rgba(255, 189, 74, 0.45);
    font-size: 2rem;
    font-weight: 900;
}

.hero-note {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: min(260px, calc(100% - 48px));
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: #dce3ef;
    background: rgba(8, 11, 18, 0.72);
    backdrop-filter: blur(12px);
}

.hero-note strong,
.hero-note span {
    display: block;
}

.hero-note span {
    color: var(--muted);
    font-size: 0.86rem;
}

.section {
    padding: 44px 0;
}

.section.alt {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
}

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

.heading-group {
    min-width: 0;
}

.heading-group h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.25;
}

.heading-group p {
    margin: 6px 0 0;
    color: var(--muted);
}

.text-link {
    flex: 0 0 auto;
    color: var(--gold);
    font-weight: 700;
}

.category-strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.category-chip {
    display: flex;
    min-height: 106px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    text-align: center;
}

.category-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 189, 74, 0.6);
}

.category-chip .icon {
    width: 27px;
    height: 27px;
    color: var(--gold);
}

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

.poster-card {
    display: flex;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.poster-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 189, 74, 0.55);
}

.poster-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #20283a;
}

.poster-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.poster-card:hover .poster-media img {
    transform: scale(1.04);
}

.poster-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #17130b;
    background: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
}

.poster-body {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 17px;
}

.poster-body h3 {
    display: -webkit-box;
    min-height: 3.1em;
    overflow: hidden;
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 1.04rem;
    line-height: 1.55;
}

.poster-body p {
    display: -webkit-box;
    min-height: 4.8em;
    overflow: hidden;
    margin: 9px 0 0;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 0.88rem;
    line-height: 1.6;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: auto;
    padding-top: 14px;
    color: #c6cedd;
    font-size: 0.8rem;
}

.feature-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
}

.feature-lead {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    border-radius: 24px;
    background: #20283a;
}

.feature-lead img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 80px 28px 26px;
    background: linear-gradient(transparent, rgba(5, 8, 13, 0.96));
}

.feature-overlay h3 {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    line-height: 1.25;
}

.feature-list {
    display: grid;
    gap: 12px;
}

.feature-list a {
    display: grid;
    min-height: 88px;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}

.feature-list b {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    color: var(--gold);
    background: rgba(255, 189, 74, 0.1);
    font-size: 1.2rem;
}

.feature-list strong,
.feature-list span {
    display: block;
}

.feature-list span {
    color: var(--muted);
    font-size: 0.84rem;
}

.rank-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: rank;
}

.rank-list li {
    counter-increment: rank;
}

.rank-list a {
    display: grid;
    min-height: 74px;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
}

.rank-list a::before {
    color: var(--gold);
    content: counter(rank, decimal-leading-zero);
    font-size: 1.15rem;
    font-weight: 800;
}

.rank-list small {
    color: var(--muted);
}

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

.topic-card {
    position: relative;
    display: flex;
    min-height: 210px;
    overflow: hidden;
    flex-direction: column;
    justify-content: end;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 189, 74, 0.18), rgba(102, 168, 255, 0.08));
}

.topic-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(255, 92, 103, 0.18), rgba(102, 168, 255, 0.08));
}

.topic-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(102, 168, 255, 0.18), rgba(149, 103, 255, 0.1));
}

.topic-card span {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
}

.topic-card h3 {
    margin: 6px 0;
    font-size: 1.35rem;
}

.topic-card p {
    margin: 0;
    color: var(--muted);
}

.guide-panel {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 34px;
    align-items: center;
    padding: clamp(26px, 5vw, 52px);
    border: 1px solid rgba(255, 189, 74, 0.25);
    border-radius: 26px;
    background: linear-gradient(135deg, #1c1510, #101928);
}

.guide-panel h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.guide-step {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.guide-step b {
    color: var(--gold);
}

.guide-step p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.page-hero {
    padding: 52px 0 34px;
}

.page-hero h1 {
    max-width: 900px;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.page-hero p {
    max-width: 820px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
}

.article-cover {
    overflow: hidden;
    aspect-ratio: 16 / 8;
    border-radius: 24px;
    background: #20283a;
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 30px 0;
}

.article-content h2 {
    margin: 34px 0 12px;
    font-size: 1.55rem;
}

.article-content p {
    color: #d9dfeb;
    font-size: 1.04rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--muted);
}

.sidebar-card {
    position: sticky;
    top: 98px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

.sidebar-card h2 {
    margin: 0 0 14px;
    font-size: 1.2rem;
}

.sidebar-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-card li + li {
    border-top: 1px solid var(--line);
}

.sidebar-card a {
    display: block;
    padding: 12px 0;
    color: #dce2ed;
}

.article-pager {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.article-pager a {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.article-pager span,
.article-pager strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-pager span {
    color: var(--muted);
    font-size: 0.82rem;
}

.content-panel {
    padding: clamp(24px, 5vw, 54px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
}

.content-panel h2 {
    margin-top: 30px;
}

.content-panel p,
.content-panel li {
    color: #d6ddea;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
}

.contact-cards {
    display: grid;
    gap: 14px;
}

.contact-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-2);
}

.contact-card strong,
.contact-card span {
    display: block;
}

.contact-card span {
    color: var(--muted);
}

.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid label {
    display: grid;
    gap: 7px;
    color: #e5e9f1;
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    color: var(--text);
    background: #0d1320;
}

.form-grid input {
    min-height: 48px;
    padding: 0 14px;
}

.form-grid textarea {
    min-height: 150px;
    padding: 13px 14px;
    resize: vertical;
}

.form-grid input:focus,
.form-grid textarea:focus {
    border-color: var(--gold);
}

.form-status {
    min-height: 28px;
    color: var(--gold);
}

.search-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    max-width: 760px;
    margin: 24px 0 34px;
}

.search-box input {
    min-width: 0;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    outline: none;
    color: var(--text);
    background: var(--surface);
}

.search-summary {
    margin-bottom: 18px;
    color: var(--muted);
}

.not-found {
    display: grid;
    min-height: 62vh;
    place-items: center;
    text-align: center;
}

.not-found strong {
    display: block;
    color: var(--gold);
    font-size: clamp(5rem, 18vw, 12rem);
    line-height: 1;
}

.not-found h1 {
    margin: 14px 0 8px;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.not-found p {
    margin: 0 0 24px;
    color: var(--muted);
}

.site-footer {
    margin-top: 56px;
    border-top: 1px solid var(--line);
    background: #06080d;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 34px;
    padding-top: 46px;
    padding-bottom: 36px;
}

.footer-grid h2 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.footer-grid p {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #cbd3e0;
}

.footer-bottom {
    padding: 18px 0 26px;
    border-top: 1px solid var(--line);
    color: #7f899b;
    font-size: 0.82rem;
}

@media (max-width: 1100px) {
    .primary-nav {
        position: absolute;
        top: 74px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #0d121c;
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-toggle {
        display: inline-flex;
    }

    .header-main {
        justify-content: space-between;
    }

    .category-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

@media (max-width: 820px) {
    .hero-shell,
    .feature-split,
    .article-layout,
    .guide-panel,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-art {
        min-height: 260px;
    }

    .hero-orbit {
        width: 220px;
    }

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

    .topic-grid,
    .guide-steps,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-layout {
        gap: 0;
    }

    .sidebar-card {
        position: static;
    }
}

@media (max-width: 560px) {
    .container {
        width: calc(100% - 28px);
    }

    .brand-copy span {
        display: none;
    }

    .hero {
        padding-top: 20px;
    }

    .hero-copy {
        padding: 30px 22px;
    }

    .hero-lead {
        font-size: 0.98rem;
    }

    .hero-art {
        min-height: 230px;
    }

    .category-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .poster-grid,
    .rank-list,
    .article-pager {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-heading {
        align-items: start;
    }

    .heading-group p {
        display: none;
    }

    .feature-lead {
        min-height: 340px;
    }

    .search-box {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
