/* =========================================================
   雷电模拟器 LDPlayer · 官网样式
   ========================================================= */
:root {
  --bg: #070713;
  --bg-alt: #0c0c1c;
  --bg-card: rgba(255, 255, 255, .04);
  --bg-card-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --txt: #eef0ff;
  --txt-2: #a8adcf;
  --txt-3: #72779c;
  --violet: #7b5cff;
  --violet-2: #a855f7;
  --blue: #3d8bff;
  --cyan: #22d3ee;
  --pink: #ff4d9d;
  --grad: linear-gradient(135deg, #7b5cff 0%, #a855f7 50%, #4f7bff 100%);
  --grad-soft: linear-gradient(135deg, rgba(123, 92, 255, .18), rgba(79, 123, 255, .12));
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --shadow-glow: 0 12px 40px rgba(123, 92, 255, .35);
  --max: 1200px;
  --nav-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[data-lang="en"] body { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

/* ---------------- 顶部公告 ---------------- */
.topbar {
  background: var(--grad);
  color: #fff;
  font-size: 13.5px;
  position: relative;
  z-index: 60;
}
.topbar__inner {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.topbar__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .25);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .28); }
  50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}
.topbar__link { font-weight: 700; opacity: .95; white-space: nowrap; }
.topbar__link:hover { text-decoration: underline; }

/* ---------------- 导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(7, 7, 19, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: .3s;
}
.nav.is-stuck {
  background: rgba(7, 7, 19, .92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
}
.nav__inner { display: flex; align-items: center; gap: 28px; }

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: var(--shadow-glow);
}
.logo__mark svg { width: 22px; height: 22px; stroke: #fff; fill: rgba(255, 255, 255, .18); stroke-width: 1.4; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text b { font-size: 16.5px; letter-spacing: .5px; }
.logo__text i {
  font-style: normal; font-size: 11px; letter-spacing: 2.5px;
  color: var(--txt-3); text-transform: uppercase;
}

.nav__menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  padding: 8px 14px; border-radius: 10px;
  font-size: 14.5px; color: var(--txt-2);
  transition: .22s;
}
.nav__link:hover { color: #fff; background: var(--bg-card-2); }
.nav__link.is-current { color: #fff; background: rgba(123, 92, 255, .18); }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.lang {
  display: flex; align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.lang__btn {
  border: 0; background: transparent; cursor: pointer;
  color: var(--txt-3);
  font-size: 12.5px; font-weight: 700;
  padding: 5px 13px; border-radius: 999px;
  transition: .25s;
  font-family: inherit;
}
.lang__btn.is-active {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 14px rgba(123, 92, 255, .4);
}

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 11px;
  background: var(--bg-card); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4.5px;
}
.nav__burger span {
  display: block; width: 17px; height: 2px; border-radius: 2px;
  background: var(--txt); transition: .25s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; font-family: inherit;
  font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 999px;
  transition: .25s cubic-bezier(.4, 0, .2, 1);
  white-space: nowrap;
}
.btn__icon { width: 19px; height: 19px; stroke-width: 2; }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 26px rgba(123, 92, 255, .38);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(123, 92, 255, .55);
}
.btn--ghost {
  background: var(--bg-card); color: var(--txt);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--bg-card-2); transform: translateY(-3px); border-color: rgba(255, 255, 255, .2); }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--sm { padding: 9px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------------- HERO ---------------- */
.hero { position: relative; padding: 80px 0 70px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.glow--1 { width: 520px; height: 520px; background: #6d3bff; top: -140px; left: -120px; }
.glow--2 { width: 460px; height: 460px; background: #2f6dff; top: 60px; right: -100px; opacity: .42; }
.glow--3 { width: 380px; height: 380px; background: #c026d3; bottom: -160px; left: 40%; opacity: .28; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 100%);
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 50px; align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid rgba(168, 85, 247, .3);
  font-size: 13px; color: #d9c9ff;
}
.badge__pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #22d3ee;
  box-shadow: 0 0 12px #22d3ee;
  animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: .25; } }

.hero__title {
  margin: 22px 0 20px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.5px;
}
.hero__title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block;
}
.hero__title span:last-child { display: block; }

