@charset "UTF-8";
/* ===================================================================
   传奇3 主题 - 玛法暗金风样式表
   底色：#0a0805 深黑   暗金：#c9a84c   暗红：#8b0000   文字：#d4c4a0
   字体：serif 衬线     风格：复古玛法大陆 / 暗金粒子飘落 / 火焰边缘
   =================================================================== */

/* ---------- 全局变量 ---------- */
:root {
  --bg-base: #0a0805;
  --bg-deep: #050402;
  --bg-card: rgba(18, 13, 6, 0.78);
  --bg-card-hover: rgba(30, 22, 9, 0.88);
  --gold: #c9a84c;
  --gold-dark: #8a6f2c;
  --gold-light: #e6c976;
  --gold-glow: rgba(201, 168, 76, 0.45);
  --red: #8b0000;
  --red-light: #c0392b;
  --red-glow: rgba(139, 0, 0, 0.5);
  --text: #d4c4a0;
  --text-dim: #8a7e5e;
  --text-light: #ebd9a8;
  --border-gold: rgba(201, 168, 76, 0.4);
  --border-gold-strong: rgba(201, 168, 76, 0.7);
  --shadow-gold: 0 0 18px rgba(201, 168, 76, 0.28);
  --shadow-red: 0 0 24px rgba(139, 0, 0, 0.4);
  --radius: 6px;
  --maxw: 1200px;
  --serif: "FangSong", "STFangsong", "STKaiti", "KaiTi", "SimSun", "Songti SC", Georgia, "Times New Roman", serif;
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--serif);
  color: var(--text);
  background: var(--bg-base);
  line-height: 1.75;
  overflow-x: hidden;
  /* 玛法大陆纹理背景（CSS渐变模拟） */
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(139, 0, 0, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
    linear-gradient(170deg, var(--bg-base) 0%, var(--bg-deep) 55%, var(--bg-base) 100%);
  background-attachment: fixed;
}

a { color: var(--gold-light); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

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

/* ===================================================================
   暗金粒子飘落背景
   =================================================================== */
.goldfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.goldfield .ember {
  position: absolute;
  top: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-light) 0%, var(--gold) 50%, transparent 80%);
  opacity: 0;
  box-shadow: 0 0 6px var(--gold-glow);
  animation: emberFall linear infinite;
}
/* 暗金粒子从顶部飘落到底部，带横向漂移 */
@keyframes emberFall {
  0%   { opacity: 0; transform: translateY(0) translateX(0) scale(1); }
  10%  { opacity: 0.9; }
  50%  { opacity: 0.7; }
  90%  { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(105vh) translateX(var(--drift, 30px)) scale(0.4); }
}

/* 所有内容层在粒子之上 */
.navbar, .hero, section, .footer, .service-fab, .back-top { position: relative; z-index: 2; }

/* ===================================================================
   1. 顶部固定导航栏（暗金边框装饰）
   =================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 8, 5, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.15), 0 4px 18px rgba(0, 0, 0, 0.5);
  transition: background .35s, box-shadow .35s;
}
.navbar.scrolled {
  background: rgba(10, 8, 5, 0.95);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.25), 0 6px 28px rgba(0, 0, 0, 0.7), 0 0 12px var(--gold-glow);
}
.nav-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo-text {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold-glow), 0 0 22px rgba(139, 0, 0, 0.3);
  padding: 4px 14px;
  border: 1px solid var(--border-gold);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.1), transparent);
  position: relative;
}
/* 暗金边框四角装饰 */
.logo-text::before, .logo-text::after {
  content: "";
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 6px var(--gold);
}
.logo-text::before { left: -3px; }
.logo-text::after  { right: -3px; }

