/* =============================================
   月光86 · 71dnf · 仙侠科技风格
   ============================================= */

/* ---------- CSS 变量 ---------- */
:root {
  --moonlight: #c8a8f0;
  --moonlight-dim: #9a78d0;
  --moonlight-bright: #e8d0ff;
  --gold: #f0c060;
  --gold-light: #ffe49a;
  --gold-dark: #b8860b;
  --cyan: #00e5ff;
  --cyan-dim: #00a8cc;
  --purple: #7c3aed;
  --purple-dark: #4c1d95;
  --dark: #05050f;
  --dark2: #0a0a1e;
  --dark3: #10102a;
  --dark4: #1a1a38;
  --text: #e0d8f0;
  --text-dim: #a090c0;
  --border: rgba(200, 168, 240, 0.15);
  --border-bright: rgba(200, 168, 240, 0.35);
  --shadow-moon: 0 0 40px rgba(200, 168, 240, 0.25);
  --shadow-gold: 0 0 30px rgba(240, 192, 96, 0.3);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Noto Serif SC', 'PingFang SC', serif;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}
body.cursor-hidden #cursor { opacity: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: none; font-family: inherit; border: none; background: none; }

/* ---------- 滚动进度条 ---------- */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--purple), var(--moonlight), var(--cyan));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ---------- 自定义光标 ---------- */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 22px; height: 22px;
  border: 2px solid var(--moonlight);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  translate: -50% -50%;
  transition: width 0.18s, height 0.18s, border-color 0.18s, background 0.18s;
  box-shadow: 0 0 10px rgba(200, 168, 240, 0.5);
}
#cursor.active {
  width: 36px; height: 36px;
  border-color: var(--gold);
  background: rgba(200, 168, 240, 0.08);
}
#cursor.click {
  width: 14px; height: 14px;
  background: rgba(200, 168, 240, 0.3);
}
#cursorFx {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9997;
}
.spark {
  position: fixed;
  width: 5px; height: 5px;
  border-radius: 50%;
  pointer-events: none;
  background: var(--moonlight);
}
.spark.amber { background: var(--gold); }
.spark.red { background: #e06060; }
.spark.trail {
  animation: spark-trail 0.9s ease-out forwards;
}
.spark.burst {
  animation: spark-burst 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes spark-trail {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx, 0px), var(--dy, 20px)) scale(0.2); }
}
@keyframes spark-burst {
  0% { opacity: 1; transform: translate(0, 0) scale(1.2); }
  100% { opacity: 0; transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(0.1); }
}