.hero__desc { font-size: 16.5px; color: var(--txt-2); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 30px; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 14px 34px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero__meta li { display: flex; flex-direction: column; }
.hero__meta b { font-size: 17px; }
.hero__meta span { font-size: 12.5px; color: var(--txt-3); }

.hero__rating { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 13.5px; color: var(--txt-2); }
.stars { display: flex; gap: 3px; }
.stars svg { width: 17px; height: 17px; fill: #ffc531; stroke: none; }

/* 设备视觉 */
.hero__visual { position: relative; display: grid; place-items: center; }
.device {
  width: min(100%, 400px);
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  padding: 10px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(123, 92, 255, .12);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  50% { transform: translateY(-14px); }
}
.device__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 10px 10px;
}
.device__dots { display: flex; gap: 5px; }
.device__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.device__dots i:first-child { background: #ff5f57; }
.device__dots i:nth-child(2) { background: #febc2e; }
.device__dots i:nth-child(3) { background: #28c840; }
.device__title { font-size: 11.5px; color: var(--txt-3); letter-spacing: .6px; }

.device__screen {
  position: relative;
  border-radius: 16px; overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0a1030;
}
.scene { position: absolute; inset: 0; overflow: hidden; }
.scene__sky {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #1a1055 0%, #55277d 45%, #d1568c 78%, #ffb26b 100%);
}
.scene__sun {
  position: absolute; left: 50%; bottom: 38%;
  width: 90px; height: 90px; margin-left: -45px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff3b0 0%, #ffb347 55%, rgba(255, 140, 60, 0) 72%);
  animation: rise 7s ease-in-out infinite;
}
@keyframes rise { 50% { transform: translateY(-16px); } }
.scene__mountain { position: absolute; bottom: 32%; width: 60%; height: 34%; }
.scene__mountain--1 { left: -8%; background: #2b1a5c; clip-path: polygon(0% 100%, 45% 0%, 100% 100%); }
.scene__mountain--2 { right: -10%; background: #3b226f; clip-path: polygon(0% 100%, 55% 8%, 100% 100%); }
.scene__ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background: linear-gradient(180deg, #180f3d, #0b0725);
}
.scene__hero {
  position: absolute; bottom: 26%; left: 50%; margin-left: -14px;
  width: 28px; height: 46px;
  background: linear-gradient(180deg, #fff, #9db4ff);
  border-radius: 8px 8px 4px 4px;
  box-shadow: 0 0 26px rgba(180, 200, 255, .75);
  animation: jump 2.2s ease-in-out infinite;
}
@keyframes jump {
  0%, 100% { transform: translateY(0) scaleY(1); }
  45% { transform: translateY(-22px) scaleY(1.08); }
  55% { transform: translateY(-18px) scaleY(.94); }
}
.scene__hud { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 5px; }
.hud__chip {
  font-size: 9px; padding: 2px 8px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); color: #7dffb0; letter-spacing: 1px;
  border: 1px solid rgba(125, 255, 176, .3);
}
.hud__chip--2 { color: #8ec5ff; border-color: rgba(142, 197, 255, .3); }
.scene__pad {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px;
}
.pad__stick {
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .1);
  display: grid; place-items: center;
}
.pad__stick i {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  animation: stick 3s ease-in-out infinite;
}
@keyframes stick {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(9px, -7px); }
  60% { transform: translate(-9px, 5px); }
}
.pad__btns { display: flex; gap: 8px; }
.pad__btns i {
  display: block; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  border: 1px solid rgba(255, 255, 255, .35);
}
.pad__btns i:nth-child(1) { background: rgba(255, 90, 140, .5); animation: tap 1.6s infinite; }
.pad__btns i:nth-child(2) { background: rgba(120, 200, 255, .5); animation: tap 1.6s .25s infinite; }
.pad__btns i:nth-child(3) { background: rgba(255, 210, 90, .5); animation: tap 1.6s .5s infinite; }
@keyframes tap { 30% { transform: scale(.72); box-shadow: 0 0 14px rgba(255, 255, 255, .5); } }

.device__fps {
  position: absolute; top: 10px; right: 10px;
  font-size: 10px; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, .5); color: #b9c4ff;
  border: 1px solid rgba(255, 255, 255, .18);
}
.device__fps b { color: #7dffb0; font-size: 12px; }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 16px;
  border-radius: 15px;
  background: rgba(18, 18, 38, .85);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.float-card__ico {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; font-size: 19px;
  background: var(--grad-soft);
}
.float-card b { display: block; font-size: 13.5px; }
.float-card span:not(.float-card__ico) { font-size: 11.5px; color: var(--txt-3); }
.float-card--1 { top: 6%; left: -6%; animation-delay: .4s; }
.float-card--2 { top: 44%; right: -8%; animation-delay: 1.2s; }
.float-card--3 { bottom: 4%; left: -2%; animation-delay: 2s; }

/* 统计 */
.stats {
  position: relative; z-index: 1;
  margin-top: 70px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: rgba(12, 12, 28, .78); padding: 26px 18px; text-align: center; }
.stat b {
  display: block; font-size: clamp(26px, 3vw, 38px); font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: 13.5px; color: var(--txt-3); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 100px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__tag {
  display: inline-block;
  font-size: 12.5px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800; line-height: 1.3; margin-bottom: 14px;
}
.section__sub { color: var(--txt-2); font-size: 16px; }

/* ---------------- 功能卡片 ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: .3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(123, 92, 255, .16), transparent 45%);
  opacity: 0; transition: .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(168, 85, 247, .4); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card__ico {
  position: relative;
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 20px;
}
.card__ico svg { width: 26px; height: 26px; }
.card__ico--violet { background: rgba(123, 92, 255, .16); color: #a78bfa; }
.card__ico--blue { background: rgba(61, 139, 255, .16); color: #7cb0ff; }
.card__ico--pink { background: rgba(255, 77, 157, .16); color: #ff8ac0; }
.card__ico--green { background: rgba(34, 211, 153, .16); color: #5fe3b0; }
.card__ico--orange { background: rgba(251, 146, 60, .16); color: #fdba74; }
.card__ico--cyan { background: rgba(34, 211, 238, .16); color: #67e8f9; }
.card h3 { font-size: 19px; margin-bottom: 10px; position: relative; }
.card p { color: var(--txt-2); font-size: 14.8px; position: relative; }

/* ---------------- 多开 ---------------- */
.multi { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.multi__visual { position: relative; }
.windows {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--grad-soft);
  border: 1px solid var(--line);
}
.win {
  border-radius: 12px; overflow: hidden;
  background: rgba(8, 8, 22, .85);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: .3s;
}
.win:hover { transform: scale(1.04); border-color: rgba(168, 85, 247, .55); }
.win__bar { display: flex; gap: 4px; padding: 7px 9px; background: rgba(255, 255, 255, .05); }
.win__bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.win__body {
  display: grid; place-items: center;
  height: 92px; font-size: 20px; font-weight: 800;
  background: linear-gradient(160deg, rgba(123, 92, 255, .3), rgba(34, 211, 238, .12));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.win--main { grid-column: span 2; }
.win--main .win__body { height: 78px; border: 1px solid rgba(168, 85, 247, .45); border-radius: 9px; margin: 8px; }

.windows__sync {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .35);
  color: #67e8f9; font-size: 13.5px; font-weight: 600;
}
.windows__sync svg { width: 16px; height: 16px; animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.multi__copy .section__title, .multi__copy .section__sub { text-align: left; }
.checklist { display: flex; flex-direction: column; gap: 13px; margin: 26px 0 32px; }
.checklist li { position: relative; padding-left: 32px; color: var(--txt-2); font-size: 15px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--grad);
}
.checklist li::after {
  content: ""; position: absolute; left: 7px; top: 9px;
  width: 6px; height: 3px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---------------- 下载方案 ---------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: .3s;
  position: relative;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--hot {
  background: linear-gradient(170deg, rgba(123, 92, 255, .16), rgba(12, 12, 28, .9) 55%);
  border-color: rgba(168, 85, 247, .45);
  box-shadow: 0 18px 50px rgba(123, 92, 255, .18);
}
.plan__ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 16px; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-size: 12px; font-weight: 700; white-space: nowrap;
  box-shadow: var(--shadow-glow);
}
.plan__head h3 { font-size: 22px; margin-bottom: 6px; }
.plan__ver { font-size: 12.5px; color: var(--cyan); letter-spacing: .5px; }
.plan__desc { margin: 16px 0 20px; color: var(--txt-2); font-size: 14.5px; }
.plan__list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.plan__list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--txt-2); }
.plan__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #5fe3b0; font-weight: 800;
}
.plan__foot { margin-top: auto; }
.plan__size { display: block; font-size: 12.5px; color: var(--txt-3); margin-bottom: 12px; }

/* 系统要求 */
.req { margin-top: 66px; }
.req__title { text-align: center; font-size: 24px; margin-bottom: 26px; }
.req__table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.req__row {
  display: grid; grid-template-columns: 1fr 1.4fr 1.4fr;
  gap: 10px; padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--txt-2);
  transition: .2s;
}
.req__row:last-child { border-bottom: 0; }
.req__row:not(.req__row--head):hover { background: rgba(255, 255, 255, .04); }
.req__row--head {
  background: rgba(123, 92, 255, .16);
  color: #fff; font-weight: 700; font-size: 14px;
}
.req__row span:first-child { color: var(--txt); font-weight: 600; }
.req__note { text-align: center; font-size: 13px; color: var(--txt-3); margin-top: 16px; }

/* ---------------- 游戏 ---------------- */
.games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.game {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 26px 16px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: .28s;
  cursor: pointer;
}
.game:hover {
  transform: translateY(-6px);
  background: var(--grad-soft);
  border-color: rgba(168, 85, 247, .45);
}
.game__ico {
  font-size: 30px; margin-bottom: 6px;
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .06);
}
.game span:not(.game__ico) { font-size: 15px; font-weight: 600; }
.game i { font-style: normal; font-size: 12.5px; color: var(--txt-3); }

/* ---------------- 步骤 ---------------- */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; align-items: start;
}
.step {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--line);
  text-align: center;
  transition: .3s;
}
.step:hover { transform: translateY(-6px); border-color: rgba(168, 85, 247, .4); }
.step__num {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--grad); color: #fff;
  font-size: 21px; font-weight: 800;
  box-shadow: var(--shadow-glow);
}
.step h3 { font-size: 18.5px; margin-bottom: 10px; }
.step p { color: var(--txt-2); font-size: 14.8px; }
.step__line {
  align-self: center; height: 2px;
  background: linear-gradient(90deg, rgba(123, 92, 255, .6), rgba(34, 211, 238, .6));
  margin: 0 -11px;
}

