:root {
	--bg: #0b0f14;
	--bg-2: #10161d;
	--card: #141b24;
	--border: rgba(255, 255, 255, .08);
	--border-strong: rgba(255, 255, 255, .14);
	--text: #e9edf2;
	--text-dim: #98a4b3;
	--text-faint: #6b7786;
	--accent: #575bcd;
	--accent-soft: rgba(240, 179, 92, .14);
	--green: #5ad1b0;
	--radius: 16px;
	--maxw: 1120px;
	--font-sans: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	--font-mono: "SF Mono", "JetBrains Mono", ui-monospace, "Cascadia Code", "Roboto Mono", Consolas, monospace;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	height: 100%
}

body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow: hidden;
	min-height: 100vh;
	min-height: 100svh;
	height: 100svh;
	display: flex;
	flex-direction: column;
}

::selection {
	background: var(--accent);
	color: #1a1206
}

a {
	color: inherit;
	text-decoration: none
}

img,
svg {
	display: block
}

.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 24px
}

/* ---------- 顶栏标识 ---------- */
header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 50;
	background: transparent;
	pointer-events: none;
	transition: opacity .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
}

body.is-cover header {
	opacity: 0;
	transform: translateY(-10px);
}

.nav {
	display: flex;
	align-items: center
}

header .nav {
	height: auto;
	max-width: none;
	justify-content: flex-start;
	padding: 16px clamp(18px, 3.6vw, 40px) 0
}

header .brand {
	pointer-events: auto
}

.brand {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 700;
	letter-spacing: .02em;
	cursor: default
}

.brand .ico {
	position: relative;
	width: 54px;
	height: 54px;
	flex: 0 0 auto;
	display: grid;
	place-items: center
}

.brand .ico img {
	position: relative;
	z-index: 1;
	width: 46px;
	height: 46px;
	object-fit: contain;
	filter: drop-shadow(0 0 8px rgba(229, 9, 20, .22));
	transition: transform .35s cubic-bezier(.22, 1, .36, 1), filter .35s ease
}

.brand .ico::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px solid rgba(229, 9, 20, .45);
	opacity: 0;
	transform: scale(.7)
}

.brand:hover .ico img,
.brand:focus-visible .ico img {
	transform: scale(1.1);
	filter: drop-shadow(0 0 16px rgba(229, 9, 20, .55))
}

.brand:hover .ico::after,
.brand:focus-visible .ico::after {
	animation: brand-ping 1.8s cubic-bezier(.22, 1, .36, 1) infinite
}

@keyframes brand-ping {
	0% {
		opacity: .8;
		transform: scale(.7)
	}

	70% {
		opacity: 0;
		transform: scale(1.35)
	}

	100% {
		opacity: 0;
		transform: scale(1.35)
	}
}

.brand .name {
	font-size: 21px;
	letter-spacing: .08em
}

.brand .name small {
	display: block;
	margin-top: 5px;
	font-weight: 400;
	font-size: 9.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--text-faint)
}

/* ---------- 首屏 ---------- */
.hero {
	position: relative;
	text-align: center
}

.hero h1 {
	font-size: clamp(44px, 9vw, 104px);
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1.02;
	margin: 34px 0 10px;
	background: linear-gradient(180deg, #fff 30%, #b9c4d0);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero .sub {
	font-size: clamp(17px, 2.6vw, 22px);
	color: var(--text-dim);
	font-weight: 400;
	letter-spacing: .04em
}

.hero .tag {
	max-width: 640px;
	margin: 22px auto 0;
	color: var(--text-faint);
	font-size: clamp(14.5px, 2vw, 16px)
}

.hero-actions {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 38px;
	flex-wrap: wrap
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 13px 26px;
	border-radius: 12px;
	font-weight: 600;
	font-size: 15px;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease
}

.btn svg {
	width: 18px;
	height: 18px
}

.btn-primary {
	background: var(--accent);
	color: #1a1206
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(240, 179, 92, .32)
}

/* ---------- 翻页容器 ---------- */
.pager {
	position: relative;
	flex: 1 1 auto;
	overflow: hidden;
	overscroll-behavior: contain;
	perspective: 1500px;
	perspective-origin: 50% 50%
}

section.page {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: var(--border-strong) transparent;
	padding: 24px 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(9%) rotateX(-20deg) scale(.94);
	transform-origin: 50% 50%;
	backface-visibility: hidden;
	transition: opacity .5s ease, transform .68s cubic-bezier(.22, 1, .36, 1);
	will-change: opacity, transform
}

section.page::-webkit-scrollbar {
	width: 6px
}

section.page::-webkit-scrollbar-thumb {
	background: var(--border-strong);
	border-radius: 3px
}

section.page>.wrap {
	width: 100%;
	margin-block: auto;
	flex: 0 0 auto
}

section.page.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
	z-index: 2
}

