/* =========================================================
   三国挂机名将传 · 官方网站
   视觉语言：青绿山水 / 宣纸 / 金线 / 灯火
   ========================================================= */

:root {
  --jade-950: #061f1b;
  --jade-900: #0a2e27;
  --jade-850: #0d3a31;
  --jade-800: #124a3e;
  --jade-700: #1b5e4f;
  --jade-600: #2a7a64;
  --jade-500: #3d947b;
  --jade-300: #8fc7b4;
  --jade-100: #dfeee6;

  --paper: #f5f0e3;
  --paper-2: #ede5d3;
  --paper-3: #fbf8ef;
  --white: #fffdf7;

  --ink: #20302a;
  --ink-soft: #52635b;
  --ink-mute: #7d8b84;

  --gold: #c8a35b;
  --gold-deep: #a07d3c;
  --gold-light: #e8d3a2;
  --gold-pale: #f4e8c9;

  --serif: "Noto Serif SC", "Source Han Serif SC", "STZhongsong", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;

  --max: 1200px;
  --radius: 3px;
  --shadow-soft: 0 22px 60px rgba(16, 48, 39, 0.1);
  --shadow-deep: 0 30px 80px rgba(5, 30, 24, 0.35);
  --ease: cubic-bezier(0.22, 0.78, 0.28, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.028;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

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

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

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

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

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

::selection {
  background: var(--gold);
  color: var(--jade-950);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: -80px;
  left: 24px;
  z-index: 999;
  background: var(--jade-900);
  color: var(--gold-pale);
  padding: 10px 18px;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 16px;
}

/* ----------------------------- 通用标题 ----------------------------- */
.sec-head {
  position: relative;
  text-align: center;
  margin-bottom: 58px;
}

.sec-head .sec-en {
  display: block;
  font-size: 11px;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.3vw, 44px);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.35;
  color: var(--jade-900);
}

.sec-head .sec-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px auto 18px;
}

.sec-deco::before,
.sec-deco::after {
  content: "";
  width: 66px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.sec-deco::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.sec-deco i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  position: relative;
}

.sec-deco i::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--gold);
}

