/*
 * App 官网样式。配色取自 uniapp/uni.scss（Nocturne）：
 * 底 #161826 / 信息流底 #0d0f1a / 面 #232532 / 导航 #191b2a / 主色 #9184d9、亮 #b5abfc。
 * 不引外部字体（Google Fonts 在大陆不可用），中文走系统黑体。
 */
:root {
	--bg: #161826;
	--deep: #0d0f1a;
	--bar: #191b2a;
	--surface: #232532;
	--tint: #2b2741;
	--line: rgba(233, 233, 237, 0.16);
	--edge: #3f424d;
	--edge-strong: #595d6c;
	--text: #e9e9ed;
	--text-2: #cfd3e5;
	--text-3: #b2b6ca;
	--text-4: #9397ab;
	--accent: #b5abfc;
	--accent-soft: #d2cefd;
	--on-accent: #161826;
	--num: 'DIN Alternate', 'Avenir Next', 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.7 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
	overflow-x: hidden;
}
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #e7e5fe; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.25; font-weight: 900; }
img { max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-narrow { max-width: 860px; }
.sec { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); display: flex; flex-direction: column; gap: 48px; }
.sec-tight { gap: 36px; }
.band-deep { background: var(--deep); }
.band-bar { background: var(--bar); }
.band-accent { background: var(--tint); }
.band-lines { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-top { border-top: 1px solid var(--line); }

.eyebrow { font-size: 14px; color: var(--accent); letter-spacing: 0.16em; }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.sec-head p { color: var(--text-3); }
.sec-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }

