/* Superb Bubble — rebuilt to match USP_Website.pen (1440 design, mobile-first) */

/* 回退字体度量对齐，减少 Web 字体加载前后换行/高度跳动 */
@font-face {
  font-family: "Geist Fallback";
  src: local("Segoe UI"), local("Arial");
  size-adjust: 94.6%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Funnel Sans Fallback";
  src: local("Segoe UI Semibold"), local("Segoe UI"), local("Arial");
  size-adjust: 98%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  --primary: #8040ee;
  --primary-soft: #9b63f5;
  --primary-card: #9a62f5;
  --accent: #04e0c8;
  --accent-card: #00bbc4;
  --dark: #1a0f33;
  --ink: #0b1f3a;
  --muted: #6b6480;
  --line: #e6dff7;
  --alt: #f6f2ff;
  --white: #ffffff;
  --footer-muted: #a8b8cc;
  --footer-dim: #7a8ba3;
  --footer-line: #1e3355;
  --nav-h: 64px;
  --pad-x: 20px;
  /* 设计画板 1440，左右各 80 → 内容区 1280；padding 含在 max 内 */
  --max: 1440px;
  --font-h: "Funnel Sans", "Funnel Sans Fallback", system-ui, sans-serif;
  --font-b: Geist, "Geist Fallback", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --appstore: https://apps.apple.com/us/app/superb-bubble-battle-online/id6748126666;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  /* 去掉 smooth，避免换页时滚动位置动画造成顶栏晃动感 */
  scroll-behavior: auto;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  box-sizing: border-box;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

/* 仅非导航按钮保留按下缩放，避免顶栏 Download 点击闪动 */
.btn:active:not(.nav__cta-d):not(.nav__cta-m) {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px #8040ee55;
}

.btn--primary:hover {
  background: #6f35d4;
}

.btn--pill-light {
  background: #fff;
  color: var(--dark);
  box-shadow: 0 10px 24px #04e0c780; /* Home Banner：青绿投影 */
  padding: 16px 28px;
  font-weight: 600;
  font-size: 15px;
}

/* Game Banner：同规格紫色投影 */
.btn--pill-light.btn--purple-glow {
  box-shadow: 0 10px 24px #8040ee80;
}

.btn--mode {
  background: #fff;
  color: var(--dark);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 24px;
}

.btn--appstore {
  background: #fff;
  color: var(--dark);
  border-radius: 16px;
  padding: 12px 28px 12px 18px;
  box-shadow: 0 12px 28px #00000044;
  gap: 12px;
  text-align: left;
  line-height: 1.15;
}

.btn--appstore .small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.75;
}

