/* ============================================================
   选号电子纸 · 产品主页样式
   浅色主题 / 单页 / 响应式 / 无外部依赖
   ============================================================ */

:root {
  --ink: #1b2740;
  --ink-2: #35435c;
  --muted: #6b7890;
  --brand: #c0392b;
  --brand-dark: #a52d22;
  --brand-soft: #fdf0ec;
  --blue: #2f6fd0;
  --bg: #ffffff;
  --soft: #f6f8fb;
  --line: #e6eaf1;
  --white: #ffffff;
  --shadow-sm: 0 4px 16px rgba(27, 39, 64, .06);
  --shadow-md: 0 18px 44px rgba(27, 39, 64, .10);
  --shadow-lg: 0 30px 70px rgba(27, 39, 64, .16);
  --radius: 18px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(192, 57, 43, .45); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 20px; border-radius: 10px;
  border: 1px solid transparent; font-weight: 600; font-size: 14px;
  white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(192, 57, 43, .22); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 12px 26px rgba(192, 57, 43, .28); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: #c9d2e0; box-shadow: var(--shadow-sm); }
.btn--ghost { color: var(--ink-2); background: transparent; }
.btn--ghost:hover { background: var(--soft); }
.btn--lg { min-height: 50px; padding: 0 26px; font-size: 15px; border-radius: 12px; }
.btn--block { width: 100%; }
.btn__arrow { font-size: 17px; line-height: 1; transition: transform .18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .06em;
}
.eyebrow i { width: 18px; height: 2px; background: var(--brand); border-radius: 2px; }

.section { padding: 92px 0; }
.section--soft { background: var(--soft); }
.section__head { max-width: 660px; margin-bottom: 44px; }
.section__head h2 { margin: 14px 0 10px; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.35; letter-spacing: -.01em; }
.br-mobile { display: none; }
.section__head p { color: var(--muted); font-size: 15px; }

.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(27, 39, 64, .05); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 36px; height: 36px; display: block; flex-shrink: 0; }
.brand__mark svg { width: 100%; height: 100%; display: block; }
.brand__text { font-size: 18px; font-weight: 800; letter-spacing: .01em; line-height: 1.15; }
.brand__text small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: .08em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { font-size: 14px; color: var(--ink-2); font-weight: 500; transition: color .18s ease; }
.nav a:hover { color: var(--brand); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__actions .btn--ghost { padding: 0 14px; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 11px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: transform .2s ease, opacity .2s ease; }

/* ---------- 首屏 ---------- */
.hero { padding: 74px 0 96px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%); }
.hero__inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.hero__copy { max-width: 570px; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.22; letter-spacing: -.025em; margin: 20px 0 22px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__lead { color: var(--muted); font-size: 16px; line-height: 1.9; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.hero__facts { display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 24px; }
.hero__facts li { flex: 1; padding-right: 14px; border-right: 1px solid var(--line); }
.hero__facts li:last-child { border-right: 0; }
.hero__facts li + li { padding-left: 22px; }
.hero__facts b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.hero__facts span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.hero__scope { margin-top: 14px; font-size: 12px; color: var(--muted); }

.hero__visual { position: relative; height: 570px; }
.visual__halo {
  position: absolute; width: 440px; height: 440px; left: 30px; top: 40px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #e8f0f3 0%, #f2f6f9 55%, rgba(255,255,255,0) 72%);
}
.visual__dots {
  position: absolute; right: 6px; top: 40px; width: 130px; height: 150px; opacity: .35;
  background-image: radial-gradient(#c8d4e4 1.5px, transparent 1.5px); background-size: 16px 16px;
}
.visual__mascot {
  position: absolute; left: -6px; top: 58px; width: 370px; height: 370px;
  object-fit: cover; object-position: center 42%;
  border-radius: 50%; border: 8px solid #fff; box-shadow: var(--shadow-lg);
}
.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-md);
}
.float-chip--a { left: 8px; bottom: 66px; }
.float-chip--b { right: 0; bottom: 12px; }
.chip__ico { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #e8f6ee; color: #1f9d63; font-size: 11px; }

/* ---------- 手机模型（纯 CSS 高保真示意） ---------- */
.phone { --pw: 240px; --ph: 486px; width: var(--pw); position: relative; z-index: 2; }
.phone--hero { position: absolute; right: 12px; top: 16px; }
.phone__frame {
  position: relative; width: 100%; height: var(--ph);
  background: #1d2739; border-radius: 38px; padding: 7px;
  box-shadow: 0 26px 60px rgba(20, 32, 55, .24), 0 4px 12px rgba(20, 32, 55, .12);
}
.phone__notch { position: absolute; z-index: 4; top: 13px; left: 50%; transform: translateX(-50%); width: 76px; height: 17px; border-radius: 999px; background: #1d2739; }
.screen { height: 100%; background: #f5f6f8; border-radius: 31px; overflow: hidden; display: flex; flex-direction: column; }
.screen__status { height: 28px; padding: 4px 18px 0; display: flex; justify-content: space-between; font-size: 9px; color: #5c6675; background: #fff; font-weight: 700; }
.appbar { background: #fff; border-bottom: 1px solid #edeff3; padding: 10px 14px 12px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.appbar b { font-size: 14px; font-weight: 800; }
.appbar span { font-size: 10px; color: var(--brand); display: inline-flex; align-items: center; gap: 4px; }
.appbar i { font-style: normal; background: var(--brand); color: #fff; border-radius: 999px; padding: 0 4px; font-size: 8px; line-height: 14px; min-width: 14px; text-align: center; }
.appbar--back b { font-size: 12px; }
.appbar--back span:first-child { font-size: 18px; color: var(--ink); line-height: 1; }
.appbar--back span:last-child { color: var(--muted); font-size: 10px; }
.screen__body { flex: 1; overflow: hidden; padding: 10px 10px 0; }
.org { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #38475e; padding: 8px 4px 7px; }
.org img { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; border-radius: 3px; }
.game { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #eceff4; border-radius: 10px; padding: 7px 8px; margin-bottom: 6px; }
.game img { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.game > span:nth-child(2) { min-width: 0; flex: 1; }
.game b { display: block; font-size: 11px; line-height: 1.35; }
.game small { display: block; font-size: 8.5px; color: #8b95a5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game em { font-style: normal; color: #c3cad5; font-size: 16px; }

/* ---------- 产品能力 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature__art { height: 150px; border-radius: 12px; background: var(--soft); border: 1px solid #edf0f5; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.feature__icon { width: 34px; height: 34px; margin: 20px 0 10px; color: var(--brand); }
.feature__icon svg { width: 100%; height: 100%; display: block; }
.feature h3 { font-size: 17px; font-weight: 700; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* 码牌示意图 */
.mini-qr { width: 88px; height: 88px; padding: 9px; background: #fff; border: 1px solid #e3e8ef; border-radius: 8px; box-shadow: var(--shadow-sm); }
.mini-qr__grid { display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(7, 1fr); gap: 2px; height: 100%; }
.mini-qr__grid span { background: #eef1f5; border-radius: 1px; }
.mini-qr__grid span:nth-child(3n), .mini-qr__grid span:nth-child(4n+1), .mini-qr__grid span:nth-child(11), .mini-qr__grid span:nth-child(17), .mini-qr__grid span:nth-child(41) { background: #26354d; }
.mini-tag { position: absolute; bottom: 14px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; }
.feature__art--code { background: linear-gradient(145deg, #fdf1ed, #f7f9fc); }

/* 号码球 */
.balls { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.balls i { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 -2px 4px rgba(0,0,0,.12); }
.balls .ball--blue { background: var(--blue); }
.balls .ball--plain { background: #8e9aad; }
.balls--sm i { width: 25px; height: 25px; font-size: 9.5px; }
.balls--xs i { width: 19px; height: 19px; font-size: 8px; }
.mini-note { position: absolute; bottom: 14px; font-size: 10px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.feature__art--balls { background: linear-gradient(145deg, #fdf3ef, #f6f9fd); }
.feature__art--balls .balls { flex-wrap: nowrap; gap: 5px; }
.feature__art--balls .balls i { width: 26px; height: 26px; font-size: 10px; }
.feature__art--draw { flex-direction: column; gap: 14px; background: linear-gradient(145deg, #f2f6fc, #fbfcff); }
.draw-line { display: flex; align-items: center; gap: 10px; font-size: 10px; color: var(--muted); }
.draw-line b { color: var(--ink); font-size: 12px; }

/* 8 类合规游戏清单 */
.games-scope { margin-top: 34px; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.games-scope__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 16px; }
.games-scope__head b { font-size: 16px; }
.games-scope__head span { color: var(--muted); font-size: 12.5px; }
.games-scope__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.games-scope__group { padding: 12px 14px; border-radius: 12px; background: var(--soft); }
.games-scope__grouphead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.games-scope__org { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; border-radius: 6px; }
.games-scope__tag { display: inline-block; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.games-scope__tag--fc { background: var(--brand); }
.games-scope__tag--tc { background: var(--blue); }
.games-scope__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.games-scope__item { display: flex; align-items: center; justify-content: center; min-height: 62px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.games-scope__item img { width: 72px; height: 48px; object-fit: contain; }

/* 站长端配置卡片流示意 */
.feature__art--config { background: linear-gradient(145deg, #f1f5fb, #fbfcff); padding: 10px; }
.mini-config { width: 100%; background: #fff; border: 1px solid #e8ecf2; border-radius: 9px; padding: 6px 7px 7px; box-shadow: var(--shadow-sm); }
.mini-config__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px; padding: 3px 2px; font-size: 9px; border-top: 1px solid #f0f2f6; }
.mini-config__row:first-child { border-top: 0; }
.mini-config__row span { color: var(--muted); white-space: nowrap; }
.mini-config__row b { font-weight: 700; color: var(--ink); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-config__row i { font-style: normal; font-size: 8px; color: #8b95a5; background: #f2f5f9; border-radius: 4px; padding: 1px 4px; white-space: nowrap; }
.mini-config__chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; padding-top: 7px; border-top: 1px dashed #e8ecf2; }
.mini-config__chips em { font-style: normal; font-size: 8px; line-height: 1.5; color: #61708a; background: #f4f7fb; border: 1px solid #eaeef4; border-radius: 999px; padding: 1px 6px; white-space: nowrap; }
.mini-config__chips em.ro { color: #a8792a; background: #fff6e7; border-color: #f6e4c6; }

/* ---------- 界面预览 ---------- */
.showcase { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.showcase__points { display: flex; flex-direction: column; gap: 10px; }
.point { display: flex; gap: 14px; text-align: left; width: 100%; padding: 16px 16px; border: 1px solid transparent; border-radius: 14px; background: transparent; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.point:hover { background: #fff; border-color: var(--line); }
.point.is-active { background: #fff; border-color: var(--line); box-shadow: var(--shadow-md); }
.point__no { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.point.is-active .point__no { background: var(--brand); color: #fff; }
.point b { display: block; font-size: 15px; margin-bottom: 4px; }
.point small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.showcase__demo { display: inline-flex; align-items: center; gap: 7px; margin: 10px 0 0 16px; color: var(--brand); font-size: 13px; font-weight: 700; }
.showcase__demo:hover { text-decoration: underline; }

.showcase__phones { display: flex; justify-content: center; align-items: flex-end; gap: 22px; padding: 18px 0 8px; }
.phone--sm { --pw: 212px; --ph: 430px; opacity: .84; transform: scale(.94); transition: transform .35s ease, opacity .35s ease, filter .35s ease; filter: saturate(.9); }
.phone--sm.is-active { opacity: 1; transform: scale(1.04) translateY(-8px); filter: none; }
.phone--sm .screen__body { padding: 8px 8px 0; }
.phone--sm .appbar { padding: 8px 11px 10px; }
.phone--sm .org { padding: 6px 3px 5px; font-size: 10px; }
.phone--sm .org img { width: 15px; height: 15px; }
.phone--sm .game { padding: 5px 6px; margin-bottom: 5px; gap: 6px; }
.phone--sm .game img { width: 26px; height: 26px; }
.phone__label { display: block; text-align: center; margin-top: 14px; font-size: 12px; color: var(--muted); }

/* 纸质投注单 · 数据只存本店 */
.paper-note { margin-top: 34px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.paper-note__head { display: flex; align-items: flex-start; gap: 14px; }
.paper-note__icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.paper-note__icon svg { width: 20px; height: 20px; }
.paper-note__head b { display: block; font-size: 15px; margin: 2px 0 6px; }
.paper-note__head p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.paper-note__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-left: 50px; }
.paper-note__tags i { font-style: normal; font-size: 12px; color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; white-space: nowrap; }

/* 选号页 */
.screen__body--pick { display: flex; flex-direction: column; gap: 9px; }
.pick-tip { font-size: 9.5px; color: var(--muted); padding: 2px 3px; }
.pick-tip b { color: var(--brand); }
.ball-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.ball-grid i { height: 25px; border-radius: 50%; background: #fff; border: 1px solid #e4e8ef; color: #6b7890; font-style: normal; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ball-grid i.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pick-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; background: #fff; border-top: 1px solid #eceff4; padding: 9px 4px; font-size: 9.5px; color: var(--muted); }
.pick-foot b { color: var(--brand); }
.pick-foot button { border: 0; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; padding: 7px 14px; border-radius: 999px; }

/* 我的选号页 */
.screen__body--my { display: flex; flex-direction: column; gap: 8px; }
.slip { background: #fff; border: 1px solid #eceff4; border-radius: 9px; padding: 8px; }
.slip__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
.slip__top b { font-size: 9.5px; }
.slip__top span { font-size: 8px; color: #9aa4b3; }
.slip .balls { justify-content: flex-start; gap: 3px; }
.slip__foot { margin-top: 7px; font-size: 8.5px; color: var(--muted); }

/* ---------- 使用入口 ---------- */
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.portal:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.portal--accent { background: linear-gradient(165deg, #fff 0%, #fff7f4 100%); border-color: #f4d7ce; }
.portal__top { display: flex; justify-content: space-between; align-items: center; }
.portal__tag { font-size: 11px; font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 3px 11px; }
.portal__no { font-size: 13px; font-weight: 800; color: #d6dce6; letter-spacing: .05em; }
.portal__icon { width: 40px; height: 40px; margin: 26px 0 14px; color: var(--brand); }
.portal__icon svg { width: 100%; height: 100%; display: block; }
.portal h3 { font-size: 19px; font-weight: 700; }
.portal p { margin: 10px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.85; flex: 1; }
.portal__hint { display: block; text-align: center; margin-top: 12px; font-size: 11px; color: #98a2b3; }

/* ---------- 开通流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.flow::before { content: ""; position: absolute; top: 21px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, #f3d9d3, #e6eaf1); z-index: 0; }
.flow li { position: relative; z-index: 1; padding-right: 14px; }
.flow__no { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 2px solid #f0d3cc; color: var(--brand); font-weight: 800; font-size: 16px; box-shadow: 0 0 0 6px #fff; }
.flow h3 { margin: 20px 0 8px; font-size: 16px; }
.flow p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.flow__cta { margin-top: 54px; padding: 26px 32px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.flow__cta > span { font-size: 17px; font-weight: 700; }

/* ---------- 页脚 ---------- */
.footer { background: #182338; color: #c7d0de; padding: 54px 0 34px; }
.footer__main { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand b { display: block; color: #fff; font-size: 17px; }
.footer__brand small { display: block; font-size: 11px; color: #8e9bb0; margin-top: 2px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; padding-top: 8px; }
.footer__links a { font-size: 13px; color: #aab6c8; }
.footer__links a:hover { color: #fff; }
.footer__legal { padding-top: 24px; font-size: 12px; line-height: 1.9; color: #93a0b4; }
.footer__legal b { color: #dbe3ee; }
.footer__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; font-size: 11.5px; color: #7f8ca2; }

/* ---------- 注册弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal__mask { position: absolute; inset: 0; background: rgba(16, 25, 41, .58); backdrop-filter: blur(3px); }
.modal__panel { position: relative; width: min(520px, 100%); max-height: min(92vh, 860px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 40px 90px rgba(10, 20, 40, .32); animation: modalIn .22s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; right: 16px; top: 14px; width: 34px; height: 34px; border: 0; background: var(--soft); border-radius: 50%; font-size: 22px; line-height: 1; color: var(--muted); }
.modal__close:hover { background: #eceff4; color: var(--ink); }
.modal__intro h2, .modal__success h2 { font-size: 25px; margin: 12px 0 8px; }
.modal__intro > p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 22px; }
.field { margin-bottom: 15px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field label b { color: var(--brand); font-weight: 700; }
.field label .field__opt { color: var(--muted); font-weight: 500; font-size: 11px; margin-left: 3px; }
.field input[type="text"], .field input[type="tel"] { width: 100%; height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-size: 14px; transition: border-color .18s ease, box-shadow .18s ease; }
.field input::placeholder { color: #aab3c1; }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(192, 57, 43, .12); }
.field input.is-invalid { border-color: var(--brand); background: #fffafa; }
.field small { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); }
.agree { display: flex; align-items: flex-start; gap: 9px; margin: 6px 0 16px; font-size: 12px; color: var(--muted); line-height: 1.7; cursor: pointer; }
.agree input { margin-top: 4px; width: 15px; height: 15px; accent-color: var(--brand); flex-shrink: 0; }
.form-msg { border-radius: 9px; padding: 10px 13px; font-size: 12.5px; margin-bottom: 14px; line-height: 1.7; }
.form-msg.is-error { background: #fff0ed; color: #a52d22; border: 1px solid #f4d2cb; }
.form-msg.is-info { background: #f2f6fd; color: #2f5ca8; border: 1px solid #dbe6f8; }
.form-note { text-align: center; font-size: 11px; color: #9aa4b3; margin-top: 12px; }
.modal__success { text-align: center; padding: 22px 4px 8px; }
.success__icon { width: 76px; height: 76px; margin: 0 auto 18px; }
.success__icon svg { width: 100%; height: 100%; }
.modal__success p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.success__actions { display: grid; gap: 10px; margin-top: 28px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 280px 1fr; gap: 24px; }
  .showcase__phones { gap: 8px; }
  .phone--sm { --pw: 190px; --ph: 396px; }
  .hero__visual { height: 530px; }
  .visual__mascot { width: 320px; height: 320px; }
  .phone--hero { --pw: 218px; --ph: 452px; right: 0; }
  .hero__facts li { padding-right: 10px; }
  .hero__facts li + li { padding-left: 10px; }
  .hero__facts b { font-size: 16px; }
}
@media (max-width: 900px) {
  .nav {
    position: absolute; top: 74px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 8px 24px 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header__actions { display: none; }
  .header__inner { gap: 16px; }
  .hero__inner { grid-template-columns: 1fr; gap: 26px; }
  .hero__copy { max-width: none; }
  .hero__visual { height: 530px; max-width: 560px; margin: 0 auto; width: 100%; }
  .showcase { grid-template-columns: 1fr; gap: 26px; }
  .showcase__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .point { flex-direction: column; gap: 8px; padding: 14px; background: #fff; border-color: var(--line); }
  .showcase__demo { grid-column: 1 / -1; margin: 4px 0 0; }
  .portal-grid { grid-template-columns: 1fr; }
  .portal { padding: 22px; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .flow::before { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 36px; }
  .hero__lead { font-size: 14px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts li { padding-right: 6px; }
  .hero__facts li + li { padding-left: 6px; }
  .hero__facts b { font-size: clamp(12px, 3.6vw, 14px); letter-spacing: -.04em; }
  .hero__facts span { font-size: 11px; }
  .hero__visual { height: 420px; }
  .visual__mascot { width: 230px; height: 230px; top: 60px; left: 0; border-width: 5px; }
  .visual__halo { width: 300px; height: 300px; }
  .phone--hero { --pw: 176px; --ph: 364px; right: 2px; top: 12px; }
  .float-chip { font-size: 11px; padding: 6px 11px; }
  .float-chip--a { bottom: 22px; left: 0; }
  .float-chip--b { top: auto; bottom: 8px; right: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .games-scope { padding: 18px; }
  .games-scope__groups { grid-template-columns: 1fr; }
  .paper-note { padding: 18px; }
  .paper-note__tags { padding-left: 0; }
  .showcase__points { grid-template-columns: 1fr; }
  .point { flex-direction: row; }
  .showcase__phones { overflow-x: auto; justify-content: flex-start; padding: 18px 6px 10px; scroll-snap-type: x mandatory; }
  .phone--sm { --pw: 190px; --ph: 396px; flex-shrink: 0; scroll-snap-align: center; }
  .flow { grid-template-columns: 1fr; }
  .flow__cta { flex-direction: column; align-items: stretch; text-align: center; padding: 24px; }
  .footer__main { flex-direction: column; }
  .footer__links { gap: 14px 18px; }
  .modal__panel { padding: 26px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 420px) {
  .br-mobile { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