/* ---------- 预加载 ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.7s ease;
}
#preloader.done { opacity: 0; pointer-events: none; }
.pre-rune {
  width: 80px; height: 80px;
  border: 2px solid var(--border-bright);
  border-top-color: var(--moonlight);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  box-shadow: inset 0 0 20px rgba(200, 168, 240, 0.1), 0 0 20px rgba(200, 168, 240, 0.2);
}
.pre-rune-inner {
  width: 50px; height: 50px;
  border: 2px solid var(--border);
  border-bottom-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite reverse;
  margin: 13px auto 0;
}
.pre-text {
  font-size: 14px;
  letter-spacing: 6px;
  color: var(--text-dim);
  animation: pulse-opacity 1.5s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-opacity { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(5, 5, 15, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  padding: 10px 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(200, 168, 240, 0.08);
  box-shadow: 0 0 12px rgba(200, 168, 240, 0.15);
}
.nav-logo-text {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--moonlight-bright), var(--moonlight), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--text-dim);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--moonlight);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--moonlight); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  padding: 10px 24px;
  border: none;
  border-radius: 22px;
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #a78bfa, #f0c060);
  background-size: 200% 200%;
  background-position: 0% 50%;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.5), 0 0 0 1px rgba(255,255,255,0.15) inset;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.nav-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.nav-cta:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.7), 0 0 20px rgba(240, 192, 96, 0.4), 0 0 0 1px rgba(255,255,255,0.25) inset;
}
.nav-cta:hover::before { left: 120%; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-dim);
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(124, 58, 237, 0.15) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 30% 70%, rgba(0, 229, 255, 0.05) 0%, transparent 60%),
              var(--dark);
}

/* 法阵旋转层 */
.hero-arrays {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ar {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
}
.ar-1 {
  width: 600px; height: 600px;
  border-color: rgba(200, 168, 240, 0.12);
  animation: spin 80s linear infinite;
  box-shadow: inset 0 0 60px rgba(200, 168, 240, 0.03), 0 0 60px rgba(200, 168, 240, 0.03);
}
.ar-2 {
  width: 440px; height: 440px;
  border-color: rgba(240, 192, 96, 0.1);
  animation: spin 50s linear infinite reverse;
}
.ar-3 {
  width: 300px; height: 300px;
  border-color: rgba(0, 229, 255, 0.08);
  animation: spin 30s linear infinite;
}
.ar-4 {
  width: 180px; height: 180px;
  border-color: rgba(200, 168, 240, 0.2);
  animation: spin 18s linear infinite reverse;
}
/* 法阵上的点 */
.ar::before {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--moonlight);
  top: -3px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--moonlight);
}
.ar-2::before { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.ar-3::before { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* 光束 */
.hero-beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.beam {
  position: absolute;
  top: -100px;
  width: 1px;
  height: 40vh;
  background: linear-gradient(180deg, transparent, var(--moonlight), transparent);
  opacity: 0;
  animation: beamFall 8s ease-in-out infinite;
}
.beam:nth-child(1) { left: 20%; animation-delay: 0s; opacity: 0.3; }
.beam:nth-child(2) { left: 45%; animation-delay: 2s; opacity: 0.2; background: linear-gradient(180deg, transparent, var(--gold), transparent); }
.beam:nth-child(3) { left: 70%; animation-delay: 4s; opacity: 0.25; }
.beam:nth-child(4) { left: 85%; animation-delay: 6s; opacity: 0.15; background: linear-gradient(180deg, transparent, var(--cyan), transparent); }
@keyframes beamFall {
  0% { transform: translateY(-100%); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 0.5; }
  100% { transform: translateY(110vh); opacity: 0; }
}

/* 浮动光球 */
.hero-orb {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbPulse 6s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

/* Hero 内容 */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 120px 20px 80px;
}
.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--moonlight-dim);
  background: rgba(200, 168, 240, 0.06);
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease;
}
.hero-title {
  font-size: clamp(56px, 10vw, 130px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--moonlight-bright) 0%, var(--moonlight) 40%, var(--gold) 70%, var(--moonlight-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeInDown 0.8s 0.1s ease both, titleGlow 4s ease-in-out infinite 1s;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(200, 168, 240, 0.3));
}
@keyframes titleGlow {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(200, 168, 240, 0.3)); }
  50% { filter: drop-shadow(0 0 60px rgba(200, 168, 240, 0.6)); }
}
.hero-sub {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text-dim);
  letter-spacing: 5px;
  margin-top: 12px;
  animation: fadeInDown 0.8s 0.2s ease both;
}
.hero-sub span { color: var(--gold); }
.hero-tags {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 24px 0;
  flex-wrap: wrap;
  animation: fadeInDown 0.8s 0.3s ease both;
}
/* 扁平 SVG 图标统一样式 */
.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}
.btn-primary .btn-icon, .dl-btn-main .btn-icon { width: 20px; height: 20px; }
.pack-btn .btn-icon { width: 17px; height: 17px; margin-right: 2px; }

.hero-tags span {
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 2px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
}

/* 倒计时 */
.hero-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 36px auto;
  width: fit-content;
  animation: fadeInDown 0.8s 0.4s ease both;
}
.cd-title {
  font-size: 13px;
  letter-spacing: 8px;
  color: var(--moonlight-bright);
  text-align: center;
  display: block;
  padding: 4px 18px;
  background: rgba(200, 168, 240, 0.06);
  border: 1px solid rgba(200, 168, 240, 0.3);
  border-radius: 16px;
  text-shadow: 0 0 12px rgba(200, 168, 240, 0.4);
}
.cd-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 84px;
}
.cd-num {
  font-family: 'Orbitron', monospace;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.18), rgba(10, 10, 30, 0.6));
  border: 1px solid rgba(200, 168, 240, 0.35);
  border-radius: 10px;
  padding: 10px 16px;
  width: 100%;
  text-align: center;
  text-shadow: 0 0 24px rgba(200, 168, 240, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.cd-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-dim);
}
.cd-sep {
  font-family: 'Orbitron', monospace;
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--moonlight-dim);
  font-weight: 700;
  padding-bottom: 28px;
  opacity: 0.6;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap;
  animation: fadeInDown 0.8s 0.5s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 44px;
  border-radius: 36px;
  font-size: 17px;
  letter-spacing: 4px;
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 40%, #c8a8f0 70%, #f0c060 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow:
    0 6px 32px rgba(124, 58, 237, 0.6),
    0 0 0 1px rgba(255,255,255,0.2) inset,
    0 -2px 0 rgba(0,0,0,0.2) inset;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  animation: ctaPulse 2.4s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 32px rgba(124, 58, 237, 0.6), 0 0 0 1px rgba(255,255,255,0.2) inset, 0 -2px 0 rgba(0,0,0,0.2) inset; }
  50%      { box-shadow: 0 8px 40px rgba(124, 58, 237, 0.85), 0 0 28px rgba(200, 168, 240, 0.5), 0 0 0 1px rgba(255,255,255,0.3) inset, 0 -2px 0 rgba(0,0,0,0.2) inset; }
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 14px 44px rgba(124, 58, 237, 0.8),
    0 0 36px rgba(240, 192, 96, 0.35),
    0 0 0 1px rgba(255,255,255,0.3) inset;
}
.btn-primary:hover::before { left: 120%; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 40px;
  border-radius: 36px;
  font-size: 16px;
  letter-spacing: 4px;
  font-weight: 700;
  border: 1.5px solid var(--moonlight-dim);
  color: var(--moonlight-bright);
  background: rgba(200, 168, 240, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}
.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,168,240,0.2), transparent 50%, rgba(240,192,96,0.15));
  opacity: 0;
  transition: opacity 0.4s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(240, 192, 96, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(240, 192, 96, 0.3);
}
.btn-ghost:hover::before { opacity: 1; }
.btn-ghost:hover {
  background: rgba(200, 168, 240, 0.12);
  border-color: var(--moonlight);
  box-shadow: var(--shadow-moon);
}

