/* ===== 全局重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  background: #0a0e1a;
  color: #c8c8d0;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: #e0a030; text-decoration: none; transition: color .2s; }
a:hover { color: #ffcc55; }

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

/* ===== 顶部通知栏 ===== */
.top-bar {
  background: linear-gradient(90deg, #1a0a2e, #2d1057, #1a0a2e);
  color: #c9a0ff;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #3a1a6a;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #c9a0ff; margin-left: 18px; font-size: 13px; }
.top-bar a:hover { color: #fff; }

/* ===== 头部导航 ===== */
.header {
  background: rgba(10,14,26,.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid #e0a030;
  position: sticky; top: 0; z-index: 1000;
}
.header .container { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; }
.logo h1 a {
  font-size: 28px; font-weight: 900;
  background: linear-gradient(135deg, #e0a030, #ffdd57, #e0a030);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}
.logo p { font-size: 12px; color: #888; margin-top: 2px; }

.main-nav ul { display: flex; list-style: none; gap: 6px; }
.main-nav a {
  display: block; padding: 10px 20px;
  color: #ccc; font-size: 15px; font-weight: 600;
  border-radius: 6px; transition: all .3s;
}
.main-nav a:hover, .main-nav li.active a {
  background: linear-gradient(135deg, #e0a030, #c08020);
  color: #0a0e1a;
  box-shadow: 0 0 15px rgba(224,160,48,.4);
}

/* ===== 搜索区域 ===== */
.search-section {
  background: linear-gradient(135deg, #111530, #1a1a40);
  padding: 30px 0;
  border-bottom: 1px solid #222;
}
.search-box {
  display: flex; gap: 10px; max-width: 700px; margin: 0 auto 15px;
}
.search-box input {
  flex: 1; padding: 14px 22px;
  background: #0a0e1a; border: 2px solid #333;
  border-radius: 30px; color: #fff; font-size: 15px;
  outline: none; transition: border-color .3s;
}
.search-box input:focus { border-color: #e0a030; }
.search-box button {
  padding: 14px 30px;
  background: linear-gradient(135deg, #e0a030, #c08020);
  border: none; border-radius: 30px;
  color: #0a0e1a; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.search-box button:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(224,160,48,.5); }

.quick-tags { text-align: center; font-size: 13px; }
.quick-tags span { color: #888; margin-right: 8px; }
.quick-tags a {
  display: inline-block; padding: 4px 14px;
  background: #1a1a35; border: 1px solid #333;
  border-radius: 15px; color: #aaa; font-size: 13px;
  margin: 3px;
}
.quick-tags a:hover { background: #2a2a50; color: #e0a030; border-color: #e0a030; }

/* ===== 主体布局 ===== */
.main-content {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 30px; padding: 30px 20px;
}

/* ===== 区块通用 ===== */
.section-block {
  background: #111530;
  border: 1px solid #1e2240;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid #1e2240;
}
.section-header h2 {
  font-size: 20px; color: #e0a030;
  display: flex; align-items: center; gap: 8px;
}
.more-link { color: #888; font-size: 14px; }
.more-link:hover { color: #e0a030; }

/* ===== 开服表格 ===== */
.table-responsive { overflow-x: auto; }
.server-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.server-table th {
  background: #1a1a40; color: #e0a030;
  padding: 12px 10px; text-align: center;
  border-bottom: 2px solid #2a2a55; font-weight: 700;
}
.server-table td {
  padding: 12px 10px; text-align: center;
  border-bottom: 1px solid #1a1e35;
}
.server-table tr:hover td { background: #151a30; }
.hot-tag { color: #ff4444; font-weight: 700; }
.warm-tag { color: #ff8800; font-weight: 600; }
.new-tag { color: #00cc66; font-weight: 600; }
.status-online { color: #00cc66; font-weight: 600; }
.status-wait { color: #ffaa00; font-weight: 600; }
.btn-mini {
  display: inline-block; padding: 4px 14px;
  background: linear-gradient(135deg, #e0a030, #c08020);
  color: #0a0e1a; border-radius: 4px;
  font-size: 12px; font-weight: 700;
}
.btn-mini:hover { color: #fff; }

/* ===== 版本卡片 ===== */
.version-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.version-card {
  background: linear-gradient(135deg, #151a35, #1a2050);
  border: 1px solid #2a2a55;
  border-radius: 10px;
  padding: 22px;
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.version-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(224,160,48,.15);
  border-color: #e0a030;
}
.vc-badge {
  position: absolute; top: 12px; right: 12px;
  background: #333; color: #ccc;
  padding: 3px 10px; border-radius: 4px; font-size: 12px;
}
.vc-badge.hot { background: #ff4444; color: #fff; }
.vc-badge.new { background: #00cc66; color: #fff; }
.version-card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.version-card p { font-size: 14px; color: #999; margin-bottom: 12px; }
.vc-info { list-style: none; margin-bottom: 15px; }
.vc-info li { font-size: 13px; color: #aaa; padding: 3px 0; }
.btn-primary {
  display: inline-block; padding: 8px 24px;
  background: linear-gradient(135deg, #e0a030, #c08020);
  color: #0a0e1a; border-radius: 6px;
  font-size: 14px; font-weight: 700;
}
.btn-primary:hover { color: #fff; box-shadow: 0 0 15px rgba(224,160,48,.4); }

/* ===== 新闻列表 ===== */
.news-list { display: flex; flex-direction: column; gap: 18px; }
.news-item {
  padding-bottom: 18px;
  border-bottom: 1px dashed #1e2240;
}
.news-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-meta { display: flex; gap: 12px; margin-bottom: 6px; }
.news-date { color: #888; font-size: 13px; }
.news-cat {
  background: #2a2050; color: #c9a0ff;
  padding: 1px 10px; border-radius: 3px; font-size: 12px;
}
.news-item h3 a { color: #e0e0e8; font-size: 17px; line-height: 1.5; }
.news-item h3 a:hover { color: #e0a030; }
.news-item p { font-size: 14px; color: #888; margin: 6px 0; }
.read-more { font-size: 13px; color: #e0a030; font-weight: 600; }
.read-more:hover { color: #ffcc55; }

/* ===== 数据统计 ===== */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat-card {
  text-align: center; padding: 25px 15px;
  background: linear-gradient(135deg, #151a35, #1a2050);
  border-radius: 10px; border: 1px solid #2a2a55;
}
.stat-num {
  font-size: 36px; font-weight: 900;
  background: linear-gradient(135deg, #e0a030, #ffdd57);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 14px; color: #888; margin-top: 5px; }

/* ===== 右侧边栏 ===== */
.content-right { display: flex; flex-direction: column; gap: 20px; }
.sidebar-block {
  background: #111530;
  border: 1px solid #1e2240;
  border-radius: 12px;
  padding: 20px;
}
.sidebar-block h3 {
  font-size: 16px; color: #e0a030;
  margin-bottom: 15px; padding-bottom: 10px;
  border-bottom: 1px solid #1e2240;
}

/* 倒计时 */
.countdown-list { list-style: none; }
.countdown-list li {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid #1a1e35;
  font-size: 14px;
}
.countdown-list li:last-child { border-bottom: none; }
.cd-name { color: #ccc; }
.cd-time { color: #ff8800; font-weight: 600; }

/* 排行榜 */
.rank-list { list-style: none; counter-reset: rank; }
.rank-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid #1a1e35;
  font-size: 14px;
}
.rank-list li:last-child { border-bottom: none; }
.rank-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #2a2a55; color: #ccc; font-size: 12px; font-weight: 700;
}
.rank-list li:nth-child(1) .rank-num { background: #ff4444; color: #fff; }
.rank-list li:nth-child(2) .rank-num { background: #ff8800; color: #fff; }
.rank-list li:nth-child(3) .rank-num { background: #e0a030; color: #0a0e1a; }
.rank-list a { color: #ccc; flex: 1; }
.rank-list a:hover { color: #e0a030; }
.rank-hot { font-size: 12px; color: #00cc66; }

/* 分类标签 */
.cat-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-tag {
  padding: 5px 14px;
  background: #1a1a35; border: 1px solid #2a2a55;
  border-radius: 4px; color: #aaa; font-size: 13px;
}
.cat-tag:hover { background: #2a2a50; color: #e0a030; border-color: #e0a030; }

/* 公告列表 */
.notice-list { list-style: none; }
.notice-list li {
  padding: 9px 0; border-bottom: 1px solid #1a1e35;
  font-size: 13px; color: #aaa;
}
.notice-list li:last-child { border-bottom: none; }
.notice-date { color: #e0a030; font-weight: 600; margin-right: 6px; }

/* ===== 底部 ===== */
.footer {
  background: #080c18;
  border-top: 2px solid #e0a030;
  padding: 40px 0 20px;
  margin-top: 40px;
}
.footer-top {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 30px; margin-bottom: 30px;
}
.footer-col h4 {
  color: #e0a030; font-size: 15px;
  margin-bottom: 15px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { padding: 5px 0; }
.footer-col ul li a { color: #888; font-size: 13px; }
.footer-col ul li a:hover { color: #e0a030; }
.footer-desc { font-size: 13px; color: #777; line-height: 1.8; }
.footer-bottom {
  text-align: center; padding-top: 20px;
  border-top: 1px solid #1a1e35;
}
.footer-bottom p { font-size: 12px; color: #555; margin: 3px 0; }

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .main-content { grid-template-columns: 1fr; }
  .version-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .main-nav ul { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .header .container { flex-direction: column; gap: 10px; }
  .logo h1 a { font-size: 22px; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; }
}

/* ===== Page Hero ===== */
.page-hero {
  background: linear-gradient(135deg, #0f1230, #1a1050, #0f1230);
  padding: 50px 0;
  text-align: center;
  border-bottom: 1px solid #1e2240;
}
.page-hero h1 {
  font-size: 36px; color: #fff;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #e0a030, #ffdd57);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero p { font-size: 16px; color: #aaa; }
.page-hero strong { color: #e0a030; }

/* Filter Bar */
.filter-bar {
  margin-top: 20px;
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center; gap: 8px;
}
.filter-label { color: #888; font-size: 14px; margin-right: 5px; }
.filter-btn {
  display: inline-block; padding: 6px 18px;
  background: #1a1a35; border: 1px solid #333;
  border-radius: 20px; color: #aaa; font-size: 13px;
  transition: all .3s;
}
.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, #e0a030, #c08020);
  color: #0a0e1a; border-color: #e0a030; font-weight: 600;
}

/* Section Tag */
.section-tag {
  font-size: 13px; color: #888;
  background: #1a1a35; padding: 3px 12px;
  border-radius: 12px; border: 1px solid #333;
}

/* Session Status */
.session-status {
  font-size: 13px; padding: 4px 12px;
  border-radius: 4px; font-weight: 600;
}
.session-status { background: #00cc66; color: #fff; }
.session-status.waiting { background: #ff8800; color: #fff; }

/* Version Detail Cards */
.version-detail-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.version-detail-card {
  background: linear-gradient(135deg, #151a35, #1a2050);
  border: 1px solid #2a2a55; border-radius: 10px;
  padding: 24px; transition: transform .3s, box-shadow .3s;
}
.version-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(224,160,48,.12);
  border-color: #e0a030;
}
.vdc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.vdc-header h3 { color: #fff; font-size: 18px; }
.vdc-badge {
  display: inline-block; padding: 3px 10px;
  background: #333; color: #ccc; border-radius: 4px; font-size: 12px;
}
.vdc-badge.hot { background: #ff4444; color: #fff; }
.vdc-badge.new { background: #00cc66; color: #fff; }
.vdc-desc { font-size: 14px; color: #999; margin-bottom: 15px; line-height: 1.7; }
.vdc-attrs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 15px; }
.attr-item { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; border-bottom: 1px solid #1a1e35; }
.attr-label { color: #888; }
.attr-val { color: #ccc; font-weight: 600; }
.attr-val.hard { color: #ff4444; }
.attr-val.hot { color: #ff8800; }
.vdc-servers { font-size: 13px; color: #999; margin-bottom: 15px; }
.vdc-servers a { color: #e0a030; margin-right: 5px; }
.vdc-servers a:hover { color: #ffcc55; }

/* Featured Article */
.featured-article .featured-post {
  background: linear-gradient(135deg, #151a35, #1e1a45);
  border: 1px solid #e0a030;
  border-radius: 10px; padding: 25px;
}
.fp-meta { display: flex; gap: 15px; margin-bottom: 12px; }
.fp-cat { background: #e0a030; color: #0a0e1a; padding: 2px 10px; border-radius: 3px; font-size: 12px; font-weight: 700; }
.fp-date { color: #888; font-size: 13px; }
.fp-views { color: #888; font-size: 13px; }
.featured-post h3 { color: #fff; font-size: 22px; margin-bottom: 12px; line-height: 1.5; }
.fp-summary { font-size: 15px; color: #aaa; line-height: 1.8; margin-bottom: 15px; }
.fp-content h4 { color: #e0a030; font-size: 16px; margin: 15px 0 8px; }
.fp-content p { font-size: 14px; color: #aaa; line-height: 1.8; margin-bottom: 10px; }

/* Article Cards */
.article-list { display: flex; flex-direction: column; gap: 18px; }
.article-card {
  background: #151a35; border: 1px solid #1e2240;
  border-radius: 10px; padding: 20px;
  transition: border-color .3s;
}
.article-card:hover { border-color: #e0a030; }
.ac-meta { display: flex; gap: 12px; margin-bottom: 8px; }
.ac-cat { background: #2a2050; color: #c9a0ff; padding: 2px 10px; border-radius: 3px; font-size: 12px; }
.ac-date { color: #888; font-size: 13px; }
.ac-views { color: #888; font-size: 13px; }
.article-card h3 { color: #e0e0e8; font-size: 17px; margin-bottom: 8px; line-height: 1.5; }
.article-card h3 a { color: inherit; }
.article-card h3 a:hover { color: #e0a030; }
.article-card p { font-size: 14px; color: #888; line-height: 1.7; margin-bottom: 12px; }
.ac-full h4 { color: #e0a030; font-size: 15px; margin: 12px 0 6px; }
.ac-full p { font-size: 14px; color: #999; line-height: 1.7; margin-bottom: 8px; }
.read-more-btn {
  display: inline-block; padding: 6px 20px;
  background: transparent; border: 1px solid #e0a030;
  color: #e0a030; border-radius: 4px;
  font-size: 13px; cursor: pointer; transition: all .3s;
}
.read-more-btn:hover { background: #e0a030; color: #0a0e1a; }

/* About Content */
.about-content { font-size: 15px; color: #aaa; line-height: 1.9; }
.about-content p { margin-bottom: 12px; }
.about-content strong { color: #e0a030; }

/* Service Grid */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.service-card {
  text-align: center; padding: 25px 15px;
  background: linear-gradient(135deg, #151a35, #1a2050);
  border: 1px solid #2a2a55; border-radius: 10px;
  transition: transform .3s;
}
.service-card:hover { transform: translateY(-4px); border-color: #e0a030; }
.sc-icon { font-size: 36px; margin-bottom: 10px; }
.service-card h3 { color: #e0a030; font-size: 16px; margin-bottom: 8px; }
.service-card p { font-size: 13px; color: #999; line-height: 1.6; }

/* Timeline */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: #2a2a55;
}
.timeline-item { position: relative; margin-bottom: 25px; }
.timeline-item::before {
  content: ''; position: absolute; left: -26px; top: 5px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #e0a030; box-shadow: 0 0 8px rgba(224,160,48,.5);
}
.tl-date { font-size: 13px; color: #e0a030; font-weight: 700; margin-bottom: 4px; }
.tl-content h4 { color: #fff; font-size: 15px; margin-bottom: 4px; }
.tl-content p { font-size: 13px; color: #999; line-height: 1.6; }

/* Contact */
.contact-content { font-size: 15px; color: #aaa; line-height: 1.9; }
.contact-list { list-style: none; }
.contact-list li { padding: 6px 0; font-size: 14px; color: #aaa; }

/* Notice Banner */
.notice-banner { background: linear-gradient(135deg, #1a1530, #251a40); border-color: #c9a0ff; }
.notice-banner h3 { color: #c9a0ff; margin-bottom: 12px; }
.notice-banner-list { list-style: none; }
.notice-banner-list li { padding: 6px 0; font-size: 14px; color: #ccc; }

/* Download Items */
.download-list { display: flex; flex-direction: column; gap: 15px; }
.download-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px; background: #151a35;
  border: 1px solid #1e2240; border-radius: 10px;
  transition: border-color .3s;
}
.download-item:hover { border-color: #e0a030; }
.di-info { flex: 1; }
.di-info h3 { color: #fff; font-size: 17px; margin-bottom: 6px; }
.di-info p { font-size: 13px; color: #999; margin-bottom: 8px; }
.di-meta { display: flex; flex-wrap: wrap; gap: 15px; }
.di-meta span { font-size: 12px; color: #777; }
.di-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-secondary {
  display: inline-block; padding: 8px 20px;
  background: transparent; border: 1px solid #888;
  color: #ccc; border-radius: 6px; font-size: 14px; font-weight: 600;
}
.btn-secondary:hover { border-color: #e0a030; color: #e0a030; }

@media (max-width: 980px) {
  .version-detail-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .download-item { flex-direction: column; align-items: flex-start; gap: 15px; }
  .di-actions { width: 100%; }
}
@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; }
  .vdc-attrs { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 26px; }
}
