/* ============================================================
   凌家小镇 · 官网样式
   纯手写、无外部依赖（不引 CDN / 字体），离线也能正常显示
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --panel: rgba(18, 27, 45, .72);
  --line: rgba(120, 160, 255, .14);
  --text: #e9eefb;
  --muted: #94a3bd;
  --red: #ff4d5a;
  --red-2: #ff7a63;
  --green: #5ddc7a;
  --gold: #ffc94d;
  --blue: #57a6ff;
  --purple: #a97cff;
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(255, 77, 90, .16), transparent 62%),
    radial-gradient(980px 560px at 88% 4%, rgba(87, 166, 255, .16), transparent 60%),
    radial-gradient(900px 700px at 50% 108%, rgba(93, 220, 122, .10), transparent 62%),
    linear-gradient(180deg, #070b14, #0a101c 40%, #070b14);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(255, 77, 90, .35); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ------------------------------------------------- 顶栏 */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(7, 11, 20, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .5px; }
.brand img { width: 38px; height: 38px; filter: drop-shadow(0 3px 10px rgba(255, 77, 90, .45)); }
.brand b { font-size: 17px; }
.brand span { font-size: 11px; color: var(--muted); letter-spacing: 2px; display: block; font-weight: 500; margin-top: -3px; }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 9px 15px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-links a.on { color: #fff; background: linear-gradient(135deg, rgba(255, 77, 90, .22), rgba(87, 166, 255, .18)); }

.nav-cta {
  margin-left: 10px;
  padding: 9px 18px !important;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--red), var(--red-2)) !important;
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 8px 22px -10px rgba(255, 77, 90, .9);
}

.burger { display: none; margin-left: auto; width: 42px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text); font-size: 18px; cursor: pointer; }

/* ------------------------------------------------- 首屏 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 0 70px;
  overflow: hidden;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.hero-aurora {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  z-index: 0;
  background:
    radial-gradient(60% 100% at 30% 0%, rgba(255, 77, 90, .22), transparent 70%),
    radial-gradient(55% 100% at 72% 10%, rgba(87, 166, 255, .24), transparent 72%);
  filter: blur(30px);
  animation: aurora 14s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(-2%, 0, 0) scale(1); opacity: .85; }
  100% { transform: translate3d(3%, 2%, 0) scale(1.08); opacity: 1; }
}

.hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(93, 220, 122, .35);
  background: rgba(93, 220, 122, .09);
  color: #b8f5c6;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
}
.dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(93, 220, 122, .8);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(93, 220, 122, .8); }
  70%  { box-shadow: 0 0 0 9px rgba(93, 220, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(93, 220, 122, 0); }
}

h1.hero-title {
  margin: 20px 0 0;
  font-size: clamp(52px, 8.4vw, 104px);
  line-height: .98;
  letter-spacing: 3px;
  font-weight: 900;
  background: linear-gradient(120deg, #fff 10%, #ffd9a8 38%, #ff8b7a 58%, #7fb6ff 84%, #fff);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 9s linear infinite;
  text-shadow: 0 24px 60px rgba(255, 77, 90, .18);
}
@keyframes shine {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero-sub {
  margin: 18px 0 0;
  font-size: clamp(15px, 1.7vw, 19px);
  color: #c9d6ee;
  letter-spacing: 1.4px;
  font-weight: 600;
}
.hero-sub em { font-style: normal; color: var(--gold); }
.hero-desc { margin: 16px 0 0; color: var(--muted); max-width: 560px; font-size: 14.6px; }

.addr-card {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px 13px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(23, 34, 56, .92), rgba(15, 22, 38, .86));
  box-shadow: 0 18px 40px -22px #000, inset 0 1px 0 rgba(255, 255, 255, .06);
}
.addr-label { font-size: 11px; letter-spacing: 2.4px; color: var(--muted); font-weight: 700; }
.addr-val { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 19px; font-weight: 800; letter-spacing: .6px; color: #fff; }
.addr-card .copy {
  border: 1px solid rgba(87, 166, 255, .38);
  background: rgba(87, 166, 255, .13);
  color: #cfe4ff;
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
  white-space: nowrap;
}
.addr-card .copy:hover { background: rgba(87, 166, 255, .26); }
.addr-card .copy.done { border-color: rgba(93, 220, 122, .5); background: rgba(93, 220, 122, .18); color: #c8f7d2; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 26px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 13px;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: .5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;
  box-shadow: 0 16px 34px -16px rgba(255, 77, 90, .95);
}
.btn-primary:hover { box-shadow: 0 20px 40px -14px rgba(255, 77, 90, 1); }
.btn-ghost {
  background: rgba(255, 255, 255, .045);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .085); }

/* 精灵球 */
.ball-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  perspective: 1000px;
}
.ball-glow {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 90, .38), rgba(255, 77, 90, 0) 66%);
  filter: blur(14px);
  animation: breathe 4.2s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .75; }
  50%      { transform: scale(1.13); opacity: 1; }
}

