/* ============ 基础 ============ */
:root {
  --ink: #14161a;        /* 墨色 */
  --ink-soft: #1c1f24;
  --paper: #f5f1e8;      /* 宣纸 */
  --gold: #c9a25c;       /* 鎏金 */
  --gold-soft: #e0c48c;
  --text: #d8d4cb;
  --text-dim: #8b8880;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(1080px, 92%); margin: 0 auto; }

/* ============ 导航 ============ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(20, 22, 26, .92);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(201, 162, 92, .15);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: .2em;
  color: var(--paper);
}
.logo span { color: var(--gold); margin-left: .1em; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn-nav) {
  font-size: .95rem;
  color: var(--text-dim);
  transition: color .2s;
}
.nav-links a:not(.btn-nav):hover { color: var(--gold-soft); }

.btn-nav {
  padding: 8px 22px;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  border-radius: 2px;
  font-size: .9rem;
  transition: background .2s, color .2s;
}
.btn-nav:hover { background: var(--gold); color: var(--ink); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--gold);
  transition: transform .3s, opacity .3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ 首屏 ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.jpg") center top / cover no-repeat;
}
/* 暗化遮罩：保证文字可读 + 上下渐隐融入页面 */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 62% 48% at 50% 40%, rgba(20,22,26,.30), transparent 72%),
    linear-gradient(180deg,
      rgba(20,22,26,.60) 0%,
      rgba(20,22,26,.26) 36%,
      rgba(20,22,26,.44) 70%,
      var(--ink) 100%);
}

.hero-content { position: relative; text-align: center; padding: 90px 0 70px; }

.hero-kicker {
  font-family: var(--serif);
  color: var(--gold);
  letter-spacing: .6em;
  text-indent: .6em;
  font-size: .95rem;
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  letter-spacing: .15em;
  color: var(--paper);
  font-weight: 700;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
  font-size: .55em;
  vertical-align: .12em;
  margin-left: .15em;
}
.hero-sub {
  margin-top: 16px;
  color: var(--text-dim);
  letter-spacing: .25em;
  font-size: .95rem;
}

/* 下载入口 */
.dl-entry {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.dl-entry-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  background: rgba(245,241,232,.03);
  border: 1px solid rgba(201,162,92,.25);
  border-radius: 3px;
  transition: transform .2s, background .2s, border-color .2s;
}
.dl-entry-item:hover {
  transform: translateY(-4px);
  background: rgba(201,162,92,.08);
  border-color: var(--gold);
}
.dl-entry-item strong {
  font-family: var(--serif);
  color: var(--paper);
  font-size: 1.05rem;
  letter-spacing: .1em;
}
.dl-entry-item span { font-size: .8rem; color: var(--text-dim); letter-spacing: .1em; }
.dl-entry-item.main { border-color: var(--gold); background: rgba(201,162,92,.1); }
.dl-entry-item.main strong { color: var(--gold-soft); }

