/* ===== 全局重置与基础样式 ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c9a84c;
    --primary-dark: #8b7322;
    --primary-light: #f0d78c;
    --secondary: #d42020;
    --accent: #ff6b35;
    --dark: #0a0a0f;
    --dark-card: #141420;
    --dark-light: #1e1e30;
    --text: #e8e8e8;
    --text-muted: #999;
    --border: #2a2a3e;
    --gradient-gold: linear-gradient(135deg, #c9a84c 0%, #f0d78c 50%, #c9a84c 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    --gradient-fire: linear-gradient(135deg, #d42020 0%, #ff6b35 100%);
    --shadow-glow: 0 0 20px rgba(201, 168, 76, 0.3);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

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

/* ===== 顶部公告栏 ===== */
.top-announcement {
    background: linear-gradient(90deg, #1a1a2e, #16213e, #1a1a2e);
    border-bottom: 1px solid var(--primary-dark);
    padding: 8px 0;
    font-size: 13px;
    color: var(--primary-light);
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.announcement-content marquee {
    flex: 1;
}

/* ===== 头部 ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-dark);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 36px;
    filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.5));
}

.logo-text strong {
    display: block;
    font-size: 22px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-text small {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.header-search {
    flex: 1;
    max-width: 400px;
}

.search-form {
    display: flex;
    background: var(--dark-light);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.search-form input {
    flex: 1;
    padding: 10px 18px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 14px;
    outline: none;
}

.search-form button {
    padding: 10px 18px;
    background: var(--gradient-gold);
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.search-form button:hover {
    opacity: 0.8;
}

.header-user {
    display: flex;
    gap: 10px;
}

.btn-login, .btn-register {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login {
    color: var(--primary);
    border: 1px solid var(--primary-dark);
}

.btn-login:hover {
    background: rgba(201, 168, 76, 0.1);
}

.btn-register {
    background: var(--gradient-fire);
    color: #fff;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 32, 32, 0.4);
}

/* ===== 主导航 ===== */
.main-nav {
    background: linear-gradient(180deg, var(--dark-light), var(--dark-card));
    border-top: 1px solid var(--border);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.nav-list li a {
    display: block;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-list li a:hover,
.nav-list li.active a {
    color: var(--primary);
    background: rgba(201, 168, 76, 0.08);
}

.nav-list li.active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 1px;
}

/* ===== Banner轮播 ===== */
.hero-banner {
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-content {
    flex: 1;
    max-width: 600px;
}

.banner-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 15px;
    backdrop-filter: blur(5px);
}

.banner-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 16px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.banner-desc {
    font-size: 14px !important;
    opacity: 0.7 !important;
    margin-bottom: 20px !important;
}

.banner-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-gold);
    color: var(--dark);
    border-radius: 25px;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(201, 168, 76, 0.4);
}

.banner-visual {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-icon {
    font-size: 100px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--primary);
    transform: scale(1.3);
}

/* ===== 通用区块 ===== */
.section {
    padding: 50px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.title-icon {
    font-size: 28px;
}

.section-more {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

.section-more:hover {
    text-decoration: underline;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== 开服卡片 ===== */
.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
}

.server-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.server-card:hover::before {
    transform: scaleX(1);
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-dark);
}

.server-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: var(--gradient-fire);
    color: #fff;
}

.server-tag.new {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.server-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-light);
}

.server-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.server-info span {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--dark-light);
    padding: 2px 8px;
    border-radius: 4px;
}

.server-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.server-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--dark-light);
    border: 1px solid var(--primary-dark);
    border-radius: 20px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.server-btn:hover {
    background: var(--primary);
    color: var(--dark);
}

/* ===== 版本分类 ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.category-item:hover {
    border-color: var(--primary);
    background: var(--dark-light);
    transform: translateX(5px);
}

.cat-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-light);
    border-radius: 10px;
    flex-shrink: 0;
}

.category-item h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.category-item p {
    font-size: 12px;
    color: var(--text-muted);
}

.cat-count {
    font-size: 11px;
    color: var(--primary);
    background: rgba(201, 168, 76, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 5px;
    display: inline-block;
}

/* ===== 攻略文章 ===== */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.guide-card {
    display: flex;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-dark);
}

.guide-thumb {
    width: 100px;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
}