/* ---------------- FAQ ---------------- */
.acc { display: flex; flex-direction: column; gap: 12px; }
.acc__item {
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: .25s;
}
.acc__item.is-open { border-color: rgba(168, 85, 247, .45); background: var(--bg-card-2); }
.acc__q {
  width: 100%; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 24px;
  background: transparent; border: 0;
  color: var(--txt); font-family: inherit;
  font-size: 16px; font-weight: 600; text-align: left;
}
.acc__q i {
  position: relative; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(123, 92, 255, .18);
}
.acc__q i::before, .acc__q i::after {
  content: ""; position: absolute; inset: 50% 5px auto 5px;
  height: 2px; background: #a78bfa; border-radius: 2px;
  transform: translateY(-50%); transition: .3s;
}
.acc__q i::after { transform: translateY(-50%) rotate(90deg); }
.acc__item.is-open .acc__q i::after { transform: translateY(-50%) rotate(0); }
.acc__a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.acc__a p { padding: 0 24px 22px; color: var(--txt-2); font-size: 15px; }

/* ---------------- CTA ---------------- */
.cta { padding: 90px 0 100px; }
.cta__inner {
  position: relative;
  text-align: center;
  padding: 66px 40px;
  border-radius: 34px;
  background: linear-gradient(140deg, rgba(123, 92, 255, .28), rgba(34, 211, 238, .14) 55%, rgba(255, 77, 157, .18));
  border: 1px solid rgba(255, 255, 255, .14);
  overflow: hidden;
}
.cta__inner::after {
  content: ""; position: absolute; inset: -60% -10% auto -10%; height: 300px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .18), transparent 65%);
  pointer-events: none;
}
.cta__inner h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 800; margin-bottom: 14px; }
.cta__inner p { color: #d7d9f5; font-size: 16.5px; margin-bottom: 32px; }
.cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.cta__os { display: block; margin-top: 24px; font-size: 13px; color: rgba(255, 255, 255, .7); }

/* ---------------- 页脚 ---------------- */
.footer { background: #05050f; border-top: 1px solid var(--line); padding: 70px 0 26px; }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 44px;
}
.footer__brand p { margin: 18px 0 20px; color: var(--txt-3); font-size: 14px; max-width: 320px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--bg-card); border: 1px solid var(--line);
  color: var(--txt-2); transition: .25s;
}
.footer__social a svg { width: 18px; height: 18px; }
.footer__social a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-size: 15px; margin-bottom: 6px; }
.footer__col a { font-size: 14px; color: var(--txt-3); transition: .2s; }
.footer__col a:hover { color: #fff; transform: translateX(3px); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--txt-3);
}

