/* ============================================================
   王朝更替 · 官方网站样式
   基调：黑金 · 取自游戏结算图（暗底 #141210 + 描金 #C9A45C）
   ============================================================ */

:root {
  --bg-0: #100F0D;
  --bg-1: #16140F;
  --bg-2: #1D1A13;
  --bg-3: #272219;

  --line: rgba(201, 164, 92, .16);
  --line-strong: rgba(201, 164, 92, .4);

  --text-0: #F5EFE0;
  --text-1: #CFC5AC;
  --text-2: #9A9078;
  --text-3: #6B6353;

  /* 描金主色 */
  --gold: #C9A45C;
  --gold-2: #A5822F;
  --gold-soft: rgba(201, 164, 92, .12);
  --gold-glow: rgba(201, 164, 92, .38);

  /* 赤 —— 危险/归零 */
  --red: #C0655A;
  --red-soft: rgba(192, 101, 90, .14);

  --radius: 12px;
  --radius-l: 18px;
  --shadow: 0 22px 54px -22px rgba(0, 0, 0, .85);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 70px;

  --font-serif: "KaiTi", "STKaiti", "楷体", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-sans);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
figure { margin: 0; }

::selection { background: var(--gold); color: #1a1611; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold-2), var(--gold));
  border-radius: 10px;
  border: 2px solid var(--bg-0);
}

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

/* ---------- 入场动画 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .05em;
  transition: all .3s var(--ease);
  border: 1px solid transparent;
}
.btn__icon { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: linear-gradient(140deg, var(--gold), #E4CB8E 50%, var(--gold-2));
  color: #221a08;
  box-shadow: 0 8px 26px -10px var(--gold-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px var(--gold-glow);
  filter: brightness(1.06);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text-0);
  background: rgba(245, 239, 224, .04);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -14px var(--gold-glow);
}

.btn--lg { padding: 15px 32px; font-size: 16px; }

/* ============================================================
   导航
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(16, 15, 13, .88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav__inner {
  height: 100%;
  width: min(1280px, 95vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* 返回工作室 */
.nav__back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-2);
  padding: 7px 14px 7px 10px;
  border-radius: 100px;
  border: 1px solid var(--line);
  transition: all .3s var(--ease);
  flex: none;
  white-space: nowrap;
}
.nav__back svg { width: 16px; height: 16px; flex: none; }
.nav__back:hover {
  color: var(--gold);
  border-color: var(--line-strong);
  background: var(--gold-soft);
}

.nav__logo { display: flex; align-items: center; gap: 11px; }
.nav__logo-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 8px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: #221a08;
  background: linear-gradient(140deg, var(--gold), var(--gold-2));
  box-shadow: 0 6px 20px -8px var(--gold-glow);
  flex: none;
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-0);
  line-height: 1.15;
  letter-spacing: .12em;
}
.nav__logo-text em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .12em;
  opacity: .8;
  margin-top: 1px;
}

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__link {
  font-size: 14px;
  color: var(--text-2);
  position: relative;
  padding: 4px 0;
  transition: color .25s;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text-0); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span {
  width: 22px; height: 2px;
  background: var(--text-0);
  border-radius: 2px;
  transition: .3s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   首屏
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 150px 0 110px;
}

.hero__bg {
  position: absolute;
  inset: -4%;
  background: url("../img/scenes/ended.jpg") center 42% / cover no-repeat;
  animation: heroDrift 32s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translateY(-8px); }
  to { transform: scale(1.09) translateY(10px); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 76% 62% at 50% 44%, rgba(16, 15, 13, .5) 0%, rgba(16, 15, 13, .8) 56%, rgba(16, 15, 13, .96) 100%),
    linear-gradient(180deg, rgba(16, 15, 13, .86) 0%, rgba(16, 15, 13, .42) 32%, rgba(16, 15, 13, .68) 74%, var(--bg-0) 100%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: .55;
}

.hero__inner { position: relative; z-index: 2; width: min(900px, 92vw); }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: rgba(16, 15, 13, .55);
  backdrop-filter: blur(10px);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--text-1);
  margin-bottom: 32px;
}
.hero__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 164, 92, .5); }
  70% { box-shadow: 0 0 0 9px rgba(201, 164, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 164, 92, 0); }
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 10.5vw, 124px);
  font-weight: 700;
  letter-spacing: .16em;
  text-indent: .16em;
  line-height: 1.06;
  margin-bottom: 28px;
  background: linear-gradient(178deg, #FFF6DC 6%, var(--gold) 48%, var(--gold-2) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 32px rgba(201, 164, 92, .45)) drop-shadow(0 1px 1px rgba(0, 0, 0, .7));
}

