/* ============================================================
   DNF70 · 阿拉德英雄传 官方网站 样式
   暗黑哥特风 + 金色点缀 · 兼容主流浏览器
   ============================================================ */
:root {
  --bg: #0b0812;
  --bg-2: #120d1b;
  --panel: #181024;
  --panel-2: #1f1530;
  --border: #3a2a50;
  --gold: #d4b06a;
  --gold-bright: #f2d79b;
  --red: #a3122a;
  --red-bright: #d92b45;
  --text: #cfc6dc;
  --muted: #8d819f;
  --shadow: 0 10px 30px rgba(0, 0, 0, .55);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    radial-gradient(1200px 500px at 50% -100px, rgba(163, 18, 42, .18), transparent 65%),
    radial-gradient(900px 420px at 90% 10%, rgba(96, 47, 160, .12), transparent 60%),
    linear-gradient(180deg, #0b0812 0%, #0e0a16 40%, #0b0812 100%);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1200px, 92%); margin: 0 auto; }

::selection { background: var(--red); color: #fff; }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0e0a16; }
::-webkit-scrollbar-thumb { background: #3a2a50; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #57406f; }

/* ============================================================
   顶部工具条
   ============================================================ */
.topbar {
  background: #070510;
  border-bottom: 1px solid #20162f;
  font-size: 12px;
  color: var(--muted);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
}
.topbar a { color: var(--muted); margin-left: 14px; transition: color .2s; }
.topbar a:hover { color: var(--gold-bright); }
.topbar .welcome { letter-spacing: 1px; }

/* ============================================================
   头部导航
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 9, 20, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: repeating-linear-gradient(
    -45deg,
    var(--red) 0 12px,
    #1a0a10 12px 24px
  );
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-badge {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #2a1030, #140a1e);
  border: 2px solid var(--gold);
  border-radius: 10px;
  color: var(--gold-bright);
  font-size: 24px; font-weight: 900;
  font-style: italic;
  text-shadow: 0 0 12px rgba(212, 176, 106, .8);
  box-shadow: inset 0 0 12px rgba(212, 176, 106, .25);
}
.logo-text { line-height: 1.25; }
.logo-text b {
  display: block;
  font-size: 20px;
  color: var(--gold-bright);
  letter-spacing: 3px;
}
.logo-text small { color: var(--muted); font-size: 11px; letter-spacing: 2px; }

/* 导航 */
.main-nav { display: flex; gap: 6px; flex: 1; }
.main-nav a {
  position: relative;
  padding: 8px 18px;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--text);
  transition: color .2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width .25s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-bright); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* 头部右侧 */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.online-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border: 1px solid #2c4a2f;
  background: rgba(30, 70, 34, .25);
  border-radius: 999px;
  color: #9fd8a4; font-size: 12px;
}
.online-pill i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: .4; } }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 22px;
  border-radius: 4px;
  font-size: 14px; letter-spacing: 1px;
  border: 1px solid transparent;
  transition: all .2s;
}
.btn-gold {
  background: linear-gradient(180deg, #e7c87f, #b98a3e);
  border-color: #f2d79b;
  color: #2a1a05;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(212, 176, 106, .3);
}
.btn-gold:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, .03);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-red {
  background: linear-gradient(180deg, #c22640, #8a1023);
  border-color: #e04a63;
  color: #ffe9ed;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(163, 18, 42, .35);
}
.btn-red:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-lg { padding: 14px 42px; font-size: 17px; }

/* ============================================================
   首页 Banner 轮播
   ============================================================ */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 8, 18, .55) 0%, transparent 35%, rgba(11, 8, 18, .92) 100%);
}
.hero-caption {
  position: absolute;
  left: 50%; bottom: 90px;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  width: 100%;
}
.hero-caption .kicker {
  display: inline-block;
  padding: 3px 18px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-size: 13px; letter-spacing: 6px;
  margin-bottom: 14px;
  background: rgba(0, 0, 0, .35);
}
.hero-caption h1 {
  font-size: 44px;
  letter-spacing: 10px;
  color: #fff;
  text-shadow: 0 0 24px rgba(163, 18, 42, .9), 0 4px 12px rgba(0, 0, 0, .8);
}
.hero-caption p {
  margin-top: 10px;
  color: #d8cfe4;
  letter-spacing: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
}
.hero-dots {
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  display: flex; gap: 12px;
  z-index: 3;
}
.hero-dots span {
  width: 34px; height: 5px;
  background: rgba(255, 255, 255, .25);
  cursor: pointer;
  transition: background .3s;
}
.hero-dots span.active { background: var(--gold); box-shadow: 0 0 8px rgba(212, 176, 106, .8); }