.sec-head .sec-desc {
  max-width: 640px;
  margin: 0 auto;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.sec-head--light h2 {
  color: var(--paper-3);
}

.sec-head--light .sec-en {
  color: var(--gold-light);
}

.sec-head--light .sec-desc {
  color: rgba(244, 238, 224, 0.62);
}

/* ----------------------------- 按钮 ----------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 34px;
  border-radius: 2px;
  font-size: 15px;
  letter-spacing: 0.14em;
  line-height: 1;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    background-color 0.45s var(--ease), color 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.75s var(--ease);
  pointer-events: none;
}

.btn:hover::before {
  left: 130%;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #1a5a4b, #0d3a31);
  color: var(--gold-pale);
  border: 1px solid rgba(216, 185, 120, 0.72);
  box-shadow: 0 14px 34px rgba(7, 36, 30, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(7, 36, 30, 0.36);
}

.btn-gold {
  background: linear-gradient(135deg, #e2c68c, #c39a4f);
  color: #173a31;
  border: 1px solid rgba(255, 249, 232, 0.45);
  box-shadow: 0 12px 30px rgba(7, 36, 30, 0.22);
}

.btn-ghost {
  border: 1px solid rgba(18, 63, 52, 0.34);
  color: var(--jade-850);
  background: rgba(255, 253, 247, 0.38);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 253, 247, 0.72);
  border-color: var(--gold-deep);
}

.btn-ghost--light {
  border-color: rgba(232, 211, 162, 0.45);
  color: var(--gold-pale);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost--light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
}

.btn-sm {
  height: 40px;
  padding: 0 22px;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.btn-block {
  width: 100%;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

/* ----------------------------- 顶部导航 ----------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  color: var(--jade-900);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 163, 91, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.45s;
}

.site-header.is-scrolled {
  background: rgba(6, 34, 29, 0.93);
  color: var(--paper-3);
  box-shadow: 0 14px 40px rgba(5, 25, 21, 0.26);
  backdrop-filter: blur(16px) saturate(1.1);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  height: 88px;
}

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

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(7, 36, 30, 0.2));
}

.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.25;
  white-space: nowrap;
}

.brand-text em {
  display: block;
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.28em;
  line-height: 1.4;
  opacity: 0.6;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 7px 0;
  font-size: 14.5px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: color 0.3s;
}

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

.site-header.is-scrolled .nav-link::after {
  background: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-link.is-active {
  color: var(--gold-deep);
}

.site-header.is-scrolled .nav-link.is-active {
  color: var(--gold-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  border: 1px solid rgba(18, 63, 52, 0.18);
  border-radius: 2px;
}

.site-header.is-scrolled .nav-toggle {
  border-color: rgba(232, 211, 162, 0.3);
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}

.nav-toggle span:nth-child(1) {
  top: 15px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 27px;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 移动端菜单 */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 100px 32px 48px;
  background:
    radial-gradient(circle at 50% 12%, rgba(63, 148, 123, 0.24), transparent 46%),
    linear-gradient(160deg, #0a2e27, #061f1b);
  color: var(--paper-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}

.mobile-nav::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(200, 163, 91, 0.22);
  pointer-events: none;
}

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

.mobile-nav a {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.24em;
  padding: 12px 20px;
  color: rgba(246, 240, 226, 0.86);
  transition: color 0.3s;
}

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

.mobile-nav .mobile-nav-meta {
  margin-top: 26px;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: rgba(246, 240, 226, 0.4);
}

body.nav-open {
  overflow: hidden;
}

/* ----------------------------- 首屏 ----------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: max(720px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 128px 0 120px;
  overflow: hidden;
  background: #dceae2;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  transform: scale(1.03);
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      180deg,
      rgba(247, 242, 230, 0.68) 0%,
      rgba(247, 242, 230, 0.24) 24%,
      rgba(247, 242, 230, 0.02) 46%,
      rgba(247, 242, 230, 0.1) 66%,
      rgba(245, 240, 227, 0.78) 90%,
      var(--paper) 100%
    ),
    radial-gradient(58% 46% at 50% 46%, rgba(255, 252, 243, 0.42), transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 170px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 2px;
  font-size: 10px;
  letter-spacing: 0.5em;
  color: rgba(18, 63, 52, 0.68);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 46px;
  height: 1px;
  background: rgba(160, 125, 60, 0.55);
}

.hero-logo {
  position: relative;
  width: clamp(252px, 29vw, 400px);
  margin: 0 auto 2px;
}

.hero-logo-glow {
  position: absolute;
  inset: -18%;
  z-index: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 252, 243, 0.95) 0%,
    rgba(255, 250, 238, 0.6) 36%,
    rgba(255, 250, 238, 0) 68%
  );
  filter: blur(8px);
  pointer-events: none;
}

.hero-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(9, 48, 39, 0.26))
    drop-shadow(0 2px 0 rgba(255, 255, 255, 0.4));
  animation: logoFloat 7s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.5;
  color: var(--jade-900);
  text-shadow: 0 2px 18px rgba(255, 253, 247, 0.85);
}

.hero-sub {
  max-width: 660px;
  margin: 10px auto 0;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: #355046;
  text-shadow: 0 1px 14px rgba(255, 253, 247, 0.7);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.hero-actions .btn {
  min-width: 156px;
}

.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(18, 63, 52, 0.72);
}

.hero-tags i {
  width: 4px;
  height: 4px;
  background: var(--gold-deep);
  transform: rotate(45deg);
  opacity: 0.7;
}

.hero-side {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.38em;
  color: rgba(18, 63, 52, 0.55);
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-side::before {
  content: "";
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, rgba(160, 125, 60, 0.7));
}

.hero-side-left {
  left: 38px;
}

.hero-side-right {
  right: 38px;
}

.hero-side-right::before {
  background: linear-gradient(180deg, rgba(160, 125, 60, 0.7), transparent);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-particles i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px 3px rgba(232, 211, 162, 0.55);
  opacity: 0;
  animation: ember 9s linear infinite;
}

.hero-particles i:nth-child(1) {
  left: 16%;
  top: 62%;
  animation-delay: 0s;
}

.hero-particles i:nth-child(2) {
  left: 28%;
  top: 48%;
  width: 3px;
  height: 3px;
  animation-delay: 1.6s;
}

.hero-particles i:nth-child(3) {
  left: 72%;
  top: 56%;
  animation-delay: 3.1s;
}

.hero-particles i:nth-child(4) {
  left: 84%;
  top: 40%;
  width: 3px;
  height: 3px;
  animation-delay: 4.7s;
}

.hero-particles i:nth-child(5) {
  left: 60%;
  top: 70%;
  width: 2px;
  height: 2px;
  animation-delay: 6.2s;
}

.hero-particles i:nth-child(6) {
  left: 40%;
  top: 34%;
  width: 2px;
  height: 2px;
  animation-delay: 7.4s;
}

@keyframes ember {
  0% {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.7);
  }
  18% {
    opacity: 0.75;
  }
  70% {
    opacity: 0.35;
  }
  100% {
    opacity: 0;
    transform: translate3d(14px, -90px, 0) scale(1.15);
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.26em;
  color: rgba(18, 63, 52, 0.55);
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 42px;
  background: rgba(18, 63, 52, 0.18);
  overflow: hidden;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--gold-deep);
  animation: scrollLine 2.2s var(--ease) infinite;
}

@keyframes scrollLine {
  0% {
    top: -40%;
  }
  60%,
  100% {
    top: 100%;
  }
}

/* ----------------------------- 资讯 ----------------------------- */
.news {
  padding-top: 96px;
  background:
    radial-gradient(60% 40% at 88% 0%, rgba(143, 199, 180, 0.13), transparent 70%),
    var(--paper);
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
}

.news-panel {
  position: relative;
  background: rgba(255, 253, 246, 0.78);
  border: 1px solid rgba(160, 125, 60, 0.24);
  box-shadow: var(--shadow-soft);
  padding: 8px 34px 26px;
}

.news-panel::before,
.news-panel::after,
.side-download::before,
.side-download::after,
.feature-card::before,
.feature-card::after,
.article-wrap::before,
.article-wrap::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  opacity: 0.7;
}