section.page.leaving {
	opacity: 0;
	visibility: visible;
	pointer-events: none;
	transform: translateY(-11%) rotateX(22deg) scale(.92);
	z-index: 1;
	transition: opacity .45s ease .05s, transform .65s cubic-bezier(.4, 0, .6, 1)
}

.pager.up section.page {
	transform: translateY(-9%) rotateX(20deg) scale(.94)
}

.pager.up section.page.active {
	transform: none
}

.pager.up section.page.leaving {
	transform: translateY(11%) rotateX(-22deg) scale(.92)
}

/* 激活页内部元素依次渐入 */
@keyframes pageIn {
	from {
		opacity: 0
	}

	to {
		opacity: 1
	}
}

section.page.active>.wrap>* {
	animation: pageIn .6s cubic-bezier(.22, 1, .36, 1) backwards
}

section.page.active>.wrap>*:nth-child(1) {
	animation-delay: .06s
}

section.page.active>.wrap>*:nth-child(2) {
	animation-delay: .13s
}

section.page.active>.wrap>*:nth-child(3) {
	animation-delay: .2s
}

section.page.active>.wrap>*:nth-child(4) {
	animation-delay: .27s
}

section.page.active>.wrap>*:nth-child(5) {
	animation-delay: .34s
}

/* ---------- 侧边页码 ---------- */
.dots {
	position: absolute;
	left: 22px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
	width: 120px;
	height: 190px;
	pointer-events: none
}

.dots-track {
	position: absolute;
	inset: 0
}

.dot-btn {
	position: absolute;
	left: 0;
	top: 50%;
	display: block;
	padding: 2px 4px 2px 12px;
	border: none;
	pointer-events: auto;
	background: transparent;
	cursor: pointer;
	font-family: var(--font-sans);
	font-size: 12.5px;
	line-height: 1.5;
	letter-spacing: .1em;
	white-space: nowrap;
	color: var(--text-faint);
	opacity: .72;
	transform: translateY(calc(-50% + var(--ty, 0px)));
	transition: color .2s ease, opacity .3s ease, transform .5s cubic-bezier(.22, 1, .36, 1), font-size .4s cubic-bezier(.22, 1, .36, 1)
}

.dot-btn:hover {
	color: var(--text);
	opacity: .95
}

.dot-btn.on {
	color: var(--text);
	font-weight: 700;
	font-size: 15px;
	opacity: 1
}

.dot-btn.on::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 3px;
	height: 15px;
	border-radius: 2px;
	background: var(--accent);
	transform: translateY(-50%);
	box-shadow: 0 0 10px rgba(87, 91, 205, .75)
}

/* ---------- 章节标题 ---------- */
.sec-head {
	margin-bottom: 46px
}

.sec-label {
	font-family: var(--font-mono);
	font-size: 12.5px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 14px
}

.sec-title {
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 700;
	letter-spacing: .01em;
	line-height: 1.25
}

.sec-sub {
	color: var(--text-dim);
	margin-top: 12px;
	max-width: 620px;
	font-size: 15.5px
}

/* ---------- 关于 ---------- */
.about-grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 40px;
	align-items: start
}