/* 山脉装饰 */
.hero-mountains {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  pointer-events: none;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 数据统计栏 ---------- */
.stats-bar {
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.08), rgba(10, 10, 30, 0.9)),
    rgba(10, 10, 30, 0.9);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 168, 240, 0.5), transparent);
}
.stats-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 192, 96, 0.4), transparent);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Orbitron', monospace;
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, var(--moonlight-bright) 30%, var(--gold) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(200, 168, 240, 0.35));
  letter-spacing: 1px;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ---------- 通用 Section ---------- */
.sec {
  padding: 100px 0;
  position: relative;
}
.sec-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.sec-head {
  text-align: center;
  margin-bottom: 60px;
}
.sec-eyebrow {
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--moonlight-dim);
  margin-bottom: 12px;
  display: block;
}
.sec-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, var(--moonlight-bright) 30%, var(--moonlight) 50%, var(--gold) 80%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
  letter-spacing: 4px;
  filter: drop-shadow(0 4px 20px rgba(200, 168, 240, 0.35));
  animation: titleShimmer 6s ease-in-out infinite;
}
@keyframes titleShimmer {
  0%, 100% { background-position: 0% 50%; filter: drop-shadow(0 4px 20px rgba(200, 168, 240, 0.35)); }
  50%      { background-position: 100% 50%; filter: drop-shadow(0 4px 30px rgba(240, 192, 96, 0.45)); }
}
.sec-desc {
  font-size: 15px;
  color: var(--text-dim);
  margin-top: 12px;
  letter-spacing: 1px;
}
.sec-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--moonlight), transparent);
  margin: 16px auto 0;
}

/* ---------- 特色卡片 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: linear-gradient(135deg, rgba(200, 168, 240, 0.04), rgba(124, 58, 237, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--moonlight-dim), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(200, 168, 240, 0.1);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}
.feature-tag {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--moonlight-dim);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px 8px;
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--moonlight-bright);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ---------- 开服福利时间线 ---------- */
.rewards-sec { background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.04), transparent); }
.rewards-layout {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0;
}
.rewards-spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.spine-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(180deg, transparent, var(--moonlight-dim), transparent);
}
.spine-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--moonlight);
  border: 2px solid var(--dark);
  box-shadow: 0 0 12px var(--moonlight);
  flex-shrink: 0;
}
.rewards-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.rewards-col-right { padding-top: 80px; }
.reward-card {
  background: linear-gradient(135deg, rgba(200, 168, 240, 0.04), rgba(10, 10, 30, 0.8));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: all var(--transition);
}
.reward-card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 8px 30px rgba(200, 168, 240, 0.08);
}
.reward-time {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--moonlight-dim);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.reward-time::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--moonlight-dim);
}
.reward-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.reward-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reward-items li {
  font-size: 14px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.reward-items li::before {
  content: '✦';
  color: var(--moonlight-dim);
  font-size: 10px;
  flex-shrink: 0;
}

/* ---------- 职业卡片（3D翻转） ---------- */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cls-wrap {
  perspective: 1400px;
  height: 380px;
}
.cls-card {
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
.cls-wrap:hover .cls-card { transform: rotateY(180deg); }
.cls-front, .cls-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 20px 18px 22px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(124, 58, 237, 0.22), transparent 70%),
    linear-gradient(160deg, #0e0e26 0%, #15153a 60%, #0a0a1f 100%);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
}
/* 前面：魔法阵装饰圈 */
.cls-front::before {
  content: '';
  position: absolute;
  top: 12%; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px dashed rgba(200, 168, 240, 0.18);
  animation: spin 60s linear infinite;
  pointer-events: none;
}
.cls-front::after {
  content: '';
  position: absolute;
  top: 18%; left: 50%;
  transform: translateX(-50%);
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(240, 192, 96, 0.12);
  animation: spin 40s linear infinite reverse;
  pointer-events: none;
}
.cls-wrap:hover .cls-front { border-color: rgba(200, 168, 240, 0.5); box-shadow: 0 16px 50px rgba(124, 58, 237, 0.35), 0 0 28px rgba(200, 168, 240, 0.18); }

/* 立绘容器（统一显示，不受图片本身比例影响） */
.cls-portrait {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.cls-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: drop-shadow(0 10px 24px rgba(124, 58, 237, 0.6)) drop-shadow(0 0 12px rgba(200, 168, 240, 0.25));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s;
  border-radius: 12px;
  mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}
.cls-wrap:hover .cls-portrait img {
  transform: translateY(-6px) scale(1.05);
  filter: drop-shadow(0 14px 30px rgba(124, 58, 237, 0.9)) drop-shadow(0 0 20px rgba(200, 168, 240, 0.45));
}
.cls-portrait::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 18px;
  background: radial-gradient(ellipse, rgba(200, 168, 240, 0.6), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}

.cls-back {
  transform: rotateY(180deg);
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(124, 58, 237, 0.25), transparent 70%),
    linear-gradient(160deg, #15153a 0%, #1a1a44 50%, #0e0e26 100%);
  border-color: rgba(200, 168, 240, 0.4);
  justify-content: center;
  gap: 14px;
  box-shadow: 0 16px 50px rgba(124, 58, 237, 0.4), 0 0 28px rgba(200, 168, 240, 0.2) inset;
}
.cls-back::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(240, 192, 96, 0.15);
  border-radius: 12px;
  pointer-events: none;
}

