/* ========== 全局重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "WenQuanYi Micro Hei", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #e0e0e0;
  background: #0a0a0f;
  overflow-x: hidden;
}

a { color: #f0c060; text-decoration: none; transition: color 0.3s; }
a:hover { color: #ffd700; }

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

/* ========== 顶部公告栏 ========== */
.top-bar {
  background: linear-gradient(90deg, #1a0a2e, #2d1057, #1a0a2e);
  border-bottom: 1px solid #4a2080;
  padding: 8px 0;
  font-size: 12px;
  color: #b088d8;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { color: #ff6b6b; font-weight: bold; }
.top-bar-right a { color: #b088d8; margin: 0 3px; }
.top-bar-right a:hover { color: #ffd700; }

/* ========== 头部Logo区 ========== */
.header {
  background: radial-gradient(ellipse at center, #1a1a3e 0%, #0d0d20 100%);
  padding: 30px 0;
  border-bottom: 2px solid #c8a020;
}
.header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.site-logo { font-size: 32px; color: #ffd700; text-shadow: 0 0 20px rgba(255,215,0,0.5); margin-bottom: 5px; }
.site-slogan { font-size: 14px; color: #a0a0c0; }
.header-stats { display: flex; gap: 30px; }
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: bold; color: #ff6b35; text-shadow: 0 0 10px rgba(255,107,53,0.3); }
.stat-label { font-size: 12px; color: #888; }

/* ========== 导航菜单 ========== */
.main-nav {
  background: linear-gradient(180deg, #1c1050, #140a35);
  border-bottom: 1px solid #3a1a70;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.nav-list { display: flex; list-style: none; flex-wrap: wrap; }
.nav-list li { flex: 1; text-align: center; min-width: 100px; }
.nav-list a {
  display: block;
  padding: 15px 10px;
  color: #c0c0e0;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
}
.nav-list a:hover, .nav-list a.active {
  color: #ffd700;
  background: rgba(255,215,0,0.08);
  border-bottom-color: #ffd700;
}

/* ========== 主内容区 ========== */
.main-content { padding: 30px 0; }

/* ===== Hero Banner ===== */
.hero-banner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.hero-text h2 { font-size: 24px; color: #ffd700; margin-bottom: 15px; }
.hero-text p { font-size: 15px; color: #b0b0c0; line-height: 1.9; margin-bottom: 20px; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 6px; font-size: 15px; font-weight: bold; transition: all 0.3s; }
.btn-primary { background: linear-gradient(135deg, #ff6b35, #c0392b); color: #fff; box-shadow: 0 4px 15px rgba(255,107,53,0.4); }
.btn-primary:hover { background: linear-gradient(135deg, #ff8555, #d9452a); color: #fff; transform: translateY(-2px); }
.btn-secondary { background: linear-gradient(135deg, #4a90d9, #2c5f8a); color: #fff; box-shadow: 0 4px 15px rgba(74,144,217,0.4); }
.btn-secondary:hover { background: linear-gradient(135deg, #5aa0e9, #3c6f9a); color: #fff; transform: translateY(-2px); }

.hero-side .hero-card {
  background: linear-gradient(135deg, #1e1050, #2a1570);
  border: 1px solid #4a2080;
  border-radius: 10px;
  padding: 20px;
}
.hero-card h3 { color: #ffd700; margin-bottom: 15px; font-size: 16px; }
.quick-news { list-style: none; }
.quick-news li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: #c0c0d0; }
.quick-news li:last-child { border-bottom: none; }
.tag-hot { background: #ff6b35; color: #fff; padding: 2px 6px; border-radius: 3px; font-size: 11px; margin-right: 5px; }
.tag-new { background: #4a90d9; color: #fff; padding: 2px 6px; border-radius: 3px; font-size: 11px; margin-right: 5px; }
.tag-rec { background: #2ecc71; color: #fff; padding: 2px 6px; border-radius: 3px; font-size: 11px; margin-right: 5px; }

/* ===== 版本筛选 ===== */
.version-filter { margin-bottom: 40px; text-align: center; }
.version-filter h3 { color: #ffd700; margin-bottom: 15px; font-size: 18px; }
.filter-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.filter-tag {
  display: inline-block;
  padding: 8px 18px;
  background: linear-gradient(135deg, #1a1a4e, #252560);
  border: 1px solid #3a3a7a;
  border-radius: 20px;
  color: #c0c0e0;
  font-size: 13px;
  transition: all 0.3s;
}
.filter-tag:hover { background: linear-gradient(135deg, #2a2a6e, #353580); color: #ffd700; border-color: #ffd700; transform: scale(1.05); }

/* ===== 表格通用 ===== */
.section-header { text-align: center; margin-bottom: 25px; }
.section-header h2 { font-size: 22px; color: #ffd700; margin-bottom: 8px; }
.section-header p { color: #888; font-size: 13px; }
.server-table-section { margin-bottom: 40px; }
.alt-bg { background: rgba(20,20,50,0.5); padding: 30px 0; border-radius: 10px; margin: 40px -15px; padding: 40px 15px; }

.table-wrapper { overflow-x: auto; border-radius: 10px; border: 1px solid #2a2a5a; }
.server-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.server-table thead { background: linear-gradient(135deg, #1e1050, #2a1570); }
.server-table th { padding: 14px 12px; text-align: center; color: #ffd700; font-size: 13px; font-weight: bold; border-bottom: 2px solid #4a2080; white-space: nowrap; }
.server-table td { padding: 12px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 13px; color: #c0c0d0; }
.server-table tbody tr:hover { background: rgba(255,215,0,0.03); }
.server-name { color: #ffd700 !important; font-weight: bold; font-size: 14px !important; }

.ver-tag { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11px; color: #fff; }
.ver-tag.danzhiye { background: #e67e22; }
.ver-tag.heji { background: #8e44ad; }
.ver-tag.bingxue { background: #3498db; }
.ver-tag.qingbian { background: #27ae60; }
.ver-tag.chenmo { background: #2c3e50; }
.ver-tag.chaos { background: #c0392b; }
.ver-tag.fugu { background: #d4a017; }
.ver-tag.weibian { background: #16a085; }

.status { display: inline-block; padding: 3px 10px; border-radius: 3px; font-size: 12px; font-weight: bold; }
.status.hot { background: #ff6b35; color: #fff; animation: pulse 2s infinite; }
.status.new { background: #4a90d9; color: #fff; }
.status.rec { background: #2ecc71; color: #fff; }

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

.btn-mini { display: inline-block; padding: 5px 15px; background: linear-gradient(135deg, #ff6b35, #c0392b); color: #fff; border-radius: 4px; font-size: 12px; font-weight: bold; }
.btn-mini:hover { background: linear-gradient(135deg, #ff8555, #d9452a); color: #fff; }

/* ===== 优势卡片 ===== */
.advantages-section { margin-bottom: 40px; }
.advantages-section h2 { text-align: center; font-size: 22px; color: #ffd700; margin-bottom: 30px; }
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.advantage-card {
  background: linear-gradient(135deg, #15153a, #1e1e50);
  border: 1px solid #2a2a6a;
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s;
}
.advantage-card:hover { transform: translateY(-5px); border-color: #ffd700; box-shadow: 0 10px 30px rgba(255,215,0,0.1); }
.adv-icon { font-size: 40px; margin-bottom: 15px; }
.advantage-card h3 { color: #ffd700; margin-bottom: 12px; font-size: 17px; }
.advantage-card p { color: #a0a0b0; font-size: 13px; line-height: 1.9; }

/* ===== 深度内容 ===== */
.deep-content { margin-bottom: 40px; }
.deep-content h2 { text-align: center; font-size: 22px; color: #ffd700; margin-bottom: 30px; }
.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 25px; }
.content-card {
  background: linear-gradient(135deg, #12122e, #1a1a40);
  border: 1px solid #252550;
  border-radius: 10px;
  padding: 25px;
  transition: all 0.3s;
}
.content-card:hover { border-color: #4a4a90; }
.content-card h3 { color: #ffd700; margin-bottom: 12px; font-size: 16px; }
.content-card p { color: #a0a0b0; font-size: 13px; line-height: 1.9; margin-bottom: 10px; }
.read-more { display: inline-block; margin-top: 10px; color: #ff6b35; font-weight: bold; font-size: 13px; }
.read-more:hover { color: #ffd700; }

/* ===== 公益服 ===== */
.welfare-section { margin-bottom: 40px; }
.welfare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.welfare-card {
  background: linear-gradient(135deg, #0d2b1a, #143820);
  border: 1px solid #1a5a30;
  border-radius: 10px;
  padding: 25px;
  transition: all 0.3s;
}
.welfare-card:hover { border-color: #2ecc71; transform: translateY(-3px); }
.welfare-card h3 { color: #2ecc71; margin-bottom: 12px; font-size: 16px; }
.welfare-card p { color: #a0c0a0; font-size: 13px; line-height: 1.9; margin-bottom: 12px; }
.welfare-tag { display: inline-block; padding: 3px 10px; background: rgba(46,204,113,0.2); border: 1px solid #2ecc71; border-radius: 12px; font-size: 11px; color: #2ecc71; margin-right: 8px; margin-bottom: 5px; }

/* ===== FAQ ===== */
.faq-section { margin-bottom: 40px; }
.faq-section h2 { text-align: center; font-size: 22px; color: #ffd700; margin-bottom: 30px; }
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item {
  background: linear-gradient(135deg, #12122e, #18183a);
  border: 1px solid #252550;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
}
.faq-item h3 { color: #ffd700; font-size: 15px; margin-bottom: 10px; }
.faq-item p { color: #a0a0b0; font-size: 13px; line-height: 1.9; }

/* ========== 底部 ========== */
.footer {
  background: linear-gradient(180deg, #0d0d25, #050510);
  border-top: 2px solid #c8a020;
  padding: 40px 0 20px;
  margin-top: 40px;
}
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: #ffd700; margin-bottom: 15px; font-size: 15px; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 5px 0; font-size: 13px; color: #888; }
.footer-col li a { color: #888; }
.footer-col li a:hover { color: #ffd700; }
.footer-bottom { text-align: center; border-top: 1px solid #1a1a3a; padding-top: 20px; }
.footer-bottom p { font-size: 12px; color: #666; margin: 5px 0; }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .hero-banner { grid-template-columns: 1fr; }
  .header .container { flex-direction: column; text-align: center; }
  .header-stats { justify-content: center; }
  .nav-list { flex-wrap: wrap; }
  .nav-list li { min-width: 80px; }
  .stat-num { font-size: 20px; }
  .site-logo { font-size: 24px; }
  .hero-text h2 { font-size: 18px; }
  .section-header h2 { font-size: 18px; }
}

/* ===== 页面标题区 ===== */
.page-title-section { text-align: center; margin-bottom: 30px; }
.page-title-section h2 { font-size: 24px; color: #ffd700; margin-bottom: 10px; }
.page-title-section p { color: #888; font-size: 14px; }

/* ===== 排名特殊样式 ===== */
.rank { font-weight: bold; font-size: 15px; }
.rank-1 { color: #ffd700; font-size: 18px; }
.rank-2 { color: #c0c0c0; font-size: 17px; }
.rank-3 { color: #cd7f32; font-size: 16px; }
.rank-4, .rank-5, .rank-6, .rank-7, .rank-8, .rank-9, .rank-10 { color: #e0e0e0; }

/* ===== 版本区块 ===== */
.version-sections { margin-bottom: 40px; }
.section-title { text-align: center; font-size: 22px; color: #ffd700; margin-bottom: 30px; }
.version-block { margin-bottom: 35px; padding: 25px; background: linear-gradient(135deg, #12122e, #18183a); border: 1px solid #252550; border-radius: 10px; }
.version-block h3 { color: #ffd700; margin-bottom: 12px; font-size: 18px; }
.version-block p { color: #a0a0b0; font-size: 13px; line-height: 1.9; margin-bottom: 15px; }
.version-servers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; }
.v-server-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 15px; }
.v-server-card h4 { color: #ffd700; font-size: 14px; margin-bottom: 8px; }
.v-server-card p { font-size: 12px; margin-bottom: 8px; }
.v-tag { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 11px; font-weight: bold; }
.v-tag:not(.green) { background: #ff6b35; color: #fff; }
.v-tag.green { background: #2ecc71; color: #fff; }

/* ===== 排行榜分类 ===== */
.ranking-categories { margin-bottom: 40px; }
.ranking-block { margin-bottom: 30px; }
.ranking-block h3 { color: #ffd700; margin-bottom: 12px; font-size: 16px; }
.rank-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.rank-table thead { background: linear-gradient(135deg, #1a1a4e, #252560); }
.rank-table th { padding: 10px 12px; text-align: center; color: #ffd700; font-size: 12px; border-bottom: 2px solid #3a3a7a; }
.rank-table td { padding: 10px 12px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 13px; color: #c0c0d0; }

/* ===== 历史趋势 ===== */
.history-section { margin-bottom: 40px; }
.history-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.history-card { background: linear-gradient(135deg, #12122e, #18183a); border: 1px solid #252550; border-radius: 10px; padding: 20px; }
.history-card h4 { margin-bottom: 12px; font-size: 15px; }
.history-card.up h4 { color: #2ecc71; }
.history-card.down h4 { color: #e74c3c; }
.history-card.stable h4 { color: #3498db; }
.history-card ul { list-style: none; }
.history-card li { padding: 5px 0; font-size: 13px; color: #a0a0b0; }

/* ===== 攻略中心 ===== */
.guide-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.guide-cat { display: inline-block; padding: 8px 20px; background: linear-gradient(135deg, #1e1050, #2a1570); border: 1px solid #4a2080; border-radius: 20px; color: #c0c0e0; font-size: 13px; font-weight: bold; transition: all 0.3s; }
.guide-cat:hover { background: linear-gradient(135deg, #2a1570, #3a2080); color: #ffd700; border-color: #ffd700; transform: scale(1.05); }

.guide-articles { margin-bottom: 40px; }
.guide-article { background: linear-gradient(135deg, #12122e, #18183a); border: 1px solid #252550; border-radius: 10px; margin-bottom: 20px; overflow: hidden; transition: all 0.3s; }
.guide-article:hover { border-color: #4a4a90; }
.article-header { padding: 20px 25px; cursor: pointer; transition: background 0.3s; }
.article-header:hover { background: rgba(255,215,0,0.03); }
.article-meta { display: flex; gap: 15px; margin-bottom: 10px; flex-wrap: wrap; }
.article-cat { display: inline-block; padding: 2px 10px; background: #ff6b35; color: #fff; border-radius: 10px; font-size: 11px; font-weight: bold; }
.article-date { color: #888; font-size: 12px; }
.article-views { color: #888; font-size: 12px; }
.article-header h3 { color: #ffd700; font-size: 16px; margin-bottom: 10px; line-height: 1.5; }
.article-summary { color: #a0a0b0; font-size: 13px; line-height: 1.8; margin-bottom: 10px; }
.toggle-btn { color: #ff6b35; font-size: 13px; font-weight: bold; cursor: pointer; }
.toggle-btn.expanded { color: #ffd700; }

.article-full { padding: 0 25px 25px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 10px; padding-top: 20px; }
.article-full h4 { color: #ffd700; font-size: 15px; margin: 15px 0 10px; }
.article-full p { color: #a0a0b0; font-size: 13px; line-height: 1.9; margin-bottom: 10px; }
.article-full strong { color: #e0c060; }
.article-tags { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.05); }
.article-tags span { color: #888; font-size: 12px; }
.article-tags a { display: inline-block; padding: 3px 10px; background: rgba(255,107,53,0.15); border: 1px solid rgba(255,107,53,0.3); border-radius: 10px; color: #ff8c5a; font-size: 11px; margin: 3px; }
.article-tags a:hover { background: rgba(255,107,53,0.3); color: #ffd700; }

/* ===== 投稿区 ===== */
.submit-section { margin-bottom: 40px; text-align: center; }
.submit-info p { color: #a0a0b0; font-size: 14px; margin: 8px 0; }

/* ===== 关于页面 ===== */
.about-section { margin-bottom: 40px; }
.about-section h2 { text-align: center; font-size: 22px; color: #ffd700; margin-bottom: 20px; }
.about-content { background: linear-gradient(135deg, #12122e, #18183a); border: 1px solid #252550; border-radius: 10px; padding: 30px; }
.about-content p { color: #a0a0b0; font-size: 14px; line-height: 2; margin-bottom: 15px; }

/* 时间线 */
.timeline-section { margin-bottom: 40px; }
.timeline { max-width: 800px; margin: 0 auto; }
.timeline-item { display: flex; gap: 20px; margin-bottom: 25px; align-items: flex-start; }
.timeline-year { flex-shrink: 0; width: 60px; height: 60px; background: linear-gradient(135deg, #ff6b35, #c0392b); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: bold; font-size: 14px; }
.timeline-content { flex: 1; background: linear-gradient(135deg, #12122e, #18183a); border: 1px solid #252550; border-radius: 8px; padding: 15px 20px; }
.timeline-content h4 { color: #ffd700; font-size: 14px; margin-bottom: 8px; }
.timeline-content p { color: #a0a0b0; font-size: 13px; line-height: 1.8; }

/* 团队 */
.team-section { margin-bottom: 40px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.team-card { background: linear-gradient(135deg, #12122e, #18183a); border: 1px solid #252550; border-radius: 10px; padding: 25px 20px; text-align: center; }
.team-avatar { font-size: 50px; margin-bottom: 15px; }
.team-card h4 { color: #ffd700; font-size: 15px; margin-bottom: 10px; }
.team-card p { color: #a0a0b0; font-size: 12px; line-height: 1.8; }

/* 服务理念 */
.service-section { margin-bottom: 40px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service-card { background: linear-gradient(135deg, #12122e, #18183a); border: 1px solid #252550; border-radius: 10px; padding: 25px; }
.service-card h4 { color: #ffd700; font-size: 15px; margin-bottom: 10px; }
.service-card p { color: #a0a0b0; font-size: 13px; line-height: 1.8; }

/* 合作 */
.cooperation-section { margin-bottom: 40px; }
.coop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.coop-card { background: linear-gradient(135deg, #12122e, #18183a); border: 1px solid #252550; border-radius: 10px; padding: 25px; }
.coop-card h4 { color: #ffd700; font-size: 15px; margin-bottom: 10px; }
.coop-card p { color: #a0a0b0; font-size: 13px; line-height: 1.8; margin-bottom: 10px; }
.coop-card ul { list-style: none; }
.coop-card li { padding: 4px 0; font-size: 12px; color: #888; }

/* 联系 */
.contact-section { margin-bottom: 40px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; }
.contact-card { background: linear-gradient(135deg, #12122e, #18183a); border: 1px solid #252550; border-radius: 10px; padding: 20px; }
.contact-card h4 { color: #ffd700; font-size: 15px; margin-bottom: 10px; }
.contact-card p { color: #a0a0b0; font-size: 13px; line-height: 1.8; }

/* 留言表单 */
.message-form { max-width: 600px; margin: 0 auto; background: linear-gradient(135deg, #12122e, #18183a); border: 1px solid #252550; border-radius: 10px; padding: 30px; }
.message-form h4 { color: #ffd700; font-size: 16px; margin-bottom: 20px; text-align: center; }
.message-form input, .message-form select, .message-form textarea { width: 100%; padding: 12px 15px; margin-bottom: 15px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; color: #e0e0e0; font-size: 14px; font-family: inherit; }
.message-form input:focus, .message-form select:focus, .message-form textarea:focus { outline: none; border-color: #ffd700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* 法律声明 */
.legal-section { margin-bottom: 40px; }
.legal-section h2 { text-align: center; font-size: 22px; color: #ffd700; margin-bottom: 20px; }
.legal-content { background: linear-gradient(135deg, #12122e, #18183a); border: 1px solid #252550; border-radius: 10px; padding: 30px; }
.legal-content p { color: #a0a0b0; font-size: 13px; line-height: 2; margin-bottom: 15px; }
.legal-content strong { color: #e0c060; }