.about-text p {
	color: var(--text-dim);
	font-size: 16px
}

.about-text p+p {
	margin-top: 16px
}

.about-facts {
	display: grid;
	gap: 14px
}

.fact {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--card);
	transition: border-color .2s ease, transform .2s ease
}

.fact:hover {
	border-color: var(--border-strong);
	transform: translateY(-2px)
}

.fact .ico {
	width: 42px;
	height: 42px;
	border-radius: 11px;
	display: grid;
	place-items: center;
	background: var(--accent-soft);
	color: var(--accent);
	flex: 0 0 auto
}

.fact .ico svg {
	width: 21px;
	height: 21px
}

.fact .k {
	font-size: 13px;
	color: var(--text-faint);
	letter-spacing: .02em
}

.fact .v {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .01em
}

/* ---------- 活动卡片 ---------- */
.cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px
}

.card {
	position: relative;
	padding: 28px 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--card);
	overflow: hidden;
	transition: transform .22s ease, border-color .22s ease
}

.card:hover {
	transform: translateY(-5px);
	border-color: var(--border-strong)
}

.card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--accent), transparent);
	opacity: 0;
	transition: opacity .22s
}

.card:hover::after {
	opacity: 1
}

.card .ico {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: var(--accent-soft);
	color: var(--accent);
	margin-bottom: 20px
}

.card .ico svg {
	width: 23px;
	height: 23px
}

.card h3 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 9px;
	letter-spacing: .01em
}

.card p {
	font-size: 14px;
	color: var(--text-dim);
	line-height: 1.6
}

/* ---------- 加入 ---------- */
.join {
	border: 1px solid var(--border);
	border-radius: 22px;
	background: linear-gradient(180deg, var(--card), var(--bg-2));
	padding: 56px 40px;
	text-align: center;
	position: relative;
	overflow: hidden
}

.join::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(600px 300px at 50% 0%, rgba(240, 179, 92, .10), transparent 60%);
	pointer-events: none
}

.join h2 {
	font-size: clamp(24px, 3.5vw, 34px);
	font-weight: 700;
	margin-bottom: 12px
}

.join>p {
	color: var(--text-dim);
	max-width: 560px;
	margin: 0 auto 30px
}

.qq-box {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 16px 24px;
	border-radius: 14px;
	background: rgba(0, 0, 0, .25);
	border: 1px solid var(--border-strong);
	position: relative
}

.qq-num {
	font-family: var(--font-mono);
	font-size: clamp(22px, 4vw, 30px);
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--accent)
}

.copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 16px;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	background: var(--accent);
	color: #1a1206;
	font-weight: 600;
	font-size: 14px;
	font-family: var(--font-sans);
	transition: transform .16s ease, box-shadow .16s ease
}

.copy-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(240, 179, 92, .32)
}

.copy-btn.copied {
	background: var(--green)
}

.copy-btn svg {
	width: 16px;
	height: 16px
}

.join-note {
	margin-top: 22px;
	font-size: 13px;
	color: var(--text-faint)
}

/* ---------- 链接 ---------- */
.links {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px
}

.link {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 22px 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--card);
	transition: transform .2s ease, border-color .2s ease
}

.link:hover {
	transform: translateY(-3px);
	border-color: var(--border-strong)
}

.link .ico {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, .05);
	color: var(--text);
	flex: 0 0 auto
}

.link .ico svg {
	width: 22px;
	height: 22px
}

.link .t {
	font-weight: 600;
	font-size: 16px
}

.link .d {
	font-size: 13px;
	color: var(--text-faint);
	margin-top: 2px
}

.link .arrow {
	margin-left: auto;
	color: var(--text-faint);
	transition: transform .2s, color .2s
}

.link:hover .arrow {
	transform: translateX(4px);
	color: var(--accent)
}

.link .arrow svg {
	width: 18px;
	height: 18px
}