.cls-icon {
  font-size: 80px;
  line-height: 1;
  filter: drop-shadow(0 6px 16px rgba(200, 168, 240, 0.5));
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
}
.cls-name {
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, var(--moonlight-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 4px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(200, 168, 240, 0.3);
}
.cls-sub {
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 5px;
  text-transform: uppercase;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}
.cls-desc {
  font-size: 14px;
  color: var(--text);
  text-align: center;
  line-height: 1.9;
  padding: 0 4px;
}
.cls-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.cls-tag {
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 14px;
  border: 1px solid rgba(200, 168, 240, 0.35);
  color: var(--moonlight-bright);
  background: rgba(200, 168, 240, 0.08);
  letter-spacing: 1px;
  font-weight: 600;
}

/* ---------- 充值套餐 ---------- */
.recharge-sec { background: linear-gradient(180deg, transparent, rgba(10, 10, 30, 0.6), transparent); }
.packs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pack-card {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124, 58, 237, 0.18), transparent 70%),
    linear-gradient(160deg, #0f0f28 0%, #16163a 60%, #0a0a1e 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}
.pack-card .pack-btn { margin-top: auto; }
.pack-items {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.pack-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200, 168, 240, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.pack-card:hover::before { opacity: 1; }
.pack-card.featured {
  border-color: rgba(240, 192, 96, 0.4);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(240, 192, 96, 0.22), transparent 70%),
    linear-gradient(160deg, #1a1438 0%, #1f1840 60%, #100a22 100%);
  box-shadow:
    0 0 40px rgba(240, 192, 96, 0.18),
    0 0 0 1px rgba(240, 192, 96, 0.15) inset;
  transform: scale(1.04);
  z-index: 2;
}
.pack-card.featured::before {
  background: linear-gradient(90deg, transparent, rgba(240, 192, 96, 0.7), transparent);
  opacity: 1;
  animation: shimmerTop 3s linear infinite;
}
@keyframes shimmerTop {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.pack-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 168, 240, 0.55);
  box-shadow:
    0 20px 50px rgba(124, 58, 237, 0.3),
    0 0 30px rgba(200, 168, 240, 0.18);
}
.pack-card.featured:hover {
  transform: scale(1.04) translateY(-8px);
  box-shadow:
    0 24px 60px rgba(240, 192, 96, 0.35),
    0 0 40px rgba(240, 192, 96, 0.25),
    0 0 0 1px rgba(240, 192, 96, 0.3) inset;
}
.pack-badge {
  position: absolute;
  top: 0; right: 0;
  padding: 6px 16px;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
}
.pack-badge.featured-badge {
  background: linear-gradient(135deg, var(--purple), var(--moonlight-dim));
  color: #fff;
}
.pack-badge.super-badge {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
}
.pack-badge.top-badge {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #fff;
}
.pack-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--moonlight-bright);
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.pack-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}
.pack-price-currency {
  font-size: 18px;
  color: var(--gold);
}
.pack-price-num {
  font-family: 'Orbitron', monospace;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.pack-original {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-bottom: 20px;
}
.pack-items {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.pack-items li {
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pack-items li::before {
  content: '◆';
  color: var(--moonlight-dim);
  font-size: 8px;
  flex-shrink: 0;
}
.pack-btn {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  font-size: 15px;
  letter-spacing: 4px;
  font-weight: 800;
  margin-top: 24px;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #c8a8f0 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  box-shadow:
    0 4px 18px rgba(124, 58, 237, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 -2px 0 rgba(0, 0, 0, 0.2) inset;
  transition: all 0.45s cubic-bezier(0.2, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.pack-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.pack-btn:hover {
  background-position: 100% 50%;
  transform: translateY(-3px);
  box-shadow:
    0 8px 32px rgba(124, 58, 237, 0.65),
    0 0 24px rgba(200, 168, 240, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}
.pack-btn:hover::before { left: 120%; }
.pack-card.featured .pack-btn {
  background: linear-gradient(135deg, #f0c060 0%, #ffd870 50%, #f0c060 100%);
  background-size: 200% 200%;
  color: #1a0a2e;
  box-shadow:
    0 4px 22px rgba(240, 192, 96, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 -2px 0 rgba(120, 80, 0, 0.25) inset;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
  animation: btnPulseGold 2.4s ease-in-out infinite;
}
.pack-card.featured .pack-btn:hover {
  box-shadow:
    0 10px 36px rgba(240, 192, 96, 0.75),
    0 0 30px rgba(255, 216, 112, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}
@keyframes btnPulseGold {
  0%, 100% { box-shadow: 0 4px 22px rgba(240, 192, 96, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 -2px 0 rgba(120, 80, 0, 0.25) inset; }
  50%      { box-shadow: 0 6px 28px rgba(240, 192, 96, 0.8), 0 0 24px rgba(255, 216, 112, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.3) inset, 0 -2px 0 rgba(120, 80, 0, 0.25) inset; }
}
.pack-card.featured .pack-btn:hover {
  box-shadow: 0 6px 30px rgba(124, 58, 237, 0.5);
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
}

/* ---------- 公告区 ---------- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(200, 168, 240, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: default;
}
.news-item.pinned {
  border-color: rgba(200, 168, 240, 0.25);
  background: rgba(200, 168, 240, 0.05);
}
.news-item:hover {
  border-color: var(--border-bright);
  background: rgba(200, 168, 240, 0.07);
}
.news-type {
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: 600;
}
.news-type.activity {
  background: rgba(200, 168, 240, 0.12);
  color: var(--moonlight);
  border: 1px solid var(--border-bright);
}
.news-type.update {
  background: rgba(240, 192, 96, 0.1);
  color: var(--gold);
  border: 1px solid rgba(240, 192, 96, 0.2);
}
.news-type.maintenance {
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.15);
}
.news-pin {
  flex-shrink: 0;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
}
.news-title {
  flex: 1;
  font-size: 15px;
  color: var(--text);
}
.news-date {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-dim);
  font-family: 'Orbitron', monospace;
}

/* ---------- 下载区 ---------- */
.download-sec { background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.05), transparent); }
.download-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, rgba(200, 168, 240, 0.04), rgba(124, 58, 237, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.download-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 60% at 80% 50%, rgba(200, 168, 240, 0.05), transparent);
}
.dl-label {
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--moonlight-dim);
  margin-bottom: 16px;
  display: block;
}
.dl-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--moonlight-bright), var(--moonlight));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
  margin-bottom: 16px;
}
.dl-desc {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 32px;
}
.dl-meta {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 16px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.dl-meta span { display: flex; align-items: center; gap: 6px; }
.dl-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  border-radius: 36px;
  font-size: 16px;
  letter-spacing: 3px;
  font-weight: 800;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}
.dl-btn-main {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 40%, #c8a8f0 70%, #f0c060 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #fff;
  border: none;
  box-shadow:
    0 6px 32px rgba(124, 58, 237, 0.6),
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 -2px 0 rgba(0,0,0,0.2) inset;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  animation: ctaPulse 2.4s ease-in-out infinite;
}
.dl-btn-main::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.dl-btn-main:hover {
  background-position: 100% 50%;
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 14px 44px rgba(124, 58, 237, 0.8),
    0 0 36px rgba(240, 192, 96, 0.35),
    0 0 0 1px rgba(255,255,255,0.3) inset;
}
.dl-btn-main:hover::before { left: 120%; }
.dl-btn-sec {
  border: 1.5px solid var(--moonlight-dim);
  color: var(--moonlight-bright);
  background: rgba(200, 168, 240, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.dl-btn-sec:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(240, 192, 96, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(240, 192, 96, 0.3);
}
.dl-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
}
.dl-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
}
.dl-circle-1 {
  width: 200px; height: 200px;
  border-color: rgba(200, 168, 240, 0.12);
  animation: spin 30s linear infinite;
}
.dl-circle-2 {
  width: 140px; height: 140px;
  border-color: rgba(240, 192, 96, 0.1);
  animation: spin 20s linear infinite reverse;
}
.dl-circle-3 {
  width: 80px; height: 80px;
  border-color: rgba(0, 229, 255, 0.1);
  animation: spin 12s linear infinite;
}
.dl-icon-center {
  position: relative;
  z-index: 10;
  font-size: 48px;
  animation: orbPulse 4s ease-in-out infinite;
}

/* 下载项卡片网格 */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.dl-item {
  background: linear-gradient(160deg, rgba(200, 168, 240, 0.04), rgba(124, 58, 237, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dl-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-bright);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.18);
}
.dl-item-featured {
  background: linear-gradient(160deg, rgba(200, 168, 240, 0.1), rgba(240, 192, 96, 0.04));
  border-color: rgba(200, 168, 240, 0.32);
  box-shadow: 0 0 24px rgba(200, 168, 240, 0.12);
}
.dl-item-featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--moonlight), var(--gold)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  opacity: 0.5;
  pointer-events: none;
}
.dl-item-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--gold), #ffd870);
  color: #1a0a2e;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 1px;
}
.dl-item-icon {
  font-size: 52px;
  margin-bottom: 14px;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(200, 168, 240, 0.3));
}
.dl-item-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--moonlight-bright);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.dl-item-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 12px;
  min-height: 42px;
}
.dl-item-size {
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 18px;
  padding: 4px 12px;
  background: rgba(240, 192, 96, 0.08);
  border-radius: 12px;
  display: inline-block;
}
.dl-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
  padding: 15px 20px;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #c8a8f0 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 3px;
  text-decoration: none;
  margin-top: auto;
  transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 5px 20px rgba(124, 58, 237, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.dl-item-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.dl-item-btn:hover {
  background-position: 100% 50%;
  box-shadow:
    0 10px 32px rgba(124, 58, 237, 0.7),
    0 0 24px rgba(200, 168, 240, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
  transform: translateY(-3px);
}
.dl-item-btn:hover::before { left: 120%; }
.dl-item-featured .dl-item-btn {
  background: linear-gradient(135deg, #f0c060 0%, #ffd870 50%, #f0c060 100%);
  background-size: 200% 200%;
  color: #1a0a2e;
  box-shadow:
    0 5px 22px rgba(240, 192, 96, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
  animation: btnPulseGold 2.4s ease-in-out infinite;
}
.dl-item-featured .dl-item-btn:hover {
  box-shadow:
    0 10px 36px rgba(240, 192, 96, 0.8),
    0 0 30px rgba(255, 216, 112, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.dl-tips {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 1px;
  padding: 14px 20px;
  background: rgba(200, 168, 240, 0.04);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.dl-tips b { color: var(--moonlight); }

/* ---------- 页脚 ---------- */
footer {
  border-top: 1px solid var(--border);
  background: var(--dark2);
  padding: 60px 0 30px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer-brand-name {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--moonlight-bright), var(--moonlight), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.footer-brand-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 280px;
}
.footer-contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
}
.contact-icon { font-size: 16px; }
.contact-label { color: var(--moonlight-dim); letter-spacing: 1px; }
.contact-value {
  font-family: 'Orbitron', monospace;
  color: var(--gold);
  transition: color var(--transition);
  word-break: break-all;
}
a.contact-value:hover { color: var(--moonlight-bright); text-shadow: 0 0 8px rgba(200,168,240,0.5); }

.footer-links-bar {
  margin-top: 32px;
  padding: 18px 24px;
  background: rgba(200, 168, 240, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 13px;
  line-height: 1.8;
}
.footer-links-label {
  color: var(--moonlight-dim);
  letter-spacing: 1px;
  margin-right: 4px;
}
.footer-links-bar a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links-bar a:hover { color: var(--gold); text-shadow: 0 0 8px rgba(240, 192, 96, 0.4); }
.footer-links-sep { color: var(--border-b); opacity: 0.6; }

/* Logo 图片版 */
.nav-logo-img {
  height: 36px;
  width: auto;
  max-width: 48px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(200, 168, 240, 0.4));
}
.footer-brand-img {
  height: 28px;
  width: auto;
  max-width: 40px;
  vertical-align: middle;
  margin-right: 6px;
  object-fit: contain;
}

/* 备案信息 */
.footer-beian {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 12px;
}
.footer-beian a {
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color var(--transition);
}
.footer-beian a:hover { color: var(--moonlight); }

/* Hero 背景图层 */
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  z-index: 0;
  pointer-events: none;
  filter: saturate(1.05);
}
.hero-bg-mask {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, transparent 0%, rgba(5,5,15,0.45) 60%, rgba(5,5,15,0.85) 100%),
    linear-gradient(180deg, rgba(5,5,15,0.45) 0%, transparent 40%, rgba(5,5,15,0.7) 100%);
  z-index: 0;
  pointer-events: none;
}
.hero > .hero-content { position: relative; z-index: 5; }
.hero > .hero-arrays, .hero > .hero-beams, .hero > .hero-orb { z-index: 2; }

/* ============= 右侧联系方式（精简版：默认竖标签） ============= */
.side-bar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  font-family: 'Noto Serif SC', serif;
  display: flex;
  align-items: center;
}

/* 默认显示的窄竖标签（仅在 collapsed 状态显示） */
.side-tab {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  padding: 14px 6px;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.85), rgba(167, 139, 250, 0.7));
  border: 1px solid rgba(200, 168, 240, 0.4);
  border-right: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: -4px 4px 18px rgba(124, 58, 237, 0.4);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 1;
}
.side-bar:not(.collapsed) .side-tab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(20px);
}
.side-tab:hover {
  width: 36px;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.95), rgba(240, 192, 96, 0.7));
  box-shadow: -6px 6px 24px rgba(124, 58, 237, 0.6);
}
.side-tab-icon { width: 18px; height: 18px; flex-shrink: 0; }
.side-tab-text {
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 700;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.side-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: dotBlink 2s ease-in-out infinite;
}

