/* ============================================================
   SF999GM 传奇私服发布网 - 独家海蓝鎏金风格样式表
   打破常规模板 · 大气隆重 · PC/移动全自适应
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --navy-deep: #020B16;
  --navy: #051E38;
  --navy-2: #072A4F;
  --navy-3: #0A3A6B;
  --blue: #0B5EA8;
  --cyan: #2FC7FF;
  --cyan-soft: #7FE7FF;
  --gold: #FFD75E;
  --gold-deep: #D9A441;
  --gold-grad: linear-gradient(135deg, #FFE9A8 0%, #FFD75E 38%, #D9A441 72%, #B8862B 100%);
  --text: #D9E9F8;
  --text-dim: #8FB3D0;
  --text-soft: #6E93B4;
  --line: rgba(47, 199, 255, 0.22);
  --panel: rgba(4, 24, 48, 0.88);
  --panel-2: rgba(6, 34, 66, 0.72);
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px rgba(255, 215, 94, 0.35), 0 12px 40px rgba(6, 90, 160, 0.35);
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  background-color: var(--navy-deep);
  background-image: url('../images/bj.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
}
a { color: var(--cyan-soft); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold); }
img { max-width: 100%; border: 0; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.35; }
::selection { background: rgba(47, 199, 255, .35); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #03101F; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #0B5EA8, #072A4F); border-radius: 6px; border: 2px solid #03101F; }
::-webkit-scrollbar-thumb:hover { background: #2FC7FF; }

/* ---------- 布局容器 ---------- */
.wrap { width: 1200px; max-width: 96%; margin: 0 auto; }
.main-grid { display: grid; grid-template-columns: 1fr 300px; gap: 22px; margin: 20px auto 0; }
.main-col { min-width: 0; }
.side-col { min-width: 0; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: linear-gradient(90deg, rgba(2, 11, 22, .96), rgba(5, 30, 56, .96));
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-dim);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.topbar a { color: var(--text-dim); }
.topbar a:hover { color: var(--gold); }
.topbar .tb-left { display: flex; align-items: center; gap: 18px; }
.topbar .tb-right { display: flex; align-items: center; gap: 16px; }
.topbar .clock { color: var(--cyan-soft); font-variant-numeric: tabular-nums; }
.topbar .marquee { flex: 1; overflow: hidden; white-space: nowrap; max-width: 560px; }
.topbar .marquee span { display: inline-block; padding-left: 100%; animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- 头部 ---------- */
.header {
  background: linear-gradient(180deg, rgba(4, 22, 44, .96) 0%, rgba(3, 15, 30, .92) 100%);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: relative;
  z-index: 50;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo-box { display: flex; align-items: center; gap: 14px; }
.logo-box .logo { height: 62px; width: auto; filter: drop-shadow(0 0 12px rgba(255, 215, 94, .25)); }
.site-txt { line-height: 1.25; }
.site-txt .st-main { font-size: 26px; font-weight: 900; letter-spacing: 2px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.site-txt .st-sub { font-size: 12px; color: var(--text-dim); letter-spacing: 3px; }
.search-box { display: flex; align-items: center; background: rgba(2, 12, 24, .8); border: 1px solid var(--line); border-radius: 30px; padding: 4px 4px 4px 16px; width: 340px; max-width: 100%; }
.search-box input { flex: 1; background: none; border: 0; outline: none; color: var(--text); font-size: 14px; }
.search-box input::placeholder { color: var(--text-soft); }
.search-box button { border: 0; cursor: pointer; background: linear-gradient(135deg, #2FC7FF, #0B5EA8); color: #fff; font-size: 14px; border-radius: 24px; padding: 7px 20px; font-weight: 700; transition: filter .25s; }
.search-box button:hover { filter: brightness(1.2); }

/* ---------- 导航 ---------- */
.nav {
  background: linear-gradient(180deg, rgba(8, 40, 76, .97), rgba(4, 20, 40, .97));
  border-bottom: 2px solid rgba(255, 215, 94, .55);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  position: sticky; top: 0; z-index: 100;
}
.nav .wrap { display: flex; align-items: center; }
.nav-list { display: flex; flex-wrap: wrap; }
.nav-list li { position: relative; }
.nav-list a {
  display: block; padding: 13px 19px; color: var(--text); font-size: 15px; font-weight: 600; letter-spacing: 1px;
  position: relative; overflow: hidden;
}
.nav-list a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px;
  background: var(--gold-grad); transition: all .3s; transform: translateX(-50%); border-radius: 3px 3px 0 0;
}
.nav-list a:hover, .nav-list a.active { color: var(--gold); text-shadow: 0 0 12px rgba(255, 215, 94, .5); }
.nav-list a:hover::after, .nav-list a.active::after { width: 70%; }
.nav-hot { font-size: 11px; color: #fff; background: linear-gradient(135deg, #ff4d4f, #d4380d); border-radius: 3px; padding: 1px 5px; margin-left: 4px; vertical-align: 2px; animation: hotpulse 1.6s ease-in-out infinite; }
@keyframes hotpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255, 77, 79, .7);} 50% { box-shadow: 0 0 10px 3px rgba(255, 77, 79, .35);} }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--gold); border-radius: 6px; padding: 6px 12px; font-size: 18px; cursor: pointer; margin-left: auto; }

