/* ==========================================================================
   好骑士 传奇私服发布网 全局样式
   站点：好骑士 | 域名：www.haoqs.com
   主题：热血传奇 · 红金黑
   ========================================================================== */

/* ---------- 变量 ---------- */
:root {
  --bg-dark: #0b0303;
  --bg-deep: #160606;
  --red-deep: #3a0d0d;
  --red: #9c1a1a;
  --red-bright: #d4281c;
  --gold: #e8b64c;
  --gold-light: #ffd97a;
  --gold-dark: #a87b24;
  --text: #efe6d2;
  --text-dim: #b3a68e;
  --line: rgba(232, 182, 76, 0.22);
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  --maxw: 1200px;
  --grad-gold: linear-gradient(135deg, #f6d98a 0%, #e8b64c 45%, #b07d22 100%);
  --grad-red: linear-gradient(135deg, #c2241c 0%, #7c0f0f 100%);
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background-color: var(--bg-dark);
  background-image: url("../images/bj.png");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  overflow-x: hidden;
}
@media (max-width: 768px) {
  body { background-attachment: scroll; }
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select { font-family: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* 通用渐隐上浮动画 */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes glowPulse { 0%,100% { text-shadow: 0 0 8px rgba(255,217,122,.6); } 50% { text-shadow: 0 0 20px rgba(255,217,122,1); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shine { 0% { background-position: -180% center; } 100% { background-position: 180% center; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(212,40,28,.55); } 70% { box-shadow: 0 0 0 14px rgba(212,40,28,0); } 100% { box-shadow: 0 0 0 0 rgba(212,40,28,0); } }

/* ---------- 顶栏 ---------- */
.topbar {
  background: rgba(11, 3, 3, 0.92);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-dim);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; flex-wrap: wrap; gap: 4px 12px; }
.topbar a:hover { color: var(--gold-light); }
.topbar .top-date { color: var(--gold); }
.topbar .top-links a { margin-left: 14px; }
@media (max-width: 640px) { .topbar .top-links a:nth-child(n+3){ display:none; } }

/* ---------- 页头 ---------- */
.site-header { position: relative; z-index: 60; }
.header-main {
  background: linear-gradient(180deg, rgba(46,8,8,0.96) 0%, rgba(20,4,4,0.96) 100%);
  border-bottom: 2px solid var(--gold-dark);
  box-shadow: 0 4px 18px rgba(0,0,0,.6);
}
.header-inner { display: flex; align-items: center; gap: 18px; padding: 14px 0; flex-wrap: wrap; }
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-wrap .logo { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); box-shadow: 0 0 16px rgba(232,182,76,.4); flex: 0 0 auto; }
.logo-wrap .logo img { width: 100%; height: 100%; object-fit: cover; }
.site-title h1, .site-title .sitename { font-size: 30px; font-weight: 900; letter-spacing: 3px; margin: 0; }
.site-title .sitename {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: glowPulse 3s ease-in-out infinite;
  line-height: 1.2;
}
.site-title .sub { font-size: 12px; color: var(--text-dim); letter-spacing: 2px; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-cta .hot-server { font-size: 13px; color: var(--text-dim); }
.header-cta .hot-server b { color: var(--gold-light); }
@media (max-width: 900px) { .header-cta { width: 100%; justify-content: space-between; } }
@media (max-width: 640px) {
  .site-title h1, .site-title .sitename { font-size: 23px; letter-spacing: 1px; }
  .logo-wrap .logo { width: 50px; height: 50px; }
}

/* ---------- 导航 ---------- */
.main-nav {
  background: linear-gradient(180deg, #8a1414 0%, #5c0c0c 100%);
  border-top: 1px solid rgba(255,217,122,.25);
  border-bottom: 2px solid #3a0808;
  position: relative;
  z-index: 50;
}
.main-nav.fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 100; box-shadow: 0 4px 16px rgba(0,0,0,.6); }
.nav-inner { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; flex-wrap: nowrap; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block; padding: 13px 18px; color: #ffe9c2; font-weight: 700; font-size: 15px;
  letter-spacing: 1px; border-right: 1px solid rgba(255,255,255,.08);
}
.nav-list > li > a i { font-style: normal; margin-right: 4px; }
.nav-list > li > a:hover, .nav-list > li.active > a { background: rgba(255,217,122,.16); color: #fff; text-shadow: 0 0 8px rgba(255,217,122,.8); }
.nav-list .has-sub:hover .sub-nav { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-list .sub-nav {
  position: absolute; top: 100%; left: 0; min-width: 168px; background: #200707;
  border: 1px solid var(--line); border-radius: 0 0 8px 8px; padding: 6px 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .22s ease; box-shadow: var(--shadow); z-index: 80;
}
.nav-list .sub-nav a { display: block; padding: 9px 16px; font-size: 14px; color: var(--text-dim); }
.nav-list .sub-nav a:hover { color: var(--gold-light); background: rgba(232,182,76,.08); padding-left: 20px; }
/* 移动端汉堡 */
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 3px; background: #ffe9c2; border-radius: 3px; transition: all .3s ease; }
.nav-toggle span:nth-child(1){ top: 12px; }
.nav-toggle span:nth-child(2){ top: 21px; }
.nav-toggle span:nth-child(3){ top: 30px; }
.nav-toggle.open span:nth-child(1){ top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ top: 21px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-list { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #200707; display: none; max-height: calc(100vh - 120px); overflow-y: auto; box-shadow: var(--shadow); }
  .nav-list.open { display: flex; }
  .nav-list > li { width: 100%; }
  .nav-list > li > a { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-list .sub-nav { position: static; opacity: 1; visibility: visible; transform: none; border: 0; border-top: 1px dashed var(--line); display: none; border-radius: 0; }
  .nav-list .has-sub.open .sub-nav { display: block; }
}

/* ---------- 横幅 Banner（1200×250） ---------- */
.banner { margin: 18px auto; max-width: 1200px; padding: 0 16px; }
.banner .banner-inner { position: relative; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--gold-dark); box-shadow: var(--shadow); }
.banner .banner-inner img { width: 100%; height: auto; display: block; }
.banner .banner-link { position: absolute; inset: 0; z-index: 2; text-indent: -9999px; overflow: hidden; }

/* ---------- 公告跑马灯 ---------- */
.notice { margin: 14px auto 0; max-width: 1200px; padding: 0 16px; }
.notice-inner {
  display: flex; align-items: center; background: rgba(20,6,6,.9); border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden;
}
.notice-tag { flex: 0 0 auto; background: var(--grad-red); color: #fff; font-weight: 700; padding: 8px 16px; letter-spacing: 2px; }
.notice-tag::before { content: "📢"; margin-right: 4px; }
.notice-track { flex: 1; overflow: hidden; padding: 8px 0; }
.notice-track ul { display: inline-flex; white-space: nowrap; animation: marquee 26s linear infinite; will-change: transform; }
.notice-track li { padding-right: 60px; font-size: 14px; color: var(--gold-light); }
.notice-track li a:hover { color: #fff; text-decoration: underline; }

/* ---------- 区块标题 ---------- */
.section { margin: 26px auto; max-width: var(--maxw); padding: 0 16px; }
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-head .sec-ico { width: 40px; height: 40px; border-radius: 8px; background: var(--grad-red); display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 4px 10px rgba(156,26,26,.4); }
.section-head h2 { font-size: 22px; font-weight: 800; letter-spacing: 2px; color: var(--gold-light); position: relative; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 60%; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.section-head .more { margin-left: auto; font-size: 13px; color: var(--text-dim); }
.section-head .more:hover { color: var(--gold-light); }

/* ---------- 筛选工具条 ---------- */
.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; background: rgba(20,6,6,.85); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
.filter-bar .fb-label { font-size: 13px; color: var(--text-dim); }
.filter-bar .fb-btn { padding: 5px 14px; border: 1px solid var(--line); border-radius: 20px; font-size: 13px; color: var(--text-dim); transition: all .2s ease; }
.filter-bar .fb-btn:hover { color: var(--gold-light); border-color: var(--gold); }
.filter-bar .fb-btn.active { background: var(--grad-red); color: #fff; border-color: transparent; }
.filter-bar .fb-search { margin-left: auto; display: flex; }
.filter-bar .fb-search input { background: #1c0808; border: 1px solid var(--line); color: var(--text); padding: 6px 12px; border-radius: 20px 0 0 20px; width: 180px; outline: none; font-size: 13px; }
.filter-bar .fb-search input:focus { border-color: var(--gold); }
.filter-bar .fb-search button { background: var(--grad-red); color: #fff; border-radius: 0 20px 20px 0; padding: 6px 14px; font-size: 13px; }

/* ---------- 开服表 ---------- */
.server-table-wrap { background: rgba(18,5,5,.9); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.server-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.server-table thead th { background: linear-gradient(180deg,#8a1414,#5c0c0c); color: #ffe9c2; padding: 12px 10px; text-align: left; font-size: 13px; letter-spacing: 1px; white-space: nowrap; }
.server-table tbody tr { border-top: 1px solid rgba(232,182,76,.1); transition: background .2s ease; }
.server-table tbody tr:hover { background: rgba(232,182,76,.07); }
.server-table td { padding: 12px 10px; vertical-align: middle; color: var(--text); }
.server-table .sv-name { color: var(--gold-light); font-weight: 700; font-size: 15px; }
.server-table .sv-name a:hover { color: #fff; }
.server-table .sv-tag { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px; border: 1px solid var(--line); color: var(--text-dim); background: rgba(0,0,0,.25); }
.server-table .sv-tag.hot { border-color: var(--red-bright); color: #ff9d95; background: rgba(212,40,28,.12); }
.server-table .sv-time { color: var(--gold); white-space: nowrap; }
.server-table .sv-status { font-size: 12px; padding: 2px 10px; border-radius: 20px; white-space: nowrap; }
.server-table .sv-status.on { color: #7be07b; background: rgba(74,193,74,.12); border: 1px solid rgba(74,193,74,.4); }
.server-table .sv-status.wait { color: var(--gold-light); background: rgba(232,182,76,.12); border: 1px solid rgba(232,182,76,.4); }
.server-table .sv-stars { color: var(--gold); letter-spacing: 2px; white-space: nowrap; }
.server-table .btn { white-space: nowrap; }
@media (max-width: 768px) {
  .server-table-wrap { overflow-x: auto; }
  .server-table { min-width: 680px; }
}

/* ---------- 按钮 ---------- */
.btn { display: inline-block; padding: 9px 22px; border-radius: 6px; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-align: center; transition: all .25s ease; }
.btn-dl { background: var(--grad-red); color: #fff; box-shadow: 0 4px 12px rgba(156,26,26,.4); }
.btn-dl:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212,40,28,.5); color: #fff; }
.btn-dl::before { content: "⬇ "; }
.btn-gold { background: var(--grad-gold); color: #3a1500; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(232,182,76,.45); color: #1c0800; }
.btn-ghost { border: 1px solid var(--gold); color: var(--gold-light); }
.btn-ghost:hover { background: rgba(232,182,76,.12); color: #fff; }
.btn-big { padding: 14px 38px; font-size: 18px; border-radius: 8px; animation: ring 2.2s infinite; }

/* ---------- 分类卡片 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #160606; transition: transform .3s ease, box-shadow .3s ease; }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.65); }
.cat-card .cc-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.cat-card .cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card:hover .cc-img img { transform: scale(1.08); }
.cat-card .cc-mask { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,2,2,.9) 100%); }
.cat-card .cc-body { padding: 12px 14px; }
.cat-card .cc-title { font-size: 17px; font-weight: 800; color: var(--gold-light); letter-spacing: 1px; }
.cat-card .cc-desc { font-size: 12.5px; color: var(--text-dim); margin: 6px 0 10px; min-height: 38px; }
.cat-card .cc-foot { display: flex; align-items: center; justify-content: space-between; }
.cat-card .cc-num { font-size: 12px; color: var(--text-dim); }

/* ---------- 推荐游戏 ---------- */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .game-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .game-grid { grid-template-columns: 1fr; } }
.game-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #160606; transition: transform .3s ease, box-shadow .3s ease; position: relative; }
.game-card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(0,0,0,.6); }
.game-card .gc-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.game-card .gc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.game-card:hover .gc-img img { transform: scale(1.08); }
.game-card .gc-hot { position: absolute; top: 10px; left: 10px; background: var(--grad-red); color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 20px; z-index: 2; }
.game-card .gc-body { padding: 12px 14px; }
.game-card .gc-title { font-size: 16px; font-weight: 700; color: var(--gold-light); }
.game-card .gc-info { font-size: 12.5px; color: var(--text-dim); margin: 6px 0; line-height: 1.6; }
.game-card .gc-btn { width: 100%; margin-top: 6px; }

/* ---------- 资讯列表 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { display: flex; gap: 12px; background: rgba(18,5,5,.9); border: 1px solid var(--line); border-radius: 8px; padding: 12px; transition: all .25s ease; }
.news-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.news-card .nc-thumb { flex: 0 0 96px; width: 96px; height: 72px; border-radius: 6px; overflow: hidden; }
.news-card .nc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .nc-body { flex: 1; min-width: 0; }
.news-card .nc-title { font-size: 14.5px; font-weight: 700; color: var(--gold-light); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-card .nc-title:hover { color: #fff; }
.news-card .nc-meta { font-size: 12px; color: var(--text-dim); margin-top: 6px; }
.news-card .nc-meta span { margin-right: 10px; }
.news-list-mini li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(232,182,76,.15); font-size: 14px; }
.news-list-mini li::before { content: "▸"; color: var(--gold); }
.news-list-mini li a { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list-mini li a:hover { color: var(--gold-light); }
.news-list-mini li time { margin-left: auto; color: var(--text-dim); font-size: 12px; flex: 0 0 auto; }

/* ---------- 游戏介绍 / 正文 ---------- */
.intro-box { background: rgba(18,5,5,.9); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.intro-box h3 { color: var(--gold-light); font-size: 17px; margin: 18px 0 8px; }
.intro-box h3:first-child { margin-top: 0; }
.intro-box p { color: var(--text); font-size: 14.5px; margin-bottom: 8px; text-align: justify; }
.intro-box .intro-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.intro-box .intro-tags span { border: 1px solid var(--line); color: var(--gold-light); padding: 4px 14px; border-radius: 20px; font-size: 13px; }

/* ---------- 特性盒子 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { text-align: center; background: rgba(18,5,5,.9); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 14px; transition: all .3s ease; }
.feature:hover { transform: translateY(-5px); border-color: var(--gold); }
.feature .f-ico { font-size: 34px; margin-bottom: 8px; animation: floaty 3s ease-in-out infinite; }
.feature h4 { color: var(--gold-light); font-size: 15px; letter-spacing: 1px; }
.feature p { font-size: 12.5px; color: var(--text-dim); margin-top: 6px; }

/* ---------- 下载大区 ---------- */
.download-cta { text-align: center; background: linear-gradient(180deg, rgba(46,8,8,.95), rgba(14,3,3,.95)); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.download-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(232,182,76,.12), transparent 60%); }
.download-cta h3 { font-size: 24px; color: var(--gold-light); letter-spacing: 3px; position: relative; }
.download-cta .dl-sub { color: var(--text-dim); margin: 10px 0 20px; font-size: 14px; position: relative; }
.download-cta .dl-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.download-cta .dl-note { margin-top: 16px; font-size: 12px; color: var(--text-dim); position: relative; }

/* ---------- 友情链接 ---------- */
.friend-links { background: rgba(18,5,5,.9); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.friend-links .fl-list { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--text-dim); }
.friend-links .fl-list a:hover { color: var(--gold-light); }

/* ---------- 页脚 ---------- */
.site-footer { background: rgba(8,2,2,.96); border-top: 2px solid var(--gold-dark); margin-top: 40px; padding: 30px 0 90px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-cols h5 { color: var(--gold-light); font-size: 15px; margin-bottom: 10px; letter-spacing: 1px; }
.footer-cols p, .footer-cols a { color: var(--text-dim); font-size: 13px; }
.footer-cols a:hover { color: var(--gold-light); }
.footer-cols .fc-logo { font-size: 22px; font-weight: 900; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; text-align: center; font-size: 12.5px; color: var(--text-dim); }
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom .icp { display: inline-block; margin: 4px 0; }
.footer-kw { text-align: center; font-size: 12px; color: rgba(179,166,142,.6); margin-top: 10px; line-height: 2; }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 13px; color: var(--text-dim); margin: 16px 0 6px; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span.sep { margin: 0 8px; color: var(--text-dim); }

/* ---------- 回到顶部 ---------- */
.back-top { position: fixed; right: 18px; bottom: 96px; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-red); color: #fff; font-size: 20px; display: none; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.5); z-index: 90; }
.back-top.show { display: flex; animation: fadeUp .3s ease; }
.back-top:hover { background: var(--red-bright); }

/* ---------- 移动端底部悬浮下载条 ---------- */
.mobile-dl-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none; background: rgba(10,2,2,.97); border-top: 2px solid var(--gold-dark); padding: 10px 12px; }
.mobile-dl-bar .mdb-inner { display: flex; align-items: center; gap: 10px; }
.mobile-dl-bar .mdb-txt { flex: 1; min-width: 0; }
.mobile-dl-bar .mdb-txt b { color: var(--gold-light); font-size: 15px; display: block; }
.mobile-dl-bar .mdb-txt span { font-size: 12px; color: var(--text-dim); }
.mobile-dl-bar .btn { flex: 0 0 auto; }
@media (max-width: 768px) { .mobile-dl-bar { display: block; } .site-footer { padding-bottom: 120px; } }

/* ---------- 页码 ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 22px 0 6px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 6px; background: rgba(20,6,6,.9); border: 1px solid var(--line); color: var(--text-dim); font-size: 14px; }
.pagination a:hover { border-color: var(--gold); color: var(--gold-light); }
.pagination .cur { background: var(--grad-red); color: #fff; border-color: transparent; }

/* ---------- 工具类 ---------- */
.text-center { text-align: center; }
.mt10 { margin-top: 10px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.gold-text { color: var(--gold-light); }
.hidden { display: none !important; }

/* 懒加载图片淡入 */
img.lazy { opacity: 0; transition: opacity .5s ease; }
img.lazy.loaded { opacity: 1; }
