@charset "utf-8";

/* ============================================================
   剑影长歌 · 官网模板
   设计变量集中在这里，换风格只改这一段
   ============================================================ */
:root {
  --gold: #e6c078;
  --gold-bright: #ffe9b4;
  --gold-deep: #a8763a;
  --ink: #07080b;
  --ink-2: #0f1116;
  --ink-3: #171a21;
  --panel: rgba(18, 20, 26, 0.86);
  --line: rgba(230, 192, 120, 0.26);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #ded7c9;
  --text-dim: #928d84;
  --wrap: 1200px;
  --header-h: 82px;
  --font-title: "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "Songti SC", "SimSun", serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
}

/* ============================================================
   基础
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* 通用按钮 ------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 168px;
  height: 52px;
  padding: 0 30px;
  font-size: 17px;
  letter-spacing: 2px;
  color: #1b1409;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 46%, var(--gold-deep) 100%);
  border-radius: 2px;
  box-shadow: 0 6px 22px rgba(230, 192, 120, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 30px rgba(230, 192, 120, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn--ghost {
  color: var(--gold-bright);
  background: rgba(10, 11, 15, 0.55);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 24px rgba(230, 192, 120, 0.1);
}

.btn--ghost:hover {
  background: rgba(230, 192, 120, 0.14);
  box-shadow: inset 0 0 24px rgba(230, 192, 120, 0.22), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.btn--sm {
  min-width: 0;
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  letter-spacing: 1px;
}

/* 区块标题 ------------------------------------------------ */
.sec {
  position: relative;
  padding: 96px 0;
}

.sec--alt {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 40%, var(--ink) 100%);
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
}

.sec-head__title {
  position: relative;
  padding-left: 20px;
  font-family: var(--font-title);
  font-size: 36px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  text-shadow: 0 0 26px rgba(230, 192, 120, 0.35);
}

.sec-head__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 30px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 0 14px rgba(230, 192, 120, 0.7);
}