.btn--appstore .big {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.icon-apple {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.icon-apple path {
  fill: #111;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  /* 实色背景，避免 backdrop-filter 换页重绘闪烁 */
  background: #ffffff;
  box-shadow: 0 1px 0 0 #d7e6f7;
  /* 顶栏使用系统字体，避免 Geist 跨页 swap 导致文字“放大闪一下” */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  z-index: 102;
  flex-shrink: 0;
}

.brand__logo {
  height: 36px;
  width: 245px;
  max-width: min(245px, 55vw);
  object-fit: contain;
  flex-shrink: 0;
}

.nav__toggle {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  z-index: 102;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.25s var(--ease);
}

.nav.is-open .nav__toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav.is-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav__toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__panel {
  position: fixed;
  inset: 0;
  background: rgba(26, 15, 51, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
  z-index: 101;
}

.nav.is-open .nav__panel {
  opacity: 1;
  visibility: visible;
}

.nav__menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 86vw);
  height: 100%;
  background: #fff;
  padding: calc(var(--nav-h) + 20px) 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  /* 关闭时不投影，避免阴影露在屏幕右缘（移动端抽屉） */
  box-shadow: none;
  z-index: 101;
}

.nav.is-open .nav__menu {
  transform: none;
  box-shadow: -12px 0 40px rgba(26, 15, 51, 0.18);
}

.nav__link {
  display: block;
  padding: 14px 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit; /* 跟随顶栏系统字体，杜绝 web font swap */
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
  /* 无 transition，避免颜色过渡时产生“变粗/放大”观感 */
  -webkit-tap-highlight-color: transparent;
}

.nav__link:focus,
.nav__link:focus-visible,
.nav__cta-d:focus,
.nav__cta-d:focus-visible {
  outline: none;
}

.nav__link:focus-visible {
  color: var(--primary);
}

.nav__link.is-active {
  color: var(--primary);
  background: var(--alt);
  font-weight: 600;
}

.nav__cta-m {
  margin-top: 16px;
  width: 100%;
  font-family: inherit;
  transform: none !important;
}

.nav__cta-d {
  display: none;
  flex-shrink: 0;
  min-width: 120px;
  width: 120px;
  justify-content: center;
  box-sizing: border-box;
  font-family: inherit;
  transform: none !important;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

/* ---------- Shared section ---------- */
.section {
  padding: 56px 0;
}

.section--alt {
  background: var(--alt);
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.section-head h2 {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  color: var(--dark);
}

.section-head p {
  margin-top: 12px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
}

/* =========================================================
   HOME HERO — tropical gradient + left text + right phone
   Banner 内容与其它模块共用 .container（同宽、左右居中）
   ========================================================= */
.hero-split {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center; /* 垂直居中 */
}

.hero-split--home {
  background: linear-gradient(90deg, #fff8e6 0%, #d8f7ff 32%, #7fe8f5 58%, #2ecfe8 82%, #14b8d4 100%);
}

.hero-split--game {
  background: linear-gradient(90deg, #e2c8ff 0%, #a85cff 55%, #824cd4 78%, #4d22a0 100%);
}

.hero-split--about {
  /* 底部完整显示 banner16 背景素材 */
  background: url("../assets/banner16.jpg") center / cover no-repeat;
}

/* 文字底层：左白 → 右透明，右侧露出背景图 */
.hero-split--about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.92) 28%,
    rgba(255, 255, 255, 0.45) 55%,
    rgba(255, 255, 255, 0.12) 75%,
    rgba(255, 255, 255, 0) 100%
  );
}

.hero-split--about .wash {
  z-index: 1;
}

.hero-split--about .hero-split__inner {
  z-index: 2;
}

.hero-split--contact {
  background: radial-gradient(ellipse at 20% 30%, #e8f6ff 0%, #f6f2ff 45%, #efe6ff 100%);
}

.wash {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(28px);
  z-index: 0;
}

.hero-split__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-block: 48px;
}

.hero-copy {
  width: 100%;
  max-width: 620px;
  min-width: 0;
  /* 字体未就绪时先隐藏，避免首次系统字体排版与返回后 Web 字体排版不一致 */
  visibility: hidden;
}

html.fonts-ready .hero-copy,
html.fonts-timeout .hero-copy {
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy {
    visibility: visible;
  }
}

.hero-phone,
.hero-art,
.hero-media {
  justify-self: center;
}

.hero-copy h1 {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.hero-split--home .hero-copy h1 {
  color: var(--ink);
}
.hero-split--home .hero-copy .sub {
  color: #0f8fb8;
}
.hero-split--home .hero-copy .body {
  color: var(--muted);
}

.hero-split--game .hero-copy h1 {
  color: #1a0a40;
}
.hero-split--game .hero-copy .sub {
  color: #5c1fb8;
}
.hero-split--game .hero-copy .body {
  color: rgba(26, 10, 64, 0.7);
}

.hero-split--about .hero-copy h1,
.hero-split--contact .hero-copy h1 {
  color: var(--dark);
}
.hero-split--about .hero-copy .sub,
.hero-split--contact .hero-copy .sub {
  color: var(--primary);
}
.hero-split--contact .hero-copy .body {
  color: var(--muted);
}

.hero-copy .sub {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.36;
  margin-bottom: 14px;
}

.hero-copy .body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 24px;
  max-width: 560px;
  white-space: pre-line;
}

.hero-phone {
  width: min(280px, 72vw);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 8px 20px 16px #265cff40;
  outline: 2px solid #dcf6fc80;
  background: #fff;
  flex-shrink: 0;
}

.hero-split--game .hero-phone {
  box-shadow: 8px 20px 16px #8b26ff40;
  outline-color: #dcbdff80;
}

.hero-phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 360 / 620;
  object-fit: cover;
}

.hero-art {
  width: min(100%, 620px);
  max-height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-art img {
  width: 100%;
  height: auto;
  max-height: 420px;
  border-radius: 24px;
  object-fit: contain;
  object-position: bottom center;
}

/* Contact：人物素材默认贴底 */
.hero-split--contact .hero-art {
  margin-top: auto;
}

/* ---------- Why cards ---------- */
.why-grid {
  display: grid;
  gap: 16px;
}

.why-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 12px 28px #8040ee14;
  outline: 1px solid var(--line);
}

.why-card--accent {
  outline: 1.5px solid #04e0c833;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}

.icon-box--sm {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.icon-box--purple {
  background: var(--primary);
}
.icon-box--teal {
  background: var(--accent);
}
.icon-box--soft {
  background: var(--primary-soft);
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.why-card h3 {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
}

.why-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Home mode cards ---------- */
.modes-row {
  display: grid;
  gap: 20px;
}

.mode-card {
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 16px 32px #8040ee33;
  color: #fff;
  height: 100%;
  align-self: stretch;
}

.mode-card--bubble {
  background: var(--primary-card);
}
.mode-card--dice {
  background: var(--accent-card);
}

.mode-card__img {
  border-radius: 18px;
  overflow: hidden;
  height: 180px;
  flex-shrink: 0;
}

.mode-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mode-card h3 {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 800;
}

.mode-card p {
  font-size: 16px;
  line-height: 1.55;
  white-space: pre-line;
  flex: 1 1 auto;
}

.mode-card--bubble p {
  color: #e8f6ff;
}
.mode-card--dice p {
  color: #f8e8ff;
}

/* 按钮置底，与另一张卡 Learn More / Discover Mode 水平对齐 */
.mode-card .btn--mode {
  margin-top: auto;
  align-self: flex-start;
}

.modes-note {
  text-align: center;
  margin-top: 28px;
  font-size: 15px;
  color: var(--muted);
  max-width: 780px;
  margin-inline: auto;
  line-height: 1.55;
}

/* ---------- Feature grids ---------- */
.feat-grid {
  display: grid;
  gap: 16px;
}

.feat-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  outline: 1px solid var(--line);
}

.feat-card h3 {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
}

.feat-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.feat-card--row {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 24px;
}

.feat-card--row h3 {
  margin: 0;
}

/* ---------- How it works（效果图：横向步骤 + chevron，箭头与圆垂直对齐） ---------- */
.how {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(22, 8, 56, 0.72) 0%, rgba(11, 32, 107, 0.72) 55%, rgba(36, 10, 112, 0.72) 100%),
    url("../assets/banner13.jpg") center / cover no-repeat;
}

.how__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.how__title {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.2;
  text-align: center;
  color: #fff;
  margin: 0;
}

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  width: min(220px, 100%);
  flex-shrink: 0;
}

.step__num {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px #8040ee55;
  color: #fff;
  flex-shrink: 0;
}

.step__num--purple {
  background: var(--primary);
}
.step__num--teal {
  background: var(--accent);
}

.step__num svg {
  width: 30px;
  height: 30px;
}

.step__label {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  color: #fff;
  max-width: 200px;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  transform: rotate(90deg); /* 移动端纵向流程 */
}

.step-arrow svg {
  width: 28px;
  height: 28px;
}

/* ---------- About teaser ---------- */
.about-home-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 36px;
}

