/* ===== ELIE 品牌站 · 深墨 + 烫金 · 高级克制 =====
   近黑底 / 深松绿分层 / 象牙白字 / 烫金点睛 / 大留白 */
:root {
  --bg: #1c1b1a;
  --bg-soft: #211f1d;
  --panel: #26302b;
  --panel-2: #2a3b35;
  --gold: #c9a24b;
  --gold-soft: #e0c079;
  --ivory: #ede6d6;
  --text: #ede6d6;
  --text-soft: #a9a294;
  --olive: #8a9a5b;
  --line: rgba(237, 230, 214, 0.12);
  --line-2: rgba(237, 230, 214, 0.22);
  --radius: 20px;
  --maxw: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.18; }
img { max-width: 100%; }
section[id] { scroll-margin-top: 84px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .5px;
  cursor: pointer; border: none; transition: transform .16s ease, background .2s, color .2s, border-color .2s;
}
.btn-primary { color: #201a10; background: var(--gold); }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-ghost { color: var(--ivory); background: transparent; border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }

/* ===== kicker 小标签 ===== */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 2.5px; color: var(--gold); text-transform: uppercase; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.kicker--center { justify-content: center; }

/* ===== 导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 15px 34px; background: rgba(28, 27, 26, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: 3px; color: var(--ivory); white-space: nowrap; }
.brand-mark { width: 24px; height: 24px; display: inline-flex; flex: none; }
.brand-mark img { width: 100%; height: 100%; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; color: var(--text-soft); }
.nav-links a { transition: color .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--gold); }

/* ===== 登录后账号菜单（头像+昵称下拉，account-nav.js 注入）===== */
.acct-menu { position: relative; display: inline-flex; }
.acct-trigger {
  display: inline-flex; align-items: center; gap: 8px; background: transparent; border: none; cursor: pointer;
  color: var(--text-soft); font: inherit; font-weight: 600; padding: 4px 8px; border-radius: 999px; transition: background .15s, color .15s;
}
.acct-trigger:hover { background: var(--line); color: var(--gold-soft); }
.acct-seal { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--ivory); font-weight: 800; flex: none; }
.acct-avatar-img { border-radius: 50%; object-fit: cover; flex: none; }
.acct-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-caret { font-size: 10px; opacity: .6; font-style: normal; margin-left: -2px; }
.acct-panel {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 200px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); padding: 8px; display: none; z-index: 60;
}
.acct-menu.open .acct-panel { display: block; }
.acct-panel-email { padding: 8px 12px 10px; font-size: 12px; color: var(--text-soft); border-bottom: 1px solid var(--line); margin-bottom: 6px; word-break: break-all; }
.acct-panel-link { display: block; padding: 9px 12px; border-radius: 9px; color: var(--text); font-size: 14px; font-weight: 600; transition: background .15s, color .15s; }
.acct-panel-link:hover { background: var(--gold-soft); color: #201a10; }
.acct-panel-link.acct-logout { color: #e79a9a; }
.acct-panel-link.acct-logout:hover { background: #e79a9a; color: #201a10; }
/* 语言下拉选择器 */
.lang-select { position: relative; }
/* 顶栏常驻语言切换（仅手机显示，桌面隐藏——桌面用 nav-links 里的那个） */
.lang-select--bar { display: none; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; color: var(--ivory);
  border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; letter-spacing: .5px;
  transition: border-color .2s, color .2s;
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }
.lang-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .8; transition: transform .2s; }
.lang-select.open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 70;
  min-width: 168px; max-height: 340px; overflow: auto;
  display: none; flex-direction: column; gap: 2px; padding: 6px;
  background: rgba(24, 23, 22, 0.98); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 22px 54px rgba(0, 0, 0, 0.55);
}
.lang-select.open .lang-menu { display: flex; }
.lang-opt {
  text-align: left; background: transparent; border: none; cursor: pointer;
  color: var(--text-soft); padding: 9px 14px; border-radius: 9px; font-size: 14px; white-space: nowrap;
  transition: background .15s, color .15s;
}
.lang-opt:hover { background: rgba(255, 255, 255, 0.06); color: var(--ivory); }
.lang-opt.active { color: var(--gold); font-weight: 700; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; width: 44px; height: 44px; padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; }
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ivory); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 首页极光底（五彩平滑柔光，深墨稳重打底，铺满整页，无噪点） ===== */
body.home { position: relative; }
body.home::before {
  content: ""; position: fixed; inset: -8%; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(34% 40% at 14% 20%, rgba(56,150,236,0.26), transparent 60%),
    radial-gradient(34% 40% at 40% 30%, rgba(47,192,176,0.26), transparent 60%),
    radial-gradient(36% 42% at 82% 22%, rgba(150,112,236,0.30), transparent 60%),
    radial-gradient(40% 44% at 70% 82%, rgba(226,106,162,0.26), transparent 60%),
    radial-gradient(44% 48% at 22% 84%, rgba(216,172,82,0.26), transparent 60%);
  background-repeat: no-repeat;
  animation: aurora 26s ease-in-out infinite alternate;
}
@keyframes aurora { from { transform: translate3d(-2%,-1.5%,0) scale(1.03); } to { transform: translate3d(2.5%,2%,0) scale(1.07); } }
@media (prefers-reduced-motion: reduce) { body.home::before { animation: none; } }

