@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700;900&family=ZCOOL+XiaoWei&display=swap');

:root {
    --bg-primary: #2c1b3e;
    --bg-secondary: #3d2a54;
    --bg-card: #3a2650;
    --gold: #d4ac0d;
    --gold-light: #f0c929;
    --gold-dark: #b8940a;
    --text-white: #ffffff;
    --text-light: #e8dff0;
    --text-muted: #b8a8cc;
    --border-gold: rgba(212, 172, 13, 0.3);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif SC', serif;
    background-color: var(--bg-primary);
    color: var(--text-white);
    line-height: 1.7;
    min-height: 100vh;
}

a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ Header ============ */
.site-header {
    background: linear-gradient(180deg, #1a0f28 0%, var(--bg-primary) 100%);
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 3px;
}

.logo span {
    color: var(--gold-light);
    font-weight: 900;
}

.header-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

.main-nav {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-gold);
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 5px;
}

.nav-list a {
    display: block;
    padding: 14px 22px;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: rgba(212, 172, 13, 0.1);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px;
}

/* ============ Hero Section ============ */
.hero {
    padding: 50px 0 30px;
    border-bottom: 1px solid var(--border-gold);
}

.hero-title {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 3.5rem;
    color: var(--gold);
    text-align: center;
    letter-spacing: 8px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(212, 172, 13, 0.3);
}

.hero-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.hero-featured {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.featured-main,
.featured-side {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-main:hover,
.featured-side:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.featured-main {
    grid-row: span 2;
}

.featured-main img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.featured-side img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.featured-body {
    padding: 20px;
}

.featured-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 3px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.featured-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.featured-main .featured-title {
    font-size: 1.8rem;
}

.featured-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.featured-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============ Main Content Layout ============ */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 40px 0;
}

.section-title {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 2rem;
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 12px;
    margin-bottom: 30px;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title::before {
    content: '❖';
    font-size: 1.2rem;
}

/* ============ Article Cards ============ */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

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

.article-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-tag {
    display: inline-block;
    background: rgba(212, 172, 13, 0.15);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.article-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
    color: var(--text-white);
}

.article-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 12px;
    border-top: 1px solid rgba(212, 172, 13, 0.15);
}

/* ============ Sidebar ============ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 25px;
}

.widget-title {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1.3rem;
    color: var(--gold);
    border-bottom: 1px solid var(--border-gold);
    padding-bottom: 10px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hot-list {
    list-style: none;
    counter-reset: hot-counter;
}

.hot-list li {
    counter-increment: hot-counter;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(212, 172, 13, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hot-list li:last-child {
    border-bottom: none;
}

.hot-list li:hover {
    padding-left: 5px;
}

.hot-list li::before {
    content: counter(hot-counter);
    font-family: 'ZCOOL XiaoWei', serif;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--gold);
    min-width: 28px;
    text-align: center;
}

.hot-list li:nth-child(1)::before { color: #ff4444; }
.hot-list li:nth-child(2)::before { color: #ff7744; }
.hot-list li:nth-child(3)::before { color: #ffaa44; }

.hot-rank {
    font-weight: 700;
    flex: 1;
    color: var(--text-light);
    font-size: 0.92rem;
}

.hot-score {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 600;
}

/* ============ Trending / Ranking Page ============ */
.ranking-full {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ranking-item {
    display: grid;
    grid-template-columns: 60px 1fr auto 80px;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-bottom: none;
    transition: all 0.3s ease;
}

.ranking-item:first-child {
    border-radius: 8px 8px 0 0;
}

.ranking-item:last-child {
    border-bottom: 1px solid var(--border-gold);
    border-radius: 0 0 8px 8px;
}

.ranking-item:hover {
    background: var(--bg-secondary);
    border-color: var(--gold);
}

.ranking-item .rank-num {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold);
    text-align: center;
}

.ranking-item.top-1 .rank-num { color: #ff4444; font-size: 2rem; }
.ranking-item.top-2 .rank-num { color: #ff7744; font-size: 1.8rem; }
.ranking-item.top-3 .rank-num { color: #ffaa44; font-size: 1.6rem; }

.ranking-topic {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
}

.ranking-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.ranking-tag.hot {
    background: rgba(255, 68, 68, 0.2);
    color: #ff6666;
}

.ranking-tag.new {
    background: rgba(68, 200, 255, 0.2);
    color: #44ccff;
}

.ranking-tag.boil {
    background: rgba(255, 170, 68, 0.2);
    color: #ffaa44;
}

.ranking-heat {
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
}

.ranking-heat small {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ============ Category Filter ============ */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-gold);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Noto Serif SC', serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
    font-weight: 600;
}

/* ============ Exclusive / Long Article ============ */
.exclusive-article {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
}

.exclusive-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid var(--border-gold);
    text-align: center;
}

.exclusive-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 15px;
    border-radius: 3px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.exclusive-title {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 2rem;
    color: var(--text-white);
    line-height: 1.4;
    margin-bottom: 15px;
}

.exclusive-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.exclusive-cover img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.exclusive-body {
    padding: 40px;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-light);
}

.exclusive-body p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.exclusive-body p:first-child::first-letter {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 3.5rem;
    color: var(--gold);
    float: left;
    line-height: 0.8;
    margin: 5px 10px 0 0;
}

/* ============ Timeline ============ */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--bg-secondary), var(--gold));
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 18px;
    height: 18px;
    background: var(--gold);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -9px;
}