.nav-menu {
  display: flex;
  gap: 4px;
}
.nav-link {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  font-size: 15px;
  letter-spacing: 2px;
  position: relative;
  border: 1px solid transparent;
  transition: color .25s, border-color .25s, background .25s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width .35s, left .35s;
}
.nav-link:hover {
  color: var(--gold-light);
  border-color: var(--border-gold);
  background: rgba(201, 168, 76, 0.06);
}
.nav-link:hover::after { width: 80%; left: 10%; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold-glow);
  transition: transform .3s, opacity .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================================
   2. 全屏 Hero 横幅（暗黑背景 + 金色光晕 + 火焰边缘装饰）
   =================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
  position: relative;
}
/* 火焰边缘光效（底部红金渐变光带） */
.hero-flames {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(201, 168, 76, 0.20) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 95%, rgba(139, 0, 0, 0.35) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 90%, rgba(201, 168, 76, 0.15) 0%, transparent 35%);
  animation: flameFlicker 4s ease-in-out infinite;
}
.hero-flames::before {
  content: "";
  position: absolute;
  inset: 0;
  /* 复古纹理格栅 */
  background: repeating-linear-gradient(
    0deg, transparent 0, transparent 42px,
    rgba(201, 168, 76, 0.025) 42px, rgba(201, 168, 76, 0.025) 43px
  );
}
.hero-flames::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 边缘暗角 */
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
}
@keyframes flameFlicker {
  0%, 100% { opacity: 0.85; }
  25%      { opacity: 1; }
  50%      { opacity: 0.9; }
  75%      { opacity: 1; }
}
.hero-inner {
  max-width: 880px;
  position: relative;
  z-index: 1;
}
.hero-version {
  display: inline-block;
  padding: 6px 24px;
  margin-bottom: 26px;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--gold-light);
  border: 1px solid var(--border-gold-strong);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.15), rgba(139, 0, 0, 0.15));
  box-shadow: var(--shadow-gold), inset 0 0 12px rgba(201, 168, 76, 0.1);
  position: relative;
}
.hero-version::before, .hero-version::after {
  content: "\25C6";
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 8px;
  color: var(--gold);
}
.hero-version::before { left: 8px; }
.hero-version::after  { right: 8px; }
.hero-title {
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 900;
  letter-spacing: 10px;
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--gold);
  text-shadow:
    0 0 14px rgba(201, 168, 76, 0.7),
    0 0 32px rgba(201, 168, 76, 0.45),
    0 0 60px rgba(139, 0, 0, 0.5),
    0 4px 8px rgba(0, 0, 0, 0.8);
  animation: titleBreath 5s ease-in-out infinite;
}
@keyframes titleBreath {
  0%, 100% { text-shadow: 0 0 14px rgba(201,168,76,.7), 0 0 32px rgba(201,168,76,.45), 0 0 60px rgba(139,0,0,.5), 0 4px 8px rgba(0,0,0,.8); }
  50%      { text-shadow: 0 0 22px rgba(201,168,76,1), 0 0 48px rgba(201,168,76,.7), 0 0 80px rgba(139,0,0,.7), 0 4px 8px rgba(0,0,0,.8); }
}
.hero-slogan {
  font-size: clamp(16px, 2.4vw, 22px);
  color: var(--text-light);
  letter-spacing: 4px;
  margin-bottom: 36px;
  font-style: italic;
}
.hero-opentime {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 32px;
  margin-bottom: 32px;
  border: 1px solid var(--red-glow);
  background: linear-gradient(180deg, rgba(139, 0, 0, 0.18), rgba(139, 0, 0, 0.05));
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.3), inset 0 0 12px rgba(139, 0, 0, 0.15);
}
.opentime-label {
  font-size: 14px;
  color: var(--red-light);
  letter-spacing: 2px;
}
.opentime-value {
  font-size: 24px;
  font-weight: 700;
  color: #e8a64c;
  text-shadow: 0 0 10px rgba(232, 166, 76, 0.7), 0 0 20px rgba(139, 0, 0, 0.4);
  letter-spacing: 2px;
}

/* 向下滚动提示 */
.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 3px;
  animation: hintBob 2.2s ease-in-out infinite;
}
.scroll-arrow {
  width: 14px; height: 14px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  box-shadow: 1px 1px 6px var(--gold-glow);
}
@keyframes hintBob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ---------- 按钮暗金渐变+悬浮效果 ---------- */
.btn {
  display: inline-block;
  padding: 14px 46px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 4px;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  border: none;
  text-align: center;
  position: relative;
}
.btn-gold {
  color: #1a1206;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  border: 1px solid var(--gold-light);
  box-shadow: 0 0 22px var(--gold-glow), 0 6px 22px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}
.btn-gold:hover {
  color: #1a1206;
  transform: translateY(-3px);
  box-shadow: 0 0 34px rgba(201, 168, 76, 0.85), 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 14px rgba(139, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
  padding: 11px;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--gold-light);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.12), rgba(139, 0, 0, 0.08));
  border: 1px solid var(--border-gold);
  box-shadow: inset 0 0 12px rgba(201, 168, 76, 0.08);
}
.btn-dl:hover {
  color: #1a1206;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 20px var(--gold-glow);
}

/* ===================================================================
   通用区块标题
   =================================================================== */