.guide-thumb-1 { background: linear-gradient(135deg, #1a237e, #3949ab); }
.guide-thumb-2 { background: linear-gradient(135deg, #4a148c, #7b1fa2); }
.guide-thumb-3 { background: linear-gradient(135deg, #b71c1c, #e53935); }
.guide-thumb-4 { background: linear-gradient(135deg, #e65100, #ff6d00); }
.guide-thumb-5 { background: linear-gradient(135deg, #1b5e20, #43a047); }
.guide-thumb-6 { background: linear-gradient(135deg, #004d40, #00897b); }

.guide-body {
    padding: 15px;
    flex: 1;
}

.guide-cat {
    display: inline-block;
    font-size: 11px;
    color: var(--primary);
    background: rgba(201, 168, 76, 0.1);
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.guide-body h3 {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.guide-body h3 a:hover {
    color: var(--primary);
}

.guide-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.guide-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
}

/* ===== 新闻区 ===== */
.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 18px;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.news-item:hover {
    border-color: var(--primary-dark);
    background: var(--dark-light);
}

.news-date {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-fire);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.news-content h3 {
    font-size: 16px;
    margin-bottom: 6px;
    line-height: 1.5;
}

.news-content h3 a:hover {
    color: var(--primary);
}

.news-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 侧边栏 */
.sidebar-widget {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.rank-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.rank-num {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-light);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}

.rank-num.rank-1 { background: linear-gradient(135deg, #ffd700, #ffaa00); color: #000; }
.rank-num.rank-2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #000; }
.rank-num.rank-3 { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; }

.rank-list li a {
    font-size: 14px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-list li a:hover {
    color: var(--primary);
}

.hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hot-tags a {
    padding: 6px 12px;
    background: var(--dark-light);
    border-radius: 15px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.hot-tags a:hover {
    background: var(--primary);
    color: var(--dark);
}

/* ===== 评测区 ===== */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-dark);
}

.review-thumb {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

.review-thumb-1 { background: linear-gradient(135deg, #1a237e, #0d47a1, #01579b); }
.review-thumb-2 { background: linear-gradient(135deg, #4a148c, #6a1b9a, #880e4f); }
.review-thumb-3 { background: linear-gradient(135deg, #b71c1c, #bf360c, #e65100); }

.review-body {
    padding: 18px;
    position: relative;
}

.review-score {
    position: absolute;
    top: -15px;
    right: 15px;
    background: var(--gradient-gold);
    color: var(--dark);
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.review-body h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.review-body h3 a:hover {
    color: var(--primary);
}

.review-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.review-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.review-tags span {
    font-size: 12px;
    padding: 3px 10px;
    background: var(--dark-light);
    border-radius: 4px;
    color: var(--primary-light);
}

/* ===== 社区交流 ===== */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.community-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-dark);
}

.comm-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}

.community-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.community-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.comm-count {
    font-size: 12px;
    color: var(--primary);
}

/* ===== 数据统计 ===== */
.section-stats {
    background: linear-gradient(135deg, #0d0d1a, #1a1a2e);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== 底部 ===== */
.site-footer {
    background: var(--dark);
    border-top: 2px solid var(--primary-dark);
    padding: 50px 0 20px;
}

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

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary);
}

.footer-col p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}

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

.footer-col ul li a {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

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

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--primary);
}

/* ===== 悬浮客服 ===== */
.float-kefu {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.kefu-item {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-card);
    border: 1px solid var(--primary-dark);
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.kefu-item:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }
    
    .header-search {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    
    .banner-slider {
        height: 300px;
    }
    
    .banner-slide {
        padding: 0 30px;
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
    
    .banner-visual {
        display: none;
    }
    
    .news-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .guide-grid,
    .review-grid,
    .server-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-list {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .guide-card {
        flex-direction: column;
    }
    
    .guide-thumb {
        width: 100%;
        height: 80px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== 文章页样式 ===== */
.article-container {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.article-main {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.article-header h1 {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.article-meta-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
}

.article-content h2 {
    font-size: 22px;
    margin: 35px 0 15px;
    padding-left: 15px;
    border-left: 4px solid var(--primary);
}

.article-content h3 {
    font-size: 18px;
    margin: 25px 0 12px;
    color: var(--primary-light);
}

.article-content p {
    margin-bottom: 16px;
    text-indent: 2em;
}

.article-content ul,
.article-content ol {
    margin: 15px 0 15px 20px;
}

.article-content li {
    margin-bottom: 8px;
    list-style: disc;
    margin-left: 20px;
}

.article-content ol li {
    list-style: decimal;
}

.article-content strong {
    color: var(--primary);
}

.article-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 10px 20px;
    margin: 20px 0;
    background: rgba(201, 168, 76, 0.05);
    color: var(--text-muted);
    font-style: italic;
}

.article-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.article-tags a {
    padding: 5px 15px;
    background: var(--dark-light);
    border-radius: 15px;
    font-size: 13px;
}

.article-tags a:hover {
    background: var(--primary);
    color: var(--dark);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.article-nav a {
    font-size: 14px;
    color: var(--primary);
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 栏目页样式 */
.column-header {
    text-align: center;
    padding: 40px 0 20px;
}

.column-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.column-header p {
    font-size: 15px;
    color: var(--text-muted);
}

.column-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.article-list-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.article-list-item:hover {
    border-color: var(--primary-dark);
    background: var(--dark-light);
}

.article-list-thumb {
    width: 180px;
    height: 120px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    flex-shrink: 0;
}

.article-list-body {
    flex: 1;
}

.article-list-body h3 {
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.article-list-body h3 a:hover {
    color: var(--primary);
}

.article-list-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-list-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 15px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

/* 面包屑 */
.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: var(--text-muted);
}

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

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--primary-dark);
}

/* 右侧边栏 */
.aside-widget {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.aside-widget h3 {
    font-size: 17px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.aside-article-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.aside-article-list a {
    font-size: 14px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aside-article-list a:hover {
    color: var(--primary);
}

.aside-article-list .aside-date {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-top: 3px;
}

/* 响应式文章页 */
@media (max-width: 768px) {
    .article-container,
    .column-layout {
        grid-template-columns: 1fr;
    }
    
    .article-main {
        padding: 20px;
    }
    
    .article-header h1 {
        font-size: 22px;
    }
    
    .article-list-item {
        flex-direction: column;
    }
    
    .article-list-thumb {
        width: 100%;
        height: 100px;
    }
}
