/* ============================================================================
   首页主题：黑石 · 鎏金 · 余烬
   只作用于 <body class="home">，其它页面继续使用 site.css 的原有风格。
   ========================================================================== */

body.home {
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-latin: "Trajan Pro", "Cinzel", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --gold: #d8b26a;
  --gold-hi: #f7e6bb;
  --gold-deep: #8a6528;
  --parch: #e9dcc4;
  --parch-2: #c8b79b;
  --parch-3: #9c8d76;
  --line-gold: rgba(216, 178, 106, 0.22);
  --line-gold-strong: rgba(216, 178, 106, 0.44);
  --blood: #8f1d1d;

  /* site.css 的公共组件（顶栏、页脚）读这些变量 */
  --text: var(--parch);
  --muted: var(--parch-2);
  --dim: var(--parch-3);
  --line: var(--line-gold);
  --line-strong: var(--line-gold-strong);

  background:
    radial-gradient(1000px 620px at 50% -12%, rgba(126, 32, 24, 0.18), transparent 66%),
    radial-gradient(900px 700px at 88% 38%, rgba(120, 82, 30, 0.08), transparent 70%),
    linear-gradient(180deg, #09060a 0%, #0a0705 30%, #07050a 70%, #050407 100%);
  color: var(--parch);
  overflow-x: hidden;
}

body.home::before,
body.home::after { display: none; }

body.home ::selection { background: rgba(216, 178, 106, 0.32); color: #fff6e2; }

/* ----------------------------------------------------------- 顶栏（鎏金化）
   顶栏样式已统一到 site.css，所有页面共用同一套导航外观。 */

/* ------------------------------------------------------------------- 页脚 */

body.home .site-footer {
  margin-top: 0;
  border-top: 1px solid rgba(216, 178, 106, 0.26);
  background:
    linear-gradient(180deg, rgba(10, 7, 5, 0.72), rgba(5, 4, 3, 0.96)),
    url("assets/tex-magi.jpg") center / 420px repeat;
  background-blend-mode: multiply;
}

body.home .footer-inner h4 {
  font-family: var(--font-display);
  color: #e3c98e;
  letter-spacing: 4px;
}

body.home .footer-inner a:hover { color: var(--gold-hi); }

body.home .footer-bottom {
  border-top: 1px solid rgba(216, 178, 106, 0.14);
  color: #7d6f5b;
}

/* ------------------------------------------------------------------- 按钮 */

.hm-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.hm-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 224px;
  padding: 15px 32px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.hm-btn::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.hm-btn small {
  font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-indent: 0.06em;
  opacity: 0.78;
}

.hm-btn.gold {
  color: #2b1a06;
  background: linear-gradient(180deg, #f9e7ba 0%, #e2bb74 46%, #b9863e 100%);
  border: 1px solid #f3dca6;
  box-shadow:
    0 0 0 1px rgba(74, 46, 12, 0.65),
    0 12px 28px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  text-shadow: 0 1px 0 rgba(255, 244, 214, 0.5);
}

.hm-btn.gold:hover {
  color: #1f1203;
  background: linear-gradient(180deg, #fff3d2 0%, #eac87f 46%, #c59244 100%);
  box-shadow:
    0 0 0 1px rgba(74, 46, 12, 0.7),
    0 0 32px rgba(226, 181, 98, 0.45),
    0 14px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transform: translateY(-2px);
  text-decoration: none;
}

.hm-btn.stone {
  color: #e6d7b8;
  background: linear-gradient(180deg, rgba(40, 31, 23, 0.92), rgba(18, 13, 10, 0.94));
  border: 1px solid rgba(216, 178, 106, 0.42);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 240, 210, 0.06);
}

.hm-btn.stone::before { border-color: rgba(216, 178, 106, 0.16); }

.hm-btn.stone:hover {
  color: var(--gold-hi);
  border-color: rgba(226, 188, 116, 0.85);
  background: linear-gradient(180deg, rgba(52, 40, 29, 0.95), rgba(22, 16, 12, 0.96));
  box-shadow:
    0 0 26px rgba(216, 178, 106, 0.16),
    0 14px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 240, 210, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}

.hm-btn.sm {
  min-width: 0;
  padding: 11px 24px;
  font-size: 14.5px;
}

.hm-btn.sm::before { inset: 3px; }

/* --------------------------------------------------------------------- 首屏 */

.hm-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(900px, 94vh);
  padding: 84px 0 168px;
  overflow: hidden;
  border-bottom: 1px solid rgba(216, 178, 106, 0.18);
}

.hm-hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/hero-storm.jpg") center 40% / cover no-repeat;
  filter: saturate(0.72) contrast(1.06) brightness(0.82);
  transform: scale(1.03);
}

.hm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(58% 44% at 50% 100%, rgba(255, 118, 44, 0.20), transparent 72%),
    radial-gradient(52% 40% at 50% 42%, rgba(150, 36, 16, 0.26), transparent 72%),
    linear-gradient(180deg, rgba(6, 4, 7, 0.9) 0%, rgba(6, 4, 7, 0.42) 34%, rgba(6, 4, 7, 0.3) 56%, rgba(7, 5, 10, 0.94) 92%, #07050a 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.7));
}

.hm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 4px);
  opacity: 0.5;
  pointer-events: none;
}

