/* ============================================
   降龙沉默 · 官网主样式
   沉默复古传奇风：玄黑底 + 鎏金 + 朱砂红
   ============================================ */
:root {
  --bg: #0b0a09;
  --bg-2: #12100d;
  --panel: rgba(24, 20, 15, 0.82);
  --gold: #d8b06a;
  --gold-hi: #f4dc9a;
  --gold-dim: #8a6f42;
  --red: #a3212b;
  --red-hi: #d84a3f;
  --text: #e8dcc3;
  --text-dim: #9b8d70;
  --border: rgba(216, 176, 106, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "微软雅黑", "STKaiti", "KaiTi", serif;
  overflow-x: hidden;
}

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

/* ---------- 顶部导航 ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: linear-gradient(180deg, rgba(8, 7, 5, 0.92), rgba(8, 7, 5, 0.65));
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.logo {
  font-family: "STKaiti", "KaiTi", "SimSun", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 8px;
  background: linear-gradient(180deg, #f7e7b0 10%, #d8b06a 45%, #8a5f24 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(216, 176, 106, 0.25);
}

.nav { display: flex; gap: 6px; }
.nav a {
  display: block;
  padding: 8px 18px;
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--text-dim);
  border: 1px solid transparent;
  transition: all 0.25s;
}
.nav a:hover {
  color: var(--gold-hi);
  border-color: var(--border);
  background: rgba(216, 176, 106, 0.08);
  text-shadow: 0 0 8px rgba(244, 220, 154, 0.6);
}
.nav a.nav-cta {
  color: #1a1206;
  background: linear-gradient(180deg, #f0d896, #c89a4e);
  border-color: #f0d896;
  font-weight: 700;
}
.nav a.nav-cta:hover { filter: brightness(1.1); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: -3%;
  background: url("../static/hero-bg.jpg") center 30% / cover no-repeat;
  animation: kenburns 26s ease-in-out infinite alternate;
  filter: saturate(1.05);
}
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.07) translateY(-1.5%); }
}
.embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.embers i {
  position: absolute;
  bottom: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd98a 0%, rgba(216, 140, 60, 0.6) 60%, transparent 100%);
  opacity: 0;
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { opacity: 0; transform: translateY(0) translateX(0); }
  12%  { opacity: 0.9; }
  80%  { opacity: 0.35; }
  100% { opacity: 0; transform: translateY(-78vh) translateX(6vw); }
}
.hero .veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at center, rgba(11, 10, 9, 0.05) 0%, rgba(11, 10, 9, 0.82) 100%),
    linear-gradient(180deg, rgba(11, 10, 9, 0.6) 0%, rgba(11, 10, 9, 0) 32%, rgba(11, 10, 9, 0) 62%, var(--bg) 100%);
}
.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
}
.hero-title {
  position: relative;
  display: inline-block;
  font-family: "STKaiti", "KaiTi", "SimSun", serif;
  font-size: clamp(64px, 9.5vw, 128px);
  font-weight: 700;
  letter-spacing: 18px;
  text-indent: 18px;
  line-height: 1.15;
  background: linear-gradient(180deg, #fdf3cd 5%, #e9c87e 40%, #a5762c 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 30px rgba(216, 176, 106, 0.3));
  animation: titleGlow 3.5s ease-in-out infinite alternate;
}
@keyframes titleGlow {
  from { filter: drop-shadow(0 4px 14px rgba(0,0,0,.85)) drop-shadow(0 0 18px rgba(216,176,106,.22)); }
  to   { filter: drop-shadow(0 4px 14px rgba(0,0,0,.85)) drop-shadow(0 0 34px rgba(244,220,154,.45)); }
}
.hero-title .seal {
  position: absolute;
  right: -86px;
  top: -8px;
  width: 74px;
  height: 74px;
  padding: 8px 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 2px;
  text-indent: 0;
  color: #f3e2c0;
  background: linear-gradient(160deg, #b3262c, #7e1a20);
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(243, 226, 192, 0.5) inset, 0 6px 18px rgba(0, 0, 0, 0.6);
  transform: rotate(6deg);
  -webkit-background-clip: initial;
  background-clip: initial;
  filter: none;
  animation: none;
}
.hero-ribbon {
  margin: 26px auto 0;
  display: flex;
  justify-content: center;
}
.hero-ribbon span {
  position: relative;
  display: inline-block;
  padding: 9px 46px;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 24px;
  letter-spacing: 8px;
  color: #f6e7c8;
  background: linear-gradient(180deg, #b3262c, #7e1a20);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.hero-sub {
  margin-top: 24px;
  font-size: 20px;
  letter-spacing: 8px;
  color: #e6cf9d;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.hero-sub .sep { color: var(--red-hi); margin: 0 10px; }
.hero-notice {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 10px 26px 10px 12px;
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--gold-hi);
  background: rgba(10, 8, 5, 0.72);
  border: 1px solid var(--border);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}
.hero-notice .tag {
  padding: 4px 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #f6e7c8;
  background: linear-gradient(180deg, #b3262c, #7e1a20);
}
.hero-notice em { font-style: normal; color: var(--red-hi); }
.hero-btns {
  margin-top: 44px;
  display: flex;
  gap: 26px;
  justify-content: center;
}
.btn {
  display: inline-block;
  min-width: 210px;
  padding: 15px 38px;
  font-size: 20px;
  letter-spacing: 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-gold {
  color: #1a1206;
  font-weight: 700;
  background: linear-gradient(180deg, #f4dc9a, #c89a4e);
  border: 1px solid #f7e7b0;
  box-shadow: 0 0 24px rgba(216, 176, 106, 0.35), inset 0 0 12px rgba(255, 255, 255, 0.25);
}
.btn-gold:hover { filter: brightness(1.12); transform: translateY(-2px); }
.btn-ghost {
  color: var(--gold);
  background: rgba(20, 15, 8, 0.55);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--gold-hi);
  border-color: var(--gold);
  background: rgba(216, 176, 106, 0.12);
}
.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--text-dim);
  animation: float 2.2s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ---------- 通用区块 ---------- */
.section {
  position: relative;
  padding: 96px 0 110px;
}
.section.alt { background: var(--bg-2); }
.wrap { width: min(1280px, 92vw); margin: 0 auto; }

.sec-head { text-align: center; margin-bottom: 56px; }
.sec-title {
  font-family: "STKaiti", "KaiTi", "SimSun", serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 14px;
  color: var(--gold-hi);
  text-shadow: 0 0 20px rgba(216, 176, 106, 0.3);
}
.sec-title .accent { color: var(--red-hi); }
.sec-line {
  width: 320px;
  height: 14px;
  margin: 18px auto 0;
  position: relative;
}
.sec-line::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.sec-line::after {
  content: "◆";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -54%);
  font-size: 12px;
  color: var(--red-hi);
}
.sec-desc {
  margin-top: 18px;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--text-dim);
}

