@charset "utf-8";
/* CSS Document */

/* ✅ 字体 */
@font-face {
	font-family: "Zhi Mang Xing";
	src: url("/index/fonts/ZhiMangXing-Regular.woff2") format("woff2");
	font-display: block;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	height: 100svh; /* ✅ 移动端更稳定 */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: radial-gradient(circle at 50% 40%, #0f1c1a 0%, #0a1211 65%, #050908 100%);
	color: #f0e0c8;
	overflow: hidden;
	position: relative;
}
/* 水墨纹理 */
body::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 40% 30%, rgba(255,255,255,0.05), transparent 45%),  radial-gradient(circle at 70% 70%, rgba(255,255,255,0.04), transparent 50%);
	filter: blur(28px);
	opacity: 0.65;
	pointer-events: none;
}
/* 山影 */
.mountain {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 380px;
	background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 65%);
	opacity: 0.28;
}
/* 云雾 */
.mist {
	position: absolute;
	bottom: 70px;
	width: 230%;
	height: 280px;
	background: radial-gradient(ellipse, rgba(230,240,230,0.09), transparent 72%);
	animation: mistMove 26s linear infinite;
	opacity: 0.5;
}
 @keyframes mistMove {
 from {
transform: translateX(-8%);
}
 to {
transform: translateX(-42%);
}
}
/* 内容 */
.content {
	text-align: center;
	font-family: "Zhi Mang Xing", "KaiTi", "STKaiti", "华文行楷", serif;
	z-index: 2;
	max-width: 860px;
	padding: 0 20px;
	/* ✅ 最终位置（略微上移） */
	transform: translateY(-100px);
	/* ✅ 只做淡入，不做位移动画 */
	opacity: 0;
	animation: fadeIn 1s ease-out forwards;
}
 @keyframes fadeIn {
 to {
 opacity: 1;
 transform: translateY(-80px);
}
}
/* 主文字 */
.main-text {
	font-size: clamp(1.6rem, 5vw, 2.85rem); /* ✅ 自适应 */
	line-height: 2.6;
	letter-spacing: 0.12em;
	color: #f5e6d0;
	text-shadow: 0 0 22px rgba(255, 240, 190, 0.35),  0 10px 35px rgba(0, 0, 0, 0.9);
	margin-bottom: 36px;
}
.divider {
	width: 160px;
	height: 2px;
	background: linear-gradient(to right, transparent, #d9c090, transparent);
	margin: 0 auto 30px;
	opacity: 0.65;
}
.subtitle {
	font-size: clamp(0.95rem, 2.5vw, 1.55rem);
	letter-spacing: 0.35em;
	color: #e0cca8;
	opacity: 0.82;
	text-shadow: 0 4px 18px rgba(0,0,0,0.75);
}
/* 底部 */
.bottom {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 80px;
	background: rgba(7, 11, 10, 0.96);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #a38c6e;
	font-size: 0.95rem;
	border-top: 1px solid rgba(190, 155, 105, 0.3);
	backdrop-filter: blur(10px);
	z-index: 3;
}

/* 📱 手机优化 */
@media (max-width: 768px) {
.content {
	transform: translateY(-35px);
}
.main-text {
	line-height: 2.2;
	margin-bottom: 24px;
}
.divider {
	width: 110px;
	margin-bottom: 22px;
}
.subtitle {
	letter-spacing: 0.25em;
}
.bottom {
	height: 60px;
	font-size: 0.8rem;
}
.mist {
	height: 180px;
}
.mountain {
	height: 260px;
}
}