#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  pointer-events: none;
}

.hm-frame {
  position: absolute;
  inset: 16px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(216, 178, 106, 0.10);
}

.hm-frame i {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 0 solid rgba(216, 178, 106, 0.55);
}

.hm-frame i:nth-child(1) { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.hm-frame i:nth-child(2) { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.hm-frame i:nth-child(3) { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.hm-frame i:nth-child(4) { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

.hm-hero-inner {
  position: relative;
  text-align: center;
}

.hm-hero-inner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 34%;
  width: min(960px, 92vw);
  height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255, 150, 60, 0.13), transparent 68%);
  filter: blur(24px);
  z-index: -1;
  pointer-events: none;
}

.hm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 6px;
  color: #c7a86e;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
}

.hm-eyebrow em { font-style: normal; color: #8d6c33; font-size: 9px; letter-spacing: 0; }

.hm-mu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 26px 0 2px;
  font-family: var(--font-latin);
  font-size: clamp(13px, 1.5vw, 17px);
  letter-spacing: 0.7em;
  text-indent: 0.7em;
  color: #cdb178;
}

.hm-mu::before,
.hm-mu::after {
  content: "";
  width: clamp(42px, 9vw, 150px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 178, 106, 0.75));
}

.hm-mu::after {
  background: linear-gradient(90deg, rgba(216, 178, 106, 0.75), transparent);
}

.hm-mu b {
  font-weight: 400;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: #a98243;
}

.hm-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(58px, 10.5vw, 132px);
  line-height: 1.04;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  background: linear-gradient(100deg,
    #a97b33 0%, #e8c983 16%, #fff4d2 30%, #e0b96b 44%,
    #8f6524 58%, #e9cd90 76%, #b5853c 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(48, 30, 8, 0.28);
  filter:
    drop-shadow(0 1px 0 rgba(61, 38, 8, 0.9))
    drop-shadow(0 12px 30px rgba(0, 0, 0, 0.9));
  animation: hmShimmer 9s ease-in-out infinite;
}

@keyframes hmShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hm-sub {
  margin: 20px auto 0;
  max-width: 620px;
  color: #d6c7ac;
  font-size: 15.5px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 14px rgba(3, 2, 8, 0.95);
}

.hm-hero .hm-actions { margin-top: 36px; }

.hm-quick {
  margin: 20px 0 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--parch-3);
}

.hm-quick a {
  color: #dcb874;
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 178, 106, 0.35);
  padding-bottom: 1px;
}