section { padding: 80px 0; }
.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: 8px;
  color: var(--gold);
  margin-bottom: 14px;
  text-shadow: 0 0 14px var(--gold-glow), 0 0 30px rgba(139, 0, 0, 0.35);
  position: relative;
}
.section-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}
.section-deco span {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-deco span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section-deco i {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--gold);
}
.section-subtitle {
  text-align: center;
  color: var(--text-dim);
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 50px;
  font-style: italic;
}

/* ===================================================================
   倒计时（暗金发光数字）
   =================================================================== */
.hero-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.count-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 104px;
  padding: 20px 12px 16px;
  background: linear-gradient(180deg, rgba(30, 22, 9, 0.85), rgba(10, 8, 5, 0.85));
  border: 1px solid var(--border-gold);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-gold), inset 0 0 20px rgba(201, 168, 76, 0.12);
  position: relative;
}
/* 四角暗金装饰 */
.count-item::before, .count-item::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border: 1px solid var(--gold);
}
.count-item::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.count-item::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.count-num {
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  text-shadow: 0 0 14px var(--gold-glow), 0 0 28px rgba(139, 0, 0, 0.3);
  font-variant-numeric: tabular-nums;
}
.count-label {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 4px;
}
.count-sep {
  font-size: 44px;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold-glow);
}
.countdown-status {
  text-align: center;
  margin-top: 0;
  margin-bottom: 32px;
  font-size: 17px;
  color: var(--gold-light);
  letter-spacing: 2px;
}
.countdown-status.status-live {
  color: #e8a64c;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(232, 166, 76, 0.7), 0 0 22px rgba(139, 0, 0, 0.4);
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

/* ===================================================================
   服务器信息卡
   =================================================================== */
.server-info { padding-top: 36px; padding-bottom: 36px; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-card {
  text-align: center;
  padding: 34px 22px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-gold);
  transition: transform .35s, box-shadow .35s, border-color .35s;
  position: relative;
}
.info-card::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  box-shadow: 0 0 8px var(--gold);
}
.info-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 26px var(--gold-glow), 0 0 14px rgba(139, 0, 0, 0.25);
}
.info-label {
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 4px;
  margin-bottom: 12px;
}
.info-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-shadow: 0 0 8px var(--gold-glow);
}
.info-deco {
  margin: 16px auto 0;
  width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ===================================================================
   三职业展示区（传奇3特色 - 职业卡片悬浮金色光晕）
   =================================================================== */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.class-card {
  text-align: center;
  padding: 44px 26px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-gold);
  transition: transform .4s, box-shadow .4s, border-color .4s, background .4s;
  position: relative;
}
/* 四角暗金装饰 */
.class-corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--gold);
  transition: border-color .4s, box-shadow .4s;
}
.class-corner-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.class-corner-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.class-corner-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.class-corner-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }
/* 悬浮金色光晕效果 */
.class-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  background: var(--bg-card-hover);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), 0 0 36px var(--gold-glow), 0 0 18px rgba(139, 0, 0, 0.3);
}
.class-card:hover .class-corner {
  border-color: var(--gold-light);
  box-shadow: 0 0 8px var(--gold-glow);
}
.class-icon {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 22px;
  color: var(--gold);
  text-shadow: 0 0 18px var(--gold-glow), 0 0 36px rgba(139, 0, 0, 0.3);
  transition: transform .4s, text-shadow .4s;
}
.class-card:hover .class-icon {
  transform: scale(1.15);
  text-shadow: 0 0 26px rgba(201, 168, 76, 0.9), 0 0 48px rgba(139, 0, 0, 0.5);
}
.class-name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--gold-light);
  margin-bottom: 16px;
  text-shadow: 0 0 10px var(--gold-glow);
}
.class-desc {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
  letter-spacing: 1px;
}

/* ===================================================================
   七元素徽章区（传奇3特色 - 七色发光、悬浮放大旋转）
   =================================================================== */