.news-panel::before,
.side-download::before,
.feature-card::before,
.article-wrap::before {
  top: 8px;
  left: 8px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.news-panel::after,
.side-download::after,
.feature-card::after,
.article-wrap::after {
  right: 8px;
  bottom: 8px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.news-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0 0;
  border-bottom: 1px solid rgba(160, 125, 60, 0.22);
}

.news-tab {
  position: relative;
  padding: 14px 18px 17px;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  transition: color 0.3s;
}

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

.news-tab:hover,
.news-tab.is-active {
  color: var(--jade-850);
}

.news-tab.is-active::after {
  width: 26px;
}

.news-list {
  min-height: 366px;
}

.news-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 22px;
  padding: 20px 2px;
  border-bottom: 1px dashed rgba(18, 63, 52, 0.14);
  transition: opacity 0.35s, transform 0.35s;
}

.news-item.is-hidden {
  display: none;
}

.news-date {
  text-align: center;
  border-right: 1px solid rgba(160, 125, 60, 0.28);
  padding-right: 18px;
}

.news-date b {
  display: block;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--jade-850);
}

.news-date span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}

.news-info {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.news-tag {
  display: inline-block;
  padding: 1px 8px;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  border: 1px solid rgba(160, 125, 60, 0.4);
}

.news-tag[data-cat="活动"] {
  color: #9a6036;
  border-color: rgba(154, 96, 54, 0.4);
}

.news-tag[data-cat="攻略"] {
  color: #49786a;
  border-color: rgba(73, 120, 106, 0.4);
}

.news-item h3 {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.65;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s;
}

.news-item p {
  flex: 0 0 100%;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--ink-mute);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-item .news-arrow {
  font-size: 15px;
  color: rgba(160, 125, 60, 0.55);
  transition: transform 0.35s var(--ease), color 0.3s;
}

.news-item:hover h3 {
  color: var(--gold-deep);
}

.news-item:hover .news-arrow {
  transform: translateX(5px);
  color: var(--gold-deep);
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  transition: color 0.3s;
}

.news-more::after {
  content: "→";
  transition: transform 0.3s;
}

.news-more:hover {
  color: var(--gold-deep);
}

.news-more:hover::after {
  transform: translateX(4px);
}

/* 侧边预约卡 */
.side-download {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 38px 30px 28px;
  color: var(--paper-3);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(74, 158, 133, 0.32), transparent 58%),
    linear-gradient(160deg, #124a3e, #061f1b);
  border: 1px solid rgba(200, 163, 91, 0.4);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}

.side-download .side-en {
  font-size: 9.5px;
  letter-spacing: 0.42em;
  color: var(--gold-light);
  opacity: 0.85;
}

.side-download h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-pale);
}

.side-download > p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(244, 238, 224, 0.6);
}

.qr-box {
  position: relative;
  width: 138px;
  height: 138px;
  margin: 20px auto 8px;
  padding: 9px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-box::after {
  content: "扫码预约";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  padding: 1px 10px;
  background: var(--jade-850);
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.18em;
  white-space: nowrap;
  border: 1px solid rgba(200, 163, 91, 0.4);
}

.side-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 26px;
}

