/* 军事科技风格样式 */
:root {
    --primary-green: #1a2e1a;
    --accent-orange: #ff6b35;
    --bg-dark: #0d1117;
    --bg-card: #161b22;
    --text-light: #f0f6fc;
    --text-gray: #8b949e;
    --border-color: #30363d;
    --glow-color: #ff6b35;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏样式 */
.header {
    background: linear-gradient(135deg, var(--primary-green), var(--bg-dark));
    border-bottom: 2px solid var(--accent-orange);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 2rem;
    min-height: 60px;
}

.nav-brand {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.nav-logo {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px var(--glow-color));
    transition: transform 0.3s ease;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
}

.nav-logo:hover {
    transform: scale(1.1);
}

.nav-brand h1 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-orange);
    text-shadow: 0 0 10px var(--glow-color);
    margin: 0;
    line-height: 1;
    white-space: nowrap;
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    align-self: center;
}

.nav-brand .subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    display: block;
    margin-top: -5px;
    line-height: 1;
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    align-self: start;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

/* 语言切换器样式 */
.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-select {
    background: var(--bg-card);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    min-width: 120px;
}

.lang-select:hover,
.lang-select:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.2);
}

.lang-select option {
    background: var(--bg-card);
    color: var(--text-light);
    padding: 0.5rem;
}

/* 主内容区域 */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* 倒计时区域 */
.countdown-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
    background: linear-gradient(45deg, var(--bg-card), var(--primary-green));
    border-radius: 15px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ff6b35" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.countdown-container {
    position: relative;
    z-index: 2;
}

.countdown-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.time-unit {
    background: var(--bg-dark);
    border: 2px solid var(--accent-orange);
    border-radius: 10px;
    padding: 1.5rem;
    min-width: 120px;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

.time-unit::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-orange), transparent, var(--accent-orange));
    border-radius: 10px;
    z-index: -1;
    animation: borderGlow 2s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.time-number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-orange);
    display: block;
    text-shadow: 0 0 15px var(--glow-color);
}

.time-label {
    font-size: 1rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    display: block;
}

.release-date {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 300;
}

/* 服务器状态区域 */
.status-section {
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: var(--accent-orange);
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.server-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.server-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2);
    transform: translateY(-5px);
}

.server-status {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    position: absolute;
    top: 1rem;
    right: 1rem;
    animation: pulse 2s infinite;
}

