/* ==========================================================================
   传奇官网 · 发布网 全站样式
   主色调：微紫红 / 鎏金  ·  大气隆重  ·  PC+手机自适应
   ========================================================================== */

/* ---------- 变量与基础 ---------- */
:root {
  --c-primary: #b04a7e;        /* 微紫红主色 */
  --c-primary-2: #8e3360;      /* 深紫红 */
  --c-primary-3: #6d2450;      /* 暗紫红 */
  --c-gold: #e3b75c;           /* 鎏金 */
  --c-gold-light: #f6dca0;
  --c-bg: #150a12;             /* 页面底 */
  --c-bg-2: #1f0f1a;           /* 面板 */
  --c-bg-3: #291522;           /* 卡片 */
  --c-line: rgba(196, 108, 152, 0.22);
  --c-line-gold: rgba(227, 183, 92, 0.45);
  --c-text: #f4e9ef;
  --c-text-dim: #b89aab;
  --c-text-faint: #8d6b7f;
  --c-danger: #ff5f6d;
  --c-ok: #6fe3a1;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 22px rgba(176, 74, 126, 0.35);
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
  background-color: var(--c-bg);
  background-image: url("../images/bj.png");
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
  min-height: 100vh;
}

/* 遮罩让文字清晰 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 10, 18, 0.82) 0%, rgba(21, 10, 18, 0.72) 50%, rgba(21, 10, 18, 0.86) 100%);
  z-index: -1;
  pointer-events: none;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-gold-light); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- 顶栏 ---------- */
.topbar {
  background: linear-gradient(90deg, #1b0c16, #2a1020 50%, #1b0c16);
  border-bottom: 1px solid var(--c-line);
  font-size: 13px;
  color: var(--c-text-dim);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 12px; }
.topbar-msg { overflow: hidden; white-space: nowrap; flex: 1; }
.topbar-msg .swiper-inner { display: inline-block; }
.topbar-links { display: flex; gap: 14px; white-space: nowrap; }
.topbar-links a { color: var(--c-text-dim); }
.topbar-links a:hover { color: var(--c-gold); }
.topbar-links .hot { color: var(--c-gold); }

/* ---------- 头部 ---------- */
.header { padding: 22px 0 20px; position: relative; }
.header .container { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand .logo {
  width: 88px; height: 88px; border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(227, 183, 92, 0.55), 0 0 24px rgba(176, 74, 126, 0.55);
  animation: logo-breathe 3.2s ease-in-out infinite;
}
@keyframes logo-breathe {
  0%, 100% { box-shadow: 0 0 0 3px rgba(227, 183, 92, 0.55), 0 0 18px rgba(176, 74, 126, 0.45); }
  50% { box-shadow: 0 0 0 3px rgba(227, 183, 92, 0.8), 0 0 34px rgba(176, 74, 126, 0.75); }
}
.brand-txt h1, .brand-txt .site-name {
  font-size: 34px;
  letter-spacing: 4px;
  background: linear-gradient(180deg, #ffe9b8 0%, #e3b75c 45%, #b07a2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 26px rgba(227, 183, 92, 0.35);
  line-height: 1.2;
  display: block;
}
.brand-txt .domain {
  font-size: 14px; color: var(--c-text-dim); letter-spacing: 1px;
  margin-top: 2px;
}
.brand-txt .domain b { color: var(--c-gold); font-weight: normal; }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* 搜索框 */
.search-box { display: flex; align-items: center; background: rgba(30, 14, 24, 0.9); border: 1px solid var(--c-line); border-radius: 999px; overflow: hidden; height: 42px; width: 300px; }
.search-box input { flex: 1; border: 0; background: transparent; color: var(--c-text); padding: 0 18px; font-size: 14px; outline: none; }
.search-box input::placeholder { color: var(--c-text-faint); }
.search-box button { border: 0; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-3)); color: #fff; padding: 0 20px; height: 100%; font-size: 14px; letter-spacing: 2px; transition: filter .2s; }
.search-box button:hover { filter: brightness(1.15); }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: 999px; font-size: 14px; letter-spacing: 1px;
  border: 1px solid transparent; transition: all .22s; line-height: 1.2;
}
.btn-gold {
  background: linear-gradient(135deg, #f0cd86, #d3a344 55%, #b9862c);
  color: #3a2205 !important; font-weight: 700;
  box-shadow: 0 4px 18px rgba(227, 183, 92, 0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(227, 183, 92, 0.55); color: #3a2205 !important; }
.btn-primary {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
  color: #fff !important; border-color: rgba(255, 255, 255, 0.12);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); color: #fff !important; }
.btn-line { border-color: var(--c-line-gold); color: var(--c-gold); background: rgba(227, 183, 92, 0.06); }
.btn-line:hover { background: rgba(227, 183, 92, 0.14); color: var(--c-gold-light); }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ---------- 导航 ---------- */
.navbar {
  position: sticky; top: 0; z-index: 999;
  background: linear-gradient(90deg, rgba(30, 12, 24, 0.97), rgba(52, 20, 40, 0.97) 50%, rgba(30, 12, 24, 0.97));
  border-top: 1px solid var(--c-line-gold);
  border-bottom: 1px solid var(--c-line-gold);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}
.navbar .container { display: flex; align-items: center; }
.nav-list { display: flex; align-items: stretch; flex-wrap: wrap; }
.nav-list li { position: relative; }
.nav-list a {
  display: block; padding: 14px 18px; font-size: 15px; letter-spacing: 1px;
  color: var(--c-text); white-space: nowrap;
}
.nav-list a:hover, .nav-list a.active { color: var(--c-gold-light); }
.nav-list a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-primary));
  border-radius: 3px 3px 0 0;
}
.nav-list .nav-hot a { color: var(--c-gold); }
.nav-list .nav-hot a::before { content: "🔥"; font-size: 12px; margin-right: 2px; }

/* 移动端菜单按钮 */
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--c-line); color: var(--c-gold); border-radius: 6px; padding: 8px 12px; font-size: 18px; line-height: 1; }