.about-home-head h2 {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 16px;
}

.about-home-head p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  white-space: pre-line;
}

.about-stats {
  display: grid;
  gap: 16px;
}

.about-stat {
  background: var(--alt);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-stat h3 {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
}

.about-stat p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* =========================================================
   GAME — zigzag phones
   Phone Wrap 后方柔光圆需完整显示，不可被 overflow 裁切
   ========================================================= */
.zigzag {
  position: relative;
  overflow: visible;
}

.zigzag .wash {
  opacity: 0.35;
}

.zig-row {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 48px;
  overflow: visible;
}

.zig-row:last-of-type {
  margin-bottom: 0;
}

.zig-media {
  display: flex;
  justify-content: center;
  overflow: visible;
}

.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(380px, 100%);
  min-height: 560px;
  padding: 40px 40px 56px;
  border-radius: 36px;
  overflow: visible;
  background: transparent;
}

/* 完整柔光圆（对应效果图 Phone Wrap radial + blur） */
.phone-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 58%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(48px);
  opacity: 0.95;
  will-change: filter;
}

.phone-wrap--purple::before {
  background: radial-gradient(
    circle at 50% 50%,
    #c4a8ff 0%,
    #e8dcff 35%,
    #f0e8ff 55%,
    rgba(232, 220, 255, 0) 72%
  );
}

.phone-wrap--teal::before {
  background: radial-gradient(
    circle at 50% 50%,
    #7af0e0 0%,
    #c8fff6 35%,
    #e8fffb 55%,
    rgba(200, 255, 246, 0) 72%
  );
}

/* 底部再叠一层更软的光晕，增强圆球模糊感 */
.phone-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 85%;
  height: 55%;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(36px);
}