.hm-quick a:hover { color: var(--gold-hi); border-bottom-color: var(--gold-hi); }

.hm-quick em { font-style: normal; margin: 0 10px; color: #6e6250; }

.hm-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 54px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(216, 178, 106, 0.18);
}

.hm-stats div { padding: 0 clamp(14px, 2.6vw, 36px); text-align: center; }

.hm-stats div + div { border-left: 1px solid rgba(216, 178, 106, 0.16); }

.hm-stats dt {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  color: #f0d69b;
  line-height: 1.1;
}

.hm-stats dd {
  margin: 6px 0 0;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  color: var(--parch-3);
}

/* 实时数据：在线人数 / 今日新注册 / 开服天数 */

.hm-live {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0 0;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--parch-3);
}

.hm-live[hidden] { display: none; }

.hm-live b {
  margin: 0 0.15em;
  font-weight: 600;
  color: #e6c98c;
  font-variant-numeric: tabular-nums;
}

.hm-live em {
  font-style: normal;
  margin: 0 12px;
  color: #6e6250;
}

.hm-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: #8b7f6b;
  box-shadow: 0 0 0 3px rgba(139, 127, 107, 0.12);
}

.hm-live-dot.on {
  background: #7fd08a;
  box-shadow: 0 0 0 3px rgba(127, 208, 138, 0.14), 0 0 10px rgba(127, 208, 138, 0.55);
  animation: hm-pulse 2.4s ease-in-out infinite;
}

@keyframes hm-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ---------------------------------------------------------------- 福利横条 */

.hm-gift {
  position: relative;
  z-index: 3;
  margin-top: -96px;
  padding-bottom: 10px;
}

.hm-gift-inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 34px;
  padding: 26px 34px;
  background:
    linear-gradient(180deg, rgba(34, 25, 17, 0.97), rgba(14, 10, 8, 0.985)),
    url("assets/panel-stone.jpg") center / cover no-repeat;
  background-blend-mode: multiply;
  border: 1px solid rgba(216, 178, 106, 0.38);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 235, 190, 0.08),
    inset 0 0 80px rgba(143, 29, 29, 0.10);
}

.hm-crest img {
  display: block;
  width: 150px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.75));
}

.hm-kicker {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 11px;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: #9a7a42;
  text-transform: uppercase;
}

.hm-gift-copy h2 {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f2e1bf;
}

.hm-gift-copy h2 b {
  color: #f6cf7f;
  font-size: 1.22em;
  text-shadow: 0 0 24px rgba(246, 207, 127, 0.45);
}

.hm-gift-copy p {
  margin: 0;
  color: var(--parch-2);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.hm-perks {
  display: flex;
  flex-wrap: wrap;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.hm-perks li {
  padding: 0 22px 0 0;
  margin-right: 22px;
  text-align: left;
  border-right: 1px solid rgba(216, 178, 106, 0.2);
}

.hm-perks li:last-child { padding-right: 0; margin-right: 0; border-right: 0; }

.hm-perks b {
  display: block;
  font-family: var(--font-display);
  font-size: 25px;
  color: #f0d69b;
  line-height: 1.2;
}

.hm-perks span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--parch-3);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- 章节标题 */

.hm-section { padding-top: 92px; }

.hm-head {
  margin-bottom: 44px;
  text-align: center;
}

.hm-head h2,
.hm-title-2 {
  position: relative;
  display: inline-block;
  margin: 12px 0 0;
  padding: 0 46px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  color: #f0dfbd;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.hm-head h2::before,
.hm-head h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a98243);
}

.hm-head h2::before { left: 0; }
.hm-head h2::after { right: 0; transform: scaleX(-1); }

.hm-head > p:last-child {
  margin: 14px auto 0;
  max-width: 640px;
  color: var(--parch-3);
  font-size: 15px;
  letter-spacing: 0.06em;
}