/* collapsed 时面板隐藏到右边外 */
.side-bar.collapsed .side-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
}
.side-panel {
  margin-right: 14px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}


/* 联系方式主面板 */
.side-panel {
  width: 200px;
  background: linear-gradient(160deg, rgba(14, 14, 38, 0.96), rgba(21, 21, 58, 0.94));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 168, 240, 0.32);
  border-radius: 12px;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(124, 58, 237, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  position: relative;
}
.side-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 168, 240, 0.6), transparent);
}
.side-head {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(200, 168, 240, 0.12);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), transparent);
  display: flex;
  align-items: center;
  gap: 6px;
}
.side-head-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: dotBlink 2s ease-in-out infinite;
}
@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.side-head-text {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--moonlight-bright);
  font-weight: 700;
}

/* 单行联系方式 */
.side-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(200, 168, 240, 0.06);
  transition: background 0.2s;
  cursor: default;
}
.side-row:last-child { border-bottom: none; }
.side-row:hover { background: rgba(200, 168, 240, 0.05); }
.side-row-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(167, 139, 250, 0.12));
  border: 1px solid rgba(200, 168, 240, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}
.side-row-info {
  flex: 1;
  min-width: 0;
}
.side-row-label {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
  margin-bottom: 1px;
}
.side-row-value {
  font-family: 'Orbitron', 'Noto Serif SC', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.side-row-copy {
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(200, 168, 240, 0.2);
  background: rgba(200, 168, 240, 0.05);
  color: var(--moonlight);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  font-family: inherit;
}
.side-row-copy svg { width: 14px; height: 14px; }
.side-row-copy:hover {
  background: linear-gradient(135deg, var(--purple), var(--moonlight-dim));
  border-color: transparent;
  color: #fff;
  transform: scale(1.05);
}
.side-row-copy.copied {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border-color: transparent;
  color: #fff;
}
.side-row-copy.copied::before {
  content: '✓';
  font-size: 16px;
  font-weight: 900;
}
.side-row-copy.copied svg { display: none; }

/* 面板顶部关闭按钮 */
.side-head { position: relative; padding-right: 32px; }
.side-head-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(200, 168, 240, 0.08);
  color: var(--text-dim);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.side-head-close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; transform: translateY(-50%) rotate(90deg); }