/* ---------- 版本特色 ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  position: relative;
  padding: 40px 26px 34px;
  background: var(--panel);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(216, 176, 106, 0.12);
}
.feature:hover::before { opacity: 1; }
.feature .icon {
  width: 74px; height: 74px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 34px;
  color: var(--gold-hi);
  border: 1px solid var(--border);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(216, 176, 106, 0.18), rgba(0, 0, 0, 0.4));
  text-shadow: 0 0 12px rgba(244, 220, 154, 0.6);
}
.feature h3 {
  font-size: 21px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 12px;
}
.feature p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* ---------- 神装 / BOSS / 截图 图鉴 ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.gallery.boss { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gallery.shot { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.pic-item {
  position: relative;
  border: 1px solid var(--border);
  background: #050505;
  cursor: zoom-in;
  overflow: hidden;
  transition: all 0.3s;
}
.pic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.pic-item:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.65), 0 0 18px rgba(216, 176, 106, 0.15);
}
.pic-item:hover img { transform: scale(1.05); }
.pic-item .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--gold-hi);
  background: linear-gradient(180deg, transparent, rgba(5, 4, 3, 0.9));
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s;
}
.pic-item:hover .cap { opacity: 1; transform: translateY(0); }
.gallery.shot .pic-item { aspect-ratio: 16 / 10; }
.gallery.boss .pic-item { aspect-ratio: 2 / 1; }
.gallery.zb .pic-item { aspect-ratio: 1 / 1; }

/* ---------- 滚动入场 ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- 底部 ---------- */
footer {
  border-top: 1px solid var(--border);
  background: #070605;
  padding: 46px 20px 40px;
  text-align: center;
}
footer .f-logo {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 24px;
  letter-spacing: 8px;
  color: var(--gold);
  margin-bottom: 18px;
}
footer p {
  font-size: 13px;
  line-height: 2;
  color: #6f6249;
  letter-spacing: 2px;
}
footer p.warn { color: #8a6f42; }

/* ---------- 灯箱 ---------- */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 3, 2, 0.9);
  padding: 40px;
  cursor: zoom-out;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 0 60px rgba(216, 176, 106, 0.2);
}
#lightbox .close {
  position: absolute;
  top: 22px; right: 34px;
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
}

/* ---------- 下载 / 充值 内页 ---------- */
.page-hero {
  padding: 150px 20px 60px;
  text-align: center;
  background: linear-gradient(180deg, #14100a, var(--bg));
}
.page-hero .hero-title { font-size: clamp(44px, 6vw, 72px); letter-spacing: 16px; text-indent: 16px; }

.notice-panel {
  width: min(860px, 92vw);
  margin: 0 auto 30px;
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 34px 40px;
}
.notice-panel legend,
.notice-panel .ptitle {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 24px;
  letter-spacing: 6px;
  color: var(--gold-hi);
  text-align: center;
  margin-bottom: 22px;
  text-shadow: 0 0 14px rgba(216, 176, 106, 0.3);
}
.notice-panel ol { padding-left: 4px; }
.notice-panel li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 2.2;
  color: var(--text-dim);
  letter-spacing: 1px;
}
.notice-panel li::before {
  content: "◆";
  position: absolute;
  left: 0;
  font-size: 11px;
  color: var(--red-hi);
  top: 2px;
}
.link-grid {
  width: min(860px, 92vw);
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.link-grid a {
  display: block;
  padding: 15px 0;
  text-align: center;
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--gold);
  border: 1px solid var(--border);
  background: var(--panel);
  transition: all 0.25s;
}
.link-grid a:hover {
  color: #1a1206;
  background: linear-gradient(180deg, #f0d896, #c89a4e);
  border-color: #f0d896;
}
.link-grid a.dim { color: var(--text-dim); }
.link-grid a.dim:hover { color: #1a1206; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .topbar { padding: 0 20px; }
  .nav a { padding: 8px 10px; letter-spacing: 1px; }
}
@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-title .seal { right: -10px; top: -46px; width: 56px; height: 56px; font-size: 19px; }
  .hero-ribbon span { font-size: 17px; letter-spacing: 4px; padding: 8px 30px; }
  .hero-sub { font-size: 14px; letter-spacing: 4px; }
  .hero-notice { font-size: 13px; letter-spacing: 2px; }
}