.elements-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.element-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: default;
  transition: transform .4s ease;
}
.element-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), transparent 70%), var(--bg-card);
  border: 2px solid var(--el-color, var(--gold));
  /* 七色发光效果 */
  box-shadow: 0 0 20px var(--el-color, var(--gold-glow)), inset 0 0 16px rgba(0, 0, 0, 0.5);
  transition: transform .4s ease, box-shadow .4s ease;
  animation: elementPulse 3s ease-in-out infinite;
}
/* 元素徽章脉冲发光 */
@keyframes elementPulse {
  0%, 100% { box-shadow: 0 0 16px var(--el-color, var(--gold-glow)), inset 0 0 16px rgba(0, 0, 0, 0.5); }
  50%      { box-shadow: 0 0 32px var(--el-color, var(--gold-glow)), 0 0 48px var(--el-color, var(--gold-glow)), inset 0 0 16px rgba(0, 0, 0, 0.5); }
}
/* 悬浮放大旋转效果 */
.element-badge:hover {
  transform: translateY(-8px);
}
.element-badge:hover .element-circle {
  transform: scale(1.18) rotate(360deg);
  box-shadow: 0 0 40px var(--el-color, var(--gold-glow)), 0 0 64px var(--el-color, var(--gold-glow)), inset 0 0 20px rgba(0, 0, 0, 0.4);
  animation-play-state: paused;
}
.element-glyph {
  font-size: 38px;
  line-height: 1;
  color: var(--el-color, var(--gold));
  text-shadow: 0 0 14px var(--el-color, var(--gold-glow)), 0 0 24px var(--el-color, var(--gold-glow));
}
.element-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-light);
  text-shadow: 0 0 8px var(--el-color, var(--gold-glow));
  transition: color .3s;
}
.element-badge:hover .element-name {
  color: var(--el-color, var(--gold-light));
}

/* ===================================================================
   游戏特色（暗金边框装饰）
   =================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px 28px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-left: 3px solid var(--gold);
  transition: transform .35s, box-shadow .35s, border-color .35s, background .35s;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  border-left-color: var(--red-light);
  background: var(--bg-card-hover);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 26px var(--gold-glow), -3px 0 14px rgba(139, 0, 0, 0.3);
}
.feature-num {
  flex-shrink: 0;
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: #1a1206;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border: 1px solid var(--gold-light);
  box-shadow: 0 0 16px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-family: Georgia, serif;
}
.feature-text {
  font-size: 16px;
  color: var(--text);
  line-height: 1.85;
  padding-top: 6px;
  letter-spacing: 1px;
}
/* 暗金四角装饰 */
.feature-corner {
  position: absolute;
  bottom: 6px; right: 8px;
  width: 16px; height: 16px;
  border-right: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
  opacity: 0.5;
}
.features-empty {
  color: var(--text-dim);
  text-align: center;
  grid-column: 1 / -1;
}

/* ===================================================================
   下载中心
   =================================================================== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.download-card {
  padding: 34px 22px 26px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-top: 2px solid var(--gold);
  transition: transform .35s, box-shadow .35s, border-color .35s;
  position: relative;
}
.download-card::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  box-shadow: 0 0 8px var(--gold);
}
.download-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55), 0 0 26px var(--gold-glow), 0 0 14px rgba(139, 0, 0, 0.25);
}
.dl-icon {
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 14px;
  text-shadow: 0 0 16px var(--gold-glow);
  display: flex;
  justify-content: center;
}
.dl-icon svg { filter: drop-shadow(0 0 8px var(--gold-glow)); }
.dl-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
  letter-spacing: 3px;
  text-shadow: 0 0 8px var(--gold-glow);
}
.dl-corner {
  position: absolute;
  bottom: 6px; right: 8px;
  width: 14px; height: 14px;
  border-right: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
  opacity: 0.5;
}

/* ===================================================================
   友情链接
   =================================================================== */
.links { padding: 56px 0; }
.links-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 28px;
  text-shadow: 0 0 10px var(--gold-glow);
}
.links-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.link-item {
  padding: 8px 22px;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 2px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  transition: all .25s;
}
.link-item:hover {
  color: #1a1206;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold-light);
  box-shadow: 0 0 14px var(--gold-glow);
}
.links-empty { color: var(--text-dim); }

/* ===================================================================
   页脚
   =================================================================== */
.footer {
  padding: 56px 0 28px;
  background: linear-gradient(180deg, transparent, rgba(10, 8, 5, 0.95));
  border-top: 1px solid var(--border-gold);
  box-shadow: 0 -6px 28px rgba(139, 0, 0, 0.2);
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px dashed var(--border-gold);
}
.footer-brand h3 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--gold);
  text-shadow: 0 0 12px var(--gold-glow);
  margin-bottom: 8px;
}
.footer-brand p { color: var(--text-dim); font-size: 15px; letter-spacing: 2px; font-style: italic; }
.footer-contact p { font-size: 15px; color: var(--text-dim); margin-bottom: 8px; letter-spacing: 1px; }
.footer-contact span, .footer-contact a { color: var(--gold-light); font-weight: 600; }
.footer-contact a:hover { color: var(--gold); text-decoration: underline; }
.footer-bottom {
  padding-top: 22px;
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 1px;
}
.footer-bottom p { margin-bottom: 6px; }
.footer-bottom span { color: var(--gold-light); }
.footer-bottom a { color: var(--gold-light); }
.footer-bottom a:hover { color: var(--gold); text-decoration: underline; }
.info-none { color: var(--text-dim); }