.phone-wrap--purple::after {
  background: radial-gradient(circle, #b794ffcc 0%, #e8dcff66 45%, transparent 70%);
}

.phone-wrap--teal::after {
  background: radial-gradient(circle, #5eead4cc 0%, #c8fff666 45%, transparent 70%);
}

.phone-wrap--purple {
  background: transparent;
}

.phone-wrap--teal {
  background: transparent;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(300px, 72vw);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px #8040ee33;
  outline: 3px solid #ffffffaa;
  background: #1a0f33;
}

.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 300 / 522;
  object-fit: cover;
  display: block;
}

.badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.badge--purple {
  background: #8040ee22;
  color: var(--primary);
}
.badge--teal {
  background: #04e0c822;
  color: var(--accent);
}

.zig-copy h3 {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 12px;
}

.zig-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.625;
  max-width: 460px;
}

/* ---------- Game CTA ---------- */
.cta-band {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 72px 0;
  background:
    linear-gradient(#000000b3, #000000b3),
    url("../assets/banner12.jpg") center / cover no-repeat;
}

.cta-band h2 {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 12px;
}

.cta-band p {
  color: #c8dcff;
  font-size: 18px;
  margin-bottom: 28px;
  max-width: 640px;
  margin-inline: auto;
}

/* ---------- About page ---------- */
.intro-block {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.intro-block h2 {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 16px;
}

.intro-block p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  white-space: pre-line;
}

.mv-grid {
  display: grid;
  gap: 16px;
}

.mv-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  outline: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mv-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mv-badge--m {
  background: #8040ee22;
  color: var(--primary);
}
.mv-badge--v {
  background: #04e0c822;
  color: #049e90;
}

.mv-card p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--dark);
}

.values-grid {
  display: grid;
  gap: 14px;
}

.value-card {
  background: var(--alt);
  border-radius: 20px;
  padding: 28px;
}

.value-card h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 8px;
}

.value-card p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  gap: 28px;
}

.form-card,
.side-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 28px #8040ee14;
  outline: 1px solid var(--line);
}

.form-card h2,
.side-card h2 {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.field .req {
  color: #ff4d9a;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--alt);
  transition: 0.2s;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aacc2;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px #8040ee22;
  background: #fff;
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #ff4d9a;
}

.form-hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.form-card .btn {
  margin-top: 8px;
  width: 100%;
}

.side-list {
  display: grid;
  gap: 20px;
}

.side-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.side-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--alt);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.side-item__icon svg {
  width: 20px;
  height: 20px;
}

.side-item__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}

.side-item__value {
  color: var(--muted);
  font-size: 15px;
  word-break: break-word;
}

