:root {
	--bg: #0d0f13;
	--panel: #141823;
	--border: #2a3040;
	--txt: #e6e8ee;
	--muted: #fff;
}

* {
	box-sizing: border-box;
}
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	color: var(--txt);
	background: var(--bg);
}

.page {
	height: 100%;
	max-width: 460px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}

.vip-title {
	font-size: 18px;
	color: #333;
	width: 100%;
	text-align: center;
	padding: 20px 0 10px 0;
}

.site-header-container {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	right: 0;
	width: 100%;
	z-index: 1;
	max-width: 440px;
}

.site-header {
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #000000be;
	border: thin solid #ffffff3b;
	border-radius: 8px;
	margin: 10px;
}

.site-footer {
	margin-top: -20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 12px;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	background: linear-gradient(180deg, #800116, #4d2825);
	position: relative;
	z-index: 1;
}

.site-footer .brand .logo {
	border: thin solid #f3414163;
	border-radius: 8px;
}

.brand {
	display: flex;
	align-items: center;
}
.logo {
	width: 32px;
	height: 32px;
	background: url("./assets/app-icon.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
}
.subtitle {
	color: var(--muted);
	font-size: 14px;
	flex: 1;
	padding: 0 10px;
}

.subtitle .subtitle-1 {
	font-size: 13px;
	line-height: 1.3;
	font-weight: bold;
}

.subtitle .subtitle-2 {
	font-size: 12px;
	opacity: 0.6;
}

.btn {
	cursor: pointer;
	padding: 10px 16px;
	border-radius: 8px;
	border: none;
	background: #1f2432;
	color: var(--txt);
}

.btn.primary {
	padding: 5px 10px;
	border-radius: 100px;
	background: linear-gradient(180deg, #ffe2b5, #ffb77c);
	color: #883d00;
	font-size: 12px;
	line-height: 1;
	text-align: center;
	cursor: pointer;
}

.btn.large {
	padding: 8px 12px;
	font-size: 14px;
	width: 120px;
}

@keyframes anni-data-1 {
	0% {
		background-position: 100%;
	}

	to {
		background-position: 0;
	}
}

.btn.large-res {
	padding: 14px 24px;
	min-width: 220px;
	border-radius: 100px;
	animation: anni-data-1 1.5s ease infinite;
	font-size: 14px;
	background-image: linear-gradient(45deg, #ff002a 25%, #ff7200 37%, #faa560 63%, #ff002a 88%);
	background-size: 400% 100%;
	color: #fff;
	box-shadow: 0 6px 10px #ff3b1433;
	border: thin solid #ffd5dc76;
}

.frame {
	max-width: 100%;
	margin: 0 auto;
	position: relative;
}

.frame::-webkit-scrollbar {
	display: none;
}
.frame-inner {
	background: #11151e;
}

.hero {
	padding: 0;
	position: relative;
}
.hero .main-title {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: 20px;
	z-index: 9;
}
.hero .main-title img {
	display: block;
	width: 325px;
	height: 156px;
	animation: pulse-scale 0.7s ease-in-out infinite;
}
.hero-img {
	width: 100%;
	height: auto;
	display: block;
}

.countdown {
	margin: 14px 0 6px;
	padding: 8px 12px;
	border-radius: 10px;
	background: #131826;
	display: inline-block;
	color: var(--muted);
	display: none;
}

.countdown.hidden {
	display: none;
}

#countdownText {
	color: var(--txt);
	font-weight: 600;
}

.main-container {
	margin-top: -50px;
	background: url("./assets/background.png");
	background-repeat: no-repeat;
	background-size: 100% 100%;
	padding: 40px 20px 200px;
}

.grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}
.card {
	overflow: hidden;
}
.card img {
	width: 100%;
	height: auto;
	display: block;
}
.card-footer {
	padding: 8px 12px;
	color: var(--muted);
	border-top: 1px solid var(--border);
}

.cta {
	display: grid;
	place-items: center;
	margin-top: 20px;
}

/* 立即注册按钮脉冲缩放动画 */
@keyframes pulse-scale {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.08);
	}
	100% {
		transform: scale(1);
	}
}

/* 全屏弹窗样式 */
.reg-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	cursor: pointer;
}
.reg-modal.hidden {
	display: none;
}
.reg-modal-gif {
	width: min(420px, 92vw);
	max-height: 85vh;
	object-fit: contain;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#registerBtn,
#registerBtn3 {
	will-change: transform;
	transform-origin: center;
	animation: pulse-scale 0.7s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
	#registerBtn,
	#registerBtn2,
	#registerBtn3 {
		animation: none;
	}
}