/* ===================================================================
   悬浮客服面板
   =================================================================== */
.service-fab {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 99;
}
.fab-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #1a1206;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 0 20px var(--gold-glow), 0 6px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform .25s, box-shadow .25s;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}
.fab-btn:hover {
  transform: scale(1.08) rotate(6deg);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.9), 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 14px rgba(139, 0, 0, 0.4);
}
.fab-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 250px;
  padding: 22px;
  background: rgba(10, 8, 5, 0.97);
  border: 1px solid var(--border-gold);
  border-top: 2px solid var(--gold);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 22px var(--gold-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.fab-panel::before {
  content: "";
  position: absolute;
  bottom: -8px; right: 24px;
  width: 14px; height: 14px;
  background: rgba(10, 8, 5, 0.97);
  border-right: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  transform: rotate(45deg);
}
.service-fab.open .fab-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.fab-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  letter-spacing: 4px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-gold);
  text-shadow: 0 0 8px var(--gold-glow);
}
.fab-qq-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.fab-qq-item {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  text-align: center;
  letter-spacing: 1px;
  color: var(--gold-light);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.12), rgba(139, 0, 0, 0.08));
  border: 1px solid var(--border-gold);
  transition: background .25s, color .25s;
}
.fab-qq-item:hover {
  color: #1a1206;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 14px var(--gold-glow);
}
.fab-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px dotted rgba(201, 168, 76, 0.15);
}
.fab-row:last-child { border-bottom: none; }
.fab-label { color: var(--text-dim); letter-spacing: 2px; }
.fab-val { color: var(--gold-light); font-weight: 600; }
.group-link:hover { color: var(--gold); text-decoration: underline; }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px; height: 48px;
  border: 1px solid var(--border-gold);
  background: var(--bg-card);
  color: var(--gold);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s, box-shadow .25s, background .25s, color .25s;
  z-index: 98;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1206;
  box-shadow: 0 0 18px var(--gold-glow);
}

/* ===================================================================
   滚动入场动画（.reveal -> .reveal-in，透明度+位移过渡）
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.reveal-in,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   响应式 - 平板（992px）
   =================================================================== */
@media (max-width: 992px) {
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .classes-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .element-circle { width: 82px; height: 82px; }
  .element-glyph { font-size: 32px; }
}

/* ===================================================================
   响应式 - 手机（768px断点）
   =================================================================== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 68px; right: 0;
    flex-direction: column;
    width: 220px;
    padding: 16px;
    gap: 4px;
    background: rgba(10, 8, 5, 0.98);
    border-left: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    box-shadow: -4px 8px 28px rgba(0, 0, 0, 0.7);
    transform: translateX(110%);
    transition: transform .35s ease;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { padding: 14px 18px; border: 1px solid transparent; }
  .nav-link:hover { border-color: var(--border-gold); }

  .hero { min-height: 92vh; padding-top: 96px; }
  .hero-title { letter-spacing: 4px; }
  .hero-opentime { flex-direction: column; gap: 6px; padding: 12px 22px; }

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

  .elements-row { gap: 16px; }
  .element-circle { width: 72px; height: 72px; }
  .element-glyph { font-size: 28px; }
  .element-name { font-size: 14px; }

  .count-item { min-width: 72px; padding: 14px 6px; }
  .count-sep { font-size: 30px; }
  .section-title { letter-spacing: 4px; }
  .section-subtitle { letter-spacing: 2px; }

  .footer-main { flex-direction: column; }
  .service-fab { right: 16px; bottom: 80px; }
  .back-top { right: 16px; bottom: 18px; }
}

@media (max-width: 420px) {
  .hero-title { letter-spacing: 2px; }
  .btn { padding: 12px 32px; font-size: 15px; letter-spacing: 2px; }
  .hero-countdown { gap: 6px; }
  .feature-card { padding: 22px 18px; gap: 14px; }
  .feature-num { width: 42px; height: 42px; font-size: 18px; }
  .class-card { padding: 32px 18px 26px; }
  .class-icon { font-size: 44px; }
  .elements-row { gap: 12px; }
  .element-circle { width: 62px; height: 62px; }
  .element-glyph { font-size: 24px; }
}