/* 返回顶部小圆按钮（独立于面板，永远靠右） */
.side-top {
  position: fixed;
  right: 14px;
  bottom: 96px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(14, 14, 38, 0.92), rgba(21, 21, 58, 0.88));
  border: 1px solid rgba(200, 168, 240, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--moonlight);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  transition: all 0.3s;
  opacity: 0;
}
.side-top.show { display: flex; opacity: 1; }
.side-top svg { width: 16px; height: 16px; }
.side-top:hover {
  background: linear-gradient(135deg, var(--purple), var(--moonlight-dim));
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.5);
}

/* 移动端 */
@media (max-width: 768px) {
  .side-panel { width: 200px; margin-right: 8px; }
  .side-tab { width: 28px; padding: 12px 4px; }
  .side-tab-icon { width: 16px; height: 16px; }
  .side-tab-text { font-size: 10px; }
  .side-top { right: 8px; bottom: 80px; width: 34px; height: 34px; }
  .side-row { padding: 8px 10px; gap: 8px; }
  .side-row-icon { width: 30px; height: 30px; font-size: 16px; }
  .side-row-value { font-size: 12px; }
  .side-row-label { font-size: 10px; }
}

/* ============= 右下角浮动公告卡 ============= */
.notice-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: 'Noto Serif SC', serif;
}
.notice-toast-trigger {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--moonlight-dim));
  border: 2px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5), 0 0 0 1px rgba(200, 168, 240, 0.3) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.6);
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  font-family: inherit;
  animation: triggerPulse 2.4s ease-in-out infinite;
}
.notice-toast.collapsed .notice-toast-trigger {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.notice-toast-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(124, 58, 237, 0.7);
}
.notice-toast-trigger svg { width: 24px; height: 24px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
.notice-toast-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff5560;
  border: 2px solid #1a0a2e;
  animation: dotPing 2s ease-in-out infinite;
}
@keyframes triggerPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5), 0 0 0 1px rgba(200, 168, 240, 0.3) inset; }
  50%      { box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5), 0 0 0 8px rgba(124, 58, 237, 0) inset; }
}
@keyframes dotPing {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.3); }
}