/* 滚动公告条 */
.notice-bar {
  background: linear-gradient(90deg, #1c1026, #140d1e);
  border-bottom: 1px solid var(--border);
}
.notice-bar .container {
  display: flex; align-items: center; gap: 14px;
  height: 44px; overflow: hidden;
}
.notice-bar .tag {
  flex-shrink: 0;
  padding: 2px 10px;
  background: var(--red);
  color: #fff; font-size: 12px; letter-spacing: 2px;
}
.notice-bar .roll {
  flex: 1;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.notice-bar .roll li {
  position: absolute;
  width: 100%;
  height: 100%;
  line-height: 44px;
  color: #cdbfe0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: top .5s;
}
.notice-bar .more { flex-shrink: 0; color: var(--gold); }

/* ============================================================
   区块标题
   ============================================================ */
.section { padding: 56px 0; }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 {
  display: inline-flex; align-items: center; gap: 18px;
  font-size: 28px; letter-spacing: 6px;
  color: var(--gold-bright);
}
.sec-head h2::before, .sec-head h2::after {
  content: "";
  width: 64px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.sec-head h2::after { background: linear-gradient(90deg, var(--gold), transparent); }
.sec-head p { margin-top: 6px; color: var(--muted); letter-spacing: 3px; }

/* ============================================================
   首页 新闻 + 快捷入口
   ============================================================ */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
}
.panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.panel-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(163, 18, 42, .18), transparent 60%);
}
.panel-hd h3 {
  font-size: 17px; letter-spacing: 3px;
  color: var(--gold-bright);
  padding-left: 12px;
  border-left: 3px solid var(--red);
}
.panel-hd a { color: var(--muted); font-size: 12px; }
.panel-hd a:hover { color: var(--gold); }
.panel-bd { padding: 10px 20px 16px; }