/* ------------------------------------------------------------------ 特色 */

.hm-feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hm-feat {
  position: relative;
  padding: 30px 28px 28px;
  background: linear-gradient(180deg, rgba(28, 21, 15, 0.88), rgba(12, 9, 7, 0.94));
  border: 1px solid rgba(216, 178, 106, 0.18);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hm-feat::before,
.hm-feat::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(216, 178, 106, 0.55);
  pointer-events: none;
  transition: border-color 0.2s;
}

.hm-feat::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hm-feat::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.hm-feat:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 178, 106, 0.5);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55), 0 0 30px rgba(216, 178, 106, 0.08);
}

.hm-feat:hover::before,
.hm-feat:hover::after { border-color: rgba(247, 230, 187, 0.8); }

.hm-feat .num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(216, 178, 106, 0.42);
}

.hm-feat .ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border: 1px solid rgba(216, 178, 106, 0.38);
  transform: rotate(45deg);
  background: radial-gradient(circle, rgba(216, 178, 106, 0.14), transparent 72%);
}

.hm-feat .ico svg {
  width: 26px;
  height: 26px;
  transform: rotate(-45deg);
}

.hm-feat h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ecd9b4;
}

.hm-feat p {
  margin: 0;
  color: var(--parch-3);
  font-size: 14px;
  line-height: 1.85;
}

/* ------------------------------------------------------------------ 地图 */

.hm-world {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(36px, 6vw, 74px);
  align-items: center;
}

.hm-world .hm-kicker { color: #9a7a42; }

.hm-title-2 {
  display: block;
  margin: 12px 0 0;
  padding: 0;
  text-align: left;
  letter-spacing: 0.12em;
}

.hm-world-copy > p {
  margin: 18px 0 0;
  max-width: 520px;
  color: var(--parch-3);
  font-size: 15px;
  line-height: 1.95;
}

.hm-routes {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hm-routes li {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(216, 178, 106, 0.16);
  color: var(--parch-2);
  font-size: 14px;
  line-height: 1.7;
}

.hm-routes li::before {
  content: "◆";
  flex: none;
  color: #a98243;
  font-size: 9px;
  line-height: 2.6;
}

.hm-world-copy .hm-btn { margin-top: 30px; }

.hm-world-map {
  position: relative;
  margin: 0;
  padding: 14px;
  background: linear-gradient(180deg, #241a12, #120d09);
  border: 1px solid rgba(216, 178, 106, 0.38);
  box-shadow:
    0 34px 74px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(216, 178, 106, 0.06),
    inset 0 0 50px rgba(0, 0, 0, 0.7);
}

.hm-world-map img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.92) contrast(1.03);
}

.hm-world-map::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(80, 50, 20, 0.55);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.hm-world-map figcaption {
  position: absolute;
  left: 50%;
  bottom: -11px;
  transform: translateX(-50%);
  padding: 2px 16px;
  background: #0b0806;
  font-family: var(--font-latin);
  font-size: 10.5px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: #a98243;
  border: 1px solid rgba(216, 178, 106, 0.32);
}

/* ------------------------------------------------------------------ 职业 */

.hm-class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 18px;
}

.hm-class {
  position: relative;
  padding: 26px 26px 24px;
  background: linear-gradient(180deg, rgba(26, 20, 15, 0.9), rgba(10, 8, 6, 0.95));
  border: 1px solid rgba(216, 178, 106, 0.16);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hm-class:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 178, 106, 0.48);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
}

.hm-class-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hm-emblem {
  display: grid;
  place-items: center;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(216, 178, 106, 0.4);
  background: radial-gradient(circle at 50% 32%, rgba(216, 178, 106, 0.2), transparent 70%);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.7);
}

.hm-emblem svg { width: 30px; height: 30px; }

.hm-class-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ecd9b4;
}