/* ── 导航 ── */
.nav { border-bottom: 1px solid var(--line); background: var(--bar); }
.nav-in { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); min-height: 44px; font-size: 20px; font-weight: 900; letter-spacing: 0.04em; }
.brand:hover { color: var(--text); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 15px; }
.nav-links a { color: var(--text-2); padding: 10px 0; }
.nav-links a:hover { color: #fff; }
.nav-links .nav-cta { background: var(--accent); color: var(--on-accent); font-weight: 700; padding: 10px 22px; border-radius: 999px; }
.nav-links .nav-cta:hover { background: var(--accent-soft); color: var(--on-accent); }

/* ── 按钮 ── */
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; padding: 14px 28px; border-radius: 14px; min-height: 56px; }
.btn-primary { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.btn-primary:hover { background: var(--accent-soft); color: var(--on-accent); }
.btn-ghost { color: var(--text); font-weight: 500; box-shadow: 0 0 0 1px var(--edge-strong); }
.btn-ghost:hover { color: #fff; box-shadow: 0 0 0 1px var(--accent); }
.btn-off { color: var(--accent-soft); box-shadow: 0 0 0 1px #5d5294; cursor: default; }

/* ── 首屏 ── */
.hero { border-bottom: 1px solid var(--line); }
.hero-in { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); display: flex; flex-wrap: wrap; align-items: center; gap: 56px 72px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.eyebrow-line { display: flex; align-items: center; gap: 10px; color: var(--text-3); }
.eyebrow-line i { width: 28px; height: 2px; background: var(--accent); }
.hero h1 { font-size: clamp(44px, 7vw, 88px); line-height: 1.12; font-weight: 900; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 520px; }
.dots { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--text-3); }
.dots li { display: flex; align-items: center; gap: 8px; }
.dots li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.phone-col { flex: 0 1 320px; margin: 0 auto; min-width: 0; }
.phone { width: 100%; max-width: 320px; border-radius: 44px; padding: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--edge-strong), 0 24px 60px rgba(0, 0, 0, 0.55); }
.screen { position: relative; width: 100%; height: 640px; border-radius: 34px; overflow: hidden; background: linear-gradient(160deg, #2b2741, #0d0f1a 70%); }
.screen-blur { position: absolute; left: -10%; top: -10%; width: 120%; height: 120%; max-width: none; object-fit: cover; filter: blur(22px) brightness(0.42); }
.screen-cover { position: absolute; left: 0; top: 64px; width: 100%; aspect-ratio: 500 / 800; object-fit: cover; display: block; }
.screen-tabs { position: absolute; left: 0; right: 0; top: 0; height: 64px; display: flex; align-items: center; justify-content: center; gap: 22px; font-size: 15px; color: var(--text-2); }
.screen-tabs .on { color: #fff; font-weight: 700; border-bottom: 2px solid #fff; padding-bottom: 3px; }
.screen-acts { position: absolute; right: 10px; top: 250px; display: flex; flex-direction: column; gap: 14px; color: #fff; }
.screen-acts span { width: 42px; height: 42px; border-radius: 50%; background: rgba(13, 15, 26, 0.6); display: flex; align-items: center; justify-content: center; }
.screen-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; }
.screen-info { padding: 36px 14px 12px; background: linear-gradient(rgba(13, 15, 26, 0), rgba(13, 15, 26, 0.88) 45%); display: flex; flex-direction: column; gap: 8px; }
.screen-title { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen-tags { display: flex; gap: 8px; font-size: 11px; }
.tag-coin { background: #423a6a; color: #f5f4ff; border-radius: 6px; padding: 2px 8px; }
.tag-ai { color: var(--accent-soft); border-radius: 6px; padding: 1px 8px; box-shadow: 0 0 0 1px #796cbf; }
.screen-entry { display: flex; align-items: center; justify-content: space-between; background: rgba(13, 15, 26, 0.7); border-radius: 12px; padding: 10px 14px; font-size: 14px; box-shadow: 0 0 0 1px var(--edge); }
.screen-tabbar { display: flex; justify-content: space-around; align-items: center; height: 58px; background: var(--bar); font-size: 12px; color: var(--text-4); }
.screen-tabbar .on { color: var(--accent); font-weight: 700; }

/* ── 功能卡 ── */
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 320px; min-width: 0; background: var(--surface); border-radius: 14px; padding: 28px; box-shadow: 0 0 0 1px var(--edge); display: flex; flex-direction: column; gap: 12px; }
.card svg { color: var(--accent); }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { color: var(--text-3); font-size: 15px; }

/* ── 剧场精选 ── */
.more { display: flex; align-items: center; gap: 8px; font-weight: 500; padding: 10px 0; }
.posters { display: flex; flex-wrap: wrap; gap: 20px; }
.poster { flex: 1 1 150px; min-width: 0; max-width: 240px; display: flex; flex-direction: column; gap: 10px; }
.poster img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--edge); display: block; }
.poster h3 { font-size: 16px; font-weight: 700; line-height: 1.4; }
.poster span { font-size: 13px; color: var(--text-4); }

/* ── 金币收益 ── */
.earn { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.rate { flex: 1 1 280px; min-width: 0; background: var(--tint); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; font-size: 15px; color: var(--accent-soft); }
.rate > div { display: flex; flex-direction: column; gap: 8px; }
.rate-num { font-family: var(--num); font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; color: #f5f4ff; }
.rate-num small { font-size: 0.45em; }
.steps { flex: 2 1 480px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border-radius: 14px; padding: 22px 24px; box-shadow: 0 0 0 1px var(--edge); }
.steps b { font-family: var(--num); font-size: 22px; color: var(--accent); flex: 0 0 36px; }
.steps div { display: flex; flex-direction: column; gap: 4px; }
.steps h3 { font-size: 18px; font-weight: 700; }
.steps p { color: var(--text-3); font-size: 15px; }

/* ── 机器人 / 团队 ── */
.duo { flex-direction: row; flex-wrap: wrap; gap: 20px; }
.panel { flex: 2 1 320px; min-width: 0; background: var(--surface); border-radius: 14px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 0 0 1px var(--edge); display: flex; flex-direction: column; gap: 20px; }
.panel-wide { flex: 3 1 420px; }
.panel h2 { font-size: clamp(28px, 3.2vw, 40px); }
.panel .h2-sm { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; }
.panel p { color: var(--text-3); }
.panel-lead { max-width: 520px; }
.panel .fine { font-size: 13px; color: var(--text-4); }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-2); }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ''; position: absolute; left: 3px; top: 7px; width: 12px; height: 6px; border-left: 2.2px solid var(--accent); border-bottom: 2.2px solid var(--accent); transform: rotate(-45deg); border-radius: 1px; }
.invite { margin-top: auto; background: var(--bg); border-radius: 8px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; box-shadow: 0 0 0 1px var(--edge); }
.invite div { display: flex; flex-direction: column; gap: 2px; }
.invite span { font-size: 13px; color: var(--text-4); }
.invite b { font-family: var(--num); font-size: 22px; letter-spacing: 0.12em; }
.invite i { font-style: normal; font-size: 14px; color: var(--accent); box-shadow: 0 0 0 1px #5d5294; border-radius: 999px; padding: 6px 16px; }

/* ── 账号与安全 ── */
.split { flex-direction: row; flex-wrap: wrap; gap: 40px 72px; }
.split .sec-head { flex: 1 1 320px; min-width: 0; }
.facts { flex: 2 1 480px; min-width: 0; margin: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.facts div { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 20px 0; border-top: 1px solid var(--line); }
.facts dt { flex: 0 0 160px; font-weight: 700; }
.facts dd { flex: 1 1 280px; margin: 0; color: var(--text-3); }

/* ── 常见问题 ── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border-radius: 14px; padding: 0 24px; box-shadow: 0 0 0 1px var(--edge); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 28px 20px 0; font-size: 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--text-4); border-bottom: 2px solid var(--text-4); transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq p { padding: 0 0 22px; color: var(--text-3); }

/* ── 下载 ── */
.dl { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 64px; }
.dl-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.dl h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.2; color: #f5f4ff; }
.dl-ios, .dl-ver, .qr span { color: var(--accent-soft); }
.dl-ios { font-size: 15px; padding: 14px 4px; }
.dl-ver { font-size: 14px; }
.qr { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 14px; }
.qr-box { width: 176px; height: 176px; border-radius: 14px; background: #f5f4ff; padding: 12px; display: flex; align-items: center; justify-content: center; }
.qr-box img, .qr-box svg { width: 100%; height: 100%; display: block; object-fit: contain; }

/* ── 页脚 ── */
.foot-in { padding-top: 40px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; font-size: 14px; color: var(--text-4); }
.foot-org { display: flex; flex-direction: column; gap: 6px; }
.foot-org b { color: var(--text); font-size: 16px; }
.foot-org a { color: var(--text-4); }
.foot-org a:hover { color: var(--text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 28px; align-items: flex-start; }
.foot-links a { padding: 10px 0; }

.toast { position: fixed; left: 50%; bottom: 12vh; transform: translateX(-50%); max-width: 80vw; background: rgba(13, 15, 26, 0.94); color: #fff; font-size: 14px; padding: 12px 18px; border-radius: 12px; box-shadow: 0 0 0 1px var(--edge-strong); z-index: 10; text-align: center; }

@media (max-width: 720px) {
	.nav-links a:not(.nav-cta) { display: none; }
	.screen { height: 560px; }
	.screen-acts { top: 200px; }
	.facts dt { flex-basis: 100%; }
	.qr { margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.faq summary::after { transition: none; }
}