/* ---------- 横幅 ---------- */
.banner-wrap { padding: 18px 0 4px; }
.banner { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px var(--c-line-gold); }
.banner img { width: 100%; height: auto; }
.banner .banner-link { position: absolute; inset: 0; z-index: 2; }
.banner-tag {
  position: absolute; right: 14px; top: 14px; z-index: 3;
  background: rgba(21, 10, 18, 0.7); color: var(--c-gold);
  border: 1px solid var(--c-line-gold); border-radius: 999px; font-size: 12px; padding: 3px 12px;
}

/* ---------- 广告位 ---------- */
.adzone { padding: 14px 0 0; }
.adzone .adbox {
  border: 1px dashed var(--c-line-gold); border-radius: 10px;
  background: rgba(30, 14, 24, 0.55);
  overflow: hidden; min-height: 68px;
}
.adzone .adbox-inner { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 10px 14px; }
.ad-flag { font-size: 12px; color: var(--c-text-faint); letter-spacing: 1px; white-space: nowrap; }

/* ---------- 板块通用 ---------- */
.section { padding: 22px 0 6px; }
.section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 16px; position: relative;
}
.section-title {
  display: flex; align-items: center; gap: 12px; font-size: 21px; letter-spacing: 2px; font-weight: 700;
  background: linear-gradient(90deg, #ffe9b8, #e3b75c 60%, #b98a3a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-title::before {
  content: ""; width: 6px; height: 26px; border-radius: 3px;
  background: linear-gradient(180deg, var(--c-gold), var(--c-primary));
  box-shadow: 0 0 10px rgba(227, 183, 92, 0.6);
}
.section-title small { font-size: 12px; color: var(--c-text-faint); letter-spacing: 1px; -webkit-text-fill-color: var(--c-text-faint); font-weight: normal; }
.section-more { font-size: 13px; color: var(--c-text-dim); }
.section-more:hover { color: var(--c-gold); }

/* 面板 */
.panel {
  background: linear-gradient(180deg, rgba(39, 18, 31, 0.92), rgba(26, 12, 21, 0.94));
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- 公告 ---------- */
.notice {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px; margin-bottom: 18px;
}
.notice-label {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-3));
  color: #fff; font-size: 13px; padding: 4px 12px; border-radius: 999px; white-space: nowrap; letter-spacing: 1px;
}
.notice ul { flex: 1; overflow: hidden; height: 24px; position: relative; }
.notice ul li { height: 24px; line-height: 24px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--c-text-dim); }
.notice ul li a:hover { color: var(--c-gold); }
.notice .notice-time { font-size: 12px; color: var(--c-text-faint); }