/* 官方提示语 */
.official-tip {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 40px;
  padding: 18px 20px;
  border-top: 1px solid rgba(245,241,232,.08);
  border-bottom: 1px solid rgba(245,241,232,.08);
}
.official-tip p {
  font-size: .78rem;
  color: var(--text-dim);
  letter-spacing: .15em;
  white-space: nowrap;
}

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 30px;
  width: 1px; height: 48px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drop 2s ease-in-out infinite;
}
@keyframes drop {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ 通用区块 ============ */
.section { padding: 100px 0; }
.section-dark {
  background:
    linear-gradient(180deg, var(--ink) 0%, #17191e 18%, #17191e 82%, var(--ink) 100%);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--paper);
  letter-spacing: .3em;
  text-align: center;
  margin-bottom: 60px;
}
.section-title span {
  color: var(--gold);
  font-size: .55em;
  margin-left: .4em;
  letter-spacing: .2em;
  vertical-align: .15em;
}
.section-title::after {
  content: "";
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 22px auto 0;
}

/* ============ 服务器公告 ============ */
.feature-list {
  max-width: 720px;
  margin: 0 auto;
}
.feature-list li {
  position: relative;
  padding: 16px 10px 16px 34px;
  border-bottom: 1px solid rgba(245,241,232,.07);
  color: var(--text);
  font-size: .95rem;
  letter-spacing: .05em;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 8px; top: 50%;
  width: 8px; height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--gold);
  opacity: .7;
}
.feature-list li strong { color: var(--gold-soft); font-weight: 600; }

/* ============ 精彩活动 ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card-item {
  display: block;
  padding: 30px 26px 26px;
  background: rgba(245,241,232,.03);
  border: 1px solid rgba(245,241,232,.06);
  border-radius: 3px;
  position: relative;
  transition: transform .25s, border-color .25s, background .25s;
}
.card-item:hover {
  transform: translateY(-6px);
  border-color: rgba(201,162,92,.45);
  background: rgba(201,162,92,.06);
}
.card-tag {
  position: absolute;
  top: 18px; right: 18px;
  font-size: .72rem;
  padding: 2px 10px;
  border: 1px solid rgba(201,162,92,.4);
  color: var(--gold-soft);
  border-radius: 2px;
}
.card-tag.hot { border-color: rgba(200,90,70,.6); color: #d07a63; }
.card-item h3 {
  font-family: var(--serif);
  color: var(--paper);
  letter-spacing: .2em;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.card-item p { font-size: .88rem; color: var(--text-dim); }

/* ============ 游戏资料 ============ */
.data-group { max-width: 720px; margin: 0 auto 40px; }
.data-group:last-child { margin-bottom: 0; }
.data-group-title {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: .25em;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
}
.data-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}
.data-links a {
  display: block;
  padding: 13px 14px;
  color: var(--text);
  font-size: .92rem;
  border-bottom: 1px solid rgba(245,241,232,.07);
  transition: color .2s, padding-left .2s, background .2s;
}
.data-links a::before {
  content: "› ";
  color: var(--gold);
}
.data-links a:hover {
  color: var(--gold-soft);
  padding-left: 22px;
  background: rgba(201,162,92,.05);
}

/* ============ 游戏攻略 ============ */
.guide-list {
  max-width: 560px;
  margin: 0 auto;
}
.guide-list a {
  display: block;
  padding: 16px 14px;
  color: var(--text);
  font-size: .95rem;
  letter-spacing: .1em;
  border-bottom: 1px dashed rgba(245,241,232,.1);
  text-align: center;
  transition: color .2s, background .2s;
}
.guide-list a:hover { color: var(--gold-soft); background: rgba(201,162,92,.05); }

/* ============ 下载 / 注册 ============ */
.download-box { text-align: center; }
.download-tip { color: var(--text-dim); font-size: .9rem; letter-spacing: .1em; margin-top: -30px; margin-bottom: 44px; }
.download-actions { margin-top: 50px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 42px;
  font-size: .95rem;
  letter-spacing: .2em;
  text-indent: .2em;
  border-radius: 2px;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}
.btn-primary:hover { background: var(--gold-soft); }
.btn-ghost {
  border: 1px solid rgba(201,162,92,.5);
  color: var(--gold-soft);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(201,162,92,.08); }
.btn-lg { padding: 15px 50px; font-size: 1rem; }

.download-steps {
  margin: 0 auto;
  max-width: 460px;
  text-align: left;
  color: var(--text-dim);
  font-size: .88rem;
  counter-reset: step;
}
.download-steps li {
  padding: 12px 0 12px 38px;
  position: relative;
  border-bottom: 1px dashed rgba(245,241,232,.1);
  counter-increment: step;
}
.download-steps li::before {
  content: counter(step, cjk-ideographic);
  position: absolute;
  left: 0;
  font-family: var(--serif);
  color: var(--gold);
}

/* ============ 背景音乐开关 ============ */
.bgm-toggle {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 200;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 22, 26, .85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,162,92,.4);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.bgm-toggle:hover { border-color: var(--gold); background: rgba(201,162,92,.12); }