.side-item__value a:hover {
  color: var(--primary);
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: #1a0f33cc;
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  width: min(480px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 24px 48px #00000055;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

.modal.is-open .modal__dialog {
  transform: none;
}

.modal__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(160deg, #04e0c8, #8040ee);
  color: #fff;
  display: grid;
  place-items: center;
}

.modal__icon svg {
  width: 32px;
  height: 32px;
}

.modal__dialog h2 {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.modal__dialog p {
  color: var(--muted);
  margin-bottom: 24px;
}

.modal__dialog .btn {
  width: 100%;
  padding: 16px 28px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--footer-muted);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 36px;
}

.footer-brand__logo {
  height: 36px;
  width: auto;
  max-width: 220px;
  margin-bottom: 16px;
  object-fit: contain;
}

.footer-brand__link {
  display: inline-block;
  line-height: 0;
}

.footer-brand__link .footer-brand__logo {
  margin-bottom: 16px;
}

.footer-brand__tag {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-brand__desc {
  font-size: 13px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 14px;
  color: var(--footer-muted);
  padding-block: 5px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-address {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--footer-muted);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--footer-line);
  text-align: center;
  font-size: 12px;
  color: var(--footer-dim);
}

.legal-page {
  /* 仅设置上下内边距，左右交给 .container 的 --pad-x */
  padding-top: 48px;
  padding-bottom: 80px;
  box-sizing: border-box;
}
.legal-page h1 {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 36px;
  margin-bottom: 16px;
}
.legal-page h2 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 24px);
  color: var(--dark);
  margin: 32px 0 12px;
}
.legal-page h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 17px;
  color: var(--dark);
  margin: 20px 0 8px;
}
.legal-page p {
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.65;
  font-size: 15px;
}
.legal-page .legal-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.legal-page .legal-li {
  padding-left: 1.25em;
}
.legal-page a:not(.btn) {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page a:not(.btn):hover {
  color: var(--accent);
}
.legal-toc {
  margin: 0 0 16px;
  padding-left: 1.25em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.legal-toc li {
  margin-bottom: 4px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.legal-back:hover {
  color: var(--primary);
}
.legal-back__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}
.legal-page a.legal-back:not(.btn) {
  color: var(--muted);
  text-decoration: none;
}
.legal-page a.legal-back:not(.btn):hover {
  color: var(--primary);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(20px, calc(16px + env(safe-area-inset-bottom)));
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(128, 64, 238, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.back-to-top:hover {
  background: #6d2fe0;
}
.back-to-top svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Tablet ≥ 768px
   ========================================================= */
@media (min-width: 768px) {
  :root {
    --nav-h: 80px;
    --pad-x: 40px;
  }

  .brand__logo {
    height: 40px; /* 原 44 的 90% */
    width: 269px;
    max-width: 269px;
  }

  /* 平板顶栏：强制移动端汉堡入口（横向菜单改到 ≥1024） */
  .nav__toggle {
    display: flex;
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav__panel {
    display: block;
  }

  .nav__right {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    gap: 0;
    pointer-events: none;
    z-index: 101;
    display: block;
  }

  .nav.is-open .nav__right {
    pointer-events: auto;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 86vw);
    height: 100%;
    padding: calc(var(--nav-h) + 20px) 24px 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    transform: translateX(100%);
    background: #fff;
    box-shadow: none;
    visibility: hidden;
  }

  .nav.is-open .nav__menu {
    transform: none;
    visibility: visible;
    box-shadow: -12px 0 40px rgba(26, 15, 51, 0.18);
  }

  .nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 14px 12px;
    border-radius: 12px;
  }

  .nav__cta-m {
    display: inline-flex;
    margin-top: 16px;
    width: 100%;
  }

  .nav__cta-d {
    display: none !important;
  }

  .section {
    padding: 88px 0;
  }

  .section-head {
    margin-bottom: 48px;
  }

  .hero-split {
    min-height: 720px;
    height: 720px;
    max-height: 720px; /* 四页 Banner 背景高度统一，避免 Contact 大图撑高 */
  }

  /* 与下方模块同一内容宽：左右贴齐 container，两端对齐 */
  .hero-split__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(24px, 4vw, 64px);
    padding-block: 40px;
    align-items: center;
    height: 100%;
  }

  .hero-split--about .hero-split__inner {
    grid-template-columns: 1fr;
  }

  .hero-media {
    justify-self: end;
    display: flex;
    justify-content: flex-end;
    width: auto;
  }

  .hero-phone,
  .hero-art {
    justify-self: end;
  }

  .hero-phone {
    width: 320px;
  }

  .hero-art {
    width: 100%;
    max-width: 620px;
    max-height: 640px;
    height: auto;
    justify-content: flex-end;
  }

  .hero-art img {
    max-height: 640px;
    width: auto;
    max-width: 100%;
  }

  /* Contact：人物素材贴 Banner 底部对齐（效果图 y≈11 / h=709） */
  .hero-split--contact .hero-split__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: stretch;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-split--contact .hero-copy {
    align-self: center;
  }

  .hero-split--contact .hero-art {
    align-self: end;
    justify-self: end;
    max-height: 709px;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .hero-split--contact .hero-art img {
    max-height: 709px;
    object-position: bottom right;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .modes-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .mode-card__img {
    height: 220px;
  }

  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .feat-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .how__inner {
    gap: 48px;
  }

  /* 平板：2×2，隐藏横向箭头，避免挤爆 */
  .steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 220px));
    justify-content: center;
    align-items: start;
    gap: 32px 40px;
  }

  .step-arrow {
    display: none;
  }

  .step {
    width: 220px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .zig-row {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .zig-row--reverse .zig-media {
    order: 2;
  }
  .zig-row--reverse .zig-copy {
    order: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .phone {
    width: 300px;
  }

  .phone-wrap {
    min-height: 600px;
    padding: 39px 40px 39px; /* (600-522)/2 ≈ 39，给柔光留出完整空间 */
  }

  .mv-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .contact-layout {
    grid-template-columns: 1.35fr 1fr;
    gap: 48px;
    align-items: start;
  }

  .form-card,
  .side-card {
    padding: 36px;
  }

  .form-card .btn {
    width: auto;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
    gap: 40px;
  }
}

/* =========================================================
   Desktop ≥ 1024px
   ========================================================= */
@media (min-width: 1024px) {
  :root {
    --pad-x: 80px; /* 与设计稿 section padding 左右 80 一致 */
  }

  .brand__logo {
    height: 43px; /* 原 48 的 90% */
    width: 293px;
    max-width: 293px;
  }

  /* PC：横向顶栏菜单 */
  .nav__toggle,
  .nav__panel {
    display: none;
  }

  .nav__right {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    margin-left: auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 36px;
    flex-shrink: 0;
    pointer-events: auto;
    z-index: auto;
  }

  .nav__menu {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    transform: none;
    box-shadow: none;
    background: transparent;
    flex-shrink: 0;
    visibility: visible;
  }

  .nav__link {
    padding: 0;
    border-radius: 0;
    background: none !important;
    display: inline-block;
    min-height: 0;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
  }

  .nav__link.is-active {
    font-weight: 600;
    background: none !important;
  }

  .nav__link::after {
    content: none;
  }

  .nav__cta-m {
    display: none;
  }

  .nav__cta-d {
    display: inline-flex;
    flex-shrink: 0;
    min-width: 120px;
    width: 120px;
    justify-content: center;
    padding-left: 22px;
    padding-right: 22px;
    box-sizing: border-box;
    transform: none !important;
  }

  .hero-phone {
    width: 360px;
  }

  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .feat-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* 效果图桌面：单行居中 Steps + chevron-right，箭头对齐圆中心 */
  .how__inner {
    gap: 56px;
  }

  .steps {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    width: auto;
  }

  .step-arrow {
    display: flex;
    transform: none;
    margin-top: 22px; /* (72 - 28) / 2 */
  }
}

/* =========================================================
   Mobile only ≤ 767px
   仅优化移动端；不改动上方 ≥768 / ≥1024 的 PC 样式
   ========================================================= */
@media (max-width: 767.98px) {
  :root {
    --nav-h: 56px;
    --pad-x: 16px;
  }

  html {
    scrollbar-gutter: auto;
  }

  body {
    font-size: 15px;
    /* 安全区交给 header/container，避免与左右边距叠出“右侧多余条” */
    padding-left: 0;
    padding-right: 0;
  }

  .container {
    padding-inline: var(--pad-x);
    padding-left: calc(var(--pad-x) + env(safe-area-inset-left));
    padding-right: calc(var(--pad-x) + env(safe-area-inset-right));
  }

  /* —— Header：LOGO 与汉堡菜单左右边距对称 —— */
  .site-header {
    padding-top: env(safe-area-inset-top);
    height: calc(var(--nav-h) + env(safe-area-inset-top));
  }

  .nav {
    position: relative;
    justify-content: space-between;
    gap: 12px;
  }

  /* 右侧菜单面板不占 flex 宽度，避免把汉堡挤离右边缘 */
  .nav__panel {
    /* 保持 fixed 遮罩，不参与顶栏排布 */
  }

  .nav__right {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    gap: 0;
    pointer-events: none; /* 未展开时不挡点击；菜单自身再打开事件 */
    z-index: 101;
  }

  .nav.is-open .nav__right {
    pointer-events: auto;
  }

  .nav__menu {
    pointer-events: auto;
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top) + 16px);
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .brand {
    margin-left: 0;
    flex-shrink: 1;
    min-width: 0;
    /* 低于侧栏遮罩(101)，展开时 LOGO 留在顶栏层、被遮罩盖住 */
    z-index: 0;
  }

  .brand__logo {
    height: 32px;
    width: auto;
    max-width: min(160px, 48vw);
  }

  .nav__toggle {
    width: 44px;
    height: 44px;
    margin-left: auto;
    margin-right: 0;
    flex-shrink: 0;
    padding: 10px;
    box-sizing: border-box;
  }

  .nav__link {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 16px;
  }

  .nav__cta-d {
    display: none !important;
  }

  /* —— Banner：保留与顶栏一致的左右边距（勿用 padding 简写清掉 inline） —— */
  .hero-split {
    min-height: 560px; /* 四页 Banner 移动端高度统一 */
    height: auto;
    max-height: none;
    align-items: stretch;
  }

  /* Home / Game：渐变改为上→下 */
  .hero-split--home {
    background: linear-gradient(
      180deg,
      #fff8e6 0%,
      #d8f7ff 32%,
      #7fe8f5 58%,
      #2ecfe8 82%,
      #14b8d4 100%
    );
  }

  .hero-split--game {
    background: linear-gradient(180deg, #e2c8ff 0%, #c796ff 55%, #a067f7 78%, #865bda 100%);
  }

  .hero-split__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 40px;
    padding-left: calc(var(--pad-x) + env(safe-area-inset-left));
    padding-right: calc(var(--pad-x) + env(safe-area-inset-right));
    height: auto;
    box-sizing: border-box;
  }

  /* Home / Game：内容左右居中 */
  .hero-split--home .hero-split__inner,
  .hero-split--game .hero-split__inner {
    align-items: center;
    text-align: center;
  }

  .hero-copy {
    max-width: none;
    text-align: left;
    order: 2; /* 文字在下 */
  }

  .hero-split--home .hero-copy,
  .hero-split--game .hero-copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-copy h1 {
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .hero-copy .sub {
    font-size: clamp(16px, 4.2vw, 18px);
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .hero-copy .body {
    font-size: 14px;
    line-height: 22px;
    max-width: none;
    margin-bottom: 2px;
  }

  .hero-copy .btn {
    width: auto;
    max-width: 100%;
    align-self: flex-start;
    margin-top: 20px;
  }

  .hero-split--home .hero-copy .btn,
  .hero-split--game .hero-copy .btn {
    align-self: center;
  }

  .hero-phone,
  .hero-art,
  .hero-media {
    order: 1; /* 素材在上：Home / Game / Contact */
    justify-self: center;
    margin-inline: auto;
  }

  .hero-phone {
    width: min(220px, 58vw);
  }

  /* Home / Game：移动端素材圆角 */
  .hero-split--home .hero-phone,
  .hero-split--game .hero-phone {
    border-radius: 20px;
  }

  .hero-art {
    width: min(100%, 280px);
    max-height: 320px;
    margin-inline: auto;
    justify-content: center;
    align-items: flex-end;
  }

  .hero-art img {
    max-height: 320px;
    width: auto;
    max-width: 100%;
    object-position: bottom center;
  }

  /* About：高度减半；背景图 + 上→下白色遮罩；文案居中偏下 */
  .hero-split--about {
    display: flex;
    align-items: stretch;
    min-height: 280px;
    height: 280px;
    max-height: 280px;
    background-image:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.9) 100%
      ),
      url("../assets/banner16.jpg");
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
  }

  .hero-split--about::before {
    display: none;
  }

  .hero-split--about .hero-split__inner {
    min-height: 0;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding-top: 24px;
    padding-bottom: 28px;
    gap: 0;
  }

  .hero-split--about .hero-copy {
    order: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    margin-top: auto;
  }

  /* Contact：高度约减半；人物作背景；全幅白色渐变遮挡素材 */
  .hero-split--contact {
    position: relative;
    min-height: 280px;
    height: auto;
    max-height: none;
    overflow: hidden;
    isolation: isolate; /* 固定本 Banner 内层叠顺序 */
  }

  /*
   * 层叠：人物(0) → 全幅白渐变(1) → 文案(2)
   * 注意：inner 不能设高于渐变的 z-index，否则人物会盖住渐变
   */
  .hero-split--contact::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: block;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.3) 0%,
      rgba(255, 255, 255, 0.72) 42%,
      rgba(255, 255, 255, 0.94) 100%
    );
  }

  .hero-split--contact .hero-split__inner {
    position: static; /* 让 .hero-art 相对 Banner 定位，而非被 inner 抬高层 */
    z-index: auto;
    min-height: 280px;
    height: auto;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .hero-split--contact .hero-art {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    transform: none;
    width: 100%;
    max-height: none;
    height: auto;
    margin: 0;
    z-index: 0;
    order: 0;
    pointer-events: none;
    display: flex;
    align-items: flex-start; /* 人物置顶对齐 */
    justify-content: center;
  }

  .hero-split--contact .hero-art img {
    max-height: 252px; /* 原 280 的 90% */
    width: auto;
    max-width: min(100%, 234px); /* 原 260 的 90% */
    object-fit: contain;
    object-position: top center;
  }

  .hero-split--contact .hero-copy {
    position: relative;
    z-index: 2;
    order: 1;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    padding: 0;
    background: none;
  }

  .hero-split--contact .hero-copy .body {
    font-size: 14px;
    line-height: 1.45;
  }

  .form-hint {
    text-align: center;
  }

  /* 删除移动端 Banner 装饰光斑 */
  .hero-split .wash,
  .zigzag .wash,
  .wash {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* 侧栏关闭时彻底去掉右缘投影残留 */
  .nav__menu {
    box-shadow: none !important;
    visibility: hidden;
  }

  .nav.is-open .nav__menu {
    visibility: visible;
    box-shadow: -12px 0 40px rgba(26, 15, 51, 0.18) !important;
  }

  .nav__right {
    box-shadow: none !important;
    background: transparent !important;
  }

  /* —— 通用区块 —— */
  .section {
    padding: 48px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head h2 {
    font-size: clamp(24px, 6.5vw, 30px);
  }

  .section-head p {
    font-size: 15px;
  }

  .why-grid,
  .modes-row,
  .feat-grid,
  .feat-grid--3,
  .about-stats,
  .mv-grid,
  .values-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .why-card,
  .feat-card,
  .about-stat,
  .value-card {
    padding: 20px;
  }

  /* Home：Why / Features / Developed by 卡片内容左右居中 */
  .why-card,
  .feat-card,
  .about-stat {
    align-items: center;
    text-align: center;
  }

  /* Game：Game Features 卡片文字 */
  .feat-card--row h3 {
    font-size: 15px;
  }

  /* About：Mission / Vision / Values 卡片文本左右居中 */
  .mv-card {
    align-items: center;
    text-align: center;
  }

  .mv-badge {
    align-self: center;
  }

  .value-card {
    text-align: center;
  }

  .mode-card {
    padding: 22px;
    border-radius: 22px;
  }

  .mode-card__img {
    height: auto;
    width: 100%;
    max-width: 100%;
  }

  .mode-card__img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .mode-card h3 {
    font-size: 22px;
  }

  .mode-card .btn--mode {
    width: 100%;
    justify-content: center;
  }

  .about-home-head h2 {
    font-size: clamp(24px, 6.5vw, 30px);
  }

  .about-home-head p {
    font-size: 14px;
    line-height: 1.65;
  }

  .intro-block h2 {
    font-size: clamp(22px, 6vw, 28px);
  }

  .intro-block p {
    font-size: 15px;
    line-height: 1.65;
  }

  /* —— How it works —— */
  .how__inner {
    gap: 28px;
  }

  .how__title {
    font-size: clamp(24px, 6.5vw, 30px);
  }

  .steps {
    flex-direction: column;
    gap: 12px;
  }

  .step {
    width: 100%;
    max-width: 260px;
  }

  .step__num {
    width: 64px;
    height: 64px;
  }

  .step__num svg {
    width: 26px;
    height: 26px;
  }

  .step-arrow {
    display: flex;
    transform: rotate(90deg);
    margin-top: 0;
  }

  /* —— Game zigzag —— */
  .zigzag {
    overflow: hidden;
  }

  .zigzag .wash {
    display: none;
  }

  .zig-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 40px;
  }

  .zig-row--reverse .zig-media,
  .zig-row--reverse .zig-copy {
    order: initial;
  }

  .zig-copy,
  .zig-row--reverse .zig-copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .zig-copy p {
    max-width: none;
  }

  .phone-wrap {
    width: min(300px, 100%);
    min-height: 0;
    padding: 28px 24px 36px;
  }

  .phone-wrap::before,
  .phone-wrap::after {
    filter: blur(28px);
  }

  .phone {
    width: min(220px, 70vw);
  }

  .zig-copy h3 {
    font-size: clamp(22px, 6vw, 28px);
  }

  .zig-copy p {
    font-size: 14px;
    line-height: 1.6;
  }

  .cta-band {
    padding: 56px 0;
  }

  .cta-band h2 {
    font-size: clamp(24px, 6.5vw, 32px);
  }

  .cta-band p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .cta-band .btn--appstore {
    width: 100%;
    max-width: 280px;
    border-radius: 999px; /* 最大圆角 */
  }

  /* —— Contact —— */
  .form-card,
  .side-card {
    padding: 20px;
    border-radius: 18px;
  }

  .form-card h2 {
    text-align: center;
  }

  .form-card .btn {
    width: 100%;
  }

  .field input,
  .field textarea {
    font-size: 16px; /* iOS 避免自动放大 */
  }

  .modal__dialog {
    padding: 28px 20px;
    border-radius: 22px;
    margin-bottom: env(safe-area-inset-bottom);
  }

  /* —— Footer —— */
  .site-footer {
    padding: 40px 0 calc(24px + env(safe-area-inset-bottom));
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand__logo {
    height: 32px;
    width: auto;
    max-width: 180px;
    margin-inline: auto;
  }

  .footer-brand__desc {
    max-width: none;
  }

  .footer-col {
    text-align: center;
    width: 100%;
  }

  .footer-col h4 {
    margin-bottom: 10px;
  }

  .footer-bottom {
    margin-top: 28px;
    text-align: center;
  }

  .legal-page {
    /* 勿用 padding 简写，否则会清掉 .container 左右边距 */
    padding-top: 32px;
    padding-bottom: 56px;
    padding-left: calc(var(--pad-x) + env(safe-area-inset-left));
    padding-right: calc(var(--pad-x) + env(safe-area-inset-right));
  }

  .legal-page h1 {
    font-size: 28px;
  }
}