/* ---------- 开服表 ---------- */
.server-table-wrap { overflow-x: auto; }
.server-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.server-table th {
  background: linear-gradient(90deg, rgba(176, 74, 126, 0.35), rgba(109, 36, 80, 0.35));
  color: var(--c-gold-light); font-weight: 600; font-size: 14px;
  padding: 12px 14px; text-align: left; letter-spacing: 1px; white-space: nowrap;
  border-bottom: 1px solid var(--c-line-gold);
}
.server-table td {
  padding: 11px 14px; font-size: 14px; border-bottom: 1px solid rgba(196, 108, 152, 0.12);
  vertical-align: middle;
}
.server-table tbody tr { transition: background .18s; }
.server-table tbody tr:hover { background: rgba(176, 74, 126, 0.12); }
.server-table .g-name { font-weight: 600; color: var(--c-text); display: flex; align-items: center; gap: 8px; }
.server-table .g-name img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; border: 1px solid var(--c-line); }
.server-table .g-name a:hover { color: var(--c-gold); }
.server-table .tag { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--c-line); color: var(--c-text-dim); white-space: nowrap; }
.server-table .tag.tag-hot { border-color: rgba(255, 95, 109, 0.5); color: #ff9aa4; background: rgba(255, 95, 109, 0.1); }
.server-table .tag.tag-new { border-color: rgba(111, 227, 161, 0.5); color: #9af0c4; background: rgba(111, 227, 161, 0.08); }
.countdown { color: var(--c-gold); font-weight: 600; white-space: nowrap; }
.countdown .soon { color: var(--c-ok); }
.rank-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 6px; font-weight: 700; font-style: normal;
  background: rgba(255, 255, 255, 0.08); color: var(--c-text-dim); font-size: 13px;
}
.rank-no.r1 { background: linear-gradient(135deg, #f6dca0, #d3a344); color: #4a2c06; box-shadow: 0 0 12px rgba(227, 183, 92, 0.5); }
.rank-no.r2 { background: linear-gradient(135deg, #e8e8ec, #b9bcc4); color: #333; }
.rank-no.r3 { background: linear-gradient(135deg, #eec2a0, #c98a5a); color: #4a2206; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* 分类卡片 */
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--c-line); background: var(--c-bg-2);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--c-line-gold); box-shadow: var(--shadow), var(--shadow-glow); }
.cat-card .cat-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.cat-card .cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-img img { transform: scale(1.07); }
.cat-card .cat-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(21, 10, 18, 0.85));
}
.cat-card .cat-title {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 10px 14px 12px; text-align: center;
}
.cat-card .cat-title h3 { font-size: 18px; letter-spacing: 3px; color: var(--c-gold-light); text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); }
.cat-card .cat-body { padding: 12px 14px; }
.cat-card .cat-desc { font-size: 13px; color: var(--c-text-dim); min-height: 42px; }
.cat-card .cat-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--c-text-faint); }