.hero__slogan {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--text-0);
  letter-spacing: .2em;
  text-indent: .2em;
  margin-bottom: 20px;
}

.hero__desc {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 2.05;
  margin-bottom: 42px;
}

.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 62px; }

.hero__stats {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 80px);
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero__stat { text-align: center; }
.hero__stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .08em;
  margin-bottom: 2px;
}
.hero__stat span { font-size: 12.5px; color: var(--text-3); letter-spacing: .1em; }

.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  z-index: 2;
}
.hero__scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, transparent, var(--gold));
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -44px; left: 0;
  width: 100%; height: 44px;
  background: linear-gradient(180deg, transparent, var(--gold-2));
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -44px; }
  100% { top: 44px; }
}
.hero__scroll-text { font-size: 10px; letter-spacing: .34em; color: var(--text-3); }

/* ============================================================
   通用区块
   ============================================================ */
.section { padding: clamp(76px, 9.5vw, 124px) 0; position: relative; }

.sec-head { text-align: center; margin-bottom: clamp(42px, 6vw, 66px); }
.sec-head__tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .4em;
  text-indent: .4em;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: .9;
}
.sec-head__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 700;
  color: var(--text-0);
  letter-spacing: .12em;
  margin-bottom: 16px;
}
.sec-head__sub {
  font-size: 15px;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.95;
}

/* ============================================================
   关于游戏
   ============================================================ */
.about { background: linear-gradient(180deg, var(--bg-0), var(--bg-1) 55%, var(--bg-0)); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}

.about__art {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about__art img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  transition: transform .8s var(--ease);
}
.about__art:hover img { transform: scale(1.04); }
.about__art-frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 164, 92, .4);
  border-radius: 8px;
  pointer-events: none;
}
.about__art-frame::before,
.about__art-frame::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border-color: var(--gold);
  border-style: solid;
}
.about__art-frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.about__art-frame::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.about__lead {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.3vw, 23px);
  color: var(--text-0);
  line-height: 1.9;
  margin-bottom: 20px;
  letter-spacing: .03em;
}
.about__lead b { color: var(--gold); font-weight: 700; }

.about__text p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 2.05;
  margin-bottom: 16px;
}
.about__text p b { color: var(--text-0); font-weight: 600; }

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about__tags span {
  font-size: 12.5px;
  padding: 5px 14px;
  border-radius: 4px;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(201, 164, 92, .26);
  letter-spacing: .06em;
}

/* ============================================================
   四条命脉
   ============================================================ */
.rules { background: var(--bg-0); }

.rules__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.rule {
  padding: 28px 28px 30px;
  border-radius: var(--radius);
  background: linear-gradient(168deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s;
}
.rule:hover { transform: translateY(-6px); border-color: var(--line-strong); }

.rule__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.rule__name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .16em;
}
.rule__en {
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--text-3);
}

/* 资源条示意：中间安全区 + 两端危险 */
.rule__bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(245, 239, 224, .07);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.rule__track {
  position: absolute;
  left: 20%; right: 20%;
  top: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(192, 101, 90, .5), var(--gold) 30%, var(--gold) 70%, rgba(192, 101, 90, .5));
  border-radius: 4px;
}

.rule__ends { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rule__end b {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text-1);
  margin-bottom: 5px;
  padding: 2px 9px;
  border-radius: 4px;
  background: rgba(245, 239, 224, .06);
  border: 1px solid var(--line);
}
.rule__end p { font-size: 13px; color: var(--text-2); line-height: 1.85; }
.rule__end--over b { color: var(--gold); background: var(--gold-soft); border-color: rgba(201, 164, 92, .3); }

.rules__note {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--text-2);
  line-height: 2;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background: rgba(201, 164, 92, .04);
}

/* ============================================================
   玩法特色
   ============================================================ */
.features { background: linear-gradient(180deg, var(--bg-0), var(--bg-1) 45%, var(--bg-0)); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feat {
  position: relative;
  padding: 30px 24px 32px;
  border-radius: var(--radius);
  background: linear-gradient(168deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s;
  overflow: hidden;
}
.feat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.feat:hover { transform: translateY(-7px); border-color: var(--line-strong); }
.feat:hover::before { transform: scaleX(1); }

.feat__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 10px;
  margin-bottom: 18px;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(201, 164, 92, .22);
  transition: transform .4s var(--ease);
}
.feat:hover .feat__icon { transform: scale(1.08) rotate(-4deg); }
.feat__icon svg { width: 25px; height: 25px; }

.feat h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 10px;
  letter-spacing: .06em;
}
.feat p { font-size: 13.5px; color: var(--text-2); line-height: 1.92; }

/* ============================================================
   卡面 / 画面 滚筒
   ============================================================ */