.hm-class-head span {
  display: block;
  margin-top: 3px;
  font-family: var(--font-latin);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: #8d7040;
}

.hm-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 8px 0;
  border-top: 1px solid rgba(216, 178, 106, 0.14);
  border-bottom: 1px solid rgba(216, 178, 106, 0.14);
}

.hm-path b {
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #d8b97f;
}

.hm-path i { font-style: normal; color: #6e5a33; }

.hm-class > p {
  margin: 14px 0 0;
  color: var(--parch-3);
  font-size: 13.5px;
  line-height: 1.85;
}

.hm-more { margin-top: 26px; text-align: center; }

.hm-more a,
.hm-link {
  color: #c9a765;
  font-size: 13.5px;
  letter-spacing: 0.18em;
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 178, 106, 0.3);
  padding-bottom: 3px;
}

.hm-more a:hover { color: var(--gold-hi); border-bottom-color: var(--gold-hi); }

/* ---------------------------------------------------------------- 大陆生灵 */

.hm-gallery {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 92px;
  padding: 64px 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
}

.hm-gallery .hm-head { margin-bottom: 36px; }

.hm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  width: min(1520px, 100%);
  margin: 0 auto;
}

.hm-tile {
  position: relative;
  margin: 0;
  height: 330px;
  overflow: hidden;
  background: #0a0806;
  border-top: 1px solid rgba(216, 178, 106, 0.18);
  border-bottom: 1px solid rgba(216, 178, 106, 0.18);
}

.hm-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) contrast(1.14) saturate(0.8) sepia(0.16);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.hm-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(74% 68% at 50% 36%, rgba(255, 178, 96, 0.16), transparent 62%),
    linear-gradient(165deg, rgba(96, 62, 26, 0.34), rgba(20, 13, 8, 0.55) 58%, rgba(6, 4, 3, 0.88));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hm-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  box-shadow: inset 0 0 100px 34px rgba(4, 3, 2, 0.88);
  pointer-events: none;
}

.hm-tile:nth-child(1) img { object-position: 34% 50%; }
.hm-tile:nth-child(2) img { object-position: 36% 50%; }
.hm-tile:nth-child(3) img { object-position: 35% 50%; }
.hm-tile:nth-child(4) img { object-position: 37% 50%; }

.hm-tile:hover img {
  transform: scale(1.05);
  filter: brightness(0.72) contrast(1.12) saturate(0.92) sepia(0.1);
}

.hm-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 40px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(4, 3, 2, 0.92));
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: #eedcb6;
}

.hm-tile figcaption small {
  display: block;
  margin-top: 5px;
  font-family: var(--font-latin);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: #8d7040;
}

/* ------------------------------------------------------------------ 资讯 */

.hm-news {
  border-top: 1px solid rgba(216, 178, 106, 0.2);
}

.hm-news .news-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 20px 8px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(216, 178, 106, 0.14);
  border-radius: 0;
  color: inherit;
  transition: background 0.18s;
}

.hm-news .news-item:hover {
  background: rgba(216, 178, 106, 0.05);
  text-decoration: none;
}

.hm-news .news-date {
  font-family: var(--font-latin);
  font-size: 13.5px;
  letter-spacing: 0.12em;
  color: #a98243;
}

.hm-news .news-title {
  display: block;
  font-size: 15.5px;
  letter-spacing: 0.05em;
  color: #e6d8bd;
  transition: color 0.18s;
}

.hm-news .news-item:hover .news-title { color: var(--gold-hi); }

.hm-news .news-summary {
  margin-top: 5px;
  font-size: 13px;
  color: #7f7260;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-news .tag {
  border: 1px solid rgba(216, 178, 106, 0.35);
  border-radius: 2px;
  background: transparent;
  color: #c9a765;
  letter-spacing: 0.14em;
}

.hm-news .news-empty {
  padding: 34px 8px;
  text-align: center;
  color: var(--parch-3);
}