.ball {
  position: relative;
  width: 210px; height: 210px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff5763 0 46%, #14161c 46% 54%, #f7f8fb 54% 100%);
  box-shadow:
    inset -18px -22px 46px rgba(0, 0, 0, .45),
    inset 14px 12px 30px rgba(255, 255, 255, .22),
    0 40px 70px -30px rgba(0, 0, 0, .9);
  animation: spin 9s ease-in-out infinite;
  transform-style: preserve-3d;
}
.ball::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 62px; height: 62px;
  margin: -31px 0 0 -31px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #fff, #dfe6f5 55%, #aab6cf);
  border: 9px solid #14161c;
  box-shadow: 0 0 22px rgba(255, 255, 255, .45), inset 0 0 12px rgba(0, 0, 0, .25);
}
.ball::before {
  content: "";
  position: absolute;
  top: 12%; left: 18%;
  width: 46%; height: 30%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%);
  filter: blur(3px);
}
@keyframes spin {
  0%   { transform: rotate(-8deg) rotateY(-26deg) translateY(0); }
  50%  { transform: rotate(-8deg) rotateY(26deg) translateY(-16px); }
  100% { transform: rotate(-8deg) rotateY(-26deg) translateY(0); }
}

.ball-shadow {
  position: absolute;
  bottom: 62px;
  width: 190px; height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .6), transparent 70%);
  filter: blur(9px);
  animation: shadow 4.2s ease-in-out infinite;
}
@keyframes shadow {
  0%, 100% { transform: scale(1); opacity: .55; }
  50%      { transform: scale(1.12); opacity: .8; }
}

/* ------------------------------------------------- 通用段落 */
section { position: relative; }
.sec { padding: 92px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-kicker {
  font-size: 12px;
  letter-spacing: 4px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
}
.sec-title {
  margin: 10px 0 0;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: 1.5px;
  background: linear-gradient(120deg, #fff, #cfe0ff 60%, #86b4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-desc { margin: 12px 0 0; color: var(--muted); }

/* 数字条 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 0;
  position: relative;
  z-index: 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}
.stat {
  padding: 26px 18px;
  text-align: center;
  background: rgba(12, 19, 33, .92);
}
.stat b {
  display: block;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: .6px;
  background: linear-gradient(120deg, #fff, #ffd08a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat > span { font-size: 12.5px; color: var(--muted); letter-spacing: 1.4px; }
.stat b i {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-left: 4px;
  -webkit-text-fill-color: #ffcf8a;
  opacity: .85;
}

/* 卡片网格 */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(24, 35, 57, .78), rgba(13, 20, 34, .72));
  box-shadow: 0 22px 50px -34px #000;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent, var(--red)), transparent);
  opacity: .8;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 30px 60px -34px #000, 0 0 0 1px rgba(255, 255, 255, .04);
}
.card-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 0;
  font-size: 26px;
  background: rgba(139, 139, 139, .85);
  box-shadow: inset 2px 2px 0 #3a3a3a, inset -2px -2px 0 #e9e9e9;
  margin-bottom: 16px;
}
.card:hover { border-color: rgba(255, 255, 255, .55); }
.card:hover::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid rgba(255, 255, 255, .75);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55);
}
.card h3 { margin: 0 0 7px; font-size: 16.5px; letter-spacing: .6px; }
.card p { margin: 0; color: var(--muted); font-size: 13.8px; line-height: 1.8; }
.card .tag {
  display: inline-block;
  margin-top: 13px;
  font-size: 11.5px;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 999px;
  color: #d6e4ff;
  background: rgba(87, 166, 255, .14);
  border: 1px solid rgba(87, 166, 255, .26);
}

/* 世界列表 */
.worlds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.world {
  padding: 20px 18px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(14, 22, 38, .72);
  transition: .25s;
}
.world:hover { border-color: rgba(93, 220, 122, .4); transform: translateY(-3px); }
.world strong { display: block; font-size: 15px; margin-bottom: 5px; }
.world em { font-style: normal; font-size: 11.5px; color: var(--green); letter-spacing: 1px; }
.world p { margin: 8px 0 0; font-size: 12.8px; color: var(--muted); line-height: 1.7; }

