﻿/* ============================================================
   现代化游戏官网模板 v2  (modern.css)
   深蓝黑底 + 暖金强调 · 响应式 PC / Pad / Mobile
   ============================================================ */

:root {
  --bg: #1a1612;
  --bg-deep: #100d09;
  --bg-2: #221d16;
  --surface: #2a241c;
  --surface-2: #332c22;
  --gold: #d4af6a;
  --gold-2: #c8913f;
  --gold-soft: rgba(212, 175, 106, .12);
  --gold-line: rgba(212, 175, 106, .35);
  --violet: #8b6f47;
  --violet-2: #6b4f3a;
  --text: #e8dfd0;
  --text-dim: #b0a58f;
  --text-faint: #8a7f6a;
  --line: rgba(212, 175, 106, .15);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .5);
  --gold-grad: linear-gradient(135deg, #e6c98a 0%, #d4af6a 45%, #b8913f 100%);
  --violet-grad: linear-gradient(135deg, #8b6f47, #6b4f3a);
  --container: 1200px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(212, 175, 106, .14), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(180, 80, 40, .1), transparent 55%),
    linear-gradient(180deg, #1e1a14 0%, #14110d 100%);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  min-height: 100vh;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  right: 0; top: 0; bottom: 0;
  width: 30%;
  z-index: -1;
  background: url('hero-origin.jpg') right center / auto 100% no-repeat;
  opacity: 0.5;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}



body::before {
  content: "";
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 30%;
  z-index: -1;
  background: url('hero-origin.jpg') left center / auto 100% no-repeat;
  opacity: 0.5;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-gold {
  background: var(--gold-grad);
  color: #3a2a06;
  box-shadow: 0 10px 26px rgba(240, 166, 35, .32);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(240, 166, 35, .42); color: #3a2a06; }
.btn-outline {
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  border-color: var(--gold-line);
}
.btn-outline:hover { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-lg { padding: 15px 38px; font-size: 16.5px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(20, 17, 13, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { width: auto; height: 58px; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(240, 198, 116, .35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { display: none; }
.brand-text small { font-size: 11px; letter-spacing: 2.5px; color: var(--text-dim); margin-top: 2px; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 9px 15px;
  font-size: 15px;
  color: var(--text-dim);
  border-radius: 8px;
  font-weight: 500;
}
.nav-link:hover { color: var(--gold); }
.nav-link.active { color: var(--gold); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-grad);
}
.nav-cta { margin-left: 12px; padding: 10px 24px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: .3s; }

/* ---------------- 主内容 ---------------- */
.site-main { min-height: 60vh; }
.is-home .site-main { padding-top: 0; }
.is-inner .site-main { padding-top: var(--header-h); }

/* ---------------- 板块标题 ---------------- */
.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-title {
  display: inline-block;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  position: relative;
  padding: 0 26px;
}
.section-title::before, .section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 46px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-title::before { right: 100%; }
.section-title::after { left: 100%; background: linear-gradient(90deg, var(--gold), transparent); }
.section-sub { color: var(--text-faint); font-size: 14px; margin-top: 12px; letter-spacing: 1px; }

/* ---------------- 首屏 Hero ---------------- */
.hero-banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 30px) 0 60px;
  overflow: hidden;
  background: transparent;
}
.hero-bg {
  position: absolute; inset: 0;
  background: transparent;
  transform: scale(1.05);
  z-index: 3;
}
/* 双视频（z-index:1），交叉淡入淡出过渡 */
.hero-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 1.2s ease-in-out;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.video-a { opacity: 1; }
.video-b { opacity: 0; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 13, 9, .92) 0%, rgba(16, 13, 9, .45) 14%, rgba(16, 13, 9, .18) 32%, rgba(16, 13, 9, .05) 46%, transparent 58%),
    linear-gradient(90deg, rgba(16, 13, 9, .92) 0%, rgba(16, 13, 9, .72) 45%, rgba(16, 13, 9, .4) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(16, 13, 9, .5) 4%, rgba(16, 13, 9, .15) 10%, transparent 18%);
}
.hero-inner { position: relative; z-index: 4; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: center; }
.hero-right { display: flex; justify-content: flex-end; }
.hero-right .server-card { width: 100%; max-width: 380px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  font-size: 13.5px;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 3px;
  margin-bottom: 18px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .6);
}
.hero-title .accent { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-slogan {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 36px;
  letter-spacing: 1px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 42px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 38px; }
.hero-stat .num { font-size: 30px; font-weight: 800; color: var(--gold); line-height: 1; }
.hero-stat .label { font-size: 13px; color: var(--text-faint); margin-top: 8px; letter-spacing: 1px; }

/* 服务器状态卡片 */
.server-card {
  background: rgba(26, 22, 18, .78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.server-card-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.server-card-title .dot { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }
.server-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.server-row:last-child { border-bottom: 0; }
.server-row .k { color: var(--text-faint); }
.server-row .v { color: var(--text); font-weight: 600; }
.server-row .v.online { color: #4ade80; }

/* ---------------- 游戏特色 ---------------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.feature-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold-grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.feature-card:hover { transform: translateY(-8px); border-color: var(--gold-line); box-shadow: var(--shadow); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 74px; height: 74px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 11px; letter-spacing: 1px; }
.feature-card p { color: var(--text-dim); font-size: 14px; }

/* ---------------- 新闻公告 ---------------- */
.news-section {
  max-width: 820px;
  margin: 50px auto 0;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px 30px;
}
.news-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.news-tab {
  padding: 9px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 500;
}
.news-tab:hover { color: var(--gold); border-color: var(--gold-line); }
.news-tab.active { background: var(--gold-grad); color: #3a2a06; border-color: transparent; font-weight: 600; }

.news-list { max-width: 860px; margin: 0 auto; }
.news-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.news-item:hover { background: var(--gold-soft); border-color: var(--gold-line); transform: translateX(4px); }
.news-tag {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(139, 111, 71, .18);
  color: #c9b08a;
  border: 1px solid rgba(139, 111, 71, .35);
}
.news-tag.t-notice { background: rgba(240, 198, 116, .14); color: var(--gold); border-color: var(--gold-line); }
.news-tag.t-top { background: rgba(234, 104, 104, .14); color: #f0a0a0; border-color: rgba(234, 104, 104, .3); }
.news-title { flex: 1; min-width: 0; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-title:hover { color: var(--gold); }
.news-date { flex-shrink: 0; color: var(--text-faint); font-size: 13.5px; }
.news-more { text-align: center; margin-top: 30px; }

/* 内容模块容器（游戏特色/游戏截图/即刻下载）：半透明背景+左右虚化 */
.section-card {
  max-width: 1180px;
  margin: 50px auto 0;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 30px 36px;
}


/* ---------------- 游戏截图 ---------------- */
.shots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.shot-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shot-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10, 11, 26, .55), transparent 55%);
  opacity: 0; transition: opacity .3s ease;
}
.shot-card:hover img { transform: scale(1.08); }
.shot-card:hover::after { opacity: 1; }
.shot-cap { position: absolute; left: 16px; bottom: 13px; z-index: 2; font-weight: 600; font-size: 15px; opacity: 0; transform: translateY(8px); transition: .3s ease; }
.shot-card:hover .shot-cap { opacity: 1; transform: translateY(0); }

/* ---------------- 下载 CTA ---------------- */
.cta-band {
  position: relative;
  border-radius: 22px;
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(212, 175, 106, .18), rgba(139, 111, 71, .14)),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--gold-line);
}
.cta-band h2 { font-size: clamp(26px, 3.5vw, 38px); letter-spacing: 2px; margin-bottom: 14px; }
.cta-band p { color: var(--text-dim); margin-bottom: 32px; font-size: 16px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   内页
   ============================================================ */
.page-wrap { max-width: 960px; margin: 0 auto; padding: 48px 0 70px; }
.page-wrap.wide { max-width: 1100px; }

.breadcrumb-bar {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.breadcrumb-bar h1 {
  font-size: 25px;
  letter-spacing: 2px;
  position: relative;
  padding-left: 16px;
}
.breadcrumb-bar h1::before {
  content: "";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 24px; border-radius: 3px;
  background: var(--gold-grad);
}
.breadcrumb { color: var(--text-faint); font-size: 13.5px; }
.breadcrumb a:hover { color: var(--gold); }

.content-card {
  background: linear-gradient(180deg, var(--surface), rgba(42, 36, 28, .7));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

/* ---- 现有内页 class 映射（保持各页面 PHP 结构不动） ---- */
.neiye { max-width: 960px; margin: 0 auto; padding: 48px 0 70px; }
.nytop {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px 28px;
  margin-bottom: 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.nytop h1 { font-size: 24px; letter-spacing: 2px; position: relative; padding-left: 16px; }
.nytop h1::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 24px; border-radius: 3px; background: var(--gold-grad);
}
.nytop > span { color: var(--text-faint); font-size: 13.5px; }
.nytop > span a:hover { color: var(--gold); }

.wznr {
  background: linear-gradient(180deg, var(--surface), rgba(42, 36, 28, .7));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

/* 详情页本身就是一张卡片 */
.detail {
  max-width: 960px;
  margin: 48px auto 70px;
  background: linear-gradient(180deg, var(--surface), rgba(42, 36, 28, .7));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}

/* 内页（.wznr 内）通用文章排版，覆盖介绍页等无 article-content 的页面 */
.wznr h2 { font-size: 22px; margin: 28px 0 14px; padding-left: 13px; border-left: 4px solid var(--gold); }
.wznr h3 { font-size: 18px; margin: 24px 0 11px; color: var(--gold); }
.wznr p { margin: 13px 0; }
.wznr ul, .wznr ol { margin: 14px 0; padding-left: 26px; }
.wznr ul { list-style: disc; }
.wznr ol { list-style: decimal; }
.wznr li { margin: 7px 0; }
.wznr a { color: var(--gold); }
.wznr table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.wznr table td { padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.wznr table td:first-child { color: var(--text-faint); width: 130px; }

/* 新闻中心内页 tab（.news-tabs 同时用于首页和内页） */
.wznr .news-tabs { justify-content: flex-start; margin-bottom: 22px; gap: 8px; }
.news-tabs a {
  padding: 7px 18px; border-radius: 999px; font-size: 13.5px;
  color: var(--text-dim); background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
}
.news-tabs a:hover { color: var(--gold); border-color: var(--gold-line); }
.news-tabs a.cur { background: var(--gold-grad); color: #3a2a06; border-color: transparent; font-weight: 600; }

/* 新闻列表（内页） */
.inner-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.inner-tabs a {
  padding: 7px 17px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
}
.inner-tabs a:hover { color: var(--gold); border-color: var(--gold-line); }
.inner-tabs a.cur { background: var(--gold-grad); color: #3a2a06; border-color: transparent; font-weight: 600; }

.list-table { width: 100%; border-collapse: collapse; }
.list-table tr { border-bottom: 1px solid var(--line); transition: background .2s; }
.list-table tr:hover { background: var(--gold-soft); }
body tr:hover { background: var(--gold-soft); }
.list-table td { padding: 15px 10px; vertical-align: middle; }
.list-table .num { width: 52px; color: var(--text-faint); text-align: center; font-size: 14px; }
.list-table .ttl { font-size: 15px; }
.list-table .ttl a:hover { color: var(--gold); }
.list-table .tp { width: 110px; text-align: center; }
.list-table .dt { width: 110px; text-align: center; color: var(--text-faint); font-size: 13.5px; }
.top-tag { color: #f0a0a0; font-weight: 700; margin-right: 6px; font-size: 13px; }
.tp-notice, .tp-news, .tp-ziliao, .tp-jingyan, .tp-guize, .tp-xiazai, .tp-kefu, .tp-guild, .tp-ditu, .tp-zhanshi {
  display: inline-block; padding: 3px 11px; border-radius: 6px; font-size: 12.5px;
  background: rgba(139, 111, 71, .18); color: #c9b08a; border: 1px solid rgba(139, 111, 71, .3);
}
.tp-notice { background: rgba(240, 198, 116, .14); color: var(--gold); border-color: var(--gold-line); }

/* 分页 */
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 34px; }
.pager a, .pager span {
  min-width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  color: var(--text-dim);
}
.pager a:hover { color: var(--gold); border-color: var(--gold-line); }
.pager .cur { background: var(--gold-grad); color: #3a2a06; border-color: transparent; font-weight: 700; }

/* ---------------- 详情页 ---------------- */
.detail-title { font-size: 27px; font-weight: 700; letter-spacing: 1px; line-height: 1.4; margin-bottom: 16px; }
.detail-meta { color: var(--text-faint); font-size: 13.5px; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.detail-back { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }
.detail-back a { color: var(--gold); font-weight: 600; }

/* 文章正文 */
.article-content { color: var(--text); font-size: 15.5px; line-height: 1.9; }
.article-content p { margin: 14px 0; }
.article-content h2 { font-size: 22px; margin: 30px 0 14px; padding-left: 13px; border-left: 4px solid var(--gold); }
.article-content h3 { font-size: 18.5px; margin: 26px 0 12px; color: var(--gold); }
.article-content h4 { font-size: 16.5px; margin: 20px 0 10px; }
.article-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.article-content ul, .article-content ol { margin: 14px 0; padding-left: 26px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin: 7px 0; }
.article-content blockquote {
  margin: 18px 0; padding: 14px 20px;
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 9px 9px 0;
  color: var(--text-dim);
}
.article-content img { border-radius: 10px; margin: 18px auto; border: 1px solid var(--line); }
.article-content hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 11px 15px; text-align: left; }
.article-content th { background: var(--surface-2); color: var(--gold); font-weight: 600; }
.article-content strong { color: inherit; font-weight: 700; }

/* 介绍页配置表 */
.config-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.config-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.config-table td:first-child { color: var(--text-faint); width: 130px; }

/* ============================================================
   页脚
   ============================================================ */
.site-footer { margin-top: 40px; background: linear-gradient(180deg, transparent, rgba(8, 9, 22, .85)); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding: 60px 0 40px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { font-size: 16px; margin-bottom: 8px; color: var(--gold); letter-spacing: 1px; }
.footer-col a { color: var(--text-dim); font-size: 14px; }
.footer-col a:hover { color: var(--gold); }
.footer-brand-col .brand { margin-bottom: 16px; }
.footer-desc { color: var(--text-faint); font-size: 13.5px; line-height: 1.85; }
.footer-contact { color: var(--text-dim); font-size: 14px; }
.footer-cta { color: var(--gold); font-weight: 600; margin-top: 6px; }

.health-notice {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  text-align: center;
}
.health-notice span { color: var(--text-faint); font-size: 12.5px; letter-spacing: .5px; }
.footer-bottom {
  padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--text-faint);
}
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .shots-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .nav-toggle { display: flex; z-index: 1002; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(78vw, 320px);
    height: 100vh;
    background: rgba(20, 17, 13, .98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: calc(var(--header-h) + 24px) 24px 30px;
    transition: right .35s ease;
    border-left: 1px solid var(--line);
  }
  .main-nav.open { right: 0; }
  .nav-link { padding: 14px 16px; font-size: 16px; }
  .nav-link.active::after { display: none; }
  .nav-cta { margin: 16px 0 0; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 54px 0; }
  .section-title { font-size: 24px; }
  .hero-banner { min-height: auto; padding: calc(var(--header-h) + 50px) 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-right { justify-content: center; }
  .hero-right .server-card { max-width: 480px; }
  .hero-stats { gap: 26px; }
  .hero-stat .num { font-size: 25px; }
  .features-grid { grid-template-columns: 1fr; }
  .shots-grid { grid-template-columns: 1fr; }
  .news-list { padding: 0 2px; }
  .news-item {
    flex-wrap: wrap; gap: 8px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
  }
  .news-item:hover { transform: none; }
  .news-tag { order: 1; flex: 0 0 auto; font-size: 11px; padding: 3px 8px; }
  .news-date { order: 2; flex: 1; text-align: right; font-size: 11px; }
  .news-title { order: 3; flex-basis: 100%; white-space: normal; font-size: 14px; line-height: 1.5; }
  .cta-band { padding: 44px 22px; }
  .content-card { padding: 24px 18px; }
  .wznr, .detail { padding: 24px 18px; }
  .nytop { padding: 18px 20px; }
  .neiye, .detail { margin-top: 30px; margin-bottom: 44px; }
  .breadcrumb-bar { padding: 20px; }
  .list-table .tp { display: none; }

  /* 手机端新闻列表卡片化 */
  .wznr .list-table { display: block; }
  .wznr .list-table tr {
    display: flex; flex-wrap: wrap; align-items: center;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px; padding: 12px 14px; margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .wznr .list-table tr:hover { background: rgba(255,255,255,.06); }
  .wznr .list-table tr.is-top {
    border-color: rgba(212,168,75,.3);
    background: linear-gradient(135deg, rgba(212,168,75,.08), rgba(212,168,75,.02));
  }
  .wznr .list-table td {
    display: block; padding: 0; border: none; width: auto !important; text-align: left !important;
  }
  .wznr .list-table .num { display: none; }
  .wznr .list-table .tp {
    display: inline-block; order: 1; flex: 0 0 auto; width: auto;
  }
  .wznr .list-table .tp span {
    display: inline-block; padding: 2px 8px; border-radius: 3px;
    font-size: 10px; font-weight: 600; background: rgba(212,168,75,.15); color: #d4a84b;
  }
  .wznr .list-table .dt {
    order: 2; flex: 1; text-align: right !important; font-size: 11px; color: #888;
  }
  .wznr .list-table .ttl {
    order: 3; flex: 0 0 100%; margin-top: 6px; font-size: 14px; font-weight: 500; line-height: 1.5;
  }
  .wznr .list-table .ttl a { color: #ddd; }
  .wznr .list-table .ttl .top-tag {
    display: inline-block; padding: 1px 6px; background: #d4a84b; color: #3a2a06;
    border-radius: 3px; font-size: 10px; font-weight: 700; margin-right: 6px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 32px 0 20px; }
  .footer-brand-col { display: none; }
  .footer-col { gap: 7px; }
  .footer-col h4 { font-size: 13px; margin-bottom: 4px; }
  .footer-col a, .footer-contact { font-size: 13px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .health-notice { font-size: 12px; line-height: 1.7; }
  .footer-bottom { font-size: 12px; flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero-actions .btn { width: 100%; }
  .brand-text small { display: none; }
}
