:root {
	--dock-height: 242px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	min-height: 100%;
	background: #000;
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: inherit;
}

.centerBox {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: var(--dock-height);
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 20px;
	text-align: center;
}

.hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 520px;
}

.hero-banner {
	display: block;
	margin: 0 auto 20px;
	max-width: min(88vw, 440px);
	width: auto;
	height: auto;
}

.hero-sub {
	font-size: 13px;
	letter-spacing: 0.32em;
	color: rgba(255, 255, 255, 0.72);
	margin-bottom: 32px;
	font-weight: 300;
	padding-left: 0.32em;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 148px;
	padding: 10px 22px;
	border-radius: 999px;
	font-size: 14px;
	letter-spacing: 0.08em;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-primary {
	color: #fff;
	background: linear-gradient(135deg, #19c3ff 0%, #4e6ef2 100%);
	box-shadow: 0 8px 24px rgba(78, 110, 242, 0.28);
}

.btn-primary:hover {
	box-shadow: 0 10px 28px rgba(78, 110, 242, 0.38);
}

.btn-ghost {
	color: #fff;
	background: rgba(29, 29, 29, 0.45);
	border: 1px solid rgba(89, 129, 183, 0.35);
	backdrop-filter: blur(6px);
}

.btn-ghost:hover {
	border-color: rgba(120, 170, 255, 0.55);
	background: rgba(40, 48, 68, 0.55);
}

/* —— 底部：播放器 + 备案 —— */
.bottom-dock {
	position: fixed;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	z-index: 3;
	width: min(94vw, 380px);
	padding: 0 0 max(16px, env(safe-area-inset-bottom));
	text-align: center;
}

.player-dock-label {
	margin-bottom: 8px;
	font-size: 11px;
	letter-spacing: 0.28em;
	text-indent: 0.28em;
	color: rgba(255, 255, 255, 0.38);
	font-weight: 300;
}

.player-dock-frame {
	width: 100%;
	height: 168px;
	border-radius: 20px;
	overflow: hidden;
	background: rgba(12, 18, 28, 0.55);
	border: 1px solid rgba(120, 170, 255, 0.22);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.35) inset,
		0 16px 40px rgba(0, 0, 0, 0.45),
		0 0 48px rgba(56, 189, 248, 0.08);
	backdrop-filter: blur(10px);
}

.mochi-player {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: transparent;
}

.site-footer {
	margin-top: 12px;
	font-size: 12px;
	line-height: 1.5;
	color: #6a7179;
}

.site-footer a {
	color: #8b949e;
}

.site-footer a:hover {
	color: #b8c0ca;
}

@media screen and (max-width: 640px) {
	:root {
		--dock-height: 236px;
	}

	.hero-banner {
		max-width: 86vw;
		margin-bottom: 16px;
	}

	.hero-sub {
		letter-spacing: 0.22em;
		padding-left: 0.22em;
		margin-bottom: 24px;
		font-size: 12px;
	}

	.btn {
		width: 100%;
		max-width: 260px;
	}

	.bottom-dock {
		width: min(92vw, 380px);
	}

	.player-dock-label {
		margin-bottom: 6px;
		font-size: 10px;
	}
}

@media screen and (max-height: 700px) {
	:root {
		--dock-height: 228px;
	}

	.hero-banner {
		max-width: min(80vw, 360px);
		margin-bottom: 12px;
	}

	.hero-sub {
		margin-bottom: 20px;
	}
}