/* ---------- 页脚（仅最后一页） ---------- */
footer {
	position: fixed;
	left: clamp(16px, 3vw, 34px);
	bottom: 12px;
	z-index: 40;
	display: block;
	overflow: visible;
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity .35s ease, transform .4s cubic-bezier(.22, 1, .36, 1)
}

body.on-last footer {
	opacity: 1;
	transform: none;
	pointer-events: auto
}

footer .wrap {
	max-width: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 12px
}

.foot {
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	gap: 10px;
	flex-wrap: nowrap
}

.foot .left {
	color: var(--text-faint);
	font-size: 10.5px;
	line-height: 1.4
}

.foot .right {
	font-family: var(--font-mono);
	font-size: 9px;
	color: var(--accent);
	letter-spacing: .12em;
	opacity: .8
}

/* ---------- 返回顶部 ---------- */
.to-top {
	position: fixed;
	right: clamp(14px, 3vw, 28px);
	bottom: 12px;
	z-index: 40;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 13px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: rgba(11, 15, 20, .78);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: var(--text-dim);
	font-size: 12px;
	letter-spacing: .02em;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1), visibility .3s, color .2s, border-color .2s
}

body:not(.is-cover) .to-top {
	opacity: 1;
	visibility: visible;
	transform: none
}

.to-top:hover {
	color: var(--text);
	border-color: var(--accent)
}

.to-top svg {
	width: 14px;
	height: 14px
}

/* ---------- 响应式 ---------- */
@media (max-width:1360px) {
	section.page>.wrap {
		padding-left: 124px
	}
}

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

	.about-grid {
		grid-template-columns: 1fr;
		gap: 32px
	}
}

@media (max-width:640px) {
	.wrap {
		padding: 0 18px
	}

	header .nav {
		padding: 12px 18px 0
	}

	.brand {
		gap: 10px
	}

	.brand .ico {
		width: 42px;
		height: 42px
	}

	.brand .ico img {
		width: 36px;
		height: 36px
	}

	.brand .name {
		font-size: 17px
	}

	.brand .name small {
		margin-top: 3px;
		font-size: 7.5px;
		letter-spacing: .1em
	}

	section.page {
		padding: 18px 0
	}

	section.page>.wrap {
		padding-left: 92px
	}

	.cards {
		grid-template-columns: 1fr
	}

	.links {
		grid-template-columns: 1fr
	}

	.join {
		padding: 44px 24px
	}

	.qq-box {
		flex-direction: column;
		gap: 16px
	}

	.dots {
		left: 16px;
		width: 96px;
		height: 160px
	}

	.dot-btn {
		padding: 2px 4px 2px 10px;
		font-size: 11px;
		letter-spacing: .04em
	}

	.dot-btn.on {
		font-size: 13px
	}

	.dot-btn.on::after {
		height: 12px;
		width: 2px
	}

	footer {
		left: 14px;
		bottom: 10px
	}

	.foot .left {
		font-size: 9.5px
	}

	.foot .right,
	.foot-cn {
		display: none
	}

	.to-top {
		right: 12px;
		bottom: 9px;
		padding: 7px 10px;
		font-size: 11px
	}

	.to-top svg {
		width: 12px;
		height: 12px
	}

	.pager {
		perspective: 1100px
	}

	section.page {
		transform: translateY(6%) rotateX(-12deg) scale(.96)
	}

	section.page.leaving {
		transform: translateY(-7%) rotateX(14deg) scale(.94)
	}

	.pager.up section.page {
		transform: translateY(-6%) rotateX(12deg) scale(.96)
	}

	.pager.up section.page.leaving {
		transform: translateY(7%) rotateX(-14deg) scale(.94)
	}
}

/* 横屏 / 矮视口 */
@media (max-height:560px) {
	header .nav {
		padding-top: 8px
	}

	.brand .ico {
		width: 34px;
		height: 34px
	}

	.brand .ico img {
		width: 30px;
		height: 30px
	}

	.brand .name {
		font-size: 15px
	}

	.brand .name small {
		display: none
	}
}