/* 步骤 */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  counter-increment: s;
  position: relative;
  padding: 22px 20px 20px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(14, 22, 38, .66);
}
.step::before {
  content: "0" counter(s);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 1px;
  background: linear-gradient(120deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h4 { margin: 6px 0 5px; font-size: 15px; }
.step p { margin: 0; font-size: 13px; color: var(--muted); }

/* CTA 条 */
.cta {
  position: relative;
  padding: 54px 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 77, 90, .28);
  background:
    radial-gradient(500px 240px at 12% 0%, rgba(255, 77, 90, .22), transparent 60%),
    radial-gradient(500px 240px at 88% 100%, rgba(87, 166, 255, .2), transparent 60%),
    linear-gradient(160deg, rgba(26, 36, 60, .9), rgba(12, 18, 31, .92));
  text-align: center;
  overflow: hidden;
}
.cta h2 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 32px); letter-spacing: 1px; }
.cta p { margin: 0 0 24px; color: var(--muted); }

/* ------------------------------------------------- 内页 */
.page-head {
  padding: 140px 0 40px;
  text-align: center;
  position: relative;
}
.page-head h1 {
  margin: 14px 0 0;
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(120deg, #fff, #ffd3a8 50%, #8fbcff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-head p { color: var(--muted); margin: 12px auto 0; max-width: 640px; }

.panel {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(22, 32, 53, .78), rgba(12, 19, 32, .74));
  box-shadow: 0 24px 56px -38px #000;
}
.panel + .panel { margin-top: 18px; }
.panel h2 { margin: 0 0 6px; font-size: 19px; letter-spacing: .8px; }
.panel .hint { color: var(--muted); font-size: 13.4px; margin: 0 0 18px; }

.dl-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(87, 166, 255, .26);
  background: linear-gradient(135deg, rgba(28, 44, 72, .82), rgba(14, 22, 38, .8));
}
.dl-icon {
  width: 62px; height: 62px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 28px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}
.dl-meta { flex: 1 1 260px; }
.dl-meta strong { display: block; font-size: 17px; }
.dl-meta span { color: var(--muted); font-size: 13px; }

