/* ===== 自由之刃官网 样式 ===== */
:root {
  --bg: #0e0b08;
  --bg-soft: #17120c;
  --bg-card: #1c1610;
  --gold: #d4af37;
  --gold-light: #f0d488;
  --gold-deep: #9a7b1f;
  --red: #c0392b;
  --red-light: #e85a47;
  --text: #e9e2d2;
  --text-soft: #b3a892;
  --line: rgba(212, 175, 55, 0.22);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --radius: 10px;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(192, 57, 43, 0.12), transparent 60%),
    radial-gradient(1000px 500px at 10% 0%, rgba(212, 175, 55, 0.1), transparent 55%),
    var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.3; }

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

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  text-align: center;
}
.btn-primary {
  color: #160d01;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.3);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { color: #2a1a05; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(212, 175, 55, 0.45); }
.btn-ghost { color: var(--gold-light); border-color: var(--line); background: rgba(20, 15, 9, 0.55); }
.btn-ghost:hover { border-color: var(--gold); color: #fff; background: rgba(212, 175, 55, 0.12); }
.btn-lg { padding: 14px 38px; font-size: 17px; }
.btn-sm { padding: 8px 18px; font-size: 14px; letter-spacing: 1.5px; }

/* ===== 头部 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(14, 11, 8, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { width: min(1280px, 94%); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--gold-light); font-size: 22px; font-weight: 800; letter-spacing: 2px; }
.logo-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  font-size: 20px; color: #2a1a05;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-deep));
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35);
}
.logo-img {
  width: 40px; height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.4), 0 4px 12px rgba(0, 0, 0, 0.45);
}
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block;
  padding: 8px 14px;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  position: relative;
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav a.active { color: var(--gold-light); }
.main-nav a.active::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--gold-light); transition: .3s; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 8, 6, 0.92) 0%, rgba(10, 8, 6, 0.55) 45%, rgba(10, 8, 6, 0.25) 100%); }
.hero-content { position: relative; z-index: 2; padding: 80px 0; }
.hero-title {
  font-size: clamp(46px, 7vw, 84px);
  font-weight: 900;
  letter-spacing: 8px;
  background: linear-gradient(180deg, #fff7e0, var(--gold-light) 45%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}
.hero-sub { margin: 18px 0 34px; font-size: clamp(16px, 2vw, 21px); color: var(--text); letter-spacing: 1px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== 区块 ===== */
.section { padding: 72px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 38px; flex-wrap: wrap; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--gold-light);
  letter-spacing: 2px;
  position: relative;
  padding-left: 18px;
}
.section-head h2::before {
  content: "";
  position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--red-light), var(--gold));
}
.section-head p { color: var(--text-soft); font-size: 15px; }
.more-link { font-size: 14px; color: var(--text-soft); white-space: nowrap; }
.more-link:hover { color: var(--gold-light); }

.section-features { background: linear-gradient(180deg, transparent, rgba(23, 18, 12, 0.9), transparent); }
.section-news { background: rgba(23, 18, 12, 0.6); }

/* ===== 职业卡片 ===== */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role-card {
  background: linear-gradient(180deg, var(--bg-card), #14100b);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.role-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.role-card-link { color: var(--text); }
.role-card-link:hover { color: var(--text); }
.role-card img { width: 100%; height: 320px; object-fit: contain; background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.12), transparent 70%); padding: 14px; }
.role-card-info { padding: 20px 22px 24px; }
.role-card-info h3 { font-size: 22px; color: var(--gold-light); display: flex; align-items: baseline; gap: 10px; }
.role-card-info h3 small { font-size: 12px; color: var(--text-soft); letter-spacing: 2px; font-weight: 500; }
.role-position { color: var(--red-light); font-size: 13px; margin: 8px 0; font-weight: 600; }
.role-card-info p { font-size: 14px; color: var(--text-soft); }
.role-more { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--gold); }