/* ===== 品牌主视觉（3D 质感 · 立体金属 + 纵深光影） ===== */
.brand-hero { position: relative; overflow: hidden; text-align: center; padding: 118px 24px 104px; perspective: 1000px; }
.brand-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 52% at 50% 20%, rgba(201, 162, 75, 0.10), transparent 66%),
    radial-gradient(34% 30% at 50% 6%, rgba(201, 162, 75, 0.12), transparent 70%);
}
.brand-hero > * { position: relative; z-index: 1; }
/* 漂浮金色微粒（用一个元素的多重阴影造多颗，营造纵深） */
.brand-hero-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.brand-hero-fx::before {
  content: ""; position: absolute; top: 26%; left: 12%;
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold-soft); filter: blur(.3px);
  box-shadow:
    120px -40px 0 -1px rgba(201,162,75,.6), 360px 60px 0 0 rgba(237,230,214,.5),
    620px -10px 0 -1px rgba(201,162,75,.45), 760px 120px 0 0 rgba(237,230,214,.4),
    240px 220px 0 -1px rgba(201,162,75,.5), 540px 300px 0 0 rgba(201,162,75,.4),
    60px 340px 0 -1px rgba(237,230,214,.35), 700px 320px 0 0 rgba(201,162,75,.45);
  animation: motes 13s ease-in-out infinite alternate;
}
@keyframes motes { from { transform: translate3d(0,0,0); } to { transform: translate3d(24px,-22px,0); } }
/* 立体金属徽章：三维倾斜 + 漂浮 + 投影 */
.brand-hero-mark { width: 108px; margin: 0 auto 34px; }
.brand-hero-mark img { display: block; width: 100%; filter: drop-shadow(0 14px 20px rgba(0,0,0,0.5)); animation: heroFloat 5s ease-in-out infinite; }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) { .brand-hero-mark img { animation: none; } }
/* 3D 烫金浮雕字标 */
.wordmark {
  font-size: clamp(58px, 12vw, 118px); font-weight: 800;
  letter-spacing: clamp(8px, 3vw, 26px); text-indent: clamp(8px, 3vw, 26px);
  color: transparent; -webkit-text-fill-color: transparent;
  background: linear-gradient(176deg, #fbf1d0 0%, #ecd18a 38%, #cea350 60%, #a07b34 100%);
  -webkit-background-clip: text; background-clip: text;
  text-shadow:
    0 1px 0 #b7913f, 0 2px 0 #a9802f, 0 3px 0 #98722a, 0 4px 0 #866425,
    0 5px 0 #745620, 0 6px 1px rgba(0,0,0,.35), 0 12px 26px rgba(0,0,0,.6);
}
.brand-tagline { margin: 34px 0 0; font-size: clamp(18px, 2.6vw, 24px); font-weight: 700; color: var(--gold); text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.brand-hero .btn-primary { margin-top: 34px; }
.brand-intro { margin: 20px auto 34px; max-width: 560px; font-size: 17px; color: var(--text-soft); }

/* ===== 品牌理念 ===== */
.values { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.value { background: var(--bg); padding: 34px 30px; }
.value-no { font-size: 13px; font-weight: 800; letter-spacing: 2px; color: var(--gold); }
.value strong { display: block; margin: 12px 0 8px; font-size: 20px; font-weight: 700; color: var(--ivory); }
.value p { margin: 0; color: var(--text-soft); font-size: 15px; }

/* ===== 分区标题 ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .kicker { margin-bottom: 18px; }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--ivory); }
.section-sub { color: var(--text-soft); margin: 14px 0 0; font-size: 16px; }

/* ===== 产品网格 + 产品卡 ===== */
.products, .more { max-width: var(--maxw); margin: 0 auto; padding: 96px 24px 40px; perspective: 1200px; }
.pgrid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pcard {
  display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.pcard:hover { transform: perspective(900px) rotateX(3deg) translateY(-8px); border-color: rgba(201, 162, 75, 0.5); box-shadow: 0 26px 44px rgba(0,0,0,0.45); }
.pcard-art { padding: 16px 16px 0; }
.pcard-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); }
.pcard-info { padding: 18px 22px 24px; display: flex; flex-direction: column; gap: 9px; }
.pcard-info h3 { font-size: 22px; font-weight: 700; color: var(--ivory); }
.pcard-tagline { font-size: 15px; color: var(--text-soft); margin: 0; }
.pcard-more { margin-top: 4px; font-weight: 700; font-size: 14px; color: var(--gold); letter-spacing: .5px; }
.pcard:hover .pcard-more { color: var(--gold-soft); }

/* 首页“一大两小”：旗舰大卡 + 两张小卡 */
.phome { max-width: 900px; margin: 0 auto; }
.fcard { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-bottom: 22px; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.fcard:hover { transform: translateY(-6px); border-color: rgba(201,162,75,0.5); box-shadow: 0 32px 64px rgba(0,0,0,0.5); }
.fcard-art img { width: 100%; aspect-ratio: 2.35 / 1; object-fit: cover; display: block; }
.fcard-info { padding: 22px 30px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.fcard-info h3 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; color: var(--ivory); }
.fcard-tagline { font-size: 16px; color: var(--text-soft); margin: 0; }
.pgrid--home { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pgrid--home .pcard-art img { aspect-ratio: 16 / 10; }
.pgrid--home .pcard-info { padding: 16px 20px 22px; }
.pgrid--home .pcard-info h3 { font-size: 20px; }

.badge { align-self: flex-start; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--gold); border: 1px solid rgba(201, 162, 75, 0.4); background: rgba(201, 162, 75, 0.08); }

/* ===== 关于 ===== */
.about { padding: 60px 24px 96px; }
.about-card { max-width: 780px; margin: 0 auto; text-align: center; }
.about-card .kicker { margin-bottom: 22px; }
.about-body { color: var(--text-soft); font-size: 18px; line-height: 1.9; margin: 0; }

/* ===== 页脚 ===== */
.footer { background: #161514; border-top: 1px solid var(--line); padding: 44px 24px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.brand--footer { color: #fff; }
.footer-note { color: var(--text-soft); font-size: 14px; margin: 14px 0 0; }
.footer-links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; color: var(--text-soft); flex-wrap: wrap; }
.footer-links a:hover { color: var(--gold); }
.lang-select--ghost .lang-btn { padding: 5px 12px; font-size: 12px; }
.lang-select--ghost .lang-menu { top: auto; bottom: calc(100% + 8px); }

/* ===== 产品主视觉：满幅电影画幅 banner + 居中信息 ===== */
.phero { position: relative; padding: 34px 24px 68px; }
.back-link { display: block; max-width: var(--maxw); margin: 0 auto 26px; color: var(--text-soft); font-size: 14px; font-weight: 600; }
.back-link::before { content: "← "; color: var(--gold); }
.back-link:hover { color: var(--gold); }
.phero-banner {
  max-width: 940px; margin: 0 auto 42px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: 0 28px 64px rgba(0,0,0,0.5);
}
.phero-banner img { width: 100%; display: block; }
.phero-body { max-width: 680px; margin: 0 auto; text-align: center; }
.phero-body .badge { margin-bottom: 20px; }
.phero-body h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; color: var(--ivory); letter-spacing: 1px; }
.phero-tagline { margin: 18px 0 14px; font-size: 21px; font-weight: 700; color: var(--gold); }
.phero-long { margin: 0 auto 30px; max-width: 560px; font-size: 17px; color: var(--text-soft); }

/* 整页背景铺色时，文字加轻微阴影保证可读 */
body.has-pagebg .phero-body h1, body.has-pagebg .phero-tagline, body.has-pagebg .phero-long { text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
/* 整页铺色时，页脚透明让底色贯通，不割裂 */
body.has-pagebg .footer { background: transparent; border-top-color: rgba(237,230,214,0.14); }
/* 墨蓝页背景质感：水波纹（同心圈）+ 细颗粒（噪点），铺在内容之下 */
body.has-pagebg::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E"),
    repeating-radial-gradient(circle at 20% 26%, rgba(232,228,212,0.055) 0 1.5px, transparent 1.5px 26px),
    repeating-radial-gradient(circle at 83% 62%, rgba(232,228,212,0.045) 0 1.5px, transparent 1.5px 34px),
    repeating-radial-gradient(circle at 60% 90%, rgba(232,228,212,0.04) 0 1.5px, transparent 1.5px 40px);
  background-size: 160px 160px, auto, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  opacity: 0.6;
}
/* 墨蓝页文字：暖灰改冷调浅色，配蓝更舒服 */
body.has-pagebg .phero-long { color: #d3deec; }
body.has-pagebg .pcard-tagline,
body.has-pagebg .pfeat span:last-child,
body.has-pagebg .back-link,
body.has-pagebg .footer-note,
body.has-pagebg .section-sub,
body.has-pagebg .store-txt small { color: #aec2d8; }

/* 下载区（居中·强调：烫金框 + 柔金光晕 + 实心质感按钮，转化重点） */
.download {
  display: inline-block; margin-top: 10px; padding: 24px 34px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(201, 162, 75, 0.42);
  box-shadow: 0 0 30px rgba(201, 162, 75, 0.12), 0 18px 44px rgba(0, 0, 0, 0.35);
  animation: dlglow 3.8s ease-in-out infinite;
}
@keyframes dlglow {
  0%, 100% { box-shadow: 0 0 20px rgba(201,162,75,0.08), 0 18px 44px rgba(0,0,0,0.35); }
  50% { box-shadow: 0 0 42px rgba(201,162,75,0.22), 0 18px 44px rgba(0,0,0,0.35); }
}
@media (prefers-reduced-motion: reduce) { .download { animation: none; } }
.download-label { display: block; font-size: 14px; font-weight: 800; letter-spacing: 2.5px; color: var(--gold); text-transform: uppercase; margin-bottom: 16px; }
/* 下载量（社交证明）：金色大数字 + 小字 */
.dl-stat { display: flex; align-items: baseline; justify-content: center; gap: 9px; margin-bottom: 18px; }
.dl-stat strong { font-size: 30px; font-weight: 800; color: var(--gold); letter-spacing: .5px; line-height: 1; }
.dl-stat span { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--text-soft); }
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 13px 24px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid var(--line-2); color: var(--ivory);
  transition: border-color .2s, transform .16s, color .2s, box-shadow .2s, background .2s;
}
.store-badge:hover {
  border-color: var(--gold); color: var(--gold-soft); transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(201,162,75,0.18), rgba(201,162,75,0.05));
  box-shadow: 0 12px 28px rgba(201,162,75,0.25);
}
.store-ico { display: inline-flex; color: currentColor; }
.store-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-txt small { font-size: 11px; color: var(--text-soft); letter-spacing: .5px; }
.store-txt b { font-size: 16px; font-weight: 700; }
/* 下载区下方的协议链接（隐私政策 / 用户协议 / 儿童隐私） */
.dl-legal { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; margin-top: 16px; }
.dl-legal a { font-size: 12px; color: var(--text-soft); letter-spacing: .3px; transition: color .15s; text-decoration: none; }
.dl-legal a:hover { color: var(--gold); text-decoration: underline; }
.dl-legal .sep { color: var(--line-2); font-size: 11px; }

/* “其他产品”横向滑动条（与“游戏画面”预告图一致的手感，左右滑、不留空） */
.prow { display: flex; gap: 18px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.prow::-webkit-scrollbar { height: 6px; }
.prow::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.prow .pcard { flex: 0 0 auto; width: 232px; scroll-snap-align: start; }
.prow .pcard-art { padding: 12px 12px 0; }
.prow .pcard-art img { aspect-ratio: 16 / 10; border-radius: 12px; }
.prow .pcard-info { padding: 13px 16px 18px; gap: 6px; }
.prow .pcard-info h3 { font-size: 18px; }
.prow .pcard-tagline { font-size: 13px; }
.prow .pcard-more { font-size: 13px; }
.more:has(.prow) .section-title { font-size: clamp(22px, 3vw, 28px); }
.more:has(.prow) { padding-top: 40px; }
/* 占位卡（待配图） */
.pcard--ph { cursor: default; border-style: dashed; }
.pcard--ph:hover { transform: none; border-color: var(--line); }
.pcard--ph .pcard-art { aspect-ratio: 16 / 10; margin: 12px 12px 0; padding: 0; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line-2); border-radius: 12px; background: rgba(201,162,75,0.04); }
.pcard--ph .pcard-info h3 { color: var(--text-soft); }
.ph-plus { position: relative; width: 30px; height: 30px; opacity: 0.55; }
.ph-plus::before, .ph-plus::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; }
.ph-plus::before { left: 50%; top: 0; transform: translateX(-50%); width: 3px; height: 100%; }
.ph-plus::after { top: 50%; left: 0; transform: translateY(-50%); height: 3px; width: 100%; }