.side-actions .btn {
  flex: 1;
  height: 42px;
  padding: 0 10px;
  font-size: 12.5px;
}

.side-note {
  margin-top: 16px !important;
  font-size: 10.5px !important;
  letter-spacing: 0.08em;
  color: rgba(244, 238, 224, 0.38) !important;
}

/* ----------------------------- 游戏特色 ----------------------------- */
.features {
  color: var(--paper-3);
  background: var(--jade-950);
  overflow: hidden;
}

.features-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/image/feature-01.jpg");
  background-size: cover;
  background-position: center 42%;
  opacity: 0.17;
  filter: saturate(0.82) brightness(0.85);
}

.features::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(10, 46, 39, 0.7) 12%, rgba(6, 31, 27, 0.35) 46%, #061f1b 100%),
    radial-gradient(70% 60% at 50% 40%, rgba(42, 122, 100, 0.18), transparent 70%);
  pointer-events: none;
}

.features .container {
  position: relative;
  z-index: 2;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  position: relative;
  min-height: 268px;
  padding: 34px 30px 30px;
  border: 1px solid rgba(216, 185, 120, 0.17);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
  backdrop-filter: blur(5px);
  transition: transform 0.5s var(--ease), border-color 0.5s,
    background-color 0.5s, box-shadow 0.5s;
  overflow: hidden;
}

.feature-card::before,
.feature-card::after {
  opacity: 0;
  transition: opacity 0.5s;
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(216, 185, 120, 0.55);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.feature-card:hover::before,
.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--gold-light);
  border: 1px solid rgba(216, 185, 120, 0.45);
  transform: rotate(45deg);
  transition: background-color 0.5s, box-shadow 0.5s;
}

.feature-icon svg {
  width: 27px;
  height: 27px;
  transform: rotate(-45deg);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card:hover .feature-icon {
  background: rgba(200, 163, 91, 0.12);
  box-shadow: 0 0 28px rgba(200, 163, 91, 0.22);
}

.feature-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: rgba(232, 211, 162, 0.42);
}

.feature-card h3 {
  font-family: var(--serif);
  font-size: 20.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--gold-pale);
}

.feature-card p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(244, 238, 224, 0.62);
}

.feature-tag {
  display: inline-block;
  margin-top: 18px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: rgba(232, 211, 162, 0.55);
}

/* ----------------------------- 名将集结 ----------------------------- */
.generals {
  background:
    radial-gradient(50% 50% at 12% 8%, rgba(143, 199, 180, 0.18), transparent 65%),
    linear-gradient(180deg, var(--paper), var(--paper-2));
  overflow: hidden;
}

.generals::before {
  content: "將";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  font-family: var(--serif);
  font-size: min(54vw, 620px);
  line-height: 1;
  color: rgba(18, 63, 52, 0.038);
  pointer-events: none;
}

.generals .container {
  position: relative;
  z-index: 2;
}

.general-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.general-card {
  position: relative;
  min-height: 312px;
  padding: 30px 18px 26px;
  text-align: center;
  background: rgba(255, 253, 246, 0.62);
  border: 1px solid rgba(160, 125, 60, 0.26);
  transition: transform 0.5s var(--ease), background-color 0.5s,
    border-color 0.5s, box-shadow 0.5s, color 0.5s;
  overflow: hidden;
}

.general-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(160, 125, 60, 0.14);
  pointer-events: none;
  transition: border-color 0.5s;
}

.general-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(165deg, var(--jade-800), var(--jade-950));
  border-color: rgba(200, 163, 91, 0.6);
  color: var(--paper-3);
  box-shadow: 0 24px 54px rgba(12, 50, 41, 0.24);
}

.general-card:hover::before {
  border-color: rgba(200, 163, 91, 0.3);
}

.general-seal {
  display: inline-block;
  padding: 2px 10px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  border: 1px solid rgba(160, 125, 60, 0.4);
  transition: color 0.5s, border-color 0.5s;
}

.general-card:hover .general-seal {
  color: var(--gold-light);
  border-color: rgba(232, 211, 162, 0.45);
}

.general-emblem {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 26px auto 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(160, 125, 60, 0.5);
  border-radius: 50%;
  transition: border-color 0.5s, background-color 0.5s;
}

.general-emblem::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(160, 125, 60, 0.22);
  border-radius: 50%;
  transition: border-color 0.5s;
}

.general-emblem span {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--jade-850);
  transition: color 0.5s;
}

.general-card:hover .general-emblem {
  background: rgba(200, 163, 91, 0.08);
  border-color: rgba(232, 211, 162, 0.55);
}