.notice-toast-box {
  width: 340px;
  background: linear-gradient(160deg, #0e0e26, #15153a);
  border: 1px solid rgba(200, 168, 240, 0.32);
  border-radius: 14px;
  box-shadow: 0 16px 50px rgba(124, 58, 237, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  transform: translateX(0) translateY(0) scale(1);
  transform-origin: bottom right;
  opacity: 1;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  max-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
}
.notice-toast.collapsed .notice-toast-box {
  transform: translateX(40px) translateY(40px) scale(0.5);
  opacity: 0;
  pointer-events: none;
}

.notice-toast-head {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.notice-toast-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 168, 240, 0.15), transparent 70%);
}
.notice-toast-gold .notice-toast-head::before { background: linear-gradient(135deg, rgba(240, 192, 96, 0.2), transparent 70%); }
.notice-toast-cyan .notice-toast-head::before { background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), transparent 70%); }
.notice-toast-type {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--moonlight-bright);
}
.notice-toast-gold .notice-toast-type { color: var(--gold); }
.notice-toast-cyan .notice-toast-type { color: var(--cyan); }
.notice-toast-close {
  position: relative;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 18px;
  cursor: pointer;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  transition: all 0.2s;
  font-family: inherit;
}
.notice-toast-close:hover { background: rgba(255, 255, 255, 0.08); color: #fff; transform: rotate(90deg); }

.notice-toast-body { padding: 16px 18px 12px; overflow-y: auto; flex: 1; }
.notice-toast-pin {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #ffd870);
  color: #1a0a2e;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.notice-toast-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--moonlight-bright);
  line-height: 1.45;
  margin-bottom: 6px;
}
.notice-toast-date {
  font-size: 11px;
  color: var(--text-dim);
  font-family: 'Orbitron', monospace;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.notice-toast-content {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 240px;
  overflow-y: auto;
}
.notice-toast-content::-webkit-scrollbar { width: 4px; }
.notice-toast-content::-webkit-scrollbar-thumb { background: rgba(200, 168, 240, 0.3); border-radius: 2px; }

.notice-toast-foot {
  padding: 10px 18px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
  gap: 8px;
}
.notice-toast-nshow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-dim);
  cursor: pointer;
  user-select: none;
}
.notice-toast-nshow input { accent-color: var(--moonlight); cursor: pointer; width: 13px; height: 13px; }
.notice-toast-link {
  font-size: 12px;
  color: var(--moonlight);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.notice-toast-link:hover { color: var(--gold); }

@media (max-width: 600px) {
  .notice-toast { right: 12px; bottom: 12px; left: 12px; }
  .notice-toast-box { width: 100%; }
  .notice-toast-trigger { left: auto; right: 0; bottom: 0; }
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--moonlight-dim);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--moonlight); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
  line-height: 1.7;
}