/* 音量跳动条 */
.bgm-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}
.bgm-bars i {
  width: 3px;
  background: var(--gold);
  border-radius: 1px;
  height: 4px;
}
.bgm-toggle.playing .bgm-bars i { animation: bgm-bounce 1s ease-in-out infinite; }
.bgm-toggle.playing .bgm-bars i:nth-child(1) { animation-delay: 0s; }
.bgm-toggle.playing .bgm-bars i:nth-child(2) { animation-delay: .25s; }
.bgm-toggle.playing .bgm-bars i:nth-child(3) { animation-delay: .5s; }
.bgm-toggle.playing .bgm-bars i:nth-child(4) { animation-delay: .75s; }
@keyframes bgm-bounce {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}
/* 暂停状态：静止短条 */
.bgm-toggle:not(.playing) .bgm-bars i { height: 4px; animation: none; opacity: .5; }

/* ============ 页脚 ============ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(201,162,92,.15);
  text-align: center;
}
.footer-brand { font-family: var(--serif); color: var(--paper); letter-spacing: .3em; margin-bottom: 16px; }
.footer-links a { color: var(--text-dim); font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-copy { margin-top: 22px; font-size: .75rem; color: #5c5a54; }
.footer-icp { margin-top: 12px; font-size: .78rem; }
.footer-icp a { color: var(--text-dim); transition: color .2s; }
.footer-icp a:hover { color: var(--gold-soft); }

/* ============ 响应式 ============ */
@media (max-width: 760px) {
  .section { padding: 70px 0; }

  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(72vw, 300px);
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    background: rgba(16,18,22,.97);
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -1px 0 0 rgba(201,162,92,.15);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.btn-nav) { font-size: 1.05rem; }

  .official-tip { gap: 4px 24px; }
  .official-tip p { white-space: normal; }
}

/* ============ 古风背景增强 ============ */
/* 全站底纹：菱形暗纹 + 顶部金光 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 70% 38% at 50% -4%, rgba(201,162,92,.12), transparent 62%),
    repeating-linear-gradient(45deg, rgba(201,162,92,.045) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-45deg, rgba(201,162,92,.045) 0 1px, transparent 1px 26px);
}

/* 区块标题：金线 + 中点 */
.section-title::after {
  content: "";
  display: block;
  width: 110px;
  height: 9px;
  margin: 20px auto 0;
  background:
    radial-gradient(circle, var(--gold) 0 2px, transparent 2.4px) center / 9px 9px no-repeat,
    linear-gradient(90deg, transparent, rgba(201,162,92,.55), transparent) center / 110px 1px no-repeat;
  opacity: .9;
}

/* 首屏古风装饰 */
.hero-deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-deco .cloud {
  position: absolute;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 110'><path d='M46 86C26 86 16 70 26 59c-6-15 9-28 24-21 4-17 28-23 43-11 13-15 39-13 47 3 15-9 34-2 36 15 19-2 32 11 28 26 13 4 13 15-2 15z' fill='none' stroke='%23c9a25c' stroke-width='1.6'/></svg>") center/contain no-repeat;
  opacity: .3;
}
.cloud-1 { width: 220px; height: 100px; top: 15%; left: 5%;  animation: cloudFloat 10s ease-in-out infinite; }
.cloud-2 { width: 160px; height: 74px;  top: 24%; right: 7%; animation: cloudFloat 13s ease-in-out infinite reverse; }
.cloud-3 { width: 130px; height: 60px;  top: 62%; left: 10%; opacity: .28; animation: cloudFloat 16s ease-in-out infinite; }
@keyframes cloudFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/* 竖排书法 */
.hero-deco .cal {
  position: absolute;
  top: 50%;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: .5em;
  color: rgba(201,162,92,.34);
  user-select: none;
}
.cal-left  { left: 4%;  transform: translateY(-50%); }
.cal-right { right: 4%; transform: translateY(-50%); }

/* 印章 */
.hero-deco .hero-seal {
  position: absolute;
  right: 5%;
  bottom: 13%;
  width: 72px; height: 72px;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--serif);
  font-size: .95rem;
  line-height: 1.15;
  letter-spacing: .12em;
  color: rgba(201,162,92,.6);
  border: 2px solid rgba(201,162,92,.5);
  border-radius: 3px;
  transform: rotate(-5deg);
}