.sec-head__en {
  margin-top: 8px;
  padding-left: 20px;
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.sec-head__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.sec-head__more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.sec-head__more:hover {
  color: var(--gold);
  border-color: var(--line);
}

/* ============================================================
   顶部导航
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.42) 62%, rgba(0, 0, 0, 0) 100%);
  transition: background 0.35s ease, height 0.35s ease;
}

.header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.header.is-solid {
  height: 68px;
  background: rgba(7, 8, 11, 0.94);
  backdrop-filter: blur(10px);
}

.header.is-solid::after {
  opacity: 1;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: #241a09;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold-deep));
  border-radius: 3px;
  box-shadow: 0 0 18px rgba(230, 192, 120, 0.45);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__cn {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
}

.logo__en {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold-deep);
}

.nav {
  display: flex;
  align-items: center;
}

.nav__item {
  position: relative;
  display: block;
  padding: 0 22px;
  font-size: 16px;
  line-height: var(--header-h);
  color: #e8e2d6;
  transition: color 0.25s ease;
}

.nav__item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 0;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  transform: translateX(-50%);
  transition: width 0.28s ease;
}

.nav__item:hover,
.nav__item.is-active {
  color: var(--gold);
}

.nav__item:hover::after,
.nav__item.is-active::after {
  width: 26px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__login {
  font-size: 15px;
  color: #e8e2d6;
  transition: color 0.25s ease;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 1px;
  background: var(--gold);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: var(--gold);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* ============================================================
   首屏 KV
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 660px;
  overflow: hidden;
  background: var(--ink);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: blur(2.5px) brightness(0.62) saturate(1.05);
  transform: scale(1.04);
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 48% 44% at 50% 46%, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.28) 58%, transparent 100%),
    linear-gradient(180deg, rgba(7, 8, 11, 0.72) 0%, rgba(7, 8, 11, 0.4) 30%, rgba(7, 8, 11, 0.78) 74%, var(--ink) 100%);
}

/* 三种占位主视觉，换成真实大图时把 background 改成 url(...) 即可 */
.hero__slide--a {
  background:
    radial-gradient(ellipse 70% 55% at 50% 30%, #a8401f 0%, #5d1a09 42%, #180806 72%, #0a0608 100%),
    linear-gradient(115deg, transparent 44%, rgba(255, 190, 110, 0.22) 50%, transparent 56%);
}

.hero__slide--b {
  background:
    radial-gradient(ellipse 70% 55% at 52% 28%, #2b83b0 0%, #123048 44%, #060d16 74%, #04070d 100%),
    linear-gradient(115deg, transparent 44%, rgba(180, 230, 255, 0.2) 50%, transparent 56%);
}

.hero__slide--c {
  background:
    radial-gradient(ellipse 70% 55% at 50% 32%, #c9973c 0%, #5b3d15 44%, #16100a 74%, #0a0806 100%),
    linear-gradient(115deg, transparent 44%, rgba(255, 235, 180, 0.24) 50%, transparent 56%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, #000 25%, transparent 78%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px);
}

.hero__title {
  margin: 26px 0 18px;
  font-family: var(--font-title);
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 700;
  letter-spacing: 10px;
  text-indent: 10px;
  color: #fff8e8;
  text-shadow:
    0 0 30px rgba(255, 214, 140, 0.55),
    0 0 90px rgba(255, 170, 80, 0.35),
    0 6px 0 rgba(60, 30, 8, 0.5);
  background: linear-gradient(180deg, #fffdf6 8%, #ffe6b0 46%, #c9924a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  max-width: 760px;
  font-size: 16px;
  letter-spacing: 2px;
  color: #cfc7b7;
}

.hero__actions {
  display: flex;
  gap: 18px;
  margin-top: 42px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 132px;
  z-index: 10;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero__dot {
  width: 84px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.32);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.hero__dot.is-active {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(230, 192, 120, 0.8);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 46px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--text-dim);
  transform: translateX(-50%);
}

.hero__scroll i {
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

/* ============================================================
   右侧悬浮工具条
   ============================================================ */
.dock {
  position: fixed;
  right: 26px;
  top: 50%;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-50%);
}

.dock__item {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #1d1409;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  border-radius: 3px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.dock__item:hover {
  transform: translateX(-4px);
  filter: brightness(1.1);
}

.dock__item--plain {
  color: #cfc7b7;
  background: rgba(30, 32, 38, 0.9);
  border: 1px solid var(--line-soft);
}

.dock__tip {
  position: absolute;
  right: 60px;
  top: 50%;
  width: max-content;
  max-width: 240px;
  padding: 0 16px;
  height: 44px;
  line-height: 44px;
  font-size: 14px;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(40, 42, 48, 0.96);
  border: 1px solid #565a60;
  border-radius: 3px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(8px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  white-space: nowrap;
}

.dock__item:hover .dock__tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* ============================================================
   新闻资讯
   ============================================================ */
.news__body {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.news__list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.news__item {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.news__item a {
  display: block;
  padding: 16px 22px;
}

.news__item h3 {
  font-size: 17px;
  font-weight: 400;
  color: #b8b2a6;
  transition: color 0.3s ease;
}

.news__item p {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  font-size: 13px;
  color: var(--text-dim);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news__item.is-active,
.news__item:hover {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(230, 192, 120, 0.22), rgba(230, 192, 120, 0.04) 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 232, 180, 0.35);
  transform: translateX(4px);
}

.news__item.is-active h3,
.news__item:hover h3 {
  color: var(--gold-bright);
}

.news__preview {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--ink-3);
}

.news__preview .preview {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.news__preview .preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news__preview .preview.is-active {
  opacity: 1;
}

.news__preview .preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.75) 100%);
}

.news__preview .preview__label {
  position: relative;
  z-index: 4;
  align-self: end;
  justify-self: start;
  font-size: 15px;
  letter-spacing: 2px;
  color: #fff;
}

.preview--1 {
  background: radial-gradient(ellipse at 30% 25%, #8a3117, #2b0d07 70%, #120707);
}

.preview--2 {
  background: radial-gradient(ellipse at 65% 30%, #22658c, #0b2233 70%, #050b12);
}

.preview--3 {
  background: radial-gradient(ellipse at 45% 30%, #7a5a1f, #2c2010 70%, #0d0a06);
}

.preview--4 {
  background: radial-gradient(ellipse at 55% 35%, #4a2b63, #1a0f28 70%, #0a0610);
}

/* ============================================================
   游戏特色
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.feature {
  position: relative;
  padding: 40px 26px 34px;
  text-align: center;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(30, 33, 40, 0.9), rgba(13, 15, 19, 0.9));
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(230, 192, 120, 0.22), transparent 70%);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.feature:hover::before {
  opacity: 1;
}

.feature__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  font-family: var(--font-title);
  font-size: 24px;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(230, 192, 120, 0.07);
  box-shadow: inset 0 0 20px rgba(230, 192, 120, 0.16);
}

.feature h3 {
  margin-bottom: 12px;
  font-family: var(--font-title);
  font-size: 21px;
  letter-spacing: 3px;
  color: #fff;
}

.feature p {
  font-size: 13.5px;
  color: var(--text-dim);
}

/* ============================================================
   职业
   ============================================================ */
.classes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.class-card {
  position: relative;
  height: 460px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.class-card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
}

.class-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.6s ease;
}

.class-card:hover .class-card__img {
  transform: scale(1.04);
}

.class-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 6, 9, 0.55) 60%, rgba(5, 6, 9, 0.96) 100%);
}

.class-card--1 {
  background: radial-gradient(ellipse at 50% 25%, #a33a1c, #3a1208 62%, #0d0605);
}

.class-card--2 {
  background: radial-gradient(ellipse at 50% 25%, #2f7ba6, #0f2b3f 62%, #050b12);
}

.class-card--3 {
  background: radial-gradient(ellipse at 50% 25%, #7b8f45, #25300f 62%, #080b04);
}

.class-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 32px 28px;
}

.class-card__role {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 12px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.class-card h3 {
  font-family: var(--font-title);
  font-size: 30px;
  letter-spacing: 5px;
  color: #fff;
}

.class-card p {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color 0.4s ease;
}

.class-card:hover p {
  color: #c8c2b6;
}

/* ============================================================
   下载 & 礼包
   ============================================================ */
.download {
  position: relative;
  padding: 96px 0;
  background:
    radial-gradient(ellipse 60% 70% at 20% 50%, rgba(230, 192, 120, 0.14), transparent 62%),
    linear-gradient(180deg, var(--ink) 0%, #0c0e13 50%, var(--ink) 100%);
}

.download__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: center;
}

.download__title {
  font-family: var(--font-title);
  font-size: 40px;
  font-style: italic;
  letter-spacing: 5px;
  color: #fff;
  text-shadow: 0 0 30px rgba(230, 192, 120, 0.35);
}

.download__desc {
  margin-top: 16px;
  max-width: 520px;
  color: var(--text-dim);
}

.download__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.download__meta {
  margin-top: 26px;
  font-size: 13px;
  color: var(--text-dim);
}

.download__meta span + span::before {
  content: "·";
  margin: 0 12px;
  color: var(--gold-deep);
}

.gift-box {
  padding: 30px 26px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.gift-box__qr {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  margin: 0 auto 18px;
  color: #6f6a61;
  font-size: 12px;
  letter-spacing: 1px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 6px, transparent 6px 12px),
    #f4f1ea;
  border-radius: 4px;
}

.gift-box p {
  font-size: 13px;
  color: var(--text-dim);
}

.gift-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--gold-bright);
}

/* ============================================================
   内页：Banner + 文章列表 + 文章详情
   ============================================================ */
.page-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 360px;
  padding-bottom: 56px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 20%, rgba(230, 192, 120, 0.2), transparent 65%),
    linear-gradient(180deg, #0b0d12 0%, var(--ink) 100%);
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 72%);
}

.page-banner__inner {
  position: relative;
  z-index: 3;
}

.page-banner h1 {
  font-family: var(--font-title);
  font-size: 46px;
  font-style: italic;
  letter-spacing: 6px;
  color: #fff;
}

.page-banner .en {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.crumb {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-dim);
}

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

.crumb span::before {
  content: "/";
  margin: 0 10px;
  color: var(--gold-deep);
}

/* 新闻列表页 --------------------------------------------- */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line-soft);
}

.tab {
  position: relative;
  padding: 12px 26px;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--text-dim);
  transition: color 0.25s ease;
}

.tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.28s ease;
}

.tab:hover,
.tab.is-active {
  color: var(--gold);
}

.tab.is-active::after {
  width: 100%;
}

.post-list li + li {
  border-top: 1px solid var(--line-soft);
}

.post-list a {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 8px;
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.post-list a:hover {
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(230, 192, 120, 0.1), transparent 70%);
}

.post-list .tag {
  flex: none;
  padding: 3px 12px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.post-list .title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  color: #cdc7bb;
}

.post-list a:hover .title {
  color: var(--gold-bright);
}

.post-list .date {
  flex: none;
  font-size: 13px;
  color: var(--text-dim);
}

.pager {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}

.pager a,
.pager span {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--text-dim);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  transition: all 0.25s ease;
}