/* ---------- 横幅 ---------- */
.banner { margin: 18px auto 0; position: relative; }
.banner a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 215, 94, .45); box-shadow: var(--shadow), 0 0 24px rgba(47, 199, 255, .15); }
.banner img { width: 100%; height: auto; transition: transform .6s; }
.banner a:hover img { transform: scale(1.02); }

/* ---------- 广告位（仅首页） ---------- */
.ad-area { margin-top: 16px; }
.ad-inner {
  border: 1px dashed rgba(47, 199, 255, .45); border-radius: var(--radius);
  background: rgba(3, 16, 32, .6); min-height: 90px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); font-size: 13px; letter-spacing: 1px;
  position: relative; overflow: hidden;
}
.ad-inner::before {
  content: "广 告"; position: absolute; left: 8px; top: 6px; font-size: 11px; color: rgba(143, 179, 208, .55); letter-spacing: 2px;
}
.ad-inner a { color: var(--cyan-soft); margin: 0 6px; }

/* ---------- 区块标题 ---------- */
.sec { margin-bottom: 26px; }
.sec-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; position: relative; }
.sec-title .bar { width: 5px; height: 26px; background: var(--gold-grad); border-radius: 3px; box-shadow: 0 0 10px rgba(255, 215, 94, .6); }
.sec-title h2 { font-size: 21px; letter-spacing: 2px; color: #fff; }
.sec-title h2 em { font-style: normal; color: var(--gold); }
.sec-title .en { font-size: 11px; color: var(--text-soft); letter-spacing: 3px; text-transform: uppercase; margin-top: 6px; }
.sec-title .more { margin-left: auto; font-size: 13px; color: var(--cyan-soft); border: 1px solid var(--line); border-radius: 20px; padding: 3px 14px; }
.sec-title .more:hover { border-color: var(--gold); color: var(--gold); }
.sec-title .orn { width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-deep)); }