/* ===== 特色 ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-item {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s, border-color .2s;
}
.feature-item:hover { transform: translateY(-4px); border-color: var(--gold); }
.feature-icon { font-size: 34px; display: block; margin-bottom: 14px; }
.feature-item h3 { color: var(--gold-light); font-size: 19px; margin-bottom: 8px; }
.feature-item p { color: var(--text-soft); font-size: 14px; }

/* ===== 新闻卡片 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.news-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.news-cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.news-card:hover .news-cover img { transform: scale(1.06); }
.cat-tag {
  position: absolute; left: 0; top: 14px;
  padding: 3px 12px;
  font-size: 12px; color: #fff;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  border-radius: 0 4px 4px 0;
}
.news-body { padding: 18px 20px 20px; }
.news-body h3 { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.news-body h3 a { color: var(--text); }
.news-body h3 a:hover { color: var(--gold-light); }
.news-summary { font-size: 13px; color: var(--text-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; justify-content: space-between; margin-top: 14px; font-size: 12px; color: #7d7464; }

/* ===== 截图 ===== */
.shots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.shot-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.shot-item:hover img { transform: scale(1.05); }
.shot-item span {
  position: absolute; inset: auto 0 0;
  padding: 26px 16px 12px;
  font-size: 15px; color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

/* ===== 内页头 ===== */
.page-hero {
  padding: 64px 0 56px;
  text-align: center;
  background: linear-gradient(180deg, rgba(192, 57, 43, 0.14), transparent);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(30px, 4.5vw, 44px); color: var(--gold-light); letter-spacing: 3px; }
.page-hero p { margin-top: 12px; color: var(--text-soft); }

/* ===== 面包屑 ===== */
.breadcrumb { padding: 16px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-soft); }
.breadcrumb .sep { color: #5d5546; }
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ===== 职业详情 ===== */
.role-detail { display: grid; grid-template-columns: 420px 1fr; gap: 48px; align-items: start; }
.role-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.role-main-img {
  width: 100%;
  background: radial-gradient(circle at 50% 35%, rgba(212, 175, 55, 0.14), transparent 72%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.role-gender { display: flex; gap: 12px; justify-content: center; margin-top: 18px; }
.gender-btn {
  width: 72px; padding: 9px 0;
  font-size: 15px; font-weight: 700;
  color: var(--text-soft);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}
.gender-btn.active { color: #2a1a05; background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); border-color: var(--gold); }
.role-h2 { font-size: 22px; color: var(--gold-light); margin: 26px 0 12px; }
.role-h2:first-child { margin-top: 0; }
.role-summary-text { font-size: 16px; }
.role-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.role-tag { padding: 4px 14px; font-size: 13px; color: var(--gold-light); border: 1px solid var(--line); border-radius: 999px; background: rgba(212, 175, 55, 0.08); }
.role-desc p { color: var(--text-soft); margin-bottom: 14px; }
.table-title { margin: 50px 0 18px; font-size: 24px; color: var(--gold-light); text-align: center; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
.skill-table th, .skill-table td, .server-table th, .server-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(212, 175, 55, 0.12); font-size: 14px; }
thead th { background: rgba(212, 175, 55, 0.12); color: var(--gold-light); font-size: 14px; white-space: nowrap; }
.skill-index { color: var(--gold); width: 56px; }
.skill-name { width: 150px; }
.skill-type { display: block; margin-top: 4px; font-size: 12px; color: var(--red-light); font-weight: 500; }
.skill-cost { color: var(--text-soft); width: 120px; white-space: nowrap; }
.skill-desc { color: var(--text-soft); }
tbody tr:hover { background: rgba(212, 175, 55, 0.06); }
.role-switch { margin-top: 52px; text-align: center; }
.role-switch h3 { color: var(--gold-light); margin-bottom: 18px; font-size: 20px; }
.role-switch-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin: 0 18px; color: var(--text-soft); }
.role-switch-btn img { width: 84px; border-radius: 8px; border: 1px solid var(--line); padding: 6px; background: var(--bg-card); }
.role-switch-btn:hover img { border-color: var(--gold); }

/* ===== 特色详情 ===== */
.feature-detail-list { display: grid; gap: 18px; }
.feature-detail-item { display: flex; gap: 24px; align-items: center; padding: 26px 28px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-detail-icon {
  flex: 0 0 76px; width: 76px; height: 76px;
  display: grid; place-items: center;
  font-size: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent);
  position: relative;
}
.feature-detail-icon span { position: absolute; right: -4px; bottom: -4px; width: 26px; height: 26px; display: grid; place-items: center; font-size: 13px; border-radius: 50%; color: #2a1a05; background: var(--gold); }
.feature-detail-item h2 { color: var(--gold-light); font-size: 20px; margin-bottom: 6px; }
.feature-detail-item p { color: var(--text-soft); font-size: 15px; }
.cta-band { text-align: center; }
.cta-band h2 { font-size: 28px; color: var(--gold-light); margin-bottom: 22px; }

/* ===== 新闻列表 ===== */
.cat-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.cat-tab { padding: 8px 22px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-soft); background: var(--bg-card); font-size: 15px; }
.cat-tab.active, .cat-tab:hover { color: #2a1a05; background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); border-color: var(--gold); }
.news-rows { display: grid; gap: 22px; }
.news-row { display: grid; grid-template-columns: 300px 1fr; gap: 24px; padding: 18px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .2s; }
.news-row:hover { border-color: var(--gold); transform: translateY(-3px); }
.news-row-cover { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; }
.news-row-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-row-body h2 { font-size: 20px; margin-bottom: 10px; }
.news-row-body h2 a { color: var(--text); }
.news-row-body h2 a:hover { color: var(--gold-light); }
.news-row-body p { color: var(--text-soft); font-size: 14px; }
.news-row-body .news-meta { justify-content: flex-start; gap: 18px; margin-top: 14px; }
.empty-tip { padding: 60px 0; text-align: center; color: var(--text-soft); }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 42px; padding: 8px 12px;
  display: grid; place-items: center;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--text-soft);
}
.pager a:hover { border-color: var(--gold); color: var(--gold-light); }
.pager .current { color: #2a1a05; background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); border-color: var(--gold); font-weight: 700; }
.pager .disabled { opacity: .4; }

/* ===== 文章 ===== */
.article-container { max-width: 860px; }
.article-head { text-align: center; padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.article-head .cat-tag { position: static; display: inline-block; border-radius: 4px; margin-bottom: 16px; }
.article-head h1 { font-size: clamp(26px, 3.6vw, 36px); color: var(--gold-light); }
.article-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 13px; color: var(--text-soft); }
.article-content { font-size: 16px; color: #d8d0bf; }
.article-content p { margin-bottom: 18px; }
.article-content h2, .article-content h3 { color: var(--gold-light); margin: 28px 0 14px; }
.article-content h3 { font-size: 19px; }
.article-content ul { margin: 0 0 18px 0; padding-left: 4px; }
.article-content ul li { position: relative; padding-left: 18px; margin-bottom: 8px; color: var(--text-soft); list-style: none; }
.article-content ul li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 5px; }
.article-content a { color: var(--gold-light); text-decoration: underline; }
.article-content strong { color: var(--gold-light); }
.article-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 44px 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.related-news { margin-top: 20px; }
.related-news h2 { font-size: 22px; color: var(--gold-light); margin-bottom: 20px; text-align: center; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-grid article { background: var(--bg-card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.related-grid img { aspect-ratio: 16 / 10; object-fit: cover; }
.related-grid h3 { padding: 12px 14px; font-size: 14px; color: var(--text); line-height: 1.5; }
.related-grid article:hover h3 { color: var(--gold-light); }

/* ===== 截图详情 ===== */
.shots-detail-grid { display: grid; gap: 36px; max-width: 940px; }
.shot-detail { text-align: center; }
.shot-detail a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.shot-detail img { width: 100%; }
.shot-detail h2 { color: var(--gold-light); margin: 18px 0 8px; font-size: 21px; }
.shot-detail p { color: var(--text-soft); font-size: 14px; }

/* ===== 下载 ===== */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.download-card { padding: 34px 26px; text-align: center; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, border-color .2s; }
.download-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.dl-qrcode { width: 130px; height: 130px; margin: 0 auto 20px; border-radius: 8px; object-fit: cover; }
.qrcode-placeholder { display: grid; place-items: center; color: var(--text-soft); background: rgba(212, 175, 55, 0.08); border: 1px dashed var(--line); font-size: 14px; line-height: 1.6; }
.download-card h2 { color: var(--gold-light); font-size: 21px; margin-bottom: 8px; }
.dl-meta { font-size: 13px; color: var(--text-soft); margin-bottom: 20px; }
.server-table caption { padding: 12px; caption-side: top; color: var(--text-soft); font-size: 14px; text-align: left; }
.status-pill { padding: 3px 12px; font-size: 12px; border-radius: 999px; color: var(--gold-light); border: 1px solid var(--line); white-space: nowrap; }

/* ===== 网站地图 ===== */
.sitemap-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.sitemap-group { padding: 26px 28px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); }
.sitemap-group h2 { color: var(--gold-light); font-size: 19px; margin-bottom: 14px; }
.sitemap-group li { padding: 6px 0; border-bottom: 1px dashed rgba(212, 175, 55, 0.12); font-size: 14px; }
.sitemap-group li::before { content: "›"; color: var(--gold); margin-right: 8px; }
.narrow { max-width: 820px; margin: 0 auto; }

/* ===== 404 ===== */
.error-page { text-align: center; padding: 110px 0; }
.error-code { font-size: 110px; font-weight: 900; color: transparent; background: linear-gradient(180deg, var(--gold-light), var(--red)); -webkit-background-clip: text; background-clip: text; line-height: 1; }
.error-page h1 { color: var(--gold-light); margin: 16px 0 12px; font-size: 28px; }
.error-page p { color: var(--text-soft); margin-bottom: 28px; }
.error-page .btn { margin: 0 8px; }

/* ===== 页脚 ===== */
.site-footer { margin-top: 60px; border-top: 1px solid var(--line); background: #0b0806; }
.footer-inner { width: min(1200px, 92%); margin: 0 auto; padding: 56px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-slogan { font-size: 14px; color: var(--text-soft); margin-bottom: 18px; }
.footer-col h3 { font-size: 16px; color: var(--gold-light); margin-bottom: 14px; }
.footer-col li { margin-bottom: 9px; font-size: 14px; }
.footer-col a { color: var(--text-soft); }
.footer-col a:hover { color: var(--gold-light); }
.footer-col a.btn-primary,
.footer-col a.btn-primary:hover {
  color: #160d01;
}
.service-info { margin-bottom: 16px; }
.footer-qrcode { width: 110px; height: 110px; border-radius: 8px; object-fit: cover; }
.footer-bottom { border-top: 1px solid rgba(212, 175, 55, 0.14); padding: 22px 0 30px; text-align: center; }
.footer-bottom p { font-size: 12px; color: #7d7464; margin-bottom: 8px; }
.friend-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; align-items: center; }
.friend-links span { color: var(--text-soft); }

/* ===== 动效 ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== 灯箱 ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 4vh 4vw;
  background: rgba(5, 4, 3, 0.92);
}
.lightbox.show { display: flex; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.lightbox-close {
  position: absolute; top: 18px; right: 26px;
  width: 46px; height: 46px;
  font-size: 32px; line-height: 1;
  color: var(--gold-light);
  background: none; border: 1px solid var(--line);
  border-radius: 50%; cursor: pointer;
}
.lightbox-close:hover { border-color: var(--gold); color: #fff; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .role-grid, .features-grid, .news-grid, .shots-grid, .download-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .role-detail { grid-template-columns: 1fr; gap: 32px; }
  .role-gallery { position: static; max-width: 420px; margin: 0 auto; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(14, 11, 8, 0.98);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 70vh; overflow-y: auto; }
  .main-nav ul { flex-direction: column; padding: 12px 6%; gap: 2px; }
  .main-nav a.active::after { display: none; }
  .hero { min-height: 520px; }
  .role-grid, .features-grid, .news-grid, .shots-grid, .download-grid, .related-grid, .sitemap-groups { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; }
  .feature-detail-item { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-col li { text-align: center; }
  .footer-qrcode { margin: 0 auto; }
  .article-nav { flex-direction: column; }
}
