/* ============================================================
   新万州传奇 · 官网 UI
   风格：玄黑底 / 赤金描边 / 国风纹饰
   ============================================================ */

:root {
  --bg: #08080c;
  --bg-2: #101015;
  --panel: rgba(20, 18, 21, 0.94);
  --panel-2: rgba(28, 24, 26, 0.9);
  --gold: #d6ae63;
  --gold-light: #f5dfae;
  --gold-dark: #8a6831;
  --red: #b4232a;
  --red-dark: #6d1117;
  --text: #ece2ce;
  --muted: #a19682;
  --line: rgba(214, 174, 99, 0.28);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
  --serif: "STKaiti", "KaiTi", "Noto Serif SC", "Songti SC", serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 92px; }

body {
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(900px 500px at 12% -5%, rgba(180, 35, 42, 0.16), transparent 65%),
    radial-gradient(900px 600px at 95% 10%, rgba(214, 174, 99, 0.1), transparent 60%),
    linear-gradient(180deg, #0b0a0e 0%, #08080c 50%, #0d0b0e 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(214, 174, 99, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 174, 99, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent 75%);
}

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

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

/* ---------- 顶部信息条 ---------- */
.topbar {
  position: relative;
  z-index: 110;
  height: 34px;
  background: linear-gradient(90deg, #0a090c, #171014 50%, #0a090c);
  border-bottom: 1px solid rgba(214, 174, 99, 0.18);
  font-size: 12px;
  color: var(--muted);
}
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-left b { color: var(--gold-light); font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.topbar-item b { color: var(--gold); margin-left: 4px; }
.topbar-sep { color: rgba(214, 174, 99, 0.3); }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  background: rgba(10, 9, 12, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: height 0.25s, background 0.25s;
}
.site-header.scrolled { height: 64px; background: rgba(9, 8, 11, 0.97); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 26px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-seal {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  color: #1b0f0f;
  background: linear-gradient(145deg, #f6dfae, #b98d42 55%, #8a5f26);
  border: 1px solid #f8e7bd;
  box-shadow: inset 0 0 0 3px rgba(90, 45, 15, 0.45), 0 0 18px rgba(214, 174, 99, 0.35);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}
.brand-seal.small { width: 38px; height: 38px; font-size: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 3px;
  color: var(--gold-light);
  text-shadow: 0 0 16px rgba(214, 174, 99, 0.35);
}
.brand-text em { font-style: normal; font-size: 9px; letter-spacing: 3.5px; color: var(--gold-dark); margin-top: 5px; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  position: relative;
  padding: 10px 15px;
  font-size: 14px;
  color: #cfc3ad;
  transition: color 0.2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  width: 0; height: 2px;
  transform: translateX(-50%);
  background: var(--gold);
  transition: width 0.25s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); }
.main-nav a:hover::after, .main-nav a.active::after { width: 60%; }

.header-cta {
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #2a1608;
  background: linear-gradient(180deg, #f3d99c, #c99a4c);
  border: 1px solid #f7e6bd;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: filter 0.2s, transform 0.2s;
}
.header-cta:hover { filter: brightness(1.14); transform: translateY(-2px); }
.header-cta span { margin-left: 6px; }

.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--gold-light); transition: 0.25s; }

/* ---------- 主视觉 ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b0a0e url("assets/hero.png") center 48% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 12, 0.96) 0%, rgba(8, 8, 12, 0.82) 34%, rgba(8, 8, 12, 0.18) 72%, rgba(8, 8, 12, 0.45) 100%),
    linear-gradient(0deg, #08080c 0%, transparent 32%, transparent 80%, rgba(8, 8, 12, 0.65) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 70% 45%, transparent 30%, rgba(8, 8, 12, 0.5) 100%);
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-particles i {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #f0c978;
  box-shadow: 0 0 10px 2px rgba(240, 201, 120, 0.65);
  animation: floatUp linear infinite;
  opacity: 0;
}
@keyframes floatUp {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: 0.8; }
  80% { opacity: 0.6; }
  100% { transform: translateY(-420px) translateX(30px); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 80px 0 70px;
}
.hero-copy { max-width: 600px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: 6px; color: var(--gold);
  margin-bottom: 18px;
}
.hero-eyebrow span { width: 34px; height: 1px; background: var(--gold); opacity: 0.7; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 92px);
  line-height: 1.05;
  letter-spacing: 6px;
  color: #fff4d6;
  text-shadow: 0 2px 0 #7d4a1d, 0 0 30px rgba(214, 174, 99, 0.5), 4px 6px 0 rgba(0, 0, 0, 0.6);
}
.hero h1 span { color: #e94b45; text-shadow: 0 2px 0 #5c0d12, 0 0 38px rgba(233, 75, 69, 0.55); }
.hero-sub { margin-top: 20px; font-family: var(--serif); font-size: 19px; line-height: 1.9; color: var(--gold-light); letter-spacing: 1px; }
.hero-desc { margin-top: 12px; font-size: 13px; line-height: 2; color: #c6b9a2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  overflow: hidden;
  transition: transform 0.2s, filter 0.2s;
}
.btn i { font-style: normal; font-size: 17px; }
.btn:hover { transform: translateY(-3px); filter: brightness(1.1); }
.btn-gold {
  color: #2c1708;
  background: linear-gradient(180deg, #f7e3b2, #d0a052 60%, #b58138);
  border: 1px solid #fbeec9;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: 0 6px 24px rgba(214, 174, 99, 0.25);
}
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-25deg); animation: shine 3.6s infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 140%; } }
.btn-ghost {
  color: var(--gold-light);
  background: rgba(12, 11, 14, 0.55);
  border: 1px solid rgba(214, 174, 99, 0.55);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-tags span {
  padding: 5px 12px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold);
  border: 1px solid rgba(214, 174, 99, 0.32);
  background: rgba(10, 9, 12, 0.45);
}

.countdown-card {
  width: 370px;
  flex-shrink: 0;
  padding: 22px 24px 18px;
  background: linear-gradient(160deg, rgba(32, 20, 18, 0.94), rgba(12, 11, 14, 0.96));
  border: 1px solid rgba(214, 174, 99, 0.45);
  box-shadow: var(--shadow), inset 0 0 40px rgba(180, 35, 42, 0.12);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.countdown-title { font-family: var(--serif); font-size: 21px; color: var(--gold-light); letter-spacing: 3px; }
.countdown-date { margin-top: 4px; font-size: 12px; letter-spacing: 2px; color: #b8a98e; }
.countdown-units { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 14px; }
.countdown-units div { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.countdown-units b {
  font-size: 32px; line-height: 1;
  font-family: Georgia, serif;
  color: #f6e2b4;
  text-shadow: 0 0 18px rgba(214, 174, 99, 0.45);
}
.countdown-units small { font-size: 11px; color: var(--muted); }
.countdown-units em { font-style: normal; font-size: 22px; color: var(--gold-dark); margin-top: -14px; }
.countdown-foot {
  text-align: center; font-size: 12px; letter-spacing: 3px; color: #e5b96a;
  border-top: 1px solid rgba(214, 174, 99, 0.2); padding-top: 12px;
}
.hero-bottom-line {
  position: absolute; z-index: 3; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--red), var(--gold), transparent);
  opacity: 0.75;
}

/* ---------- 滚动公告条 ---------- */
.newsline {
  position: relative; z-index: 4;
  height: 46px;
  background: linear-gradient(90deg, rgba(52, 12, 14, 0.95), rgba(20, 13, 15, 0.98) 55%, rgba(52, 12, 14, 0.95));
  border-bottom: 1px solid rgba(214, 174, 99, 0.25);
}
.newsline-inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.newsline-label {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: #fff3d4;
  background: linear-gradient(180deg, #c93036, #8c151b);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.newsline-viewport { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.newsline-track { display: flex; width: max-content; animation: newsScroll 42s linear infinite; }
.newsline:hover .newsline-track { animation-play-state: paused; }
.newsline-track span { padding-right: 60px; font-size: 12.5px; color: #d3c4aa; white-space: nowrap; }
.newsline-track span::before { content: "◆"; color: var(--gold); margin-right: 10px; font-size: 9px; }
@keyframes newsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.newsline-more { flex-shrink: 0; font-size: 12px; color: var(--gold); }
.newsline-more:hover { text-decoration: underline; }

/* ---------- 主体布局 ---------- */
.layout {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  padding-top: 34px;
  padding-bottom: 60px;
  align-items: start;
}

/* ---------- 通用面板 ---------- */
.panel {
  position: relative;
  margin-bottom: 22px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 0 45px rgba(0, 0, 0, 0.45);
}
.panel::before, .panel::after {
  content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none;
}
.panel::before { top: -1px; left: -1px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.panel::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.panel-head {
  position: relative;
  padding: 12px 16px;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 3px;
  color: #fff0d2;
  background: linear-gradient(90deg, #5d0e13, #a92027 50%, #5d0e13);
  border-bottom: 1px solid rgba(214, 174, 99, 0.5);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.panel-head::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 26px; height: 1px;
  background: rgba(255, 233, 185, 0.55);
  box-shadow: 0 5px 0 rgba(255, 233, 185, 0.25);
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 14px 18px;
  background: linear-gradient(90deg, rgba(120, 22, 27, 0.85), rgba(40, 16, 18, 0.6));
  border-bottom: 1px solid var(--line);
}
.section-head-plain { background: transparent; padding: 0 0 16px; border-bottom: 0; }
.section-kicker { display: block; font-size: 10px; letter-spacing: 3px; color: var(--gold-dark); margin-bottom: 4px; }
.section-head h2 { font-family: var(--serif); font-size: 22px; letter-spacing: 3px; color: var(--gold-light); font-weight: 600; }
.section-note { font-size: 12px; color: var(--muted); }
.more-link { font-size: 12px; color: var(--gold); white-space: nowrap; }
.more-link:hover { color: var(--gold-light); text-decoration: underline; }

/* ---------- 侧栏 ---------- */
.sidebar .panel:last-of-type { margin-bottom: 16px; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.quick-links a {
  grid-column: span 2;
  padding: 10px 12px;
  font-size: 13px;
  color: #e7d8b9;
  background: linear-gradient(90deg, rgba(214, 174, 99, 0.1), rgba(214, 174, 99, 0.02));
  border: 1px solid rgba(214, 174, 99, 0.22);
  transition: 0.2s;
}
.quick-links a i { font-style: normal; color: var(--gold); margin-right: 8px; font-size: 10px; }
.quick-links a:hover { background: linear-gradient(90deg, rgba(180, 35, 42, 0.45), rgba(214, 174, 99, 0.08)); border-color: var(--gold); transform: translateX(4px); }
.quick-links a:first-child { grid-column: span 2; color: #2c1708; font-weight: 700; background: linear-gradient(180deg, #f3d99c, #c99a4c); border-color: #f7e6bd; }
.quick-links a:first-child i { color: #7c4a12; }

.server-list { padding: 6px 0; }
.server-list li { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-bottom: 1px dashed rgba(214, 174, 99, 0.16); font-size: 12.5px; }
.server-list li:last-child { border-bottom: 0; }
.server-list b { font-weight: 500; color: #e2d5bc; flex: 1; }
.server-list em { font-style: normal; font-size: 11px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 8px currentColor; }
.dot-green { background: #45c26a; color: #45c26a; animation: pulse 2s infinite; }
.dot-gold { background: #e3b455; color: #e3b455; animation: pulse 2s infinite 0.6s; }
.dot-red { background: #df4b4b; color: #df4b4b; animation: pulse 2s infinite 1.2s; }
@keyframes pulse { 50% { opacity: 0.4; box-shadow: 0 0 2px currentColor; } }
.server-tip { padding: 10px 14px; font-size: 10px; line-height: 1.7; color: #8e816d; border-top: 1px solid rgba(214, 174, 99, 0.15); }

.service-list { padding: 8px 14px; }
.service-list div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 12px; border-bottom: 1px dashed rgba(214, 174, 99, 0.16); }
.service-list div:last-child { border-bottom: 0; }
.service-list span { color: var(--muted); }
.service-list b { color: var(--gold-light); font-weight: 500; }
.side-cta { display: block; margin: 8px 14px 16px; padding: 10px; text-align: center; font-size: 12px; color: #2c1708; font-weight: 700; background: linear-gradient(180deg, #e9cb8b, #bb8c41); border: 1px solid #f1d9a5; }
.side-cta:hover { filter: brightness(1.12); }
.safety-card { padding: 16px; margin-bottom: 16px; border: 1px solid rgba(180, 35, 42, 0.4); background: rgba(80, 18, 20, 0.18); }
.safety-title { font-size: 13px; font-weight: 700; color: #ef8b7d; margin-bottom: 8px; }
.safety-card p { font-size: 11px; line-height: 1.8; color: #b6a28f; }

/* ---------- 防沉迷 / 正版授权 ---------- */
.panel-head-gold { background: linear-gradient(90deg, #5c421d, #a97b32 50%, #5c421d); }
.compliance-body { padding: 14px; }
.compliance-badge {
  width: 38px; height: 38px; margin: 0 auto 10px;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 20px; color: #ffd9c4;
  border: 1px solid rgba(224, 82, 63, 0.7); border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 35, 42, 0.5), transparent 70%);
  text-shadow: 0 0 12px rgba(224, 82, 63, 0.8);
}
.compliance-lead { font-size: 11px; line-height: 1.8; color: #c8b9a0; text-align: center; }
.compliance-list { margin-top: 12px; border-top: 1px dashed rgba(214, 174, 99, 0.2); }
.compliance-list li { display: flex; gap: 8px; padding: 9px 0; border-bottom: 1px dashed rgba(214, 174, 99, 0.16); }
.compliance-list li:last-child { border-bottom: 0; }
.compliance-list span { flex-shrink: 0; font-family: Georgia, serif; font-size: 12px; color: var(--gold); }
.compliance-list p { font-size: 10.5px; line-height: 1.75; color: #a89a84; }
.compliance-list b { color: #e8b96a; font-weight: 600; }
.compliance-foot {
  margin-top: 12px; padding: 9px 10px;
  font-size: 10px; line-height: 1.7; color: #d2a59a;
  border: 1px solid rgba(180, 35, 42, 0.35);
  background: rgba(80, 18, 20, 0.18);
}
.license-panel { text-align: center; }
.license-seal {
  width: 54px; height: 54px; margin: 0 auto 10px;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 27px; color: #33220e;
  background: linear-gradient(145deg, #f6dfae, #b98d42 55%, #8a5f26);
  border: 1px solid #f8e7bd;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  box-shadow: 0 0 18px rgba(214, 174, 99, 0.28);
}
.license-title { font-family: var(--serif); font-size: 16px; letter-spacing: 1px; color: var(--gold-light); }
.license-desc { margin-top: 8px; font-size: 10.5px; line-height: 1.8; color: #a99b85; }
.license-desc b { color: #e8b96a; }
.license-list { margin: 12px 0; text-align: left; }
.license-list li { position: relative; padding: 6px 0 6px 16px; font-size: 10.5px; line-height: 1.6; color: #b9aa91; border-bottom: 1px dashed rgba(214, 174, 99, 0.14); }
.license-list li:last-child { border-bottom: 0; }
.license-list li::before { content: "◆"; position: absolute; left: 0; top: 6px; font-size: 8px; color: var(--gold); }
.license-link { display: inline-block; margin-top: 6px; padding-bottom: 3px; font-size: 11px; color: var(--gold-light); border-bottom: 1px solid rgba(214, 174, 99, 0.5); }
.license-link:hover { color: #fff; }

/* ---------- 官方公众号 ---------- */
.panel-head-wechat { background: linear-gradient(90deg, #14483c, #2d8b6b 50%, #14483c); }
.wechat-panel { border-color: rgba(93, 173, 137, 0.35); }
.wechat-panel::before { border-color: #7fd0a8; }
.wechat-panel::after { border-color: #7fd0a8; }
.wechat-body { padding: 14px; text-align: center; }
.wechat-qr {
  width: 100%; max-width: 180px; margin: 2px auto 12px;
  padding: 7px; background: #fffdf7;
  border: 1px solid var(--gold);
  box-shadow: 0 0 22px rgba(214, 174, 99, 0.2);
}
.wechat-qr img { width: 100%; height: auto; display: block; }
.wechat-body h3 { font-family: var(--serif); font-size: 16px; letter-spacing: 2px; color: var(--gold-light); }
.wechat-slogan { margin-top: 6px; font-size: 10.5px; color: #9dd9bd; }
.wechat-points { margin: 12px 0 10px; text-align: left; }
.wechat-points li { position: relative; padding: 5px 0 5px 14px; font-size: 10px; line-height: 1.6; color: #a99b85; border-bottom: 1px dashed rgba(214, 174, 99, 0.14); }
.wechat-points li:last-child { border-bottom: 0; }
.wechat-points li::before { content: "◆"; position: absolute; left: 0; top: 5px; font-size: 7px; color: #7fd0a8; }
.wechat-note { padding: 8px; font-size: 9.5px; line-height: 1.6; color: #d2a59a; border: 1px solid rgba(180, 35, 42, 0.35); background: rgba(80, 18, 20, 0.18); }

/* ---------- 公告列表 ---------- */
.notice-list { padding: 4px 0; }
.notice-list li { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px dashed rgba(214, 174, 99, 0.16); transition: background 0.2s; }
.notice-list li:last-child { border-bottom: 0; }
.notice-list li:hover { background: rgba(214, 174, 99, 0.06); }
.date { flex-shrink: 0; font-family: Georgia, serif; font-size: 13px; color: var(--gold); padding-right: 12px; border-right: 1px solid rgba(214, 174, 99, 0.25); }
.notice-list a { flex: 1; min-width: 0; font-size: 13px; color: #ddd0b7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-list a:hover { color: var(--gold-light); }
.tag { flex-shrink: 0; padding: 2px 7px; font-size: 10px; color: #9eb9c9; border: 1px solid rgba(158, 185, 201, 0.35); }
.tag-hot { color: #ff9e8b; border-color: rgba(255, 120, 90, 0.5); background: rgba(180, 35, 42, 0.18); }

/* ---------- 下载区 ---------- */
.download-block, .career-block, .event-block, .gallery-block { margin-bottom: 36px; }
.download-card {
  position: relative;
  padding: 20px 22px 16px;
  margin-bottom: 14px;
  background: linear-gradient(120deg, rgba(34, 26, 24, 0.95), rgba(16, 15, 18, 0.96));
  border: 1px solid rgba(214, 174, 99, 0.3);
  transition: border-color 0.25s, transform 0.25s;
}
.download-card:hover { border-color: rgba(214, 174, 99, 0.65); transform: translateY(-2px); }
.download-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--gold), var(--red)); }
.download-card-main { display: flex; gap: 16px; align-items: flex-start; }
.download-icon {
  flex-shrink: 0; width: 54px; height: 54px; display: grid; place-items: center;
  font-family: var(--serif); font-size: 27px; color: #f6e2b4;
  background: radial-gradient(circle, rgba(180, 35, 42, 0.55), rgba(35, 18, 18, 0.9));
  border: 1px solid var(--gold); box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.5);
}
.download-icon.alt { background: radial-gradient(circle, rgba(214, 174, 99, 0.35), rgba(28, 20, 14, 0.9)); }
.download-info { flex: 1; min-width: 0; }
.download-info h3 { font-family: var(--serif); font-size: 19px; letter-spacing: 1px; color: var(--gold-light); margin-bottom: 7px; }
.download-info p { font-size: 12px; color: var(--muted); }
.download-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; font-size: 11.5px; color: #988b77; }
.download-meta b { color: #d9c9a8; font-weight: 600; margin-left: 4px; }
.download-meta .stars { color: #e8b452; letter-spacing: 2px; }
.download-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 10px 70px; }
.btn-dl {
  padding: 8px 17px; font-size: 12px; font-weight: 700; color: #32200c;
  background: linear-gradient(180deg, #eed19a, #c29548);
  border: 1px solid #f2dca9;
  transition: 0.2s;
}
.btn-dl:hover { filter: brightness(1.14); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(214, 174, 99, 0.25); }
.download-warn { margin-left: 70px; font-size: 11px; color: #b4776c; }

/* ---------- 职业卡片 ---------- */
.career-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.career-card {
  position: relative;
  padding: 26px 20px 22px;
  text-align: center;
  background: linear-gradient(180deg, rgba(28, 23, 24, 0.95), rgba(13, 12, 15, 0.96));
  border: 1px solid rgba(214, 174, 99, 0.25);
  overflow: hidden;
  transition: transform 0.28s, border-color 0.28s, box-shadow 0.28s;
}
.career-card::before { content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.career-card::after {
  content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%;
  top: -90px; left: 50%; transform: translateX(-50%); opacity: 0.12;
  background: radial-gradient(circle, var(--accent), transparent 70%);
}
.career-card:hover { transform: translateY(-8px); border-color: rgba(214, 174, 99, 0.7); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); }
.career-card.warrior { --accent: #e0523f; }
.career-card.mage { --accent: #5a9ede; }
.career-card.taoist { --accent: #62bf91; }
.career-emblem {
  width: 76px; height: 76px; margin: 0 auto 14px;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 38px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(214, 174, 99, 0.08), inset 0 0 24px rgba(0, 0, 0, 0.6);
  text-shadow: 0 0 18px currentColor;
}
.career-card h3 { font-family: var(--serif); font-size: 23px; letter-spacing: 5px; color: var(--gold-light); }
.career-en { font-size: 10px; letter-spacing: 4px; color: #8b7d68; margin-top: 4px; }
.career-card > p:not(.career-en) { font-size: 12px; line-height: 1.9; color: #b2a48f; margin-top: 14px; min-height: 68px; }
.career-skills { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 14px; }
.career-skills span { font-size: 10px; padding: 4px 9px; color: #cbb994; border: 1px solid rgba(214, 174, 99, 0.25); background: rgba(214, 174, 99, 0.05); }

/* ---------- 版本特色 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 36px; }
.feature-item { position: relative; padding: 20px 16px; border: 1px solid rgba(214, 174, 99, 0.2); background: rgba(19, 17, 20, 0.75); }
.feature-num { font-family: Georgia, serif; font-size: 26px; color: rgba(214, 174, 99, 0.35); }
.feature-item h4 { margin: 8px 0 6px; font-family: var(--serif); font-size: 16px; color: var(--gold-light); letter-spacing: 2px; }
.feature-item p { font-size: 11.5px; line-height: 1.8; color: #9f9280; }

/* ---------- 活动卡片 ---------- */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.event-card {
  position: relative; min-height: 190px; padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(214, 174, 99, 0.28);
  transition: transform 0.25s;
}
.event-card:hover { transform: translateY(-5px); }
.event-card::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.035), 0 0 0 38px rgba(255, 255, 255, 0.025);
}
.event-red { background: linear-gradient(135deg, #4c1115, #1c1115 70%); }
.event-gold { background: linear-gradient(135deg, #4a3717, #1a1512 70%); }
.event-dark { background: linear-gradient(135deg, #26302c, #131519 70%); }
.event-label { position: relative; font-size: 10px; letter-spacing: 3px; color: var(--gold); }
.event-card h3 { position: relative; margin-top: 16px; font-family: var(--serif); font-size: 22px; line-height: 1.5; letter-spacing: 2px; color: #f7e7c4; }
.event-card p { position: relative; margin-top: 10px; font-size: 11px; color: #b5a58c; }
.event-card a { position: relative; display: inline-block; margin-top: 18px; font-size: 12px; color: var(--gold-light); border-bottom: 1px solid rgba(214, 174, 99, 0.5); padding-bottom: 3px; }
.event-card a:hover { color: #fff; }

/* ---------- 图集 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item {
  position: relative; height: 150px;
  background: url("assets/hero.png") center / 220% auto no-repeat;
  border: 1px solid rgba(214, 174, 99, 0.28);
  overflow: hidden;
  filter: saturate(0.9);
  transition: transform 0.3s, filter 0.3s;
}
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 8, 12, 0.9), transparent 65%); }
.gallery-item span { position: absolute; z-index: 2; left: 14px; bottom: 12px; font-family: var(--serif); font-size: 15px; letter-spacing: 2px; color: #f3e2bd; }
.gallery-item:hover { transform: scale(1.03); filter: saturate(1.2); }
.gallery-item.g1 { background-position: 60% 35%; }
.gallery-item.g2 { background-position: 72% 60%; }
.gallery-item.g3 { background-position: 30% 40%; }

/* ---------- 客服 ---------- */
.support-block { margin-top: 36px; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 20px; }
.support-item { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid rgba(214, 174, 99, 0.2); background: rgba(12, 11, 14, 0.4); }
.support-icon { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 20px; color: var(--gold-light); border: 1px solid var(--gold); border-radius: 50%; }
.support-item b { font-size: 13px; color: var(--gold-light); font-weight: 600; }
.support-item p { margin-top: 5px; font-size: 12px; color: #a89a84; }
.support-note { padding: 0 20px 20px; font-size: 11px; color: #8f8270; }

/* ---------- 免责声明 ---------- */
.disclaimer-bar {
  display: flex; align-items: flex-start; gap: 14px;
  margin-top: 4px; padding: 14px 18px;
  background: linear-gradient(90deg, rgba(40, 22, 21, 0.85), rgba(16, 15, 18, 0.92));
  border: 1px solid rgba(214, 174, 99, 0.28);
  border-left: 3px solid var(--red);
}
.disclaimer-tag {
  flex-shrink: 0;
  padding: 4px 9px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: #ffe6d6;
  background: linear-gradient(180deg, #b4232a, #7c1117);
  border: 1px solid rgba(255, 190, 160, 0.35);
}
.disclaimer-bar p { font-size: 11px; line-height: 1.9; color: #a89a84; }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative; z-index: 2;
  padding: 30px 0 36px;
  background: linear-gradient(180deg, #0a090c, #050507);
  border-top: 2px solid var(--gold-dark);
}
.footer-links { text-align: center; padding-bottom: 20px; border-bottom: 1px solid rgba(214, 174, 99, 0.15); font-size: 12px; color: var(--gold); }
.footer-links a { margin: 0 10px; }
.footer-links a:hover { text-decoration: underline; }
.footer-links span { color: rgba(214, 174, 99, 0.35); }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 22px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand b { display: block; font-family: var(--serif); font-size: 19px; color: var(--gold-light); letter-spacing: 2px; }
.footer-brand small { font-size: 11px; color: #8d816f; }
.footer-meta { text-align: right; font-size: 11px; line-height: 1.9; color: #7f7465; }
.footer-meta span, .footer-meta a { color: var(--gold); }
.footer-meta a:hover { text-decoration: underline; }

/* ---------- 返回顶部 / 提示 ---------- */
.back-top {
  position: fixed; z-index: 90; right: 24px; bottom: 28px;
  width: 44px; height: 44px;
  font-size: 20px; color: var(--gold-light);
  background: rgba(20, 16, 18, 0.9);
  border: 1px solid var(--gold);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: 0.25s;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--red-dark); }
.toast {
  position: fixed; z-index: 200; left: 50%; bottom: 40px;
  transform: translate(-50%, 20px);
  padding: 12px 24px;
  font-size: 13px; color: #fff0d2;
  background: rgba(26, 18, 18, 0.96);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transition: 0.3s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 1; transform: none; transition: transform 0.6s ease; }
.js .reveal { transform: translateY(18px); }
.js .reveal.visible { transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .header-cta { display: none; }
  .main-nav a { padding: 10px 10px; font-size: 13px; }
  .hero-inner { gap: 20px; }
  .countdown-card { width: 320px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .topbar-left { display: none; }
  .topbar-inner { justify-content: center; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 24px 16px;
    background: rgba(10, 9, 12, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(214, 174, 99, 0.1); }
  .main-nav a::after { display: none; }
  .hero { min-height: 560px; background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, rgba(8,8,12,0.94), rgba(8,8,12,0.65) 65%, rgba(8,8,12,0.4)); }
  .hero-inner { flex-direction: column; align-items: flex-start; padding: 70px 0 60px; }
  .countdown-card { width: 100%; max-width: 420px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .content { min-width: 0; }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; }
  .sidebar .safety-card { grid-column: span 2; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .quick-links a, .quick-links a:first-child { grid-column: span 1; }
  .career-grid, .event-grid, .gallery-grid, .support-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .topbar-right { font-size: 10px; gap: 8px; }
  .brand-text strong { font-size: 20px; }
  .brand-seal { width: 40px; height: 40px; font-size: 21px; }
  .site-header { height: 66px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: 52px; letter-spacing: 3px; }
  .hero-sub { font-size: 16px; }
  .hero-desc { font-size: 12px; }
  .hero-actions .btn { flex: 1; justify-content: center; padding: 12px 14px; font-size: 12px; }
  .countdown-units b { font-size: 26px; }
  .newsline-more { display: none; }
  .disclaimer-bar { flex-direction: column; gap: 8px; padding: 12px; }
  .sidebar { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  .sidebar .safety-card { grid-column: span 1; }
  .quick-links { grid-template-columns: minmax(0, 1fr); }
  .notice-list li { align-items: flex-start; }
  .notice-list a { white-space: normal; line-height: 1.6; }
  .career-grid, .event-grid, .gallery-grid, .support-grid, .feature-grid { grid-template-columns: 1fr; }
  .download-actions, .download-warn { margin-left: 0; }
  .download-card { padding: 16px; }
  .download-icon { width: 44px; height: 44px; font-size: 22px; }
  .download-info h3 { font-size: 16px; }
  .download-meta { gap: 8px; }
  .notice-list li { padding: 10px 12px; gap: 8px; }
  .notice-list a { font-size: 12px; }
  .tag { display: none; }
  .footer-main { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
  .section-head h2 { font-size: 19px; }
  .section-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
