/* 承天传奇官网 · 桌面端
   配色取自 9-16/banner.png：夜色山峦 + 火光 + 金饰。 */

:root {
  --ink: #0a0705;
  --ink-soft: #100b07;
  --ink-panel: #150e08;
  --line: rgba(242, 201, 107, 0.16);
  --line-strong: rgba(242, 201, 107, 0.4);
  --gold: #f2c96b;
  --gold-deep: #c9902c;
  --fire: #ff7a2f;
  --text: #efe4d3;
  --muted: #a1947f;
  --wrap: 1180px;
  --head-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.75 "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- header */

.head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--head-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(8, 5, 3, 0.94), rgba(8, 5, 3, 0.68));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.brand__name {
  font-family: "STZhongsong", "Songti SC", "SimSun", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: linear-gradient(180deg, #ffe9ab, #f3c45c 55%, #bb7a1c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand__domain {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(242, 201, 107, 0.6);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #d9cdb8;
}

.nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
  transition: width 0.3s;
}

.nav a:hover {
  color: var(--gold);
}

.nav a:hover::after {
  width: 100%;
}

.head__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2a1600;
  background: linear-gradient(180deg, #ffe190, #e2a52f 55%, #b8741a);
  box-shadow: 0 8px 24px -12px rgba(255, 170, 60, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.head__cta:hover {
  filter: brightness(1.06);
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--head-h);
  background:
    radial-gradient(1100px 560px at 50% 4%, rgba(255, 138, 40, 0.22), transparent 62%),
    radial-gradient(900px 520px at 12% 82%, rgba(180, 42, 12, 0.18), transparent 66%),
    var(--ink);
}

.hero__stage {
  position: relative;
}

.hero__art {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, rgba(0, 0, 0, 0.72) 56%, rgba(0, 0, 0, 0.26) 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 30%, rgba(0, 0, 0, 0.72) 56%, rgba(0, 0, 0, 0.26) 80%, transparent 100%);
}

/* 压暗画面上沿与下沿，保证标题、按钮在闪电高光上依然清晰。 */
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 5, 3, 0.62) 0%,
    rgba(8, 5, 3, 0.14) 28%,
    rgba(8, 5, 3, 0.5) 64%,
    rgba(10, 7, 5, 0.96) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(150px, 12.5vw, 330px) 0 96px;
}

.hero__eyebrow {
  display: inline-block;
  padding: 7px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: #f0d9a6;
  background: rgba(10, 6, 3, 0.55);
}

.hero__title {
  margin: 26px 0 18px;
  font-family: "STZhongsong", "Songti SC", "SimSun", serif;
  font-size: clamp(58px, 7.4vw, 108px);
  line-height: 1.05;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  background: linear-gradient(180deg, #fff2c8 4%, #f6cd6c 44%, #d1932a 68%, #ffe8ad 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 26px rgba(255, 120, 30, 0.35));
}

.hero__sub {
  font-size: clamp(16px, 1.5vw, 20px);
  letter-spacing: 0.3em;
  color: #e5cf9f;
}

.hero__lead {
  max-width: 760px;
  margin: 20px auto 0;
  font-size: 16px;
  line-height: 2;
  color: #bfb09a;
}

.hero__tips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 0;
}

.hero__tips li {
  padding: 8px 18px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #e9d7b3;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 40px 0 0;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 214px;
  padding: 13px 30px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
}

.btn small {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.72;
}

.btn--gold {
  color: #2a1600;
  background: linear-gradient(180deg, #ffe190, #e2a52f 55%, #b8741a);
  box-shadow: 0 14px 34px -16px rgba(255, 170, 60, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -16px rgba(255, 180, 70, 1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn--ghost {
  color: #f0dcb4;
  border-color: var(--line-strong);
  background: rgba(12, 8, 5, 0.6);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(242, 201, 107, 0.12);
}

/* 中段品牌横幅：9-16/banner.png 的下半幅（军队 + 承天传奇 LOGO + 火光台阶）。 */
.brandband {
  position: relative;
  background: var(--ink);
}

.brandband img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 76%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 76%, transparent 100%);
}

/* --------------------------------------------------------------- sections */

.section {
  position: relative;
  padding: 96px 0;
}

.section--soft {
  background: linear-gradient(180deg, var(--ink), var(--ink-soft) 45%, var(--ink));
}

.section--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(760px 300px at 50% 0, rgba(255, 140, 40, 0.12), transparent 70%);
  pointer-events: none;
}

.sec-head {
  position: relative;
  margin-bottom: 56px;
  text-align: center;
}

.sec-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.sec-title {
  margin: 14px 0 14px;
  font-family: "STZhongsong", "Songti SC", "SimSun", serif;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: #f8ecd4;
}

.sec-title::after {
  content: "";
  display: block;
  width: 68px;
  height: 2px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.sec-sub {
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.06em;
}

/* ----------------------------------------------------------------- intro */

/* 纯净承诺：无会员、无赞助、无累充…… 一排短标签。 */
.promise {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(120deg, rgba(255, 190, 90, 0.09), rgba(255, 255, 255, 0.015));
}

.promise li {
  position: relative;
  padding: 6px 16px 6px 26px;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #f0dcb4;
  border: 1px solid rgba(242, 201, 107, 0.28);
  border-radius: 999px;
  background: rgba(10, 7, 5, 0.6);
}

.promise li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe190, #d99a26);
  box-shadow: 0 0 8px rgba(255, 190, 90, 0.7);
}

.intro {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 56px;
  align-items: start;
}

.intro__lead {
  padding-left: 22px;
  border-left: 3px solid rgba(242, 201, 107, 0.5);
  font-size: 20px;
  line-height: 1.95;
  color: #ecdfc6;
}

.intro__body p {
  position: relative;
  margin-top: 18px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 2;
}

.intro__body p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold-deep);
  transform: rotate(45deg);
}

