:root {
	color-scheme: dark;
	--bg: #07091a;
	--bg2: #0d1230;
	--text: #eef1ff;
	--text-dim: rgba(238, 241, 255, 0.62);
	--card: rgba(255, 255, 255, 0.055);
	--card-border: rgba(255, 255, 255, 0.11);
	--cyan: #3fd8ff;
	--magenta: #ff4fa8;
	--amber: #ffc24d;
	--green: #55f2a0;
	--violet: #8f6bff;
}

* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
	background: var(--bg);
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
		"Segoe UI", "Microsoft YaHei", Roboto, sans-serif;
	color: var(--text);
	background: radial-gradient(120% 80% at 50% 0%, var(--bg2) 0%, var(--bg) 60%);
	background-attachment: fixed;
}

[hidden] {
	display: none !important;
}

.page {
	position: relative;
	min-height: 100vh;
	overflow-x: hidden;
}

/* ---------- 背景光晕 ---------- */

.glow {
	position: fixed;
	border-radius: 50%;
	filter: blur(90px);
	pointer-events: none;
	z-index: 0;
}

.glow-a {
	width: 46vmax;
	height: 46vmax;
	top: -18vmax;
	left: -12vmax;
	background: radial-gradient(circle, rgba(143, 107, 255, 0.32) 0%, transparent 65%);
}

.glow-b {
	width: 40vmax;
	height: 40vmax;
	top: 8vmax;
	right: -16vmax;
	background: radial-gradient(circle, rgba(63, 216, 255, 0.2) 0%, transparent 65%);
}

.glow-c {
	width: 44vmax;
	height: 44vmax;
	bottom: -20vmax;
	left: 20vw;
	background: radial-gradient(circle, rgba(255, 79, 168, 0.16) 0%, transparent 65%);
}

/* ---------- 布局 ---------- */

.wrap {
	position: relative;
	z-index: 1;
	max-width: 560px;
	margin: 0 auto;
	padding: 48px 20px calc(24px + env(safe-area-inset-bottom));
	display: flex;
	flex-direction: column;
}

/* ---------- 头部 ---------- */

.hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.logo-halo {
	position: relative;
	width: 108px;
	height: 108px;
}

.logo-halo::before {
	content: '';
	position: absolute;
	inset: -20px;
	border-radius: 50%;
	background: conic-gradient(from 20deg,
			var(--magenta), var(--amber), var(--green),
			var(--cyan), var(--violet), var(--magenta));
	filter: blur(30px);
	opacity: 0.55;
	z-index: 0;
}

.logo {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	border-radius: 26px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
	cursor: pointer;
}

.app-name {
	margin: 22px 0 0;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 1px;
	background: linear-gradient(92deg, var(--cyan) 0%, var(--violet) 45%, var(--magenta) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.slogan {
	margin: 10px 0 0;
	font-size: 15px;
	color: var(--text-dim);
	letter-spacing: 0.5px;
}

.free-badge {
	margin-top: 14px;
	padding: 5px 16px;
	font-size: 12.5px;
	letter-spacing: 1px;
	color: var(--green);
	border: 1px solid rgba(85, 242, 160, 0.4);
	border-radius: 999px;
	background: rgba(85, 242, 160, 0.08);
}

/* ---------- 下载按钮 ---------- */

.btn-area {
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.dl-btn {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 16px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid var(--card-border);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	text-decoration: none;
	color: var(--text);
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.dl-btn:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.25);
	transform: translateY(-2px);
}

.dl-btn:active {
	transform: scale(0.98);
}

.dl-icon {
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dl-icon img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.dl-text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dl-name {
	font-size: 17px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dl-sub {
	font-size: 12.5px;
	color: var(--text-dim);
}

.dl-arrow {
	flex: none;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: var(--text-dim);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------- 功能亮点 ---------- */

.features {
	margin-top: 26px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 14px 4px;
	border-radius: 14px;
	background: var(--card);
	border: 1px solid var(--card-border);
	font-size: 12.5px;
	color: var(--text-dim);
	text-align: center;
}

.feature svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.accent-cyan svg { stroke: var(--cyan); }
.accent-magenta svg { stroke: var(--magenta); }
.accent-amber svg { stroke: var(--amber); }
.accent-green svg { stroke: var(--green); }

/* ---------- 内容卡片 ---------- */

.card {
	margin-top: 26px;
	padding: 22px 20px;
	border-radius: 20px;
	background: var(--card);
	border: 1px solid var(--card-border);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.card-title {
	margin: 0 0 14px;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 1px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.card-title::before {
	content: '';
	width: 4px;
	height: 16px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--cyan), var(--violet));
}

.intro-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.9;
	color: rgba(238, 241, 255, 0.82);
}

.notice {
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(255, 194, 77, 0.09);
	border: 1px solid rgba(255, 194, 77, 0.3);
	display: flex;
	gap: 10px;
	font-size: 13.5px;
	line-height: 1.7;
	color: #ffd98a;
}

.notice svg {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	fill: none;
	stroke: var(--amber);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.screenshot {
	display: block;
	width: 100%;
	border-radius: 12px;
	cursor: pointer;
}

/* ---------- 微信提示 ---------- */

.wechat-mask {
	position: fixed;
	inset: 0;
	z-index: 99;
	background: rgba(5, 7, 20, 0.96);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 26px;
	padding: 24px;
}

.wechat-arrow {
	position: absolute;
	top: 14px;
	right: 18px;
	width: 110px;
	height: 110px;
	stroke: #ffffff;
	stroke-width: 5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wechat-tip {
	text-align: center;
	font-size: 19px;
	line-height: 2;
	color: var(--text);
}

.wechat-tip p {
	margin: 0;
}

/* ---------- 小屏适配 ---------- */

@media (max-width: 380px) {
	.features {
		grid-template-columns: repeat(2, 1fr);
	}
}