.pager a:hover,
.pager .is-current {
  color: #1d1409;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  border-color: transparent;
}

/* 下载页 -------------------------------------------------- */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.dl-card {
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(28, 31, 38, 0.92), rgba(12, 14, 18, 0.92));
  transition: transform 0.35s ease, border-color 0.35s ease;
}

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

.dl-card h3 {
  font-family: var(--font-title);
  font-size: 24px;
  letter-spacing: 3px;
  color: #fff;
}

.dl-card .sub {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.dl-card p {
  margin: 18px 0 26px;
  font-size: 13.5px;
  color: var(--text-dim);
  flex: 1;
}

.dl-card .btn {
  width: 100%;
}

.require {
  margin-top: 64px;
  padding: 34px 36px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: rgba(12, 14, 18, 0.7);
}

.require h3 {
  margin-bottom: 18px;
  font-family: var(--font-title);
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--gold-bright);
}

.require dl {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px 20px;
  margin: 0;
  font-size: 14px;
}

.require dt {
  color: var(--text-dim);
}

.require dd {
  margin: 0;
  color: #cdc7bb;
}

/* ============================================================
   页脚
   ============================================================ */
.footer {
  padding: 56px 0 34px;
  border-top: 1px solid var(--line-soft);
  background: #05060a;
  font-size: 13px;
  color: #6f6b64;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}

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

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

.footer__bottom {
  padding-top: 24px;
  line-height: 2;
}

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

.to-top {
  position: fixed;
  right: 26px;
  bottom: 34px;
  z-index: 150;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--gold-bright);
  background: rgba(30, 32, 38, 0.92);
  border: 1px solid var(--line);
  border-radius: 3px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: rgba(230, 192, 120, 0.18);
}

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

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

  .news__preview {
    min-height: 320px;
    order: -1;
  }

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

  .gift-box {
    max-width: 360px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
  }

  .logo__en {
    display: none;
  }

  .logo__cn {
    font-size: 19px;
    letter-spacing: 2px;
  }

  .header__actions {
    gap: 10px;
  }

  .header__actions .btn--sm {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
    letter-spacing: 1px;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 24px 22px;
    background: rgba(6, 7, 10, 0.98);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__item {
    padding: 0;
    line-height: 52px;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav__item::after {
    display: none;
  }

  .header__login {
    display: none;
  }

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

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

  .sec {
    padding: 68px 0;
  }

  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 36px;
  }

  .sec-head__title {
    font-size: 28px;
  }

  .dock {
    display: none;
  }

  .hero__dots {
    bottom: 112px;
  }

  .hero__dot {
    width: 46px;
  }

  .post-list a {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .post-list .title {
    white-space: normal;
  }

  .require dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .require dt {
    margin-top: 10px;
  }

  .page-banner {
    height: 280px;
  }

  .page-banner h1 {
    font-size: 32px;
  }
}

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__title {
    letter-spacing: 4px;
  }
}
