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

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

:root {
    --bg-primary: #2c1b3e;
    --bg-secondary: #1e1329;
    --bg-card: #3a2750;
    --accent-gold: #d4ac0d;
    --accent-gold-light: #f0d44a;
    --accent-gold-dark: #b8940a;
    --text-white: #ffffff;
    --text-light: #e0d4ed;
    --text-muted: #b8a8c9;
    --border-gold: rgba(212, 172, 13, 0.3);
    --shadow-gold: 0 4px 20px rgba(212, 172, 13, 0.15);
}

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(--accent-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

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

.header-top {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-gold);
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: var(--text-muted);
    margin-left: 15px;
}

.header-top a:hover {
    color: var(--accent-gold);
}

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

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

.site-logo {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 36px;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 4px;
}

.site-logo span {
    color: var(--text-white);
}

.site-tagline {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-top: 4px;
}

/* Navigation */
.main-nav {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-gold);
}

.main-nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 14px 28px;
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

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

/* Section */
.section {
    padding: 50px 0;
}

.section-title {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 32px;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 4px;
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '❖';
    color: var(--accent-gold);
    margin: 0 15px;
    font-size: 20px;
}

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

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 0 auto 40px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    padding: 60px 0;
    border-bottom: 2px solid var(--border-gold);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.hero-main {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

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

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.hero-overlay .category {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 3px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.hero-overlay h2 {
    font-size: 28px;
    color: var(--text-white);
    line-height: 1.4;
    margin-bottom: 10px;
}

.hero-overlay .meta {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-side-item {
    display: flex;
    gap: 15px;
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    transition: all 0.3s ease;
}

.hero-side-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.hero-side-item img {
    width: 120px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
}

.hero-side-content {
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-side-content h3 {
    font-size: 15px;
    color: var(--text-white);
    line-height: 1.5;
    margin-bottom: 8px;
}

.hero-side-content .meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

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

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

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

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

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

.article-card .category {
    display: inline-block;
    background-color: rgba(212, 172, 13, 0.2);
    color: var(--accent-gold);
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 3px;
    margin-bottom: 12px;
    align-self: flex-start;
    letter-spacing: 1px;
}

.article-card h3 {
    font-size: 18px;
    color: var(--text-white);
    line-height: 1.5;
    margin-bottom: 12px;
}

.article-card h3 a {
    color: var(--text-white);
}

.article-card h3 a:hover {
    color: var(--accent-gold);
}

.article-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.article-card .meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-gold);
    padding-top: 12px;
}

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

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

.sidebar-widget h3 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 22px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-gold);
    letter-spacing: 2px;
}

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

.hot-list li {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 172, 13, 0.1);
    transition: all 0.3s ease;
}

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

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

.hot-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--bg-secondary);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
    flex-shrink: 0;
    margin-right: 12px;
}

.hot-list li:nth-child(1) .hot-rank {
    background-color: #ff4757;
    color: white;
}

.hot-list li:nth-child(2) .hot-rank {
    background-color: #ff7043;
    color: white;
}

.hot-list li:nth-child(3) .hot-rank {
    background-color: #ffa726;
    color: white;
}

.hot-list a {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.hot-list a:hover {
    color: var(--accent-gold);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list a {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--bg-secondary);
    color: var(--text-light);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.tag-list a:hover {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}

/* Trending Page */
.trending-header {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    padding: 50px 0 30px;
    border-bottom: 2px solid var(--border-gold);
}

.trending-list {
    counter-reset: trending-counter;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px;
    background-color: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-gold);
    transition: all 0.3s ease;
    counter-increment: trending-counter;
}

.trending-item:hover {
    border-color: var(--accent-gold);
    transform: translateX(5px);
}

.trending-rank {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 42px;
    color: var(--accent-gold);
    font-weight: 700;
    min-width: 60px;
    text-align: center;
}

.trending-item:nth-child(-n+3) .trending-rank {
    color: var(--accent-gold-light);
    text-shadow: 0 0 20px rgba(212, 172, 13, 0.5);
}

.trending-content {
    flex-grow: 1;
}

.trending-content h3 {
    font-size: 18px;
    color: var(--text-white);
    margin-bottom: 8px;
}

.trending-content h3 a {
    color: var(--text-white);
}

.trending-content h3 a:hover {
    color: var(--accent-gold);
}

.trending-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.trending-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hot-badge {
    display: inline-block;
    background-color: #ff4757;
    color: white;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 3px;
    margin-left: 10px;
    animation: pulse 1.5s infinite;
}

.new-badge {
    display: inline-block;
    background-color: #2ed573;
    color: white;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 3px;
    margin-left: 10px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-filter a {
    display: inline-block;
    padding: 8px 22px;
    background-color: var(--bg-card);
    color: var(--text-light);
    border: 1px solid var(--border-gold);
    border-radius: 25px;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.category-filter a:hover,
.category-filter a.active {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}

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

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

.exclusive-article .article-content {
    padding: 35px;
}

.exclusive-article .article-content h2 {
    font-size: 26px;
    color: var(--accent-gold);
    margin-bottom: 15px;
    line-height: 1.5;
}

.exclusive-article .article-meta {
    display: flex;
    gap: 25px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-gold);
}

.exclusive-article .article-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}

.exclusive-article .article-text p {
    margin-bottom: 15px;
    text-indent: 2em;
}

.exclusive-article .read-more {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.exclusive-article .read-more:hover {
    background-color: var(--accent-gold-light);
    color: var(--bg-primary);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-gold) 0%, var(--accent-gold-dark) 50%, var(--accent-gold) 100%);
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 40px;
}

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

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

.timeline-dot {
    position: absolute;
    top: 10px;
    width: 16px;
    height: 16px;
    background-color: var(--accent-gold);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px rgba(212, 172, 13, 0.5);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

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

.timeline-content:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.timeline-date {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 14px;
    color: var(--accent-gold);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.timeline-content h3 {
    font-size: 18px;
    color: var(--text-white);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* About Page */
.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.about-intro h2 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 36px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.about-intro p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 15px;
}

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

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

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

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--accent-gold);
}

.team-member h4 {
    font-size: 20px;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.team-member .role {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.team-member p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

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

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

.contact-form h3 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 26px;
    color: var(--accent-gold);
    margin-bottom: 25px;
    letter-spacing: 2px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 172, 13, 0.2);
}

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

.btn-submit {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    font-family: 'ZCOOL XiaoWei', serif;
}

.btn-submit:hover {
    background-color: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 172, 13, 0.4);
}

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

.contact-info h3 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 26px;
    color: var(--accent-gold);
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(212, 172, 13, 0.1);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(212, 172, 13, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 16px;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.contact-info-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background-color: var(--bg-secondary);
    border-top: 3px solid var(--accent-gold);
    padding: 50px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h4 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 18px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-widget p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

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

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

.footer-widget ul li a {
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

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

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

.footer-bottom a {
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--accent-gold);
}

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

    .two-column {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav a {
        padding: 12px 20px;
        border-bottom: 1px solid var(--border-gold);
    }

    .hero-main img {
        height: 300px;
    }

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

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

    .section-title {
        font-size: 26px;
    }

    .hero-overlay h2 {
        font-size: 20px;
    }

    .trending-item {
        flex-direction: column;
        text-align: center;
    }

    .trending-rank {
        font-size: 32px;
    }

    .header-top {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .site-logo {
        font-size: 28px;
    }

    .hero-side-item {
        flex-direction: column;
    }

    .hero-side-item img {
        width: 100%;
        height: 150px;
    }

    .contact-form,
    .contact-info {
        padding: 25px;
    }
}