/* ==========================================================
   DNF60 怀旧服官网 · 原创样式 v2
   暗夜金调游戏风 — 深空蓝底 + 鎏金点缀 + 玻璃拟态面板
   ========================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0b1120;
  --bg-2: #0e1526;
  --panel: #131c33;
  --panel-2: #182242;
  --line: #243153;
  --line-soft: #1c2745;
  --gold: #d9b45b;
  --gold-2: #f0d78a;
  --gold-deep: #a98434;
  --red: #e2543e;
  --text: #e9ecf4;
  --text-dim: #a3adc4;
  --text-faint: #6d7792;
  --shadow-md: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .5);
  --radius: 10px;
  --grad-gold: linear-gradient(135deg, #f0d78a, #caa24a 55%, #8f6b23);
  --grad-red: linear-gradient(135deg, #f06048, #c03325);
}

html { scroll-behavior: smooth; }

body {
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.85;
  background:
    radial-gradient(900px 480px at 85% -80px, rgba(217, 180, 91, .10), transparent 65%),
    radial-gradient(1100px 600px at 10% 0%, rgba(64, 90, 178, .16), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(120, 60, 160, .08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
/* 星空噪点 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 8%, rgba(255,255,255,.25) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 66% 18%, rgba(255,255,255,.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 82% 42%, rgba(255,255,255,.22) 50%, transparent 51%),
    radial-gradient(1px 1px at 25% 55%, rgba(255,255,255,.18) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 90% 75%, rgba(255,255,255,.2) 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 85%, rgba(255,255,255,.16) 50%, transparent 51%);
}

a { color: var(--text); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-2); }

img { max-width: 100%; display: block; }

.container { width: 1140px; max-width: 96%; margin: 0 auto; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #2c3a63; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* 顶部鎏金装饰线 */
body::after {
  content: ""; display: block; height: 3px; position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  background: linear-gradient(90deg, transparent, #8f6b23 15%, #f0d78a 50%, #8f6b23 85%, transparent);
  pointer-events: none;
}

/* ---------- 顶部工具条 ---------- */
.topbar {
  background: rgba(10, 15, 28, .85);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  padding: 9px 0;
  color: var(--text-dim);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: var(--text-dim); margin: 0 7px; }
.topbar a:hover { color: var(--gold-2); }
.topbar .welcome a { color: var(--gold); font-weight: 600; }
#bj-time { color: var(--text-faint); font-variant-numeric: tabular-nums; }

/* ---------- 头部（背景原画 + 深色遮罩） ---------- */
.header {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 38px 0 34px;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(11, 17, 32, .96) 30%, rgba(11, 17, 32, .72) 60%, rgba(11, 17, 32, .45)),
    url("../images/hero-classic.jpg") right center / cover no-repeat,
    var(--bg-2);
}
.header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 215, 138, .55), transparent);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; position: relative; z-index: 1; }
.logo { display: flex; align-items: center; gap: 18px; }
.logo-icon {
  width: 62px; height: 62px; border-radius: 12px;
  background: var(--grad-gold);
  color: #1d1503; font-size: 30px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(202, 162, 74, .35), inset 0 2px 0 rgba(255,255,255,.5), inset 0 -3px 6px rgba(90, 60, 10, .45);
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
}
.logo-text h1, .logo-text .site-name {
  font-size: 30px; letter-spacing: 2px; font-weight: 800; line-height: 1.3;
  background: linear-gradient(180deg, #fff8e3, #f0d78a 60%, #caa24a);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.6));
}
.logo-text p { font-size: 12px; color: var(--text-dim); letter-spacing: 4px; }

/* 页面级 H1（子页 SEO） */
.page-h1 {
  font-size: 24px; font-weight: 800; color: var(--text);
  margin: 28px 0 20px; padding: 2px 0 2px 16px;
  border-left: 4px solid var(--gold);
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.page-h1 small { display: block; font-size: 12px; font-weight: 400; color: var(--text-faint); letter-spacing: 2px; }

.server-status {
  text-align: right; font-size: 12px; color: var(--text-dim); line-height: 2;
  background: rgba(11, 17, 32, .55);
  border: 1px solid rgba(240, 215, 138, .22);
  border-radius: 10px; padding: 10px 18px;
  backdrop-filter: blur(4px);
}
.server-status .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4caf6d; margin-right: 5px; box-shadow: 0 0 8px #4caf6d; }
.server-status .online { color: #6fce8d; font-weight: 700; }
.server-status .count { color: var(--gold-2); font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; text-shadow: 0 0 14px rgba(240, 215, 138, .45); }

/* ---------- 主导航（深色玻璃 + 鎏金 active） ---------- */
.mainnav {
  background: rgba(13, 19, 36, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
.mainnav ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; }
.mainnav a {
  display: block; padding: 16px 30px;
  font-size: 15px; letter-spacing: 2px; color: var(--text-dim);
  position: relative;
}
.mainnav a::after {
  content: ""; position: absolute; left: 50%; bottom: 8px;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--grad-gold);
  box-shadow: 0 0 10px rgba(240, 215, 138, .8);
  transform: translateX(-50%);
  transition: width .25s ease;
}
.mainnav a:hover { color: var(--gold-2); }
.mainnav a:hover::after { width: 40%; }
.mainnav a.active { color: var(--gold-2); font-weight: 700; }
.mainnav a.active::after { width: 55%; }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 12px; color: var(--text-faint); padding: 16px 2px 0; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb .sep { margin: 0 6px; color: #3a4767; }
.breadcrumb .current { color: var(--gold); }

/* ---------- 布局 ---------- */
.layout { display: flex; gap: 26px; padding: 6px 0 50px; align-items: flex-start; }
.main-col { flex: 1; min-width: 0; }
.side-col { width: 292px; flex-shrink: 0; }

/* ---------- 通用面板（玻璃拟态深色卡片） ---------- */
.panel {
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 26px;
  box-shadow: var(--shadow-md);
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.panel:hover { border-color: #314069; box-shadow: var(--shadow-lg); }
.panel-title {
  padding: 16px 22px;
  font-size: 16px; font-weight: 800; letter-spacing: 1px;
  color: var(--gold-2);
  border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.panel-title > span:first-child { position: relative; padding-left: 14px; }
.panel-title > span:first-child::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 17px; border-radius: 2px;
  background: var(--grad-gold);
  box-shadow: 0 0 8px rgba(240, 215, 138, .7);
}
.panel-title .more { font-size: 12px; font-weight: 400; color: var(--text-faint); }
.panel-title .more:hover { color: var(--gold-2); }
.panel-body { padding: 20px 22px; }

/* ---------- 首页 Hero ---------- */
.hero { display: flex; gap: 20px; margin: 26px 0 26px; }
.hero-banner {
  flex: 1; position: relative; border-radius: 12px; overflow: hidden;
  min-height: 356px;
  border: 1px solid rgba(240, 215, 138, .28);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.4), 0 0 40px rgba(217, 180, 91, .12);
}
.hero-banner img { width: 100%; height: 356px; object-fit: cover; }
.hero-slide { display: none; position: relative; }
.hero-slide.active { display: block; }
.hero-slide.active img { animation: heroFade .7s ease; }
@keyframes heroFade { from { opacity: .3; transform: scale(1.03); } to { opacity: 1; transform: scale(1); } }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 62px; border: 1px solid rgba(240, 215, 138, .35); cursor: pointer;
  background: rgba(10, 15, 28, .65); color: var(--gold-2); font-size: 24px;
  z-index: 5; transition: all .2s ease; backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(202, 162, 74, .85); color: #1d1503; box-shadow: 0 0 18px rgba(240, 215, 138, .5); }
.hero-prev { left: 0; border-radius: 0 8px 8px 0; border-left: none; }
.hero-next { right: 0; border-radius: 8px 0 0 8px; border-right: none; }
.hero-dots { position: absolute; bottom: 16px; right: 18px; z-index: 5; display: flex; gap: 7px; }
.hero-dots span {
  width: 8px; height: 8px; border-radius: 10px;
  background: rgba(255, 255, 255, .35); cursor: pointer;
  transition: all .25s ease;
}
.hero-dots span.active { width: 24px; background: var(--gold-2); box-shadow: 0 0 10px rgba(240, 215, 138, .8); }
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(5, 8, 16, .92) 18%, rgba(5, 8, 16, .4) 70%, transparent);
  padding: 50px 26px 22px;
  border-left: 5px solid var(--gold);
}
.hero-caption h2 { font-size: 26px; color: #fff; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,.7); letter-spacing: 1px; }
.hero-caption p { color: rgba(233, 236, 244, .85); margin-top: 6px; font-size: 13px; }
.hero-caption a { color: var(--gold-2); border-bottom: 1px dashed rgba(240, 215, 138, .5); }
.hero-caption a:hover { color: #fff; }

.hero-side { width: 292px; display: flex; flex-direction: column; gap: 14px; }
.hero-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: var(--radius); font-size: 17px; font-weight: 700; letter-spacing: 2px;
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}
.hero-btn:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold-2); box-shadow: var(--shadow-lg), 0 0 24px rgba(217, 180, 91, .18); }
.hero-btn small { font-size: 12px; font-weight: 400; color: var(--text-faint); margin-top: 4px; letter-spacing: 0; }
.hero-btn.btn-download {
  background: var(--grad-gold); border: none; color: #241a04;
  box-shadow: 0 10px 24px rgba(202, 162, 74, .35), inset 0 2px 0 rgba(255,255,255,.45);
}
.hero-btn.btn-download small { color: rgba(36, 26, 4, .72); }
.hero-btn.btn-download:hover { color: #241a04; filter: brightness(1.07); }

/* ---------- 新闻列表 ---------- */
.news-tabs { display: flex; gap: 18px; align-items: center; }
.news-tab {
  background: none; border: none; font-family: inherit;
  color: var(--text-faint); font-size: 13px; padding: 2px 0;
  cursor: pointer; border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.news-tab.active, .news-tab:hover { color: var(--gold-2); border-bottom-color: var(--gold); }
.news-list { list-style: none; }
.news-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px dashed var(--line-soft);
}
.news-list li:last-child { border-bottom: none; }
.news-list > li > span:first-child { min-width: 0; overflow: hidden; }
.news-list a { color: var(--text); display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.news-list a:hover { color: var(--gold-2); }
.news-list .tag {
  flex-shrink: 0; font-size: 11px; padding: 1px 8px; margin-right: 8px;
  border-radius: 3px; vertical-align: 2px; display: inline-block; font-weight: 700;
}
.tag-notice { background: rgba(74, 124, 199, .18); color: #8fb3ea; border: 1px solid rgba(74, 124, 199, .35); }
.tag-event { background: rgba(217, 180, 91, .15); color: var(--gold-2); border: 1px solid rgba(217, 180, 91, .38); }
.tag-update { background: rgba(226, 84, 62, .15); color: #f08a76; border: 1px solid rgba(226, 84, 62, .4); }
.tag-maint { background: rgba(120, 130, 150, .15); color: #9aa3b5; border: 1px solid rgba(120, 130, 150, .35); }
.news-list .date { color: #55617e; font-size: 12px; flex-shrink: 0; font-variant-numeric: tabular-nums; }

/* ---------- 职业卡片 ---------- */
.class-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.class-card {
  background: linear-gradient(170deg, var(--panel-2), #101a30);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.class-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow-lg), 0 0 26px rgba(217, 180, 91, .2); }
.class-card .cimg { height: 162px; overflow: hidden; background: linear-gradient(180deg, #1a2440, #0e1628); }
.class-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .35s ease; filter: saturate(1.05); }
.class-card:hover img { transform: scale(1.07); }
.class-card .cname { padding: 13px 4px 3px; font-weight: 800; font-size: 15px; color: var(--gold-2); letter-spacing: 2px; }
.class-card .csub { padding: 0 8px 14px; color: var(--text-faint); font-size: 12px; }

/* ---------- 特色网格 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.feature-item {
  background: linear-gradient(160deg, #1a2442, #131c33);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-item:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow-lg), 0 0 22px rgba(217, 180, 91, .16); }
.feature-item .ficon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(240, 215, 138, .2), rgba(143, 107, 35, .25));
  border: 1px solid rgba(217, 180, 91, .4);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.feature-item h4 { font-weight: 800; margin-bottom: 4px; color: var(--gold-2); letter-spacing: 1px; }
.feature-item p { color: var(--text-dim); font-size: 12px; }

/* ---------- 图库 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.gallery-grid.g4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: block; background: #0e1628;
  box-shadow: var(--shadow-md);
}
.gallery-item .gimg { height: 160px; overflow: hidden; }
.gallery-grid.g4 .gallery-item .gimg { height: 150px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover { border-color: var(--gold); }
.gallery-item:hover img { transform: scale(1.09); }
.gallery-item .gcap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(5, 8, 16, .9), transparent);
  color: var(--gold-2); font-size: 12px; padding: 24px 12px 9px;
  letter-spacing: 1px;
}

/* ---------- 侧栏小组件 ---------- */
.login-panel form { display: flex; flex-direction: column; gap: 10px; }
.login-panel input {
  width: 100%; padding: 11px 14px; font-size: 13px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 6px; background: #0d1528; color: var(--text);
  outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.login-panel input::placeholder { color: var(--text-faint); }
.login-panel input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 180, 91, .16); }
.btn-brand, .btn-gold {
  display: inline-block; width: 100%; padding: 12px 0;
  background: var(--grad-gold); color: #241a04; border: none; border-radius: 6px;
  font-size: 15px; font-weight: 800; letter-spacing: 5px; cursor: pointer;
  box-shadow: 0 6px 16px rgba(202, 162, 74, .32), inset 0 2px 0 rgba(255,255,255,.4);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  font-family: inherit; text-align: center;
}
.btn-brand:hover, .btn-gold:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 10px 22px rgba(202, 162, 74, .42); color: #241a04; }
.login-links { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; }
.login-links a { color: var(--text-faint); }
.login-links a:hover { color: var(--gold-2); }

.server-list { list-style: none; }
.server-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 2px; border-bottom: 1px dashed var(--line-soft); font-size: 13px;
}
.server-list li:last-child { border-bottom: none; }
.server-list .state { font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 10px; }
.state-hot { color: #ff9d8a; background: rgba(226, 84, 62, .18); border: 1px solid rgba(226, 84, 62, .4); }
.state-busy { color: var(--gold-2); background: rgba(217, 180, 91, .14); border: 1px solid rgba(217, 180, 91, .35); }
.state-good { color: #6fce8d; background: rgba(76, 175, 109, .14); border: 1px solid rgba(76, 175, 109, .35); }

.side-list { list-style: none; counter-reset: side; }
.side-list li { padding: 8px 2px; border-bottom: 1px dashed var(--line-soft); font-size: 13px; counter-increment: side; }
.side-list li:last-child { border-bottom: none; }
.side-list a { color: var(--text-dim); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-list a:hover { color: var(--gold-2); }
.side-list.num li::before {
  content: counter(side); display: inline-block;
  width: 19px; height: 19px; line-height: 19px; text-align: center;
  background: #1c2947; color: var(--text-dim);
  border-radius: 4px; font-size: 11px; margin-right: 8px;
}
.side-list.num li:nth-child(-n+3)::before { background: var(--grad-gold); color: #241a04; font-weight: 800; }

/* ---------- 文章 / 新闻手风琴 ---------- */
.article { padding: 8px 4px; }
.article p { margin-bottom: 14px; }
.article img { border-radius: var(--radius); margin: 14px 0; border: 1px solid var(--line); }

.news-acc {
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  scroll-margin-top: 90px;
  box-shadow: var(--shadow-md);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.news-acc:hover { border-color: #314069; }
.news-acc.open { border-color: rgba(217, 180, 91, .5); box-shadow: var(--shadow-lg), 0 0 20px rgba(217, 180, 91, .1); }
.news-acc-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 15px 20px; cursor: pointer;
  transition: background .2s ease;
}
.news-acc-bar:hover { background: rgba(240, 215, 138, .05); }
.news-acc-bar .ntitle { flex: 1; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-acc.open .news-acc-bar .ntitle { color: var(--gold-2); }
.news-acc-bar .ndate { color: #55617e; font-size: 12px; flex-shrink: 0; }
.news-acc-bar .narrow { color: #55617e; font-size: 12px; flex-shrink: 0; transition: transform .25s ease, color .25s ease; }
.news-acc.open .news-acc-bar .narrow { transform: rotate(180deg); color: var(--gold-2); }
.news-acc-body { display: none; border-top: 1px solid var(--line-soft); padding: 20px 24px; color: var(--text-dim); }
.news-acc-body p { margin-bottom: 12px; }
.news-acc-body b { color: var(--text); }
.news-acc-body img { border-radius: var(--radius); border: 1px solid var(--line); margin: 12px 0; max-width: 480px; }
.news-acc.open .news-acc-body { display: block; animation: accIn .3s ease; }
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 职业详情区块 ---------- */
.class-block { display: flex; gap: 26px; align-items: flex-start; scroll-margin-top: 90px; }
.class-block + .class-block { margin-top: 12px; padding-top: 32px; border-top: 1px dashed var(--line-soft); }
.class-block .cb-img {
  width: 210px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(217, 180, 91, .35); background: linear-gradient(180deg, #1a2440, #0e1628);
  box-shadow: var(--shadow-md);
}
.class-block .cb-img img { width: 100%; height: 265px; object-fit: cover; object-position: top center; }
.class-block .cb-body { flex: 1; min-width: 0; }
.class-block h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px; color: var(--gold-2); letter-spacing: 2px; }
.class-block h3 span { color: var(--text-faint); font-size: 13px; font-weight: 400; letter-spacing: 1px; }
.class-block .cb-intro { color: var(--text-dim); margin-bottom: 14px; font-size: 13px; }
.advance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.advance-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 16px; background: #101a30;
  transition: border-color .2s ease, background .2s ease;
}
.advance-item:hover { border-color: var(--gold); background: #152035; }
.advance-item b { display: block; font-size: 14px; color: var(--text); }
.advance-item b em { font-style: normal; color: var(--gold-2); font-size: 12px; margin-left: 6px; font-weight: 700; }
.advance-item span { font-size: 12px; color: var(--text-faint); }

/* ---------- 特色详情 ---------- */
.feature-block { scroll-margin-top: 90px; }
.feature-block + .feature-block { margin-top: 12px; padding-top: 32px; border-top: 1px dashed var(--line-soft); }
.feature-block h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; padding-left: 13px; border-left: 4px solid var(--gold); color: var(--gold-2); letter-spacing: 1px; }
.feature-block p { margin-bottom: 12px; color: var(--text-dim); }
.feature-block p b, .feature-block li b { color: var(--text); }
.feature-block ul { margin: 0 0 12px 20px; color: var(--text-dim); }
.feature-block li { margin-bottom: 6px; }
.feature-block a, .article a { color: var(--gold-2); }
.feature-block a:hover, .article a:hover { color: #fff; }

/* ---------- 攻略 ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.toc a {
  padding: 7px 17px; border: 1px solid var(--line); border-radius: 20px;
  font-size: 13px; color: var(--text-dim); background: #101a30;
  transition: all .2s ease;
}
.toc a:hover { border-color: var(--gold); color: var(--gold-2); box-shadow: 0 0 14px rgba(217, 180, 91, .18); }
.step-list { list-style: none; counter-reset: step; }
.step-list li { counter-increment: step; padding: 11px 0 11px 46px; position: relative; border-bottom: 1px dashed var(--line-soft); color: var(--text-dim); }
.step-list li:last-child { border-bottom: none; }
.step-list li b { color: var(--text); }
.step-list li a { color: var(--gold-2); }
.step-list li::before {
  content: counter(step); position: absolute; left: 2px; top: 11px;
  width: 29px; height: 29px; line-height: 29px; text-align: center;
  background: var(--grad-gold); color: #241a04; font-weight: 800;
  border-radius: 50%; font-size: 13px;
  box-shadow: 0 4px 10px rgba(202, 162, 74, .35);
}

/* ---------- 表格 ---------- */
table.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; color: var(--text-dim); }
.spec-table th { background: #1a2442; font-weight: 800; color: var(--gold-2); width: 30%; letter-spacing: 1px; }
.spec-table tr:nth-child(even) td { background: rgba(255, 255, 255, .02); }

/* ---------- 提示框 ---------- */
.tip-box {
  background: linear-gradient(160deg, rgba(217, 180, 91, .12), rgba(143, 107, 35, .10));
  border: 1px solid rgba(217, 180, 91, .4); border-radius: var(--radius);
  padding: 14px 18px; margin: 16px 0; font-size: 13px; color: var(--gold-2);
  box-shadow: var(--shadow-md);
}
.tip-box b { color: #fff; }
.tip-box a { color: #fff; border-bottom: 1px dashed rgba(255,255,255,.4); }

/* ---------- 注册表单 ---------- */
.reg-form { max-width: 560px; margin: 0 auto; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 7px; font-size: 13px; color: var(--text); }
.form-row label i { color: var(--red); font-style: normal; margin-left: 2px; }
.form-row input, .form-row select {
  width: 100%; padding: 11px 14px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 6px; background: #0d1528; color: var(--text);
  outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input::placeholder { color: var(--text-faint); }
.form-row input:focus, .form-row select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 180, 91, .16); }
.form-row .hint { font-size: 12px; color: var(--text-faint); margin-top: 5px; }
.form-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--text-dim); margin: 4px 0 20px; }
.form-agree input { margin-top: 4px; accent-color: var(--gold); }

/* ---------- 下载卡片 ---------- */
.dl-hero {
  display: flex; gap: 26px; align-items: center;
  background:
    radial-gradient(400px 200px at 90% 0%, rgba(240, 215, 138, .18), transparent 60%),
    linear-gradient(150deg, #1a1420, #2c1f14 55%, #3d2a12);
  border: 1px solid rgba(217, 180, 91, .45);
  border-radius: 12px; padding: 36px 38px; color: #fff;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(217, 180, 91, .12); margin-bottom: 26px;
  position: relative; overflow: hidden;
}
.dl-hero .dl-info { flex: 1; position: relative; z-index: 1; }
.dl-hero h3 { font-size: 25px; font-weight: 800; margin-bottom: 8px; color: var(--gold-2); letter-spacing: 1px; }
.dl-hero p { color: rgba(255, 255, 255, .68); font-size: 13px; margin-bottom: 16px; }
.dl-meta { display: flex; gap: 28px; font-size: 12px; color: rgba(255, 255, 255, .55); }
.dl-meta b { display: block; font-size: 17px; color: var(--gold-2); margin-bottom: 2px; }
.dl-hero .dl-action { position: relative; z-index: 1; }
.btn-big {
  display: inline-block; padding: 17px 46px;
  background: var(--grad-gold); color: #241a04; border-radius: 8px;
  font-size: 18px; font-weight: 900; letter-spacing: 2px;
  box-shadow: 0 12px 28px rgba(202, 162, 74, .4), inset 0 2px 0 rgba(255,255,255,.5);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  text-align: center;
}
.btn-big:hover { transform: translateY(-3px); filter: brightness(1.08); box-shadow: 0 16px 34px rgba(202, 162, 74, .5); color: #241a04; }
.btn-big small { display: block; font-size: 12px; font-weight: 400; letter-spacing: 1px; color: rgba(36, 26, 4, .7); margin-top: 4px; }

/* ---------- 页脚 ---------- */
.footer {
  background: linear-gradient(180deg, rgba(10, 15, 28, .6), #080d18);
  border-top: 1px solid var(--line);
  color: var(--text-dim); margin-top: 40px;
}
.footer-links {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px;
  padding: 44px 0 30px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-links h6 {
  font-size: 14px; font-weight: 800; color: var(--gold-2);
  margin-bottom: 14px; padding-left: 11px;
  border-left: 3px solid var(--gold);
  letter-spacing: 2px;
}
.footer-links a {
  display: block; font-size: 13px; color: var(--text-faint);
  padding: 4px 0 4px 13px;
  transition: color .2s ease, padding-left .2s ease;
}
.footer-links a:hover { color: var(--gold-2); padding-left: 18px; }
.footer-links a::before { content: "› "; color: #3a4767; }
.copyright { text-align: center; font-size: 12px; color: #55617e; padding: 22px 0 28px; }
.copyright p { margin-bottom: 6px; }
.copyright a { color: #6d7792; margin: 0 2px; }
.copyright a:hover { color: var(--gold-2); }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 44px;
  width: 47px; height: 47px; border-radius: 50%;
  background: var(--grad-gold);
  color: #241a04; text-align: center; line-height: 47px;
  font-size: 19px; font-weight: 800; cursor: pointer; display: none; z-index: 200;
  box-shadow: 0 10px 22px rgba(202, 162, 74, .4);
  transition: transform .18s ease, box-shadow .18s ease;
}
.back-top:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(202, 162, 74, .5); color: #241a04; }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .class-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid.g4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero { flex-direction: column; }
  .hero-side { width: 100%; flex-direction: row; }
  .hero-btn { padding: 14px 0; }
  .layout { flex-direction: column; }
  .side-col { width: 100%; }
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .advance-grid { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-grid.g4 { grid-template-columns: repeat(2, 1fr); }
  .class-block { flex-direction: column; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .dl-hero { flex-direction: column; text-align: center; }
  .dl-meta { justify-content: center; }
}