/* ---------- Reveal 动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .classes-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .cls-wrap { height: 340px; }
  .cls-portrait { height: 220px; }
  .packs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav { padding: 14px 24px; }
  .nav.scrolled { padding: 10px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(5, 5, 15, 0.96);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .nav.open .nav-cta { display: inline-flex; margin: 0 24px 20px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2n) { border-bottom: 1px solid var(--border); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(2n-1):last-child { border-bottom: none; }
  .rewards-layout { grid-template-columns: 1fr; }
  .rewards-spine { display: none; }
  .rewards-col-right { padding-top: 0; }
  .download-card { grid-template-columns: 1fr; padding: 40px 30px; gap: 40px; }
  .dl-illustration { display: none; }
  .dl-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
  .dl-item { padding: 24px 16px; }
  .dl-item-icon { font-size: 40px; }
  .dl-item-name { font-size: 17px; }
}
@media (max-width: 640px) {
  .sec { padding: 70px 0; }
  .sec-inner { padding: 0 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .classes-grid { grid-template-columns: 1fr; }
  .cls-wrap { height: 380px; max-width: 360px; margin: 0 auto; }
  .packs-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 110px 20px 60px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn-primary, .hero-cta .btn-ghost { width: 100%; max-width: 280px; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-inner { grid-template-columns: 1fr 1fr; padding: 0 20px; }
}