.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kv div {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .028);
  font-size: 13.4px;
}
.kv b { color: var(--muted); font-weight: 600; margin-right: 8px; }
.kv a { color: #9ec9ff; border-bottom: 1px dashed rgba(158, 201, 255, .5); }

.list { margin: 0; padding-left: 20px; color: var(--muted); font-size: 13.8px; }
.list li { margin: 7px 0; }
.list b { color: var(--text); }
code.inline {
  font-family: ui-monospace, Consolas, monospace;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 12.8px;
  color: #ffd9a0;
}

.big-qq {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 26px;
  text-align: center;
}
.qq-num {
  font-family: ui-monospace, Consolas, monospace;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(120deg, #7fe3ff, #9ec9ff 60%, #c8b3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.qr {
  width: 236px; height: 236px;
  border-radius: 16px;
  border: 1px dashed rgba(120, 160, 255, .4);
  background: rgba(255, 255, 255, .03);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
  padding: 12px;
  overflow: hidden;
}
.qr img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  background: #fff;
}

/* ------------------------------------------------- 页脚 */
footer {
  margin-top: 60px;
  padding: 40px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.foot-in { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { width: 30px; opacity: .9; }
.foot-brand b { color: var(--text); letter-spacing: .5px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }

.foot-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: right;
}
.foot-legal a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted rgba(150, 170, 210, .45);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.foot-legal a:hover { color: var(--text); border-bottom-color: var(--text); }

/* ------------------------------------------------- MC 快捷栏 */
.hotbar {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 3;
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(12, 18, 30, .55);
  border: 1px solid rgba(150, 180, 235, .14);
  backdrop-filter: blur(6px);
}
.hotbar-in { display: flex; gap: 5px; }
.slot {
  position: relative;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: rgba(139, 139, 139, .88);
  box-shadow: inset 2px 2px 0 #3a3a3a, inset -2px -2px 0 #e9e9e9;
  transition: background .18s, transform .18s;
}
.slot:hover { background: #cfcfcf; transform: translateY(-2px); }
.slot.empty { background: rgba(110, 110, 110, .5); box-shadow: inset 2px 2px 0 #2e2e2e, inset -2px -2px 0 #b9b9b9; }
.slot .it {
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .45));
}
.slot .it.ball-it {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff4d5a 0 44%, #14161c 44% 56%, #f2f4f9 56% 100%);
  position: relative;
  font-style: normal;
}
.slot .it.ball-it::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #14161c;
}
.slot em {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  padding: 5px 10px;
  font-style: normal;
  font-size: 12.5px;
  color: #fff;
  background: #100010;
  border: 2px solid #5000a0;
  border-radius: 2px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s, transform .16s;
}
.slot:hover em { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 1180px) { .hotbar { display: none; } }

/* ------------------------------------------------- 草地分割带 */
.grass-line {
  height: 32px;
  background:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2732%27%20height%3D%2732%27%20shape-rendering%3D%27crispEdges%27%3E%3Crect%20width%3D%2732%27%20height%3D%2732%27%20fill%3D%27%238a6142%27%2F%3E%3Crect%20width%3D%2732%27%20height%3D%2713%27%20fill%3D%27%235aa845%27%2F%3E%3Crect%20x%3D%270%27%20y%3D%2713%27%20width%3D%2732%27%20height%3D%273%27%20fill%3D%27%234b8c39%27%2F%3E%3Crect%20x%3D%274%27%20y%3D%270%27%20width%3D%274%27%20height%3D%273%27%20fill%3D%27%236fc25a%27%2F%3E%3Crect%20x%3D%2718%27%20y%3D%270%27%20width%3D%276%27%20height%3D%273%27%20fill%3D%27%236fc25a%27%2F%3E%3Crect%20x%3D%278%27%20y%3D%273%27%20width%3D%276%27%20height%3D%273%27%20fill%3D%27%234f9c3f%27%2F%3E%3Crect%20x%3D%2722%27%20y%3D%273%27%20width%3D%276%27%20height%3D%273%27%20fill%3D%27%234f9c3f%27%2F%3E%3Crect%20x%3D%272%27%20y%3D%278%27%20width%3D%274%27%20height%3D%273%27%20fill%3D%27%234f9c3f%27%2F%3E%3Crect%20x%3D%2726%27%20y%3D%278%27%20width%3D%274%27%20height%3D%273%27%20fill%3D%27%236fc25a%27%2F%3E%3Crect%20x%3D%270%27%20y%3D%2718%27%20width%3D%276%27%20height%3D%273%27%20fill%3D%27%23956b49%27%2F%3E%3Crect%20x%3D%2712%27%20y%3D%2721%27%20width%3D%278%27%20height%3D%273%27%20fill%3D%27%2376502f%27%2F%3E%3Crect%20x%3D%2724%27%20y%3D%2724%27%20width%3D%276%27%20height%3D%273%27%20fill%3D%27%23956b49%27%2F%3E%3Crect%20x%3D%276%27%20y%3D%2727%27%20width%3D%275%27%20height%3D%273%27%20fill%3D%27%2376502f%27%2F%3E%3C%2Fsvg%3E") repeat-x center / 32px 32px;
  opacity: .92;
}

/* ------------------------------------------------- 长文排版（SEO 段落） */
.prose { max-width: 840px; margin: 0 auto; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 20px; letter-spacing: .5px; }
.prose p { margin: 0 0 17px; color: var(--muted); font-size: 14.6px; line-height: 2.05; }
.prose p:last-child { margin-bottom: 0; }
.prose b { color: var(--text); font-weight: 700; }

/* ------------------------------------------------- 滚动显现 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------- 响应式 */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 6px; }
  .ball-stage { min-height: 280px; order: 2; margin-top: 8px; }
  .ball { width: 150px; height: 150px; }
  .ball-glow { width: 240px; height: 240px; }
  .ball-shadow { width: 150px; bottom: 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
  .worlds { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 66px; left: 12px; right: 12px;
    flex-direction: column;
    background: rgba(9, 14, 24, .97);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    display: none;
    backdrop-filter: blur(16px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 4px 0 0; text-align: center; }
  .burger { display: block; }
  .hero { padding-top: 96px; min-height: auto; }
  .grid-3, .grid-2, .worlds, .steps, .kv { grid-template-columns: 1fr; }
  .sec { padding: 66px 0; }
  .cta { padding: 38px 22px; }
  .panel { padding: 22px; }
  .addr-card { width: 100%; justify-content: space-between; }
  .foot-in { justify-content: center; text-align: center; }
  .foot-legal { align-items: center; text-align: center; }
}