/* ---------------- 动画 ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s cubic-bezier(.4, 0, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------- 内页头部 ---------------- */
.page-hero {
  position: relative;
  padding: 62px 0 48px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(123, 92, 255, .22), transparent 70%),
    radial-gradient(600px 300px at 85% 10%, rgba(34, 211, 238, .16), transparent 70%);
  pointer-events: none;
}
.page-hero__inner { position: relative; }
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--txt-3); margin-bottom: 16px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .55; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.25; margin-bottom: 14px; }
.page-hero p { color: var(--txt-2); font-size: 16.5px; max-width: 700px; }
.page-hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag {
  font-size: 13px; padding: 6px 14px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--line); color: var(--txt-2);
}

/* ---------------- 区块标题（左对齐） ---------------- */
.block { padding: 74px 0; }
.block__head { margin-bottom: 34px; }
.block__head h2 { font-size: clamp(23px, 2.8vw, 32px); font-weight: 800; margin-bottom: 10px; }
.block__head p { color: var(--txt-2); font-size: 15.5px; }

/* ---------------- 下载页 ---------------- */
.dl-main {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px;
  align-items: start;
}
.dl-card {
  padding: 34px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(123, 92, 255, .18), rgba(12, 12, 28, .92) 60%);
  border: 1px solid rgba(168, 85, 247, .35);
  box-shadow: 0 20px 50px rgba(123, 92, 255, .16);
}
.dl-card__top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dl-card__ico {
  width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  box-shadow: var(--shadow-glow);
}
.dl-card__ico svg { width: 28px; height: 28px; stroke-width: 1.5; }
.dl-card h2 { font-size: 26px; }
.dl-card__ver { font-size: 13px; color: var(--cyan); }
.dl-card__meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin: 24px 0 26px; padding: 18px 0;
  border-block: 1px solid var(--line);
  font-size: 14px; color: var(--txt-2);
}
.dl-card__meta b { color: var(--txt); }
.dl-card__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-card__note { margin-top: 16px; font-size: 12.5px; color: var(--txt-3); }