.server-status.online {
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.server-status.offline {
    background-color: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.server-card h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.player-count, .ping {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.player-count span, .ping span {
    color: var(--accent-orange);
    font-weight: 500;
}

/* 新闻区域 */
.news-section {
    margin-bottom: 4rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
    transform: translateY(-3px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-date {
    color: var(--accent-orange);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.view-more-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--accent-orange), #ff8c42);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.view-more-btn:hover {
    background: linear-gradient(45deg, #ff8c42, var(--accent-orange));
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

/* 页脚 */
.footer {
    background: var(--primary-green);
    border-top: 2px solid var(--accent-orange);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer-content p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .lang-switcher {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .lang-select {
        min-width: 100px;
        font-size: 0.8rem;
    }
    
    .main {
        padding: 1rem;
    }
    
    .countdown-display {
        gap: 1rem;
    }
    
    .time-unit {
        min-width: 80px;
        padding: 1rem;
    }
    
    .time-number {
        font-size: 2rem;
    }
    
    .countdown-title {
        font-size: 1.5rem;
    }
    
    .server-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .countdown-display {
        flex-direction: column;
        align-items: center;
    }
    
    .time-unit {
        width: 200px;
    }
}
/* 新闻卡片
增强样式 */
.news-image-container {
    position: relative;
    overflow: hidden;
}

.news-image {
    transition: transform 0.3s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-orange);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.news-source {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
}

/* 加载动画 */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.loading-spinner::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 错误状态样式 */
.news-error {
    text-align: center;
    padding: 3rem;
    color: var(--text-gray);
}

.retry-btn {
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: #ff8c42;
    transform: translateY(-2px);
}

/* 新闻模态框样式 */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.news-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    margin: 2rem;
}

.news-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-dark);
    color: var(--text-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.news-modal-close:hover {
    background: var(--accent-orange);
    transform: scale(1.1);
}

.news-modal-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.news-modal-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: var(--text-light);
    margin: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-modal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.news-modal-source {
    color: var(--accent-orange);
    font-weight: 500;
}

.news-modal-date {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.news-modal-content-text {
    padding: 2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.news-modal-content-text p {
    margin-bottom: 1.5rem;
}

/* 服务器卡片增强样式 */
.server-card {
    cursor: pointer;
    user-select: none;
}

.server-card:active {
    transform: translateY(-3px) scale(0.98);
}

/* 服务器状态指示器增强 */
.server-status.maintenance {
    background-color: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}

.server-status.offline {
    background-color: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}

/* 响应式新闻模态框 */
@media (max-width: 768px) {
    .news-modal-content {
        margin: 1rem;
        max-height: 95vh;
    }
    
    .news-modal-title {
        font-size: 1.4rem;
        margin: 1.5rem;
    }
    
    .news-modal-meta {
        margin: 0 1.5rem;
    }
    
    .news-modal-content-text {
        padding: 1.5rem;
    }
    
    .news-modal-image {
        height: 200px;
    }
}

/* 新闻卡片点击效果 */
.news-card {
    cursor: pointer;
    user-select: none;
}

.news-card:active {
    transform: translateY(-1px) scale(0.98);
}

/* 改进的滚动条样式 */
.news-modal-content::-webkit-scrollbar {
    width: 8px;
}

.news-modal-content::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-radius: 4px;
}

.news-modal-content::-webkit-scrollbar-thumb {
    background: var(--accent-orange);
    border-radius: 4px;
}

.news-modal-content::-webkit-scrollbar-thumb:hover {
    background: #ff8c42;
}/*
 页面标题样式 */
.page-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: var(--accent-orange);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

/* 服务器概览样式 */
.server-overview {
    margin-bottom: 4rem;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-orange);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px var(--glow-color);
}

.stat-label {
    color: var(--text-gray);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 详细服务器卡片样式 */
.server-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.server-detail-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.server-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.server-location {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.server-status-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.server-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.stat-value {
    color: var(--accent-orange);
    font-weight: 500;
    font-family: 'Orbitron', monospace;
}

/* 进度条样式 */
.player-progress {
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-dark);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange), #ff8c42);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* 地图标签样式 */
.server-maps h5 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.map-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.map-tag {
    background: var(--primary-green);
    color: var(--text-light);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--accent-orange);
}

/* 服务器操作按钮 */
.server-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.action-btn.primary {
    background: linear-gradient(45deg, var(--accent-orange), #ff8c42);
    color: white;
}

.action-btn.primary:hover {
    background: linear-gradient(45deg, #ff8c42, var(--accent-orange));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.action-btn.secondary {
    background: var(--bg-dark);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.action-btn.secondary:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.2);
}

/* 图表容器样式 */
.chart-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.chart-container canvas {
    width: 100%;
    height: 400px;
    max-width: 100%;
}

/* 新闻页面样式 */
.news-filter {
    margin-bottom: 3rem;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: var(--bg-card);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

.featured-news {
    margin-bottom: 4rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    background: linear-gradient(45deg, var(--accent-orange), #ff8c42);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.load-more-btn:hover {
    background: linear-gradient(45deg, #ff8c42, var(--accent-orange));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* 攻略页面样式 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
    transform: translateY(-5px);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-family: 'Orbitron', monospace;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.category-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.weapon-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.weapon-filter {
    background: var(--bg-card);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.weapon-filter:hover,
.weapon-filter.active {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
}

.weapon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 响应式设计增强 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .server-stats {
        grid-template-columns: 1fr;
    }
    
    .server-actions {
        flex-direction: column;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .filter-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .server-detail-card {
        padding: 1.5rem;
    }
    
    .chart-container {
        padding: 1rem;
    }
    
    .chart-container canvas {
        height: 300px;
    }
}/* G
oogle AdSense 广告位样式 */
.ad-section {
    margin: 3rem 0;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 46, 26, 0.1), rgba(13, 17, 23, 0.1));
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.ad-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="ad-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23ff6b35" stroke-width="0.3" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23ad-grid)"/></svg>');
    pointer-events: none;
}

.ad-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* AdSense 广告单元样式 */
.adsbygoogle {
    display: block !important;
    min-height: 90px;
    background: rgba(22, 27, 34, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.adsbygoogle:hover {
    border-color: rgba(255, 107, 53, 0.2);
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.1);
}

/* 广告位标识 (可选，用于调试) */
.ad-section::after {
    content: 'Advertisement';
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 0.7rem;
    color: var(--text-gray);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
}

/* 侧边栏广告样式 (为未来扩展准备) */
.sidebar-ad {
    position: sticky;
    top: 100px;
    width: 300px;
    margin-left: 2rem;
}

.sidebar-ad .adsbygoogle {
    min-height: 250px;
    width: 300px;
}

/* 响应式广告样式 */
@media (max-width: 768px) {
    .ad-section {
        margin: 2rem 0;
        padding: 0.5rem 0;
    }
    
    .ad-container {
        padding: 0 1rem;
    }
    
    .adsbygoogle {
        min-height: 70px;
    }
    
    .sidebar-ad {
        display: none; /* 移动端隐藏侧边栏广告 */
    }
}

@media (max-width: 480px) {
    .ad-section {
        margin: 1.5rem 0;
    }
    
    .adsbygoogle {
        min-height: 60px;
    }
}

/* 广告加载状态 */
.ad-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.ad-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

/* 广告错误状态 */
.ad-error {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    color: var(--text-gray);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* 确保广告不影响页面布局 */
.ad-section {
    contain: layout style;
}

/* 广告位间距优化 */
.countdown-section + .ad-section {
    margin-top: 2rem;
}

.status-section + .ad-section {
    margin-top: 2rem;
}

.news-section + .ad-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* 官方链接样式 */
.official-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.official-link {
    background: linear-gradient(45deg, var(--bg-card), var(--primary-green));
    color: var(--text-light);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--accent-orange);
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.official-link:hover {
    background: linear-gradient(45deg, var(--accent-orange), #ff8c42);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* 响应式官方链接 */
@media (max-width: 768px) {
    .official-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .official-link {
        width: 200px;
        text-align: center;
    }
}/* 新闻来源链接
样式 */
.news-sources {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(22, 27, 34, 0.3);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.sources-title {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.source-link {
    display: inline-block;
    background: var(--bg-dark);
    color: var(--text-light);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    margin: 0 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.source-link:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.2);
}

/* 攻略页面外链样式 */
.guide-resources {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(22, 27, 34, 0.3);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.resources-title {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.resource-link {
    display: inline-block;
    background: var(--bg-dark);
    color: var(--text-light);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    margin: 0 0.5rem 0.5rem 0;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.resource-link:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.2);
}

/* 响应式外链样式 */
@media (max-width: 768px) {
    .news-sources, .guide-resources {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .source-link, .resource-link {
        display: block;
        margin: 0.5rem 0;
        text-align: center;
    }
}

/* 博客页面样式 */
.blog-categories {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.05) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.category-tab {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.category-tab:hover {
    background: rgba(255, 106, 0, 0.2);
    border-color: var(--accent-orange);
    transform: translateY(-2px);
}

.category-tab.active {
    background: var(--accent-orange);
    color: var(--bg-dark);
    border-color: var(--accent-orange);
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.5);
}

.featured-articles {
    padding: 60px 0;
    background: var(--bg-dark);
}

.articles-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 106, 0, 0.2);
    border-color: var(--accent-orange);
}

.article-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.article-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.article-card.featured .article-image {
    height: 300px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 25px;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.article-meta .category {
    background: var(--accent-orange);
    color: var(--bg-dark);
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
}

.article-meta .date {
    color: var(--text-gray);
}

.article-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-card.featured .article-title {
    font-size: 1.5rem;
}

.article-excerpt {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.article-author {
    font-size: 0.9rem;
    color: var(--accent-orange);
    font-weight: 500;
}

.load-more-container {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    background: var(--accent-orange);
    color: var(--bg-dark);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.3);
}

.authors-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.05) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.authors-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.author-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.author-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
    box-shadow: 0 10px 25px rgba(255, 106, 0, 0.1);
}

.author-avatar {
    font-size: 3rem;
    margin-bottom: 20px;
}

.author-card h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.author-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.author-stats {
    display: flex;
    justify-content: space-around;
    font-size: 0.9rem;
    color: var(--accent-orange);
    font-weight: 500;
}

/* 页脚链接样式 */
.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
}

/* 博客页面响应式设计 */
@media (max-width: 768px) {
    .article-card.featured {
        grid-column: span 1;
        display: block;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}