.general-card:hover .general-emblem::before {
  border-color: rgba(232, 211, 162, 0.25);
}

.general-card:hover .general-emblem span {
  color: var(--gold-pale);
}

.general-card h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--jade-900);
  transition: color 0.5s;
}

.general-card:hover h3 {
  color: var(--gold-pale);
}

.general-role {
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  transition: color 0.5s;
}

.general-card:hover .general-role {
  color: var(--gold-light);
}

.general-card p {
  margin-top: 13px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  transition: color 0.5s;
}

.general-card:hover p {
  color: rgba(244, 238, 224, 0.65);
}

.generals-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 38px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-align: center;
}

.generals-note::before,
.generals-note::after {
  content: "";
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160, 125, 60, 0.55));
  flex: none;
}

.generals-note::after {
  background: linear-gradient(90deg, rgba(160, 125, 60, 0.55), transparent);
}

/* ----------------------------- 山河画卷 ----------------------------- */
.scenes {
  background: var(--paper);
}

.scene-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  grid-template-rows: repeat(2, 238px);
  gap: 18px;
}

.scene-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-align: left;
  overflow: hidden;
  border: 1px solid rgba(160, 125, 60, 0.25);
  background: var(--jade-900);
}

.scene-card:first-child {
  grid-row: span 2;
}

.scene-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s;
}

.scene-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(5, 29, 24, 0.78) 100%);
  pointer-events: none;
}

.scene-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.06);
}

.scene-cap {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: var(--paper-3);
}

.scene-cap b {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.scene-cap span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(244, 238, 224, 0.62);
}

.scene-cap i {
  font-style: normal;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(232, 211, 162, 0.75);
  border: 1px solid rgba(232, 211, 162, 0.35);
  padding: 4px 9px;
  flex: none;
}

/* ----------------------------- 下载 ----------------------------- */
.download {
  position: relative;
  padding: 118px 0;
  color: var(--paper-3);
  background: var(--jade-950);
  overflow: hidden;
}

.download-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/image/scene-night.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}

.download::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 31, 27, 0.94) 0%, rgba(6, 31, 27, 0.78) 46%, rgba(6, 31, 27, 0.32) 100%),
    linear-gradient(180deg, rgba(6, 31, 27, 0.6), rgba(6, 31, 27, 0.25) 45%, rgba(6, 31, 27, 0.9));
}

.download .container {
  position: relative;
  z-index: 2;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  text-align: center;
}

.download-copy .sec-en {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.46em;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.download-copy h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: var(--gold-pale);
  margin: 0 auto;
}

.download-copy h2 em {
  font-style: normal;
  color: var(--gold-light);
}

.download-copy > p {
  max-width: 580px;
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.95;
  color: rgba(244, 238, 224, 0.66);
  margin: 0 auto;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.download-actions .btn {
  min-width: 168px;
}

.download-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(244, 238, 224, 0.42);
}

.download-note::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

/* ----------------------------- 页脚 ----------------------------- */
.site-footer {
  position: relative;
  background: var(--jade-950);
  color: rgba(244, 238, 224, 0.62);
  font-size: 12.5px;
  padding: 68px 0 30px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 163, 91, 0.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 1.2fr;
  gap: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(200, 163, 91, 0.14);
}

.footer-brand .brand {
  color: var(--paper-3);
  margin-bottom: 16px;
}

.footer-brand .brand img {
  width: 54px;
  height: 54px;
}

.footer-brand .brand-text strong {
  font-size: 18px;
}

.footer-brand p {
  max-width: 330px;
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(244, 238, 224, 0.46);
}

.footer-col h4 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-pale);
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 7px 0;
  font-size: 12.5px;
  color: rgba(244, 238, 224, 0.56);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-col .footer-contact {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.footer-contact span {
  color: rgba(244, 238, 224, 0.34);
}

.footer-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  padding: 14px 22px;
  border: 1px solid rgba(200, 163, 91, 0.14);
  font-size: 11.5px;
  line-height: 1.8;
  color: rgba(244, 238, 224, 0.42);
  text-align: center;
}

.footer-warning strong {
  color: rgba(232, 211, 162, 0.8);
  font-weight: 500;
  white-space: nowrap;
}

.footer-bottom {
  padding-top: 22px;
  text-align: center;
  font-size: 11.5px;
  line-height: 2.1;
  color: rgba(244, 238, 224, 0.36);
}

.footer-bottom p {
  margin: 0 0 4px;
}