/* 游戏卡片 */
.game-card {
  border-radius: var(--radius); overflow: hidden; background: var(--c-bg-3);
  border: 1px solid var(--c-line); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.game-card:hover { transform: translateY(-5px); border-color: var(--c-line-gold); box-shadow: var(--shadow); }
.game-card .gc-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.game-card .gc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.game-card:hover .gc-img img { transform: scale(1.06); }
.game-card .gc-img .gc-flag { position: absolute; left: 10px; top: 10px; z-index: 2; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: rgba(176, 74, 126, 0.9); color: #fff; }
.game-card .gc-img .gc-hot { position: absolute; right: 10px; top: 10px; z-index: 2; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: linear-gradient(135deg, #ff7a5c, #d93a54); color: #fff; }
.game-card .gc-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game-card .gc-body h3 { font-size: 16px; letter-spacing: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-card .gc-body h3 a:hover { color: var(--c-gold); }
.game-card .gc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.game-card .gc-tags span { font-size: 12px; color: var(--c-text-dim); border: 1px solid var(--c-line); padding: 1px 8px; border-radius: 4px; }
.game-card .gc-info { font-size: 13px; color: var(--c-text-dim); display: flex; justify-content: space-between; }
.game-card .gc-info .time { color: var(--c-gold); }
.game-card .gc-ft { display: flex; gap: 8px; margin-top: auto; }

/* ---------- 排行榜 ---------- */
.rank-list .rank-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 16px;
  border-bottom: 1px dashed rgba(196, 108, 152, 0.15); transition: background .18s;
}
.rank-list .rank-item:last-child { border-bottom: 0; }
.rank-list .rank-item:hover { background: rgba(176, 74, 126, 0.1); }
.rank-list .rank-item img { width: 52px; height: 40px; border-radius: 6px; object-fit: cover; }
.rank-list .rank-info { flex: 1; min-width: 0; }
.rank-list .rank-info h4 { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list .rank-info p { font-size: 12px; color: var(--c-text-faint); margin-top: 2px; }
.rank-list .rank-hot { font-size: 12px; color: var(--c-gold); white-space: nowrap; }

/* ---------- 资讯卡片 ---------- */
.news-card { display: flex; gap: 14px; padding: 14px 16px; border-bottom: 1px dashed rgba(196, 108, 152, 0.15); transition: background .18s; }
.news-card:last-child { border-bottom: 0; }
.news-card:hover { background: rgba(176, 74, 126, 0.08); }
.news-card img { width: 130px; height: 82px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.news-card .nc-body { flex: 1; min-width: 0; }
.news-card .nc-body h3 { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-card .nc-body h3 a:hover { color: var(--c-gold); }
.news-card .nc-body p { font-size: 13px; color: var(--c-text-dim); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .nc-meta { display: flex; gap: 14px; font-size: 12px; color: var(--c-text-faint); margin-top: 6px; }

/* ---------- 图文专区 ---------- */
.feature-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); min-height: 240px; display: flex; }
.feature-card .fc-img { flex: 0 0 55%; position: relative; }
.feature-card .fc-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-card .fc-body { flex: 1; padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; gap: 10px; background: linear-gradient(135deg, rgba(41, 21, 34, 0.96), rgba(24, 11, 19, 0.96)); }
.feature-card .fc-body .fc-kicker { font-size: 12px; color: var(--c-gold); letter-spacing: 3px; }
.feature-card .fc-body h3 { font-size: 22px; letter-spacing: 1px; }
.feature-card .fc-body h3 a:hover { color: var(--c-gold); }
.feature-card .fc-body p { font-size: 13px; color: var(--c-text-dim); }
.feature-card .fc-ft { display: flex; gap: 10px; margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq-list details { border-bottom: 1px dashed rgba(196, 108, 152, 0.15); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary {
  cursor: pointer; padding: 14px 16px; font-size: 15px; font-weight: 600;
  display: flex; align-items: center; gap: 10px; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; color: var(--c-gold); font-weight: 700; }
.faq-list summary::after { content: "＋"; margin-left: auto; color: var(--c-gold); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 16px 14px 42px; font-size: 14px; color: var(--c-text-dim); }

/* ---------- 友情链接 ---------- */
.links { padding: 18px 20px; }
.links-list { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.links-list a { font-size: 13px; color: var(--c-text-dim); }
.links-list a:hover { color: var(--c-gold); }

/* ---------- 面包屑 ---------- */
.crumb { padding: 14px 0 0; font-size: 13px; color: var(--c-text-dim); }
.crumb a { color: var(--c-text-dim); }
.crumb a:hover { color: var(--c-gold); }
.crumb .sep { margin: 0 8px; color: var(--c-text-faint); }
.crumb .cur { color: var(--c-gold); }

/* ---------- 分类页 Hero ---------- */
.cat-hero {
  position: relative; border-radius: 14px; overflow: hidden; margin: 18px 0;
  border: 1px solid var(--c-line-gold); box-shadow: var(--shadow);
}
.cat-hero img { width: 100%; height: 300px; object-fit: cover; }
.cat-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 10, 18, 0.92) 0%, rgba(21, 10, 18, 0.45) 60%, rgba(21, 10, 18, 0.2)); }
.cat-hero .ch-txt { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 28px; max-width: 640px; }
.cat-hero .ch-txt h1 { font-size: 30px; letter-spacing: 3px; background: linear-gradient(180deg, #ffe9b8, #e3b75c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cat-hero .ch-txt p { font-size: 14px; color: #e6d3dd; margin-top: 8px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); }
.cat-hero .ch-txt .ch-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.cat-hero .ch-txt .ch-tags span { font-size: 12px; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(4px); }

/* ---------- 筛选 ---------- */
.filter-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 18px; }
.filter-bar .f-label { font-size: 13px; color: var(--c-text-dim); }
.filter-bar .f-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-bar .f-tabs a, .filter-bar .f-tabs button { font-size: 13px; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--c-line); color: var(--c-text-dim); background: transparent; transition: all .2s; }
.filter-bar .f-tabs a:hover, .filter-bar .f-tabs a.on, .filter-bar .f-tabs button.on { border-color: var(--c-gold); color: var(--c-gold); background: rgba(227, 183, 92, 0.1); }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 24px 0 8px; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px;
  padding: 0 12px; border-radius: 8px; font-size: 14px;
  border: 1px solid var(--c-line); color: var(--c-text-dim); background: rgba(30, 14, 24, 0.7);
}
.pagination a:hover { border-color: var(--c-gold); color: var(--c-gold); }
.pagination .cur { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-3)); color: #fff; border-color: transparent; font-weight: 600; }
.pagination .dot { border: 0; background: none; }

/* ---------- 内容页 ---------- */
.article-wrap { padding: 22px 0 30px; }
.article-main { padding: 26px 28px; }
.article-head { text-align: center; padding-bottom: 20px; border-bottom: 1px dashed rgba(196, 108, 152, 0.2); margin-bottom: 22px; }
.article-head h1 { font-size: 28px; letter-spacing: 2px; background: linear-gradient(180deg, #ffe9b8, #e3b75c 70%, #c9963f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.article-head .meta { display: flex; justify-content: center; gap: 18px; font-size: 13px; color: var(--c-text-faint); margin-top: 12px; flex-wrap: wrap; }
.article-head .meta a { color: var(--c-gold); }

.hero-img { border-radius: 12px; overflow: hidden; border: 1px solid var(--c-line-gold); margin-bottom: 22px; box-shadow: var(--shadow); }
.hero-img img { width: 100%; max-height: 420px; object-fit: cover; }

/* 开区信息卡 */
.server-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.server-info .si { background: rgba(30, 14, 24, 0.9); padding: 14px; text-align: center; }
.server-info .si b { display: block; font-size: 15px; color: var(--c-gold); }
.server-info .si span { font-size: 12px; color: var(--c-text-faint); display: block; margin-bottom: 6px; }
.server-info .si .countdown { font-size: 14px; }

/* 文章正文 */
.article-body h2 {
  font-size: 20px; margin: 26px 0 14px; letter-spacing: 1px;
  display: flex; align-items: center; gap: 10px;
}
.article-body h2::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: linear-gradient(180deg, var(--c-gold), var(--c-primary)); }
.article-body h3 { font-size: 17px; margin: 18px 0 10px; color: var(--c-gold-light); }
.article-body p { margin: 10px 0; font-size: 15px; color: #e8d9e2; text-align: justify; }
.article-body ul, .article-body ol { margin: 10px 0; padding-left: 8px; }
.article-body li { margin: 7px 0; padding-left: 22px; position: relative; color: #e0cfd9; }
.article-body li::before { content: "◆"; position: absolute; left: 0; color: var(--c-primary); font-size: 12px; top: 4px; }
.article-body .tip { border-left: 3px solid var(--c-gold); background: rgba(227, 183, 92, 0.08); padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 14px 0; font-size: 14px; color: var(--c-text-dim); }
.article-body .hl { color: var(--c-gold); font-weight: 600; }

/* 截图组 */
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 16px 0; }
.shot-grid figure { border-radius: 10px; overflow: hidden; border: 1px solid var(--c-line); }
.shot-grid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .4s; }
.shot-grid figure:hover img { transform: scale(1.05); }
.shot-grid figcaption { font-size: 12px; text-align: center; color: var(--c-text-faint); padding: 8px; background: rgba(30, 14, 24, 0.8); }

/* 下载区 */
.download-zone { border: 1px solid var(--c-line-gold); border-radius: 12px; padding: 24px; text-align: center; margin: 26px 0; background: linear-gradient(135deg, rgba(227, 183, 92, 0.08), rgba(176, 74, 126, 0.06)); }
.download-zone h3 { font-size: 18px; color: var(--c-gold-light); letter-spacing: 2px; }
.download-zone p { font-size: 13px; color: var(--c-text-dim); margin: 8px 0 16px; }
.download-zone .btn { font-size: 16px; padding: 13px 40px; }

/* 侧栏 */
.side-panel { padding: 18px 20px; margin-bottom: 18px; }
.side-panel h3 { font-size: 16px; letter-spacing: 1px; color: var(--c-gold-light); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.side-panel h3::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: linear-gradient(180deg, var(--c-gold), var(--c-primary)); }

/* 关键词云 */
.key-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.key-cloud a { font-size: 13px; color: var(--c-text-dim); border: 1px solid var(--c-line); padding: 4px 12px; border-radius: 999px; transition: all .2s; }
.key-cloud a:hover { color: var(--c-gold); border-color: var(--c-gold); }

/* ---------- 布局 ---------- */
.layout-2col { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
.sidebar { position: sticky; top: 80px; }

/* ---------- 页脚 ---------- */
.footer { margin-top: 36px; border-top: 1px solid var(--c-line-gold); background: linear-gradient(180deg, rgba(24, 11, 19, 0.96), rgba(15, 7, 12, 0.98)); padding: 30px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 26px; padding-bottom: 24px; }
.footer h4 { font-size: 15px; color: var(--c-gold-light); letter-spacing: 1px; margin-bottom: 12px; }
.footer .f-desc { font-size: 13px; color: var(--c-text-dim); margin-top: 8px; }
.footer .f-links a { display: block; font-size: 13px; color: var(--c-text-dim); padding: 4px 0; }
.footer .f-links a:hover { color: var(--c-gold); padding-left: 4px; }
.footer .f-contact { font-size: 13px; color: var(--c-text-dim); line-height: 2.2; }
.footer .f-contact b { color: var(--c-gold); }
.footer-bottom { border-top: 1px solid rgba(196, 108, 152, 0.15); padding: 16px 0; text-align: center; font-size: 12px; color: var(--c-text-faint); }
.footer-bottom a { color: var(--c-text-faint); }
.footer-bottom a:hover { color: var(--c-gold); }
.footer-bottom .kw { margin-top: 6px; }
.footer-bottom .kw a { margin: 0 6px; }

/* ---------- 回顶 / 浮动 ---------- */
.backtop {
  position: fixed; right: 22px; bottom: 30px; z-index: 998;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--c-line-gold);
  background: linear-gradient(135deg, rgba(176, 74, 126, 0.9), rgba(109, 36, 80, 0.9));
  color: var(--c-gold-light); font-size: 20px; display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: all .25s;
}
.backtop.show { display: flex; }
.backtop:hover { transform: translateY(-4px); }

/* 浮动下载按钮（移动端） */
.float-download {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 997; display: none;
}
.float-download .btn { width: 100%; }

/* ---------- 动画 ---------- */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.in { opacity: 1; transform: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.pulse { animation: pulse 1.6s ease-in-out infinite; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .layout-2col { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { background-attachment: scroll; font-size: 14px; }
  .topbar-msg { display: none; }
  .header { padding: 14px 0; }
  .brand .logo { width: 60px; height: 60px; }
  .brand-txt h1 { font-size: 24px; letter-spacing: 2px; }
  .brand-txt .domain { font-size: 12px; }
  .search-box { width: 100%; order: 3; margin-top: 4px; }
  .header-right { margin-left: 0; width: 100%; gap: 8px; }
  .header-right .btn { flex: 1; padding: 9px 10px; font-size: 13px; }
  .nav-toggle { display: block; }
  .nav-list {
    display: none; width: 100%; flex-direction: column; max-height: 70vh; overflow-y: auto;
    border-top: 1px solid var(--c-line);
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 13px 12px; border-bottom: 1px solid rgba(196, 108, 152, 0.1); font-size: 14px; }
  .nav-list a.active::after { display: none; }
  .nav-list a.active { color: var(--c-gold); background: rgba(176, 74, 126, 0.12); }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-2 { grid-template-columns: 1fr; }
  .cat-hero img { height: 200px; }
  .cat-hero .ch-txt { padding: 16px; }
  .cat-hero .ch-txt h1 { font-size: 22px; }
  .section-title { font-size: 18px; }
  .section { padding: 16px 0 4px; }
  .article-main { padding: 16px 14px; }
  .article-head h1 { font-size: 21px; }
  .shot-grid { grid-template-columns: 1fr 1fr; }
  .feature-card { flex-direction: column; }
  .feature-card .fc-img { flex: none; aspect-ratio: 16/9; }
  .feature-card .fc-body { padding: 16px; }
  .feature-card .fc-body h3 { font-size: 18px; }
  .server-info { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 18px; }
  .backtop { right: 14px; bottom: 76px; width: 40px; height: 40px; }
  .float-download { display: block; }
  body.has-float { padding-bottom: 66px; }
  .news-card img { width: 96px; height: 64px; }
  .container { padding: 0 12px; }
}

@media (max-width: 420px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .brand-txt h1 { font-size: 21px; }
  .topbar-links .hide-xs { display: none; }
}

/* 无障碍 / 打印 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