.timeline-item:nth-child(even)::after {
    left: -9px;
}

.timeline-date {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--gold);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============ About Page ============ */
.about-intro {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    margin-bottom: 50px;
}

.about-intro h1 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.about-intro p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

.team-section h2,
.values-section h2 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1.8rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 3px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.team-member {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--gold);
}

.team-member h3 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-role {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.team-desc {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: var(--bg-secondary);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.value-card h3 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ============ Contact Page ============ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 35px;
}

.contact-form h2 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-primary);
    border: 1px solid var(--border-gold);
    border-radius: 5px;
    color: var(--text-white);
    font-family: 'Noto Serif SC', serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-primary);
    border: none;
    padding: 14px 40px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    font-family: 'Noto Serif SC', serif;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 172, 13, 0.4);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
}

.info-card h3 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.social-matrix {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gold);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

/* ============ Footer ============ */
.site-footer {
    background: #1a0f28;
    border-top: 2px solid var(--gold);
    padding: 60px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: 'ZCOOL XiaoWei', serif;
    color: var(--gold);
    font-size: 1.15rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-gold);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-gold);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom .gold {
    color: var(--gold);
    font-weight: 600;
}

/* ============ Page Banner ============ */
.page-banner {
    background: linear-gradient(135deg, #1a0f28 0%, var(--bg-primary) 100%);
    padding: 50px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-gold);
}

.page-banner h1 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 2.8rem;
    color: var(--gold);
    letter-spacing: 8px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(212, 172, 13, 0.3);
}

.page-banner p {
    color: var(--text-muted);
    font-size: 1rem;
    letter-spacing: 2px;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .hero-featured {
        grid-template-columns: 1fr 1fr;
    }

    .featured-main {
        grid-column: span 2;
        grid-row: auto;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        text-align: center;
    }

    .nav-list.open {
        display: flex;
    }

    .nav-list a {
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .nav-list a:hover,
    .nav-list a.active {
        border-bottom: none;
        border-left-color: var(--gold);
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-featured {
        grid-template-columns: 1fr;
    }

    .featured-main {
        grid-column: auto;
    }

    .featured-main img {
        height: 250px;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .exclusive-header {
        padding: 25px 20px 15px;
    }

    .exclusive-title {
        font-size: 1.4rem;
    }

    .exclusive-body {
        padding: 25px 20px;
    }

    .exclusive-cover img {
        height: 250px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 55px;
        padding-right: 15px;
    }

    .timeline-item::after,
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 11px;
        right: auto;
    }

    .page-banner h1 {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .ranking-item {
        grid-template-columns: 40px 1fr auto;
        gap: 10px;
        padding: 14px;
    }

    .ranking-heat {
        font-size: 0.9rem;
    }

    .header-meta {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }
}