@media (max-width: 760px) {
  .hero-deco { display: none; }
}

/* ============ 整页背景铺满 ============ */
/* 背景层改用 position:fixed 伪元素实现：
   background-attachment:fixed 在移动端 Safari 不支持，
   会退化成铺满整个文档高度，图被放大到糊成一片黑 */
html, body { overflow-x: hidden; }
body {
  background: var(--ink);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: url("../images/hero-bg.jpg") center top / cover no-repeat;
}
/* 全局暗化遮罩 + 菱形暗纹 */
body::before {
  background-image:
    linear-gradient(180deg, rgba(20,22,26,.52) 0%, rgba(20,22,26,.34) 32%, rgba(20,22,26,.40) 70%, rgba(20,22,26,.55) 100%),
    radial-gradient(ellipse 70% 38% at 50% -4%, rgba(201,162,92,.10), transparent 62%),
    repeating-linear-gradient(45deg, rgba(201,162,92,.03) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-45deg, rgba(201,162,92,.03) 0 1px, transparent 1px 26px);
}
/* 首屏透出同一张图，避免双重叠加 */
.hero-bg { background: transparent; }
.hero-bg::before {
  background: radial-gradient(ellipse 55% 42% at 50% 42%, rgba(20,22,26,.34), transparent 70%);
}
/* 区块透明，露出背景图 */
.section-dark { background: transparent; }
/* 内容卡片加深，保证文字可读 */
.card-item,
.dl-entry-item,
.feature-list li {
  background: rgba(20,22,26,.45);
}
.card-item:hover,
.dl-entry-item:hover { background: rgba(20,22,26,.62); }

/* ============ 客服悬浮二维码 ============ */
.contact-widget {
  position: fixed;
  right: 22px;
  bottom: 78px;
  z-index: 210;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
}
.contact-toggle {
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 22, 26, .9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 162, 92, .45);
  border-radius: 50%;
  color: var(--gold);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.contact-toggle:hover { border-color: var(--gold); background: rgba(201, 162, 92, .15); }
.contact-widget.open .contact-toggle { border-color: var(--gold); background: rgba(201, 162, 92, .2); }

.contact-panel {
  width: 116px;
  padding: 11px 10px;
  background: rgba(20, 22, 26, .95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 162, 92, .35);
  border-radius: 4px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.contact-widget.open .contact-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.contact-item + .contact-item {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(201, 162, 92, .16);
}
.contact-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  background: #fff;
}
.contact-item span {
  display: block;
  margin-top: 6px;
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--gold-soft);
}

/* 按钮上方的竖排标签 */
.contact-label {
  writing-mode: vertical-rl;
  padding: 7px 3px;
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--gold-soft);
  background: rgba(20, 22, 26, .85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 162, 92, .3);
  border-radius: 3px;
  user-select: none;
  transition: color .2s, border-color .2s;
}
.contact-widget.open .contact-label { color: var(--gold); border-color: rgba(201, 162, 92, .55); }

/* 二维码下载 */
.contact-dl {
  display: inline-block;
  margin-top: 5px;
  font-size: .68rem;
  letter-spacing: .06em;
  color: rgba(201, 162, 92, .82);
  text-decoration: none;
  cursor: pointer;
}
.contact-dl:hover { color: var(--gold); text-decoration: underline; }

/* ============ 导航客服按钮 + 客服弹窗 ============ */
.btn-nav.ghost {
  border-color: rgba(201, 162, 92, .42);
  color: var(--gold-soft);
}
.btn-nav.ghost:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 92, .12);
  color: var(--gold);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.contact-modal.open { opacity: 1; visibility: visible; }