/* ===== 游戏截图墙（竖屏 9:19.5，横向滚动） ===== */
.shots-sec { max-width: var(--maxw); margin: 0 auto; padding: 30px 24px 10px; }
.shots-sec .section-head { margin-bottom: 28px; }
.shots {
  display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 14px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots::-webkit-scrollbar { height: 6px; }
.shots::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.shot {
  position: relative; margin: 0; flex: 0 0 auto;
  width: clamp(150px, 44vw, 222px); aspect-ratio: 9 / 19.5;
  border-radius: 22px; overflow: hidden; scroll-snap-align: start;
  background: var(--panel); border: 1px dashed var(--line-2);
  display: flex; align-items: center; justify-content: center;
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.shot-num { position: absolute; top: 14px; left: 16px; font-size: 26px; font-weight: 800; color: rgba(201, 162, 75, 0.35); }
.shot-tip { font-size: 12px; color: var(--text-soft); letter-spacing: 1px; }
/* 视频窗口（第一格）——自动、静音、循环播放，无需点击 */
.shot--video { background: #14130f; border-style: solid; border-color: rgba(201, 162, 75, 0.35); overflow: hidden; }
.shot--video video, .shot--video iframe { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.shot--video.is-ph .vposter { width: 100%; height: 100%; object-fit: cover; display: block; animation: kenburns 15s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.14); } }
.shot--video.is-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,19,15,0.35), transparent 30%, transparent 70%, rgba(20,19,15,0.55)); pointer-events: none; }
.video-badge {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: 999px;
  background: rgba(20, 19, 15, 0.72); color: var(--gold);
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
}
.video-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ===== 产品特色 ===== */
.pfeats { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 20px; }
.pfeats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pfeat { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; display: flex; flex-direction: column; gap: 8px; }
.pfeat-ico { position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--gold); margin-bottom: 6px; }
.pfeat-ico::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--gold); }
.pfeat strong { font-size: 18px; font-weight: 700; color: var(--ivory); }
.pfeat span:last-child { color: var(--text-soft); font-size: 15px; }