.mirror { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.mirror__row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 18px; border-radius: 14px;
  background: var(--bg-card); border: 1px solid var(--line);
  font-size: 14.5px; transition: .25s;
}
.mirror__row:hover { border-color: rgba(168, 85, 247, .45); background: var(--bg-card-2); }
.mirror__row b { font-size: 14.5px; }
.mirror__row span { color: var(--txt-3); font-size: 12.5px; }
.mirror__go { color: #a78bfa; font-weight: 700; font-size: 13.5px; white-space: nowrap; }

.dl-side { display: flex; flex-direction: column; gap: 18px; }
.side-card {
  padding: 24px 22px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--line);
}
.side-card h3 { font-size: 17px; margin-bottom: 14px; }
.side-card ul { display: flex; flex-direction: column; gap: 11px; }
.side-card li { font-size: 14px; color: var(--txt-2); position: relative; padding-left: 20px; }
.side-card li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--violet-2);
}
.side-card--warn { background: rgba(255, 77, 157, .08); border-color: rgba(255, 77, 157, .28); }
.side-card--warn li::before { background: var(--pink); }

/* 版本表格 */
.ver-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ver-table__row {
  display: grid; grid-template-columns: 1.1fr .8fr .8fr 1fr auto;
  gap: 12px; align-items: center;
  padding: 14px 20px; font-size: 14px; color: var(--txt-2);
  border-bottom: 1px solid var(--line);
  transition: .2s;
}
.ver-table__row:last-child { border-bottom: 0; }
.ver-table__row:hover { background: rgba(255, 255, 255, .04); }
.ver-table__row--head {
  background: rgba(123, 92, 255, .14); color: #fff;
  font-weight: 700; font-size: 13.5px;
}
.ver-table__row b { color: var(--txt); }
.mini-btn {
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--bg-card-2); border: 1px solid var(--line); color: var(--txt);
  transition: .22s; white-space: nowrap;
}
.mini-btn:hover { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------------- 文章排版 ---------------- */
.post-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 42px; align-items: start;
}
.article { min-width: 0; }
.article__cover {
  height: 300px; border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #6d3bff, #a855f7 40%, #22d3ee 100%);
  position: relative; overflow: hidden; margin-bottom: 32px;
}
.article__cover::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 20% 20%, rgba(255, 255, 255, .3), transparent 70%),
    radial-gradient(300px 180px at 80% 70%, rgba(255, 255, 255, .18), transparent 70%);
}
.article__cover span {
  position: absolute; left: 30px; bottom: 26px; z-index: 1;
  font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, .38); backdrop-filter: blur(6px);
}
.article__meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 13.5px; color: var(--txt-3);
  padding-bottom: 20px; margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.article__body { font-size: 16.3px; color: #d5d8f0; }
.article__body > * + * { margin-top: 20px; }
.article__body h2 {
  font-size: 24px; font-weight: 800; color: #fff;
  margin-top: 40px; scroll-margin-top: 100px;
  padding-left: 14px; border-left: 4px solid var(--violet);
}
.article__body h3 { font-size: 19px; font-weight: 700; color: #fff; margin-top: 28px; }
.article__body p { line-height: 1.9; }
.article__body ul { display: flex; flex-direction: column; gap: 10px; }
.article__body ul li { position: relative; padding-left: 24px; }
.article__body ul li::before {
  content: ""; position: absolute; left: 6px; top: 12px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--grad); transform: rotate(45deg);
}
.article__body a { color: #a78bfa; text-decoration: underline; text-underline-offset: 3px; }
.article__body strong { color: #fff; }
.article__body blockquote {
  padding: 18px 22px; border-radius: 14px;
  background: var(--bg-card); border-left: 4px solid var(--cyan);
  color: var(--txt-2); font-size: 15.5px;
}
.article__body code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px; padding: 2px 7px; border-radius: 6px;
  background: rgba(123, 92, 255, .18); color: #c4b5fd;
}
.callout {
  display: flex; gap: 14px;
  padding: 18px 22px; border-radius: 14px;
  background: rgba(34, 211, 238, .08);
  border: 1px solid rgba(34, 211, 238, .28);
  font-size: 15px; color: #cdeffb;
}
.callout__ico { font-size: 20px; line-height: 1.4; }
.article__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.article__tags .tag:hover { border-color: rgba(168, 85, 247, .5); color: #fff; }
.article__nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px;
}
.article__nav a {
  padding: 18px 22px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--line);
  transition: .25s;
}
.article__nav a:hover { border-color: rgba(168, 85, 247, .45); transform: translateY(-3px); }
.article__nav small { display: block; font-size: 12px; color: var(--txt-3); margin-bottom: 4px; }
.article__nav b { font-size: 15px; }
.article__nav .is-next { text-align: right; }

/* 侧栏 */
.sidebar { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.side-box {
  padding: 22px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--line);
}
.side-box h4 { font-size: 15px; margin-bottom: 14px; }
.toc { display: flex; flex-direction: column; gap: 2px; }
.toc a {
  font-size: 14px; color: var(--txt-3); padding: 7px 12px;
  border-radius: 9px; border-left: 2px solid transparent; transition: .2s;
}
.toc a:hover { color: #fff; background: var(--bg-card-2); }
.toc a.is-active { color: #c4b5fd; border-left-color: var(--violet); background: rgba(123, 92, 255, .12); }
.side-list { display: flex; flex-direction: column; gap: 14px; }
.side-list a { display: flex; gap: 12px; align-items: flex-start; transition: .2s; }
.side-list a:hover .side-list__t { color: #a78bfa; }
.side-list__n {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; font-size: 12.5px; font-weight: 800;
  background: rgba(123, 92, 255, .2); color: #c4b5fd;
}
.side-list__t { font-size: 14px; line-height: 1.5; transition: .2s; }
.side-cta {
  padding: 24px 22px; border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(123, 92, 255, .25), rgba(34, 211, 238, .12));
  border: 1px solid rgba(168, 85, 247, .35); text-align: center;
}
.side-cta h4 { font-size: 17px; margin-bottom: 8px; }
.side-cta p { font-size: 13.5px; color: var(--txt-2); margin-bottom: 16px; }

/* ---------------- 资讯列表 ---------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter {
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  background: var(--bg-card); border: 1px solid var(--line);
  color: var(--txt-2); font-size: 14px; font-family: inherit;
  transition: .22s;
}
.filter:hover { color: #fff; background: var(--bg-card-2); }
.filter.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(123, 92, 255, .3); }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line);
  transition: .3s;
}
.post-card:hover { transform: translateY(-6px); border-color: rgba(168, 85, 247, .45); box-shadow: var(--shadow); }
.post-card__cover { height: 150px; position: relative; }
.post-card__cover span {
  position: absolute; left: 14px; top: 14px;
  font-size: 11.5px; padding: 4px 11px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); backdrop-filter: blur(4px);
}
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-size: 12.5px; color: var(--txt-3); margin-bottom: 8px; }
.post-card__body h3 { font-size: 17.5px; line-height: 1.45; margin-bottom: 10px; transition: .2s; }
.post-card:hover .post-card__body h3 { color: #c4b5fd; }
.post-card__body p {
  font-size: 14px; color: var(--txt-2); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card__more { margin-top: 16px; font-size: 13.5px; color: #a78bfa; font-weight: 700; }
.post-card--wide { grid-column: span 2; }
.post-card--wide .post-card__cover { height: 200px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination button {
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 11px; cursor: pointer; font-family: inherit;
  background: var(--bg-card); border: 1px solid var(--line);
  color: var(--txt-2); font-size: 14px; transition: .22s;
}
.pagination button:hover { color: #fff; background: var(--bg-card-2); }
.pagination button.is-active { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------------- 404 ---------------- */
.error {
  min-height: calc(100vh - var(--nav-h) - 40px);
  display: grid; place-items: center;
  padding: 70px 0 90px; position: relative; overflow: hidden;
}
.error::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 380px at 50% 35%, rgba(123, 92, 255, .22), transparent 70%);
  pointer-events: none;
}
.error__inner { position: relative; text-align: center; max-width: 660px; }
.error__code {
  font-size: clamp(110px, 20vw, 200px); font-weight: 900; line-height: 1;
  letter-spacing: -6px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 12px 40px rgba(123, 92, 255, .35));
}
.error__emoji { font-size: 44px; margin: -6px 0 10px; animation: float 4s ease-in-out infinite; }
.error__inner h1 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 12px; }
.error__inner p { color: var(--txt-2); font-size: 16px; margin-bottom: 30px; }
.error__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.error__search {
  display: flex; align-items: center; gap: 10px;
  margin: 0 auto 26px; max-width: 420px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--line);
}
.error__search input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none;
  color: var(--txt); font-size: 14.5px; font-family: inherit;
}
.error__search input::placeholder { color: var(--txt-3); }
.error__links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  margin-top: 34px; font-size: 14px;
}
.error__links a { color: var(--txt-3); transition: .2s; }
.error__links a:hover { color: #a78bfa; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; max-width: 460px; margin: 0 auto; }
  .float-card--1 { left: 0; }
  .float-card--3 { left: 0; }
  .float-card--2 { right: 0; }
  .cards, .plans, .steps { grid-template-columns: repeat(2, 1fr); }
  .step__line { display: none; }
  .games { grid-template-columns: repeat(3, 1fr); }
  .multi { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .dl-main { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; gap: 34px; }
  .sidebar { position: static; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .ver-table__row { grid-template-columns: 1.1fr .8fr .8fr; }
  .ver-table__row .mini-btn { grid-column: span 3; justify-self: start; }
}

@media (max-width: 820px) {
  .nav__menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 2px; padding: 14px 20px 22px;
    background: rgba(8, 8, 20, .98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    transform: translateY(-130%);
    transition: transform .32s ease;
    box-shadow: var(--shadow);
  }
  .nav__menu.is-open { transform: none; }
  .nav__link { padding: 13px 14px; font-size: 15.5px; }
  .nav__burger { display: flex; }
  .nav__inner { gap: 14px; }
  .nav__menu { margin-left: 0; }
  .nav__actions { gap: 10px; }
  .lang__btn { padding: 5px 10px; font-size: 12px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 70px 0; }
  .hero { padding: 50px 0 40px; }
  .cards, .plans, .steps, .games { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .req__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .req__row--head { display: none; }
  .req__row span:first-child { color: var(--violet-2); }
  .req__row span:not(:first-child)::before { content: "· "; color: var(--txt-3); }
  .cta__inner { padding: 46px 22px; border-radius: 24px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .nav__actions > .btn--primary { display: none; }
  .hero__visual { padding: 0 6px; }
  .posts { grid-template-columns: 1fr; }
  .post-card--wide { grid-column: span 1; }
  .post-card--wide .post-card__cover { height: 160px; }
  .article__cover { height: 190px; }
  .article__nav { grid-template-columns: 1fr; }
  .article__nav .is-next { text-align: left; }
  .ver-table__row { grid-template-columns: 1fr; gap: 6px; }
  .ver-table__row--head { display: none; }
  .ver-table__row .mini-btn { grid-column: span 1; }
  .dl-card { padding: 26px 20px; }
  .error__links { gap: 8px 16px; }
  .float-card { padding: 9px 12px; }
  .float-card__ico { width: 32px; height: 32px; font-size: 16px; }
  .topbar__inner { font-size: 12px; gap: 6px; }
  .hero__meta { gap: 12px 22px; }
}