.contact-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 12, .72);
  backdrop-filter: blur(4px);
}
.contact-modal-box {
  position: relative;
  width: min(430px, calc(100vw - 40px));
  padding: 30px 28px 26px;
  background: rgba(20, 22, 26, .97);
  border: 1px solid rgba(201, 162, 92, .4);
  border-radius: 5px;
  text-align: center;
  transform: translateY(12px) scale(.97);
  transition: transform .25s ease;
}
.contact-modal.open .contact-modal-box { transform: translateY(0) scale(1); }
.contact-modal-box h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: .2em;
  margin-bottom: 22px;
}
.contact-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold-soft);
  cursor: pointer;
  transition: color .2s;
}
.contact-modal-close:hover { color: var(--gold); }
.contact-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-modal-grid img {
  width: 100%;
  max-width: 150px;
  padding: 5px;
  background: #fff;
  border-radius: 3px;
}
.contact-modal-grid p {
  margin-top: 10px;
  font-size: .82rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.contact-modal-grid b { color: var(--gold-soft); font-weight: 600; letter-spacing: .04em; }
.contact-modal-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 162, 92, .16);
  font-size: .82rem;
  color: var(--text-dim);
  line-height: 1.8;
}

@media (max-width: 520px) {
  .contact-modal-grid { grid-template-columns: 1fr; gap: 22px; }
  .contact-modal-box { padding: 26px 20px 22px; }
}

/* ============ 子页面通用（面包屑/标题区/返回链接）============ */
.dl-crumb {
  color: var(--text-dim);
  font-size: .85rem;
  letter-spacing: .1em;
  margin-bottom: 26px;
}
.dl-crumb a { color: var(--text-dim); }
.dl-crumb a:hover { color: var(--gold-soft); }
.dl-head { text-align: center; margin-bottom: 48px; }
.dl-head h1 {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--paper);
  letter-spacing: .16em;
  font-weight: 600;
}
.dl-sub {
  color: var(--gold);
  letter-spacing: .24em;
  font-size: .95rem;
  margin-top: 12px;
}
.dl-back { margin-top: 10px; }
.dl-back a { color: var(--gold-soft); font-size: .9rem; letter-spacing: .1em; }
.dl-back a:hover { color: var(--gold); }

/* ============ 首页 · 版本特色阳光公示区块 ============ */
.sun-intro {
  text-align: center;
  color: var(--text-dim);
  letter-spacing: .08em;
  font-size: 1rem;
  margin-bottom: 24px;
}
.sun-intro b { color: var(--gold); font-weight: 600; }
.sun-title-link {
  display: block;
  width: fit-content;
  margin: 0 auto 28px;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: .14em;
  color: var(--gold);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(201, 162, 92, .4);
  transition: color .2s, border-color .2s;
}
.sun-title-link:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.sun-board {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto 30px;
}
.sun-board figure {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
}
.sun-board img {
  display: block;
  width: auto;
  height: clamp(260px, 42vw, 430px);
  object-fit: contain;
  border: 1px solid rgba(201, 162, 92, .35);
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
@media (max-width: 640px) {
  .sun-board { flex-wrap: wrap; }
  .sun-board figure { flex: 1 1 100%; }
  .sun-board img { width: 100%; height: auto; }
}
.sun-board figcaption {
  margin-top: 10px;
  text-align: center;
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: .1em;
}
.sun-board figcaption a { color: var(--gold); transition: color .2s; }
.sun-board figcaption a:hover { color: var(--gold-soft); }
.sun-board-extra {
  max-width: 640px;
  margin: 0 auto 30px;
}
.sun-board-extra figure { margin: 0; }
.sun-board-extra img {
  display: block;
  width: 100%;
  border: 1px solid rgba(201, 162, 92, .35);
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.sun-board-extra figcaption {
  margin-top: 10px;
  text-align: center;
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: .1em;
}
.sun-board-extra figcaption a { color: var(--gold); transition: color .2s; }
.sun-board-extra figcaption a:hover { color: var(--gold-soft); }
.sun-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.sun-cats a {
  padding: 13px 10px;
  text-align: center;
  background: rgba(28, 31, 36, .6);
  border: 1px solid rgba(201, 162, 92, .28);
  border-radius: 3px;
  color: var(--gold-soft);
  font-size: .92rem;
  letter-spacing: .06em;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.sun-cats a:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 92, .12);
  color: var(--gold);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .contact-widget { right: 14px; bottom: 74px; }
  .contact-panel { width: 124px; padding: 12px 10px; }
  .contact-toggle { width: 42px; height: 42px; }
}