/* ===== 响应式 ===== */
@media (max-width: 860px) {
  .values { grid-template-columns: 1fr; }
  .phero-wrap { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .phero-copy { display: flex; flex-direction: column; align-items: center; }
  .phero-long { margin-left: auto; margin-right: auto; }
  .download { width: 100%; }
  .store-badges { justify-content: center; }
  .phero-art { order: -1; }
  .phero-art img { max-width: 320px; }
  .pfeats-grid { grid-template-columns: 1fr; }
  .pfeat { flex-direction: row; align-items: center; gap: 16px; }
  .pfeat-ico { flex: none; margin-bottom: 0; }
  .products, .more { padding-top: 72px; }
}
/* 手机端：两个下载徽章上下叠放并等宽对齐（"App Store" / "Google Play" 文字长短不同，
   否则各自按内容宽度、居中摆放会左右不齐、谷歌那个偏大） */
@media (max-width: 560px) {
  .store-badges { flex-direction: column; align-items: stretch; }
  .store-badge { justify-content: center; }
}
@media (max-width: 720px) {
  .nav { padding: 13px 18px; position: relative; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(24, 23, 22, 0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-2);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-links.open { max-height: 340px; }
  .nav-links a { padding: 15px 24px; border-top: 1px solid var(--line); font-size: 16px; }
  /* 手机：语言切换移到顶栏常驻（汉堡按钮左边），菜单里那个隐藏，避免重复 */
  .nav-links .lang-select { display: none; }
  .lang-select--bar { display: block; margin-left: auto; margin-right: 12px; }
  .lang-select--bar .lang-btn { padding: 8px 12px; max-width: 46vw; }
  .lang-select--bar .lang-cur { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* 账号菜单在手机抽屉里：换成随抽屉展开的静态块，不再是悬浮小面板 */
  .nav-links .acct-menu { width: 100%; padding: 0 24px; border-top: 1px solid var(--line); }
  .acct-trigger { width: 100%; padding: 15px 0; justify-content: flex-start; }
  .acct-name { max-width: none; flex: 1; text-align: left; }
  .acct-panel { position: static; box-shadow: none; border: none; background: transparent; padding: 0 0 10px 36px; margin-top: -6px; min-width: 0; }
  .acct-panel-email { padding: 2px 0 8px; }
  .acct-panel-link { padding: 10px 0; }
}

/* ===== 咨询机器人对话框（圆盘机器人） ===== */
/* 容器本身不吃点击（否则会盖住整屏挡住所有按钮）；只有圆钮和打开的对话框接收点击 */
/* 放左上角、压在导航栏下方——避开右上角的菜单按钮/下拉框，也远离手机底部的系统手势区 */
.elie-chat { position: fixed; left: 18px; top: 74px; z-index: 900; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; pointer-events: none; }

/* 悬浮圆钮 */
.chat-fab {
  width: 60px; height: 60px; border-radius: 50%; flex: none; cursor: pointer; position: relative;
  border: 1px solid rgba(201, 162, 75, 0.55);
  background: radial-gradient(120% 120% at 32% 28%, #2c2a25 0%, #201e1b 60%, #171512 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(201, 162, 75, 0.08);
  display: flex; align-items: center; justify-content: center; padding: 0;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
  pointer-events: auto;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
/* 浮动动画与悬停效果只在“真有鼠标悬停”的设备上生效——手机(触屏)上圆钮保持静止，
   避免“动来动去的靶子点不中”，也避免点完残留 hover 高亮 */
@media (hover: hover) and (pointer: fine) {
  .chat-fab { animation: chatFab 4.5s ease-in-out infinite; }
  .chat-fab:hover { transform: translateY(-3px) scale(1.04); border-color: var(--gold); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 0 8px rgba(201, 162, 75, 0.14); }
}
.chat-fab-mark { width: 70%; height: 70%; display: flex; }
.chat-fab-mark .chat-mark-img { width: 100%; height: 100%; }
.chat-fab::after {
  content: ""; position: absolute; top: 5px; right: 5px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--olive); border: 2px solid #201e1b; box-shadow: 0 0 8px rgba(138, 154, 91, 0.8);
}
@keyframes chatFab { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* 对话面板 */
.chat-panel {
  width: 348px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 168px);
  background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transform-origin: top left; transform: translateY(-16px) scale(0.92); opacity: 0; pointer-events: none;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
}
.elie-chat.open .chat-panel { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.elie-chat.open .chat-fab { opacity: 0.9; }

/* 头部 */
.chat-head { display: flex; align-items: center; gap: 11px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line);
  background: linear-gradient(160deg, #2a3b35 0%, #232a27 100%); }
.chat-head-mark { width: 38px; height: 38px; flex: none; border-radius: 50%; padding: 3px;
  background: radial-gradient(120% 120% at 32% 28%, #2c2a25 0%, #1a1815 100%); border: 1px solid rgba(201, 162, 75, 0.5); display: flex; }
.chat-head-mark .chat-mark-img { width: 100%; height: 100%; }
.chat-head-txt { flex: 1; min-width: 0; line-height: 1.25; }
.chat-title { display: block; font-size: 15px; font-weight: 800; color: var(--ivory); letter-spacing: .5px; }
.chat-blurb { display: block; font-size: 11.5px; color: var(--gold-soft); }
.chat-close { flex: none; width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(237, 230, 214, 0.06); color: var(--text-soft); display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.chat-close:hover { background: rgba(237, 230, 214, 0.14); color: var(--ivory); }

/* 消息区 */
.chat-body { flex: 1; overflow-y: auto; padding: 16px 14px 6px; display: flex; flex-direction: column; gap: 12px; }
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(237, 230, 214, 0.16); border-radius: 6px; }
.chat-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; }
.chat-msg.chat-user { justify-content: flex-end; }
.chat-ava { width: 26px; height: 26px; flex: none; border-radius: 50%; padding: 2px; align-self: flex-start;
  background: radial-gradient(120% 120% at 32% 28%, #2c2a25 0%, #1a1815 100%); border: 1px solid rgba(201, 162, 75, 0.45); display: flex; }
.chat-ava .chat-mark-img { width: 100%; height: 100%; }
.chat-bubble { padding: 10px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.55; max-width: 78%; word-wrap: break-word; white-space: pre-wrap; }
.chat-bot .chat-bubble { background: var(--panel); color: var(--ivory); border-top-left-radius: 5px; }
.chat-user .chat-bubble { background: var(--gold); color: #201a10; font-weight: 600; border-top-right-radius: 5px; }
.chat-typing { display: inline-flex; gap: 4px; align-items: center; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-soft); opacity: .5; animation: chatBlink 1.1s infinite; }
.chat-typing i:nth-child(2) { animation-delay: .18s; }
.chat-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes chatBlink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* 快捷问题 */
.chat-chips { padding: 4px 14px 10px; display: flex; flex-wrap: wrap; gap: 7px; }
.chat-chips-hint { width: 100%; font-size: 11px; color: var(--text-soft); letter-spacing: .5px; margin-bottom: 1px; }
.chat-chip { font-size: 12.5px; font-weight: 600; color: var(--gold-soft); cursor: pointer;
  background: rgba(201, 162, 75, 0.08); border: 1px solid rgba(201, 162, 75, 0.32); border-radius: 999px; padding: 6px 12px; transition: background .15s, border-color .15s, color .15s;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.chat-chip:hover { background: rgba(201, 162, 75, 0.18); border-color: var(--gold); color: var(--ivory); }

/* 输入区 */
.chat-input { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--bg); }
.chat-ta { flex: 1; resize: none; border: 1px solid var(--line-2); background: rgba(237, 230, 214, 0.04); color: var(--text);
  border-radius: 14px; padding: 10px 12px; font: inherit; font-size: 13.5px; line-height: 1.4; max-height: 96px; outline: none; transition: border-color .15s; }
.chat-ta:focus { border-color: var(--gold); }
.chat-ta::placeholder { color: var(--text-soft); }
.chat-send { flex: none; height: 40px; padding: 0 16px; border-radius: 14px; border: none; cursor: pointer;
  background: var(--gold); color: #201a10; font-weight: 700; font-size: 13.5px; transition: background .15s, transform .12s;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.chat-send:hover { background: var(--gold-soft); transform: translateY(-1px); }
.chat-foot { text-align: center; font-size: 10.5px; color: var(--text-soft); padding: 0 12px 9px; letter-spacing: .5px; }

@media (max-width: 520px) {
  .elie-chat { left: 12px; top: 82px; }
  .chat-panel { height: calc(100vh - 168px); }
}
@media (prefers-reduced-motion: reduce) { .chat-fab { animation: none; } }

/* ===== 协议 / 政策页（隐私政策 / 用户协议 / 儿童隐私） ===== */
/* 顶部留白比常规大——让首个元素(返回首页)落在左上角悬浮小助手圆钮的下方，不被盖住 */
.legal-page { max-width: 860px; margin: 0 auto; padding: 82px 24px 80px; }
.legal-page .back-link { position: static; margin-bottom: 20px; }
.legal-h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; color: var(--ivory); letter-spacing: .5px; margin-bottom: 22px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.legal-tab { font-size: 14px; font-weight: 700; color: var(--text-soft); padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; text-decoration: none; transition: color .15s, border-color .15s, background .15s; }
.legal-tab:hover { color: var(--gold); border-color: var(--gold); }
.legal-tab.active { color: #201a10; background: var(--gold); border-color: var(--gold); }
.legal-updated { font-size: 13px; color: var(--text-soft); margin-bottom: 14px; letter-spacing: .3px; }
.legal-notice { font-size: 13px; line-height: 1.7; color: var(--gold-soft); background: rgba(201, 162, 75, 0.08);
  border: 1px solid rgba(201, 162, 75, 0.32); border-radius: 14px; padding: 14px 18px; margin-bottom: 30px; }
.legal-doc-title { font-size: 22px; font-weight: 800; color: var(--ivory); margin-bottom: 20px; }
.legal-body { color: var(--text); }
.legal-sec { margin-bottom: 26px; }
.legal-sec h3 { font-size: 17px; font-weight: 700; color: var(--gold-soft); margin-bottom: 10px; }
.legal-sec p { font-size: 15px; line-height: 1.8; color: var(--text-soft); margin-bottom: 10px; }