.footer-icp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.footer-icp a,
.footer-icp span {
  color: rgba(244, 238, 224, 0.44);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-icp a:hover {
  color: var(--gold-light);
}

.footer-icp > * + *::before {
  content: " | ";
  color: rgba(244, 238, 224, 0.22);
}

.footer-teen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 3px 12px;
  border: 1px solid rgba(200, 163, 91, 0.22);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: rgba(244, 238, 224, 0.44);
}

/* ----------------------------- 浮动控件 ----------------------------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 28px;
  z-index: 120;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(9, 46, 39, 0.9);
  color: var(--gold-light);
  border: 1px solid rgba(200, 163, 91, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s, visibility 0.4s, background-color 0.3s;
}

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

.to-top:hover {
  background: var(--jade-700);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 46px;
  z-index: 400;
  transform: translate(-50%, 14px);
  padding: 12px 22px;
  background: rgba(6, 31, 27, 0.95);
  border: 1px solid rgba(200, 163, 91, 0.45);
  color: var(--gold-pale);
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, transform 0.35s, visibility 0.35s;
  white-space: nowrap;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ----------------------------- 图片预览 ----------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(4, 22, 18, 0.94);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox figure {
  position: relative;
  max-width: min(1180px, 90vw);
  text-align: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border: 1px solid rgba(200, 163, 91, 0.32);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.lightbox figcaption {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--gold-pale);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 163, 91, 0.4);
  color: var(--gold-pale);
  background: rgba(6, 31, 27, 0.55);
  transition: background-color 0.3s, border-color 0.3s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(200, 163, 91, 0.18);
  border-color: var(--gold);
}

.lightbox-close {
  top: 30px;
  right: 34px;
}

.lightbox-prev {
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
}

/* ----------------------------- 子页公共 ----------------------------- */
.subpage .site-header {
  background: rgba(6, 34, 29, 0.93);
  color: var(--paper-3);
  box-shadow: 0 14px 40px rgba(5, 25, 21, 0.22);
  backdrop-filter: blur(16px);
}

.subpage .site-header::after {
  opacity: 1;
}

.subpage .nav-link::after {
  background: var(--gold-light);
}

.subpage .nav-link.is-active {
  color: var(--gold-light);
}

.subpage .nav-toggle {
  border-color: rgba(232, 211, 162, 0.3);
}

.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 168px 0 62px;
  color: var(--paper-3);
  background: var(--jade-900);
  overflow: hidden;
  isolation: isolate;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/image/scene-mountains.jpg");
  background-size: cover;
  background-position: center 46%;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(6, 31, 27, 0.86) 0%,
    rgba(6, 31, 27, 0.42) 40%,
    rgba(6, 31, 27, 0.82) 100%
  );
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: rgba(244, 238, 224, 0.5);
}

.page-hero .breadcrumb a:hover {
  color: var(--gold-light);
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
  color: var(--gold-pale);
}

.page-hero .page-desc {
  max-width: 600px;
  margin-top: 12px;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: rgba(244, 238, 224, 0.55);
}

.page-hero .page-deco {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.page-hero .page-deco i {
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.page-hero .page-deco span {
  width: 76px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ----------------------------- 资讯列表页 ----------------------------- */
.news-page {
  padding: 78px 0 110px;
  background:
    radial-gradient(50% 40% at 90% 0%, rgba(143, 199, 180, 0.12), transparent 70%),
    var(--paper);
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 322px;
  gap: 40px;
  align-items: start;
}

.news-list-panel {
  position: relative;
  padding: 6px 38px 30px;
  background: rgba(255, 253, 246, 0.76);
  border: 1px solid rgba(160, 125, 60, 0.24);
  box-shadow: var(--shadow-soft);
}

.news-list-panel::before,
.news-list-panel::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--gold);
  opacity: 0.7;
  pointer-events: none;
}

.news-list-panel::before {
  top: 8px;
  left: 8px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.news-list-panel::after {
  right: 8px;
  bottom: 8px;
  border-bottom: 1px solid;
  border-right: 1px solid;
}

.news-list-panel .news-item {
  grid-template-columns: 88px minmax(0, 1fr) 22px;
  gap: 26px;
  padding: 26px 2px;
}

.news-list-panel .news-item h3 {
  font-size: 18px;
  white-space: normal;
}

.news-list-panel .news-item p {
  margin-top: 4px;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-list-panel .news-date b {
  font-size: 32px;
}

.news-empty {
  padding: 80px 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}

.news-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-block {
  position: relative;
  padding: 28px 26px;
  background: rgba(255, 253, 246, 0.7);
  border: 1px solid rgba(160, 125, 60, 0.22);
}

.side-block h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--jade-900);
}

.side-block h3::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin-top: 10px;
  background: var(--gold);
}