/* ------------------------------------------------------------------ 三步 */

.hm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(216, 178, 106, 0.22);
  background: linear-gradient(180deg, rgba(24, 18, 13, 0.85), rgba(10, 8, 6, 0.92));
}

.hm-step {
  position: relative;
  padding: 36px 32px 34px;
}

.hm-step + .hm-step { border-left: 1px solid rgba(216, 178, 106, 0.16); }

.hm-step .rn {
  display: block;
  font-family: var(--font-latin);
  font-size: 46px;
  line-height: 1;
  color: rgba(216, 178, 106, 0.24);
}

.hm-step h3 {
  margin: 16px 0 10px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ecd9b4;
}

.hm-step p {
  margin: 0;
  color: var(--parch-3);
  font-size: 14px;
  line-height: 1.85;
}

.hm-step a {
  display: inline-block;
  margin-top: 18px;
  color: #c9a765;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.hm-step a:hover { color: var(--gold-hi); }

/* ------------------------------------------------------------------ 收尾 */

.hm-final {
  position: relative;
  margin-top: 96px;
  padding: 86px 0 92px;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(216, 178, 106, 0.26);
  border-bottom: 1px solid rgba(216, 178, 106, 0.26);
  background: url("assets/hero-storm.jpg") center 58% / cover no-repeat;
}

.hm-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 60% at 50% 100%, rgba(255, 110, 40, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(5, 3, 2, 0.88), rgba(5, 3, 2, 0.92));
}

.hm-final > .wrap { position: relative; }

.hm-final h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: #f2e1bf;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}

.hm-final > .wrap > p:not(.hm-kicker) {
  margin: 14px 0 0;
  color: var(--parch-2);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.hm-final .hm-actions { margin-top: 34px; }

/* --------------------------------------------------------------- 响应式 */

@media (max-width: 1100px) {
  .hm-gift-inner { grid-template-columns: 128px minmax(0, 1fr) auto; }
  .hm-crest img { width: 128px; }
}

@media (max-width: 1024px) {
  .hm-feats { grid-template-columns: repeat(2, 1fr); }
  .hm-world { grid-template-columns: 1fr; }
  .hm-world-map { max-width: 520px; margin: 0 auto; }
  .hm-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-tile { height: 280px; }
}

@media (max-width: 820px) {
  .hm-hero { min-height: 0; padding: 64px 0 150px; }
  .hm-gift { margin-top: -110px; }
  .hm-gift-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 24px 22px 26px; }
  .hm-crest img { width: 118px; }
  .hm-perks { justify-content: center; }
  .hm-steps { grid-template-columns: 1fr; }
  .hm-step + .hm-step { border-left: 0; border-top: 1px solid rgba(216, 178, 106, 0.16); }
  .hm-news .news-item { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .hm-news .news-date { grid-column: 1 / -1; font-size: 12px; }
  .hm-news .news-summary { white-space: normal; }
}

@media (max-width: 560px) {
  .hm-hero { padding: 52px 0 160px; }
  .hm-mu { letter-spacing: 0.4em; }
  .hm-sub { font-size: 14px; line-height: 1.8; }
  .hm-actions { width: 100%; }
  .hm-hero .hm-btn, .hm-final .hm-btn { width: 100%; max-width: 340px; }
  .hm-stats { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .hm-stats div { border-left: 0; padding: 0 8px; }
  .hm-feats { grid-template-columns: 1fr; }
  .hm-class-grid { grid-template-columns: 1fr; }
  .hm-gallery-grid { grid-template-columns: 1fr; }
  .hm-tile { height: 240px; }
  .hm-head h2 { padding: 0 30px; }
  .hm-head h2::before, .hm-head h2::after { width: 18px; }
  .hm-section { padding-top: 72px; }
  .hm-final { margin-top: 76px; padding: 64px 0 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-title { animation: none; }
  .hm-live-dot.on { animation: none; }
}