.gallery, .shots { background: var(--bg-0); }
.gallery { padding-bottom: clamp(56px, 7vw, 88px); }
.shots { padding-top: 0; }
.gallery .container, .shots .container { margin-bottom: clamp(34px, 5vw, 52px); }

.gallery__rail, .shots__rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px max(4vw, calc((100vw - 1180px) / 2)) 22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  cursor: grab;
}
.gallery__rail::-webkit-scrollbar, .shots__rail::-webkit-scrollbar { height: 6px; }
.gallery__rail::-webkit-scrollbar-thumb, .shots__rail::-webkit-scrollbar-thumb {
  background: var(--bg-3); border-radius: 4px;
}
.gallery__rail.is-dragging, .shots__rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.gcard, .shot {
  flex: none;
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.gcard:hover, .shot:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px -26px rgba(201, 164, 92, .32);
}

/* 卡面：竖构图 */
.gcard { width: clamp(230px, 26vw, 320px); }
.gcard img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-3);
}

/* 画面：结算图是竖版长图 */
.shot { width: clamp(260px, 30vw, 380px); }
.shot img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-3);
}

.gcard figcaption, .shot figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-2);
  text-align: center;
  letter-spacing: .05em;
  border-top: 1px solid var(--line);
}

.gallery__hint, .shots__hint {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3);
  letter-spacing: .14em;
}
.shots__hint { margin-top: 6px; }

/* ============================================================
   开发中
   ============================================================ */
.status { position: relative; overflow: hidden; }
.status__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(201, 164, 92, .16), transparent 72%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
}
.status .container { position: relative; z-index: 2; }

.status__inner { text-align: center; max-width: 760px; margin: 0 auto; }
.status__tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .38em;
  text-indent: .38em;
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: var(--gold-soft);
  margin-bottom: 22px;
}
.status__title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 700;
  color: var(--text-0);
  letter-spacing: .14em;
  margin-bottom: 18px;
}
.status__desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 2.05;
  margin-bottom: 34px;
}

/* ============================================================
   页脚
   ============================================================ */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  padding: 52px 0 38px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer__brand { display: flex; align-items: center; gap: 14px; text-align: left; }
.footer__brand b {
  display: block;
  font-family: var(--font-serif);
  color: var(--text-0);
  font-size: 19px;
  letter-spacing: .12em;
}
.footer__brand p { font-size: 13px; color: var(--text-3); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer__links a { font-size: 13.5px; color: var(--text-2); transition: color .3s; }
.footer__links a:hover { color: var(--gold); }
.footer__copy { font-size: 12.5px; color: var(--text-3); }

/* ============================================================
   灯箱
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 28px 70px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 5, .92);
  backdrop-filter: blur(10px);
}

.lightbox__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-height: 100%;
  transform: scale(.96);
  transition: transform .4s var(--ease);
}
.lightbox.is-open .lightbox__stage { transform: none; }

.lightbox__stage img {
  max-width: min(560px, 78vw);
  max-height: 78vh;
  width: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  object-fit: contain;
}
.lightbox__cap {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text-1);
  letter-spacing: .1em;
}

.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  z-index: 5;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  color: var(--text-1);
  background: rgba(245, 239, 224, .07);
  border: 1px solid var(--line);
  transition: all .3s;
}
.lightbox__close:hover { background: var(--gold); color: #221a08; border-color: transparent; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  color: var(--text-1);
  background: rgba(245, 239, 224, .07);
  border: 1px solid var(--line);
  transition: all .3s;
}
.lightbox__nav:hover { background: var(--gold); color: #221a08; border-color: transparent; }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  .nav__links { gap: 18px; }
  .nav__link { font-size: 13.5px; }
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; gap: 30px; }
  .about__art img { aspect-ratio: 16 / 11; }

  .rules__grid { grid-template-columns: 1fr; }

  /* 移动端导航折叠 */
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 26px;
    background: rgba(16, 15, 13, .98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform .42s var(--ease);
  }
  .nav__links.is-open { transform: none; }
  .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav__toggle { display: flex; }
  .nav__logo-text em { display: none; }
}

@media (max-width: 620px) {
  .features__grid { grid-template-columns: 1fr; }
  .nav__back span { display: none; }
  .nav__back { padding: 8px; }
  .hero__desc br { display: none; }
  .hero__stats { gap: 26px; }
  .hero__stat b { font-size: 22px; }
  .rule__ends { grid-template-columns: 1fr; gap: 12px; }
  .gcard { width: 70vw; }
  .shot { width: 72vw; }
  .btn--lg { padding: 13px 26px; font-size: 15px; }
  .lightbox { padding: 20px 12px; }
  .lightbox__nav { width: 40px; height: 40px; font-size: 24px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