.hot-list li {
  border-bottom: 1px dashed rgba(18, 63, 52, 0.13);
}

.hot-list li:last-child {
  border-bottom: 0;
}

.hot-list a {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  transition: color 0.3s;
}

.hot-list a:hover {
  color: var(--gold-deep);
}

.hot-list em {
  font-style: normal;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--gold-deep);
  flex: none;
}

.side-block .btn {
  margin-top: 4px;
}

.side-block .side-copy {
  font-size: 12px;
  line-height: 1.85;
  color: var(--ink-mute);
}

/* ----------------------------- 文章 ----------------------------- */
.article-section {
  padding: 70px 0 110px;
  background:
    radial-gradient(50% 40% at 10% 0%, rgba(143, 199, 180, 0.12), transparent 70%),
    var(--paper);
}

.article-wrap {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 54px 68px 62px;
  background: rgba(255, 253, 246, 0.82);
  border: 1px solid rgba(160, 125, 60, 0.24);
  box-shadow: var(--shadow-soft);
}

.article-head {
  padding-bottom: 26px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(160, 125, 60, 0.22);
  text-align: center;
}

.article-head .article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}

.article-head h1 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--jade-900);
}

.article-body {
  font-size: 15px;
  line-height: 2;
  color: #35473f;
}

.article-body p {
  margin: 0 0 18px;
  text-align: justify;
  word-break: break-word;
}

.article-body h2,
.article-body h3 {
  margin: 34px 0 16px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--jade-850);
}

.article-body img {
  margin: 22px auto;
}

.article-body strong {
  color: var(--jade-850);
}

.article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(160, 125, 60, 0.22);
}

.article-foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  transition: color 0.3s;
}

.article-foot a:hover {
  color: var(--gold-deep);
}

.article-foot .disabled {
  opacity: 0.35;
  pointer-events: none;
}

.article-loading,
.article-error {
  padding: 70px 0;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}

/* 兼容原合规文档样式 */
.art-p {
  margin: 0 0 16px;
  text-align: justify;
  font-size: 15px;
  line-height: 2;
  color: #35473f;
}

.art-center {
  text-align: center;
}

.art-left {
  text-align: left;
}

.art-right {
  text-align: right;
}

.art-justify {
  text-align: justify;
}

.art-bold,
.art-p.art-bold {
  font-weight: 600;
  color: var(--jade-850);
}

.article-body .art-p {
  margin-bottom: 16px;
}

/* ----------------------------- 入场动画 ----------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------- 响应式 ----------------------------- */
@media (max-width: 1180px) {
  .nav {
    gap: 22px;
  }

  .hero-side {
    display: none;
  }

  .general-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(var(--max), calc(100% - 48px));
  }

  .section {
    padding: 92px 0;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .news-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .news-panel {
    padding: 8px 26px 22px;
  }

  .news-item {
    grid-template-columns: 66px minmax(0, 1fr) 18px;
    gap: 16px;
  }

  .news-date {
    padding-right: 12px;
  }

  .news-date b {
    font-size: 24px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 34px;
  }
}