.points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.point {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(255, 190, 90, 0.08), rgba(255, 255, 255, 0.015));
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.point:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 34px -22px rgba(255, 150, 50, 0.8);
}

.point__no {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: "STZhongsong", "Songti SC", serif;
  font-size: 24px;
  font-weight: 700;
  color: rgba(242, 201, 107, 0.24);
}

.point h3 {
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.point p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

/* --------------------------------------------------------------- gallery */

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

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #0c0805;
  cursor: zoom-in;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.shot:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 40px -24px rgba(255, 150, 50, 0.9);
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.shot:hover img {
  transform: scale(1.06);
}

.shot__mask {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 16px 14px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #e9d7b4;
  text-align: left;
  background: linear-gradient(transparent, rgba(6, 4, 2, 0.9));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.shot:hover .shot__mask {
  opacity: 1;
  transform: none;
}

/* -------------------------------------------------------------- download */

.dl-grid {
  display: flex;
  justify-content: center;
}

.dl-card {
  display: grid;
  gap: 14px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(255, 190, 90, 0.07), rgba(255, 255, 255, 0.015));
  transition: border-color 0.3s, transform 0.3s;
}

.dl-card--single {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  width: min(720px, 100%);
}

.dl-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.dl-card__ico {
  width: 44px;
  height: 44px;
  color: var(--gold);
}

.dl-card h3 {
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #f4e6cb;
}

.dl-card p {
  font-size: 13px;
  color: var(--muted);
}

.dl-card .btn {
  min-width: 168px;
  padding: 13px 26px;
  font-size: 15px;
}

.dl-notice {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------------------------------------------------------------- footer */

.foot {
  padding: 52px 0 34px;
  border-top: 1px solid var(--line);
  background: #070504;
  color: #8d8172;
  font-size: 13px;
  line-height: 2.1;
}

.foot__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(242, 201, 107, 0.1);
}

.foot__brand {
  font-family: "STZhongsong", "Songti SC", serif;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: #d8c39a;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.foot__links a:hover {
  color: var(--gold);
}

.foot__body {
  margin-top: 20px;
}

/* 授权证书：下载区之后的独立大区块，图片留空则整块不渲染。 */
.auth {
  max-width: 900px;
  margin: 0 auto;
}

.auth__frame {
  display: block;
  position: relative;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(255, 190, 90, 0.1), rgba(255, 255, 255, 0.02)),
    #0d0906;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(242, 201, 107, 0.08);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.auth__frame:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(255, 190, 90, 0.12);
}

.auth__frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #0b0705;
}

.auth__zoom {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 7px 15px;
  border: 1px solid rgba(242, 201, 107, 0.45);
  border-radius: 999px;
  background: rgba(7, 5, 4, 0.72);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
  backdrop-filter: blur(4px);
}

/* -------------------------------------------------------------- lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 5vh 4vw;
  background: rgba(4, 3, 2, 0.94);
  backdrop-filter: blur(6px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox__stage {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lightbox img {
  width: auto;
  height: min(78vh, 820px);
  max-width: 82vw;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #0b0705;
}

.lightbox__nav {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(16, 11, 7, 0.8);
  color: var(--gold);
  font-size: 20px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.lightbox__nav:hover {
  background: rgba(242, 201, 107, 0.18);
  transform: scale(1.06);
}

.lightbox__close {
  position: absolute;
  top: 26px;
  right: 30px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(16, 11, 7, 0.8);
  color: #f0dcb4;
  font-size: 20px;
  cursor: pointer;
}

.lightbox__count {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(242, 201, 107, 0.75);
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 36px;
  }

}

@media (max-width: 820px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 620px) {
  .section {
    padding: 68px 0;
  }

  .dl-card--single {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    text-align: center;
  }

  .hero__content {
    padding-top: 62px;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