/* ---------- 面板 ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(6px); }

/* ---------- 开服表 ---------- */
.sftable-wrap { overflow-x: auto; }
.sftable { width: 100%; border-collapse: collapse; min-width: 780px; }
.sftable th {
  background: linear-gradient(180deg, #0B3A6E, #072A4F); color: var(--gold); font-size: 14px; font-weight: 700;
  padding: 12px 10px; text-align: left; white-space: nowrap; border-bottom: 1px solid rgba(255, 215, 94, .4);
}
.sftable th:first-child { border-radius: 8px 0 0 0; }
.sftable th:last-child { border-radius: 0 8px 0 0; }
.sftable td { padding: 11px 10px; border-bottom: 1px solid rgba(47, 199, 255, .1); font-size: 14px; white-space: nowrap; }
.sftable tbody tr { transition: background .2s, transform .2s; }
.sftable tbody tr:hover { background: rgba(11, 94, 168, .22); }
.sftable tbody tr.tr-new { background: linear-gradient(90deg, rgba(255, 215, 94, .10), transparent 60%); }
.sftable tbody tr.tr-new:hover { background: rgba(255, 215, 94, .16); }
.sftable .gname { color: #fff; font-weight: 700; }
.sftable .gname i { font-style: normal; color: var(--cyan); }
.sftable .ver { color: var(--cyan-soft); }
.sftable .gfeature { white-space: normal; min-width: 170px; line-height: 1.5; }
.sftable .beilv { color: var(--gold); }
.tag { display: inline-block; font-size: 11px; border-radius: 4px; padding: 1px 7px; margin-right: 4px; vertical-align: 1px; }
.tag-new { background: linear-gradient(135deg, #ff4d4f, #d4380d); color: #fff; animation: hotpulse 1.6s infinite; }
.tag-hot { background: linear-gradient(135deg, #ff9c35, #d46b08); color: #fff; }
.tag-rec { background: rgba(47, 199, 255, .18); color: var(--cyan-soft); border: 1px solid rgba(47, 199, 255, .4); }
.sftable .btn { padding: 4px 14px; font-size: 13px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 8px 20px; border-radius: 24px; font-size: 14px; font-weight: 700; cursor: pointer;
  background: var(--gold-grad); color: #241a02 !important; border: 0;
  box-shadow: 0 4px 14px rgba(217, 164, 65, .35); transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(217, 164, 65, .5); filter: brightness(1.08); }
.btn-blue { background: linear-gradient(135deg, #2FC7FF, #0B5EA8); color: #fff !important; box-shadow: 0 4px 14px rgba(11, 94, 168, .45); }
.btn-blue:hover { box-shadow: 0 8px 22px rgba(47, 199, 255, .5); }
.btn-sm { padding: 4px 13px; font-size: 12.5px; }
.btn-dl { padding: 5px 16px; font-size: 13px; background: linear-gradient(135deg, #7CF29C, #0FA958); color: #04300F !important; box-shadow: 0 4px 14px rgba(15, 169, 88, .4); }
.btn-dl:hover { box-shadow: 0 8px 22px rgba(124, 242, 156, .5); }

/* ---------- 游戏卡片 ---------- */
.gcard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gcard {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s; position: relative;
}
.gcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(255, 215, 94, .6); }
.gcard .thumb { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.gcard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gcard:hover .thumb img { transform: scale(1.08); }
.gcard .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(3, 15, 30, .85)); }
.gcard .tag { position: absolute; left: 10px; top: 10px; z-index: 2; }
.gcard .gbody { padding: 12px 14px 14px; }
.gcard .gbody h3 { font-size: 16px; color: #fff; margin-bottom: 4px; }
.gcard .gbody h3 a { color: #fff; }
.gcard .gbody h3 a:hover { color: var(--gold); }
.gcard .gbody .gmeta { font-size: 12.5px; color: var(--text-dim); margin-bottom: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.gcard .gbody .gdesc { font-size: 13px; color: var(--text-dim); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gcard .gbtns { display: flex; gap: 8px; }
.gcard .gbtns .btn { flex: 1; text-align: center; padding: 6px 0; font-size: 13px; }

/* ---------- 资讯/攻略列表 ---------- */
.news-list li { display: flex; align-items: center; gap: 10px; padding: 11px 4px; border-bottom: 1px dashed rgba(47, 199, 255, .14); transition: background .2s, padding-left .2s; }
.news-list li:hover { background: rgba(11, 94, 168, .14); padding-left: 12px; }
.news-list .dot { width: 7px; height: 7px; background: var(--gold-grad); border-radius: 50%; box-shadow: 0 0 8px rgba(255, 215, 94, .8); flex-shrink: 0; }
.news-list a { color: var(--text); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list a:hover { color: var(--gold); }
.news-list .date { font-size: 12px; color: var(--text-soft); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.news-list .cate { font-size: 11px; color: var(--cyan); border: 1px solid rgba(47, 199, 255, .3); border-radius: 3px; padding: 0 5px; flex-shrink: 0; }

/* 图文卡片列表 */
.article-row { display: flex; gap: 14px; padding: 14px; border-bottom: 1px solid rgba(47, 199, 255, .12); transition: background .25s; }
.article-row:hover { background: rgba(11, 94, 168, .14); }
.article-row .ar-thumb { width: 150px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.article-row .ar-thumb img { width: 150px; height: 96px; object-fit: cover; transition: transform .4s; }
.article-row:hover .ar-thumb img { transform: scale(1.06); }
.article-row h3 { font-size: 16px; margin-bottom: 6px; }
.article-row h3 a { color: #fff; }
.article-row h3 a:hover { color: var(--gold); }
.article-row p { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-row .ar-meta { font-size: 12px; color: var(--text-soft); display: flex; gap: 14px; }

/* ---------- 分类导航卡片 ---------- */
.cate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cate-card {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius);
  background: var(--panel-2); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cate-card:hover { transform: translateY(-4px); border-color: rgba(255, 215, 94, .55); box-shadow: var(--shadow-glow); }
.cate-card .cc-img { width: 58px; height: 58px; border-radius: 10px; overflow: hidden; flex-shrink: 0; border: 1px solid rgba(255, 215, 94, .35); }
.cate-card .cc-img img { width: 100%; height: 100%; object-fit: cover; }
.cate-card .cc-txt h3 { font-size: 15px; color: #fff; }
.cate-card .cc-txt h3 a { color: #fff; }
.cate-card .cc-txt h3 a:hover { color: var(--gold); }
.cate-card .cc-txt p { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

/* ---------- 侧边栏 ---------- */
.widget { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 20px; overflow: hidden; }
.widget .w-title { display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: linear-gradient(90deg, rgba(11, 62, 110, .8), rgba(5, 30, 56, .4)); border-bottom: 1px solid var(--line); }
.widget .w-title .bar { width: 4px; height: 18px; background: var(--gold-grad); border-radius: 2px; }
.widget .w-title h3 { font-size: 16px; color: #fff; letter-spacing: 1px; }
.widget .w-body { padding: 14px 16px; }
.kw-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.kw-cloud a { font-size: 13px; color: var(--text-dim); background: rgba(11, 94, 168, .18); border: 1px solid var(--line); border-radius: 16px; padding: 4px 12px; transition: all .25s; }
.kw-cloud a:hover { color: var(--gold); border-color: var(--gold-deep); background: rgba(217, 164, 65, .12); transform: translateY(-2px); }
.w-news li { padding: 8px 0; border-bottom: 1px dashed rgba(47, 199, 255, .12); font-size: 13.5px; }
.w-news li:last-child { border-bottom: 0; }
.w-news a { color: var(--text); }
.w-news a:hover { color: var(--gold); }
.w-dl { text-align: center; padding: 6px 0 2px; }
.w-dl .tip { font-size: 12px; color: var(--text-dim); margin-top: 10px; line-height: 1.8; text-align: left; }
.dl-box { background: rgba(2, 12, 24, .7); border: 1px dashed rgba(255, 215, 94, .4); border-radius: 10px; padding: 14px; text-align: center; }
.dl-box .dl-name { font-size: 15px; color: var(--gold); font-weight: 700; margin-bottom: 10px; letter-spacing: 1px; }
.w-tip { font-size: 13px; color: var(--text-dim); line-height: 2; }
.w-tip b { color: var(--gold); }
.link-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.link-list a { font-size: 13px; color: var(--text-dim); }
.link-list a:hover { color: var(--gold); }

/* ---------- 面包屑 / 页头 ---------- */
.crumb { padding: 14px 0 0; font-size: 13px; color: var(--text-soft); }
.crumb a { color: var(--cyan-soft); }
.crumb a:hover { color: var(--gold); }
.crumb .sep { margin: 0 8px; color: var(--text-soft); }
.crumb .now { color: var(--gold); }
.page-hero { margin-top: 16px; padding: 26px 30px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(47, 199, 255, .18), transparent 70%); }
.page-hero::after { content: "◆"; position: absolute; right: 30px; bottom: 8px; font-size: 22px; color: rgba(255, 215, 94, .35); }
.page-hero h1 { font-size: 26px; color: #fff; letter-spacing: 2px; margin-bottom: 8px; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { font-size: 14px; color: var(--text-dim); max-width: 92%; }

/* ---------- 分类筛选条 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 14px 16px; margin: 16px auto 0; width: 1200px; max-width: 96%; }
.filter-bar .f-label { font-size: 13px; color: var(--text-soft); margin-right: 4px; }
.filter-bar a { font-size: 13px; color: var(--text-dim); border: 1px solid var(--line); border-radius: 16px; padding: 4px 13px; transition: all .25s; }
.filter-bar a:hover, .filter-bar a.active { color: var(--gold); border-color: var(--gold-deep); background: rgba(217, 164, 65, .1); }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 22px 0 8px; flex-wrap: wrap; }
.pager a, .pager span {
  display: inline-block; min-width: 38px; padding: 7px 12px; text-align: center; font-size: 14px;
  border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: rgba(4, 24, 48, .8); transition: all .25s;
}
.pager a:hover { border-color: var(--gold-deep); color: var(--gold); transform: translateY(-2px); }
.pager .cur { background: var(--gold-grad); color: #241a02 !important; border-color: transparent; font-weight: 700; box-shadow: 0 4px 14px rgba(217, 164, 65, .4); }
.pager .disabled { opacity: .4; cursor: not-allowed; }

/* ---------- 文章页 ---------- */
.article-box { margin-top: 16px; padding: 30px 34px; }
.article-head { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.article-head h1 { font-size: 27px; color: #fff; letter-spacing: 1px; line-height: 1.45; }
.article-head .a-meta { margin-top: 14px; font-size: 13px; color: var(--text-soft); display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.article-head .a-meta a { color: var(--cyan-soft); }
.article-head .a-meta a:hover { color: var(--gold); }
.article-body { font-size: 15.5px; color: #C9DCEE; line-height: 2; }
.article-body p { margin-bottom: 16px; text-align: justify; }
.article-body h2 { font-size: 20px; color: var(--gold); margin: 30px 0 14px; padding-left: 14px; position: relative; letter-spacing: 1px; }
.article-body h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; background: var(--gold-grad); border-radius: 3px; }
.article-body h3 { font-size: 17px; color: var(--cyan-soft); margin: 22px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 6px; }
.article-body li { padding: 5px 0 5px 22px; position: relative; }
.article-body li::before { content: "◆"; position: absolute; left: 0; top: 5px; color: var(--gold-deep); font-size: 11px; }
.article-body ol { counter-reset: li; }
.article-body ol li { counter-increment: li; }
.article-body ol li::before { content: counter(li) "."; color: var(--gold); font-weight: 700; font-size: 14px; }
.article-body img { border-radius: 10px; border: 1px solid var(--line); margin: 14px auto; box-shadow: var(--shadow); }
.article-body .img-cap { text-align: center; font-size: 12.5px; color: var(--text-soft); margin: -8px 0 18px; }
.article-body strong { color: var(--gold); }
.article-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--gold); }
.tip-box { background: linear-gradient(135deg, rgba(255, 215, 94, .10), rgba(47, 199, 255, .06)); border: 1px solid rgba(255, 215, 94, .35); border-left: 4px solid var(--gold-deep); border-radius: 10px; padding: 16px 18px; margin: 20px 0; }
.tip-box .tip-t { color: var(--gold); font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.tip-box p, .tip-box li { color: #E8D9A8; font-size: 14.5px; }
.tip-box ul { margin: 0; }
.dl-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(90deg, rgba(11, 62, 110, .6), rgba(6, 34, 66, .6)); border: 1px solid rgba(255, 215, 94, .4); border-radius: 12px; padding: 18px 22px; margin: 26px 0; flex-wrap: wrap; }
.dl-banner .dl-t { color: #fff; font-size: 16px; font-weight: 700; }
.dl-banner .dl-t small { display: block; font-size: 12.5px; color: var(--text-dim); font-weight: 400; margin-top: 3px; }
.rel-articles { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.rel-articles h3 { font-size: 17px; color: var(--gold); margin-bottom: 12px; }
.rel-articles li { padding: 7px 0 7px 18px; position: relative; font-size: 14px; }
.rel-articles li::before { content: "▶"; position: absolute; left: 0; top: 7px; font-size: 10px; color: var(--cyan); }
.rel-articles a { color: var(--text); }
.rel-articles a:hover { color: var(--gold); }

/* ---------- 关于/联系/FAQ ---------- */
.page-body { margin-top: 16px; padding: 28px 32px; }
.page-body h2 { font-size: 19px; color: var(--gold); margin: 24px 0 12px; padding-left: 12px; position: relative; }
.page-body h2::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px; background: var(--gold-grad); border-radius: 2px; }
.page-body p { margin-bottom: 14px; color: #C9DCEE; text-align: justify; }
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.contact-item { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 20px; text-align: center; transition: transform .25s, box-shadow .25s; }
.contact-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.contact-item .ci-ico { font-size: 30px; margin-bottom: 8px; }
.contact-item h3 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.contact-item p { color: var(--cyan-soft); font-size: 15px; margin: 0; }
.faq-item { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin-bottom: 12px; }
.faq-item h3 { color: var(--gold); font-size: 15.5px; margin-bottom: 8px; }
.faq-item p { color: #C9DCEE; font-size: 14.5px; margin: 0; }

/* ---------- 404 ---------- */
.err-box { text-align: center; padding: 90px 20px 100px; margin-top: 20px; }
.err-box .code { font-size: 120px; font-weight: 900; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; text-shadow: none; }
.err-box p { color: var(--text-dim); margin: 10px 0 26px; font-size: 16px; }

/* ---------- 页脚 ---------- */
.footer { margin-top: 40px; background: linear-gradient(180deg, rgba(3, 15, 30, .95), rgba(1, 8, 16, .98)); border-top: 2px solid rgba(255, 215, 94, .4); padding: 36px 0 0; position: relative; }
.footer::before { content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(47, 199, 255, .6), transparent); }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 26px; padding-bottom: 28px; }
.f-col h4 { color: var(--gold); font-size: 16px; margin-bottom: 14px; letter-spacing: 1px; position: relative; padding-bottom: 8px; }
.f-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--gold-grad); }
.f-col p { font-size: 13px; color: var(--text-dim); line-height: 2; }
.f-col ul li { padding: 4px 0; }
.f-col ul a { font-size: 13.5px; color: var(--text-dim); }
.f-col ul a:hover { color: var(--gold); }
.f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.f-logo img { height: 46px; width: auto; }
.f-contact li { font-size: 13.5px; color: var(--text-dim); padding: 5px 0; }
.f-contact .mail { color: var(--cyan-soft); font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(47, 199, 255, .15); padding: 16px 0; font-size: 12.5px; color: var(--text-soft); text-align: center; }
.footer-bottom a { color: var(--text-soft); }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom .kw-line { margin-top: 6px; color: var(--text-soft); }

/* ---------- 返回顶部 ---------- */
#backTop {
  position: fixed; right: 22px; bottom: 80px; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #0B5EA8, #072A4F); border: 1px solid rgba(255, 215, 94, .55);
  color: var(--gold); font-size: 20px; cursor: pointer; z-index: 999; opacity: 0; visibility: hidden;
  transform: translateY(14px); transition: all .35s; box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
}
#backTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backTop:hover { background: linear-gradient(135deg, #2FC7FF, #0B5EA8); }

/* ---------- 滚动显现动画 ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .main-grid { grid-template-columns: 1fr; }
  .gcard-grid, .cate-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .search-box { width: 220px; }
  .site-txt .st-main { font-size: 20px; }
  .gcard-grid { grid-template-columns: repeat(2, 1fr); }
  .cate-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  body { background-attachment: scroll; font-size: 14px; }
  .topbar .tb-left .welcome, .topbar .marquee { display: none; }
  .header { padding: 10px 0; }
  .header .wrap { flex-wrap: wrap; }
  .logo-box .logo { height: 48px; }
  .site-txt .st-main { font-size: 17px; letter-spacing: 1px; }
  .search-box { order: 3; width: 100%; margin-top: 8px; }
  .nav-toggle { display: block; }
  .nav-list { display: none; width: 100%; flex-direction: column; }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 12px 16px; border-bottom: 1px solid rgba(47, 199, 255, .1); }
  .nav-list a::after { display: none; }
  .nav-list a:hover, .nav-list a.active { background: rgba(11, 94, 168, .25); }
  .banner { margin-top: 12px; }
  .sec-title h2 { font-size: 18px; }
  .gcard-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gcard .gbody { padding: 10px 12px 12px; }
  .gcard .gbody h3 { font-size: 14.5px; }
  .gcard .gmeta { display: none; }
  .gcard .gbtns { flex-direction: column; }
  .article-row { flex-direction: column; }
  .article-row .ar-thumb, .article-row .ar-thumb img { width: 100%; height: 160px; }
  .article-box, .page-body { padding: 20px 18px; }
  .article-head h1 { font-size: 21px; }
  .contact-box { grid-template-columns: 1fr; }
  .page-hero { padding: 20px 18px; }
  .page-hero h1 { font-size: 21px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .dl-banner { flex-direction: column; text-align: center; }
  .ad-inner { min-height: 70px; }
  #backTop { right: 12px; bottom: 60px; width: 38px; height: 38px; font-size: 16px; }
}
@media (max-width: 480px) {
  .gcard-grid, .cate-grid { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr; }
  .topbar .tb-right .mail { display: none; }
}