@media (max-width: 860px) {
  .hero {
    padding-top: 116px;
    padding-bottom: 100px;
  }

  .hero-logo {
    width: clamp(240px, 52vw, 340px);
  }

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

  .side-download {
    padding: 34px 28px 26px;
  }

  .side-download .qr-box {
    margin-top: 18px;
  }

  .general-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .scene-card {
    height: 250px;
  }

  .scene-card:first-child {
    grid-row: auto;
    height: 330px;
  }

  .download-grid {
    gap: 44px;
  }

  .download-copy {
    text-align: center;
  }

  .download-copy > p {
    margin-inline: auto;
  }

  .download-actions,
  .download-note {
    justify-content: center;
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-wrap {
    padding: 44px 34px 48px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 76px 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 16.5px;
  }

  .brand-text em {
    font-size: 7.5px;
  }

  .header-inner {
    height: 76px;
  }

  .hero {
    min-height: max(640px, 100svh);
    padding: 108px 0 90px;
  }

  .hero-bg img {
    object-position: center 46%;
  }

  .hero-eyebrow {
    letter-spacing: 0.3em;
    font-size: 9px;
  }

  .hero-eyebrow::before,
  .hero-eyebrow::after {
    width: 28px;
  }

  .hero-logo {
    width: min(68vw, 300px);
    margin-top: 4px;
  }

  .hero-title {
    font-size: 20px;
    letter-spacing: 0.16em;
  }

  .hero-sub {
    font-size: 13.5px;
    padding: 0 6px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .btn {
    min-width: 0;
    flex: 1;
    max-width: 160px;
    height: 48px;
    padding: 0 14px;
    font-size: 13.5px;
  }

  .hero-tags {
    gap: 10px;
    margin-top: 26px;
    font-size: 10.5px;
    letter-spacing: 0.1em;
  }

  .scroll-cue {
    display: none;
  }

  .sec-head {
    margin-bottom: 38px;
  }

  .sec-head h2 {
    font-size: 26px;
    letter-spacing: 0.1em;
  }

  .sec-head .sec-desc {
    font-size: 12.5px;
    padding: 0 10px;
  }

  .sec-head .sec-en {
    font-size: 9.5px;
    letter-spacing: 0.3em;
  }

  .news {
    padding-top: 72px;
  }

  .news-panel {
    padding: 4px 18px 20px;
  }

  .news-tabs {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .news-tabs::-webkit-scrollbar {
    display: none;
  }

  .news-tab {
    padding: 12px 12px 15px;
    font-size: 13px;
    white-space: nowrap;
  }

  .news-list {
    min-height: 0;
  }

  .news-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 13px;
    padding: 16px 0;
  }

  .news-date {
    padding-right: 10px;
  }

  .news-date b {
    font-size: 21px;
  }

  .news-date span {
    font-size: 9px;
    letter-spacing: 0;
  }

  .news-item .news-arrow {
    display: none;
  }

  .news-item h3 {
    font-size: 14.5px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .news-item p {
    display: none;
  }

  .news-meta {
    margin-bottom: 0;
  }

  .side-download h3 {
    font-size: 23px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    min-height: 0;
    padding: 28px 24px 26px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
  }

  .feature-icon svg {
    width: 23px;
    height: 23px;
  }

  .feature-card h3 {
    font-size: 18.5px;
  }

  .general-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .general-card {
    min-height: 264px;
    padding: 22px 12px 20px;
  }

  .general-emblem {
    width: 76px;
    height: 76px;
    margin: 20px auto 16px;
  }

  .general-emblem span {
    font-size: 32px;
  }

  .general-card h3 {
    font-size: 17px;
  }

  .general-card p {
    font-size: 11.5px;
  }

  .generals-note {
    font-size: 10.5px;
    letter-spacing: 0.08em;
    gap: 10px;
  }

  .generals-note::before,
  .generals-note::after {
    width: 24px;
  }

  .scene-card,
  .scene-card:first-child {
    height: 230px;
  }

  .scene-cap {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }

  .scene-cap b {
    font-size: 18px;
  }

  .download {
    padding: 82px 0;
  }

  .download-copy h2 {
    font-size: 27px;
  }

  .download-copy > p {
    font-size: 13px;
  }

  .download-actions .btn {
    flex: 1;
    min-width: 140px;
    padding: 0 16px;
    font-size: 13px;
  }

  .download-note {
    font-size: 10.5px;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 28px;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-warning {
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    font-size: 10.5px;
    text-align: left;
  }

  .footer-bottom {
    font-size: 10.5px;
  }

  .footer-icp {
    flex-direction: column;
    gap: 2px;
  }

  .footer-icp > * + *::before {
    content: "";
  }

  .to-top {
    right: 16px;
    bottom: 18px;
    width: 40px;
    height: 40px;
  }

  .page-hero {
    min-height: 300px;
    padding: 128px 0 46px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .page-hero .page-desc {
    font-size: 12px;
  }

  .news-page {
    padding: 56px 0 76px;
  }

  .news-list-panel {
    padding: 4px 18px 22px;
  }

  .news-list-panel .news-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .news-list-panel .news-item h3 {
    font-size: 15px;
  }

  .news-list-panel .news-date b {
    font-size: 23px;
  }

  .news-side {
    grid-template-columns: 1fr;
  }

  .article-section {
    padding: 50px 0 76px;
  }

  .article-wrap {
    padding: 34px 22px 38px;
  }

  .article-head {
    padding-bottom: 20px;
    margin-bottom: 24px;
  }

  .article-head h1 {
    font-size: 22px;
  }

  .article-body,
  .art-p {
    font-size: 14px;
    line-height: 1.95;
  }

  .article-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }
}

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

  .hero-tags i:nth-of-type(2),
  .hero-tags i:nth-of-type(3) {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-bg img {
    transform: none !important;
  }
}