.news-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed #2b2038;
}
.news-list li:last-child { border-bottom: none; }
.news-tag {
  flex-shrink: 0;
  width: 44px; text-align: center;
  padding: 1px 0;
  font-size: 12px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.news-tag.t-新闻 { color: #6fb3ff; border-color: #2b4a6b; }
.news-tag.t-公告 { color: #ffb35c; border-color: #6b4a2b; }
.news-tag.t-活动 { color: #ff6f81; border-color: #6b2b34; }
.news-tag.t-攻略 { color: #7fe08f; border-color: #2b6b36; }
.news-list a {
  flex: 1;
  color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .2s;
}
.news-list a:hover { color: var(--gold-bright); }
.news-list time { flex-shrink: 0; color: var(--muted); font-size: 12px; }

/* 快捷入口 */
.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.quick-card {
  position: relative;
  padding: 18px 14px;
  text-align: center;
  border: 1px solid var(--border);
  background: radial-gradient(120px 60px at 50% 0%, rgba(163, 18, 42, .15), transparent);
  transition: all .25s;
}
.quick-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .5);
}
.quick-card .ico { font-size: 26px; }
.quick-card b { display: block; margin-top: 6px; color: #e8ddf5; letter-spacing: 2px; }
.quick-card span { font-size: 11px; color: var(--muted); }
.server-info { margin-top: 14px; padding: 14px 16px; }
.server-info h4 {
  color: var(--gold); font-size: 13px; letter-spacing: 2px; margin-bottom: 8px;
}
.server-info p { color: var(--muted); font-size: 12px; line-height: 2; }
.server-info b { color: #9fd8a4; font-weight: normal; }

/* ============================================================
   职业卡片
   ============================================================ */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.job-card {
  position: relative;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--panel);
  transition: all .3s;
}
.job-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .4s;
  filter: saturate(.9);
}
.job-card:hover { border-color: var(--gold); box-shadow: 0 12px 26px rgba(0, 0, 0, .6); }
.job-card:hover img { transform: scale(1.06); filter: saturate(1.1); }
.job-card .mask {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px 12px;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 3, 9, .92));
}
.job-card .mask b { font-size: 17px; color: #fff; letter-spacing: 2px; }
.job-card .mask span { font-size: 11px; color: var(--gold); letter-spacing: 1px; }
.job-card .mask i {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
  line-height: 1.5;
}

/* ============================================================
   下载横幅
   ============================================================ */
.download-strip {
  position: relative;
  padding: 60px 0;
  background:
    linear-gradient(90deg, rgba(11, 8, 18, .95) 25%, rgba(11, 8, 18, .55) 70%),
    url("../images/bg-strip.jpg") center/cover no-repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.download-strip h2 { font-size: 30px; color: #fff; letter-spacing: 6px; text-shadow: 0 2px 10px #000; }
.download-strip p { color: #cbbfdc; margin: 10px 0 24px; letter-spacing: 2px; }
.download-strip .ver {
  display: inline-block;
  margin-left: 14px;
  font-size: 13px;
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  padding: 2px 12px;
  vertical-align: middle;
  letter-spacing: 2px;
}

/* ============================================================
   面包屑 / 内页头部
   ============================================================ */
.page-banner {
  height: 150px;
  display: flex; align-items: center;
  background:
    linear-gradient(90deg, rgba(11, 8, 18, .95), rgba(11, 8, 18, .6)),
    url("../images/bg-banner.jpg") center 40%/cover no-repeat;
  border-bottom: 1px solid var(--border);
}
.page-banner h1 { font-size: 28px; letter-spacing: 6px; color: var(--gold-bright); }
.page-banner p { color: var(--muted); letter-spacing: 3px; margin-top: 4px; }
.crumb {
  padding: 14px 0 0;
  color: var(--muted); font-size: 12px;
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--gold); }
.crumb b { color: var(--gold-bright); font-weight: normal; }

/* ============================================================
   新闻中心（列表 + 分页）
   ============================================================ */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  padding-bottom: 60px;
}

/* 分类 Tab */
.cat-tabs {
  display: flex; gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.cat-tabs button {
  padding: 5px 18px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px; letter-spacing: 2px;
  transition: all .2s;
}
.cat-tabs button:hover { color: var(--gold-bright); border-color: var(--gold); }
.cat-tabs button.active {
  background: linear-gradient(180deg, #e7c87f, #b98a3e);
  border-color: #f2d79b;
  color: #2a1a05;
  font-weight: 700;
}

/* 列表项 */
.news-item {
  display: flex; gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px dashed #2b2038;
  transition: background .2s;
}
.news-item:hover { background: rgba(163, 18, 42, .07); }
.news-item:last-child { border-bottom: none; }
.news-item .date-box {
  flex-shrink: 0;
  width: 62px; height: 66px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #241733, #180f24);
  border: 1px solid var(--border);
}
.news-item .date-box b { font-size: 22px; color: var(--gold-bright); line-height: 1.1; }
.news-item .date-box span { font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.news-item .txt { flex: 1; min-width: 0; }
.news-item .txt h3 {
  font-size: 16px; color: #e8ddf5; letter-spacing: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .2s;
}
.news-item:hover .txt h3 { color: var(--gold-bright); }
.news-item .txt p {
  margin-top: 6px;
  color: var(--muted); font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item .meta { margin-top: 8px; font-size: 12px; color: #6d6280; }
.news-item .meta .views { margin-left: 14px; }

/* 分页组件 */
.pagination {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 26px 0 6px;
}
.pagination button {
  min-width: 36px; height: 36px;
  padding: 0 10px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  transition: all .2s;
}
.pagination button:hover:not(:disabled):not(.active) {
  border-color: var(--gold); color: var(--gold-bright);
}
.pagination button.active {
  background: linear-gradient(180deg, #e7c87f, #b98a3e);
  border-color: #f2d79b;
  color: #2a1a05;
  font-weight: 700;
}
.pagination button:disabled { opacity: .35; cursor: not-allowed; }
.pagination .page-info { margin-left: 8px; font-size: 12px; color: var(--muted); }

/* 侧栏 */
.side-box { margin-bottom: 20px; }
.hot-list li { padding: 10px 18px; border-bottom: 1px dashed #2b2038; }
.hot-list li:last-child { border-bottom: none; }
.hot-list a {
  display: flex; gap: 10px; align-items: baseline;
  color: var(--text); font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hot-list a:hover { color: var(--gold-bright); }
.hot-list .no {
  flex-shrink: 0;
  width: 18px; height: 18px;
  display: inline-grid; place-items: center;
  font-size: 12px;
  background: #332447;
  color: #b9a6d8;
}
.hot-list li:nth-child(-n+3) .no { background: var(--red); color: #fff; }

/* ============================================================
   新闻详情
   ============================================================ */
.detail-wrap { padding-bottom: 60px; }
.detail {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  padding: 36px 44px;
}
.detail h1 { font-size: 26px; color: #f2e9ff; letter-spacing: 2px; line-height: 1.5; }
.detail .meta {
  display: flex; gap: 22px;
  margin: 16px 0 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  color: var(--muted); font-size: 12px;
}
.detail .meta .cat { color: var(--red-bright); }
.detail .body { padding-top: 22px; }
.detail .body p { margin-bottom: 16px; color: #c9bfda; font-size: 15px; text-indent: 2em; }
.detail .body h3 {
  margin: 26px 0 12px;
  color: var(--gold-bright);
  font-size: 17px; letter-spacing: 2px;
  padding-left: 10px;
  border-left: 3px solid var(--red);
}
.detail .body ul { margin: 0 0 16px 2em; color: #c9bfda; }
.detail .body ul li { list-style: disc; margin-bottom: 6px; }
.detail .body img { margin: 10px auto 20px; border: 1px solid var(--border); }
.detail-nav {
  display: flex; justify-content: space-between;
  margin-top: 30px; padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.detail-nav a { color: var(--muted); }
.detail-nav a:hover { color: var(--gold-bright); }

/* ============================================================
   职业页
   ============================================================ */
.job-section {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 40px;
  align-items: center;
  padding: 44px 0;
}
.job-section:nth-child(even) { grid-template-columns: 1fr 460px; }
.job-section:nth-child(even) .job-pic { order: 2; }
.job-pic {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}
.job-pic::after {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid rgba(212, 176, 106, .25);
  pointer-events: none;
}
.job-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.job-info h2 {
  font-size: 26px; color: var(--gold-bright); letter-spacing: 4px;
}
.job-info .en { color: var(--muted); letter-spacing: 3px; font-size: 12px; margin-bottom: 12px; }
.job-info p { color: #c9bfda; margin-bottom: 14px; }
.job-info .tagline {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 14px;
  border: 1px solid var(--red);
  color: #ff9aa8;
  font-size: 12px; letter-spacing: 2px;
}
.job-info h4 { color: var(--gold); letter-spacing: 2px; margin: 10px 0 8px; }
.job-info .sub {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.job-info .sub span {
  padding: 4px 14px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text); font-size: 13px;
}
.job-info .sub span:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ============================================================
   资料页
   ============================================================ */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.guide-card {
  border: 1px solid var(--border);
  background: var(--panel);
  overflow: hidden;
  transition: all .3s;
}
.guide-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.guide-card .pad { padding: 16px 18px 20px; }
.guide-card h3 { font-size: 16px; color: #ece2fa; letter-spacing: 1px; }
.guide-card p { margin-top: 8px; color: var(--muted); font-size: 13px; min-height: 44px; }
.guide-card .more { display: inline-block; margin-top: 10px; color: var(--gold); font-size: 12px; letter-spacing: 2px; }

/* FAQ 手风琴 */
.faq { border: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: none; }
.faq summary {
  padding: 14px 20px;
  cursor: pointer;
  color: #e8ddf5;
  letter-spacing: 1px;
  list-style: none;
  position: relative;
  background: var(--panel-2);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 18px;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 14px 20px; color: var(--muted); }

/* ============================================================
   下载页
   ============================================================ */
.dl-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding-bottom: 20px;
}
.dl-main {
  padding: 36px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(31, 21, 48, .5), rgba(24, 16, 36, .9)),
    url("../images/bg-portal.jpg") center/cover;
  border: 1px solid var(--border);
}
.dl-main h2 { font-size: 26px; color: #fff; letter-spacing: 4px; text-shadow: 0 2px 8px #000; }
.dl-main .ver {
  margin: 10px 0 24px;
  color: var(--gold-bright); font-size: 13px; letter-spacing: 2px;
}
.dl-main .btns { display: flex; gap: 14px; justify-content: center; margin-bottom: 18px; }
.dl-main .note { color: var(--muted); font-size: 12px; }
.dl-side { padding: 24px 28px; }
.dl-side h3 {
  font-size: 16px; color: var(--gold-bright); letter-spacing: 2px;
  margin-bottom: 14px;
  padding-left: 10px; border-left: 3px solid var(--red);
}
.dl-side ol { counter-reset: step; }
.dl-side ol li {
  counter-increment: step;
  position: relative;
  padding: 0 0 14px 34px;
  color: var(--text); font-size: 13px;
}
.dl-side ol li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--red);
  color: #fff; font-size: 12px;
  border-radius: 50%;
}
.dl-side ol li small { display: block; color: var(--muted); }

table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
table.tbl th, table.tbl td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
table.tbl th {
  background: var(--panel-2);
  color: var(--gold-bright);
  letter-spacing: 2px;
  font-weight: normal;
}
table.tbl td { color: #c9bfda; }
table.tbl tr:hover td { background: rgba(163, 18, 42, .06); }
table.tbl a { color: #6fb3ff; }
table.tbl a:hover { text-decoration: underline; }
.block { margin-bottom: 40px; }
.block > h3 {
  font-size: 18px; color: var(--gold-bright); letter-spacing: 3px;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.block > h3::before {
  content: "";
  width: 4px; height: 18px;
  background: var(--red);
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  margin-top: 60px;
  background: #070510;
  border-top: 1px solid var(--border);
  padding: 34px 0 26px;
  color: var(--muted);
  font-size: 12px;
}
.footer-links {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 0;
  margin-bottom: 18px;
}
.footer-links a { padding: 0 16px; border-right: 1px solid #241a33; }
.footer-links a:last-child { border-right: none; }
.footer-links a:hover { color: var(--gold-bright); }
.health-tip {
  text-align: center;
  color: #7d7390;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.copyright { text-align: center; line-height: 2; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .jobs-grid { grid-template-columns: repeat(3, 1fr); }
  .home-grid, .news-layout, .dl-hero { grid-template-columns: 1fr; }
  .job-section, .job-section:nth-child(even) { grid-template-columns: 1fr; }
  .job-section:nth-child(even) .job-pic { order: 0; }
  .hero-caption h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .hero { height: 380px; }
  .detail { padding: 22px; }
}
