* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

ul{
	list-style-type: none;
}

ul li{
	list-style-type: none;
}

li,font{
	color: rgba(0,0,0,0.35);
	text-decoration: none;
}

html, body {
	height: 100%;
	font-family: 'Noto Serif SC', 'Microsoft YaHei', serif;
	overflow: hidden;
}

.swiper {
	width: 100%;
	height: 100vh;
}

.swiper-slide {
	width: 100%;
	height: 100vh;
	position: relative;
	overflow: hidden;
}

/* 顶部导航 */
.top-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 70px;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 40px;
	background: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(4px);
}

.logo {
	display: flex;
	align-items: center;
}

.logo-img {
	height: 44px;
	width: auto;
	display: block;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 40px;
}

.nav-item {
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	letter-spacing: 2px;
	position: relative;
	padding: 5px 0;
	transition: color 0.3s;
	cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
	color: #f5c842;
}

.nav-item::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: #f5c842;
	transition: width 0.3s;
}

.nav-item:hover::after,
.nav-item.active::after {
	width: 100%;
}

.nav-item small {
	display: block;
	font-size: 9px;
	color: rgba(255,255,255,0.5);
	letter-spacing: 1px;
	margin-top: 2px;
	text-align: center;
}

.recharge-btn {
	background: rgba(255,255,255,0.15);
	border: 1px solid rgba(255,255,255,0.3);
	color: #fff;
	padding: 8px 24px;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	gap: 8px;
}

.recharge-btn:hover {
	background: rgba(245, 200, 66, 0.2);
	border-color: #f5c842;
	color: #f5c842;
}

/* 分页导航 */
.swiper-pagination {
	position: fixed !important;
	right: 30px !important;
	left: auto !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: auto !important;
	display: flex;
	flex-direction: column;
	gap: 16px;
	z-index: 100;
}

.swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background: rgba(255,255,255,0.4);
	opacity: 1;
	transition: all 0.3s;
	border-radius: 50%;
}

.swiper-pagination-bullet-active {
	background: #f5c842;
	box-shadow: 0 0 12px rgba(245, 200, 66, 0.8);
	transform: scale(1.3);
}

/* ===== 首页 ===== */
.page-home {
	background: #0d0218;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 1. 背景图片层 */
.home-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('./../image/home_bg.png') no-repeat center center/cover;
}

/* 深渊城堡背景 */
.castle-structure {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 600px;
	height: 75%;
}

.castle-tower {
	position: absolute;
	background: #1a0f2e;
	border: 1px solid rgba(138, 43, 226, 0.3);
}

.castle-tower::before {
	content: '';
	position: absolute;
	top: -30px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 25px solid transparent;
	border-right: 25px solid transparent;
	border-bottom: 30px solid #1a0f2e;
}

.castle-tower::after {
	content: '';
	position: absolute;
	top: -25px;
	left: 50%;
	transform: translateX(-50%);
	width: 8px;
	height: 15px;
	background: #a855f7;
	border-radius: 50%;
	box-shadow: 0 0 20px #a855f7, 0 0 40px #a855f7;
}

.tower-left {
	width: 80px;
	height: 200px;
	bottom: 200px;
	left: 80px;
}

.tower-right {
	width: 80px;
	height: 200px;
	bottom: 200px;
	right: 80px;
}

.tower-center {
	width: 120px;
	height: 280px;
	bottom: 200px;
	left: 50%;
	transform: translateX(-50%);
}

.tower-center::before {
	border-left: 35px solid transparent;
	border-right: 35px solid transparent;
	border-bottom: 40px solid #1a0f2e;
	top: -40px;
}

.castle-main {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 400px;
	height: 220px;
	background: #140a24;
	border: 1px solid rgba(138, 43, 226, 0.2);
	border-radius: 4px 4px 0 0;
}

.castle-gate {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 140px;
	background: #0a0514;
	border: 2px solid rgba(138, 43, 226, 0.3);
	border-radius: 50px 50px 0 0;
	box-shadow: inset 0 0 30px rgba(138, 43, 226, 0.2);
}

.castle-window {
	position: absolute;
	width: 30px;
	height: 50px;
	background: #0a0514;
	border: 1px solid rgba(138, 43, 226, 0.3);
	border-radius: 15px 15px 0 0;
	box-shadow: inset 0 0 15px rgba(138, 43, 226, 0.15);
}

.win-left {
	top: 40px;
	left: 60px;
}

.win-right {
	top: 40px;
	right: 60px;
}

.castle-battlements {
	position: absolute;
	top: -15px;
	left: 0;
	width: 100%;
	height: 15px;
	display: flex;
	justify-content: space-around;
}

.battlement {
	width: 30px;
	height: 20px;
	background: #1a0f2e;
	border: 1px solid rgba(138, 43, 226, 0.2);
}

.floating-rock {
	position: absolute;
	background: rgba(20, 10, 36, 0.8);
	border-radius: 40% 60% 50% 50%;
	animation: float 6s ease-in-out infinite;
}

.rock-1 {
	width: 80px;
	height: 50px;
	bottom: 15%;
	left: 10%;
	animation-delay: 0s;
}

.rock-2 {
	width: 60px;
	height: 40px;
	bottom: 25%;
	right: 12%;
	animation-delay: 2s;
}

.rock-3 {
	width: 100px;
	height: 60px;
	bottom: 8%;
	right: 25%;
	animation-delay: 4s;
}

@keyframes float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-15px) rotate(2deg); }
}

.bat {
	position: absolute;
	width: 20px;
	height: 12px;
	opacity: 0.6;
	animation: fly 8s linear infinite;
}

.bat::before,
.bat::after {
	content: '';
	position: absolute;
	width: 12px;
	height: 8px;
	background: #1a0f2e;
	border-radius: 50% 50% 0 50%;
	top: 0;
}

.bat::before {
	left: 0;
	transform: rotate(-20deg);
	animation: wing-left 0.3s ease-in-out infinite alternate;
}

.bat::after {
	right: 0;
	transform: rotate(20deg) scaleX(-1);
	animation: wing-right 0.3s ease-in-out infinite alternate;
}

@keyframes wing-left {
	from { transform: rotate(-20deg); }
	to { transform: rotate(-40deg); }
}

@keyframes wing-right {
	from { transform: rotate(20deg) scaleX(-1); }
	to { transform: rotate(40deg) scaleX(-1); }
}

@keyframes fly {
	0% { left: -5%; top: 30%; }
	25% { left: 30%; top: 20%; }
	50% { left: 60%; top: 35%; }
	75% { left: 85%; top: 15%; }
	100% { left: 105%; top: 25%; }
}

.bat-1 { animation-delay: 0s; animation-duration: 10s; }
.bat-2 { animation-delay: 3s; animation-duration: 12s; top: 40%; }
.bat-3 { animation-delay: 6s; animation-duration: 9s; top: 25%; }

.purple-glow {
	position: absolute;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
	animation: pulse 4s ease-in-out infinite;
}

.glow-1 {
	top: 20%;
	left: 20%;
	animation-delay: 0s;
}

.glow-2 {
	top: 40%;
	right: 15%;
	animation-delay: 2s;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); opacity: 0.5; }
	50% { transform: scale(1.2); opacity: 0.8; }
}

/* 2. Logo 图片区域 */
.home-content {
	position: absolute;
	z-index: 10;
	right: 5%;
	bottom: 15%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.home-logo-img {
	width: 420px;
	height: auto;
	filter: drop-shadow(0 0 20px rgba(245, 200, 66, 0.4));
}

/* 3. 开始游戏按钮 */
.start-btn {
	display: block;
	width: 280px;
	height: auto;
	cursor: pointer;
	transition: transform 0.3s;
	border: none;
	background: none;
	padding: 0;
}

.start-btn:hover {
	transform: scale(1.05);
}

/* ===== 游戏特色页 ===== */
.page-feature {
	background: #f0ebe4;
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-bg-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 180px;
	font-weight: 900;
	color: rgba(0, 0, 0, 0.04);
	letter-spacing: 30px;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

.feature-content {
	position: relative;
	z-index: 10;
	display: flex;
	gap: 60px;
	align-items: center;
	max-width: 1200px;
	width: 90%;
}

.feature-left {
	flex: 1.2;
	position: relative;
}

/* 左侧宣传卡片 */
.feature-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,0.12);
	position: relative;
	border: 3px solid #d4a574;
}

/* 四角花纹装饰 */
.feature-card::before,
.feature-card::after {
	content: '✦';
	position: absolute;
	width: 28px;
	height: 28px;
	color: #8b4513;
	font-size: 18px;
	line-height: 28px;
	text-align: center;
	z-index: 5;
}

.feature-card::before {
	top: 6px;
	left: 6px;
}

.feature-card::after {
	top: 6px;
	right: 6px;
}

.feature-card-inner::before,
.feature-card-inner::after {
	content: '✦';
	position: absolute;
	width: 28px;
	height: 28px;
	color: #8b4513;
	font-size: 18px;
	line-height: 28px;
	text-align: center;
	z-index: 5;
}

.feature-card-inner::before {
	bottom: 6px;
	left: 6px;
}

.feature-card-inner::after {
	bottom: 6px;
	right: 6px;
}

.feature-card-img {
	width: 100%;
	/* height: 400px; */
	position: relative;
	overflow: hidden;
}

.feature-card-img > img {
	width: 100%;
	/* height: 100%; */
	/* object-fit: cover; */
	display: block;
}

/* 卡片内文字叠加层 */
.feature-card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 50px 24px 28px;
	background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.feature-card-logo {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 3;
}

.feature-card-logo img {
	height: 40px;
	width: auto;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.feature-card-title {
	font-size: 32px;
	font-weight: 700;
	color: #f5c842;
	margin-bottom: 8px;
	letter-spacing: 3px;
	text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.feature-card-desc {
	font-size: 16px;
	color: #fff;
	letter-spacing: 1px;
	text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.feature-dots {
	display: flex;
	gap: 12px;
	margin-top: 20px;
	justify-content: center;
}

.feature-dot {
	width: 10px;
	height: 10px;
	background: #d4a574;
	transform: rotate(45deg);
	cursor: pointer;
	transition: all 0.3s;
}

.feature-dot.active {
	background: #8b4513;
	transform: rotate(45deg) scale(1.2);
}

.feature-right {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* 右侧预约卡片 */
.reserve-card {
	background: #c41e3a;
	border-radius: 16px;
	padding: 0;
	color: #fff;
	position: relative;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(196, 30, 58, 0.25);
	/* height: 240px; */
}

.reserve-card-content {
	position: relative;
	z-index: 2;
	padding: 30px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.reserve-card-logo {
	font-size: 13px;
	color: #f5c842;
	margin-bottom: 8px;
	letter-spacing: 2px;
}

.reserve-card-title {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 6px;
	letter-spacing: 3px;
}

.reserve-card-sub {
	font-size: 16px;
	opacity: 0.95;
	letter-spacing: 1px;
	line-height: 1.6;
}

.reserve-card-small {
	font-size: 13px;
	opacity: 0.8;
	margin-top: 6px;
	letter-spacing: 1px;
}

.reserve-card-character {
	position: absolute;
	right: 10px;
	bottom: 0;
	width: 140px;
	height: 200px;
	background: #f5d0a9;
	border-radius: 70px 70px 0 0;
	z-index: 1;
	opacity: 0.4;
}

.reserve-card-character::before {
	content: '';
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 70px;
	height: 70px;
	background: #f5e0c0;
	border-radius: 50%;
}

.reserve-card-character::after {
	content: '';
	position: absolute;
	top: 5px;
	left: 50%;
	transform: translateX(-50%);
	width: 90px;
	height: 50px;
	background: #e8c8a0;
	border-radius: 50%;
}

/* 按钮 */
.feature-buttons {
	display: flex;
	gap: 20px;
}

.feature-btn {
	flex: 1;
	cursor: pointer;
	transition: transform 0.3s;
	display: block;
	width: 20%;
	max-width: 100%;
	height: auto;
	border: none;
	background: none;
	padding: 0;
	object-fit: contain;
}

.feature-btn:hover {
	transform: scale(1.03);
}

.bottom-brand {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 30px;
	font-size: 14px;
	color: rgba(0,0,0,0.2);
	letter-spacing: 20px;
	font-weight: 600;
}

/* ===== 注册页 ===== */
.page-register {
	background: #f0ebe4;
	display: flex;
	align-items: center;
	justify-content: center;
}

.register-bg-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 200px;
	font-weight: 900;
	color: rgba(0, 0, 0, 0.04);
	letter-spacing: 40px;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

.register-container {
	position: relative;
	z-index: 10;
	display: flex;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.1);
	overflow: hidden;
	width: 700px;
}

.register-form-wrapper {
	flex: 1;
	padding: 50px 50px 40px;
}

.register-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-input {
	width: 100%;
	padding: 14px 18px;
	border: 1px solid #e0d5c8;
	border-radius: 6px;
	font-size: 14px;
	color: #333;
	background: #faf8f5;
	transition: all 0.3s;
	font-family: inherit;
}

.form-input:focus {
	outline: none;
	border-color: #d4a574;
	box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.15);
	background: #fff;
}

.form-input::placeholder {
	color: #bbb;
}

.form-agreement {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: #888;
}

.form-agreement input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: #d4a574;
	cursor: pointer;
}

.form-agreement a {
	color: #8b4513;
	text-decoration: none;
}

.form-agreement a:hover {
	text-decoration: underline;
}

.register-btn {
	width: 100%;
	padding: 14px;
	background: #e67e22;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 4px;
	cursor: pointer;
	transition: all 0.3s;
	font-family: inherit;
}

.register-btn:hover {
	background: #d35400;
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.register-side {
	width: 80px;
	background: #a0a0a0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.3s;
}

.register-side:hover {
	background: #909090;
}

.register-side-text {
	writing-mode: vertical-rl;
	color: #fff;
	font-size: 16px;
	letter-spacing: 6px;
	font-weight: 500;
}

.register-footer {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	font-size: 11px;
	color: rgba(0,0,0,0.35);
	line-height: 1.8;
	z-index: 10;
}

.register-footer a {
	color: rgba(0,0,0,0.5);
	text-decoration: none;
}

/* 响应式 - 平板 */
@media (max-width: 900px) {
	.feature-content {
	flex-direction: column;
	gap: 30px;
	}

	.main-title {
	font-size: 36px;
	}

	.register-container {
	width: 90%;
	}

	.nav-menu {
	gap: 20px;
	}

	.top-nav {
	padding: 0 20px;
	}
}

/* 响应式 - 移动端 */
@media (max-width: 768px) {
	/* 导航栏 */
	.top-nav {
	height: 56px;
	padding: 0 12px;
	}

	.logo-img {
	height: 36px;
	}

	.nav-menu {
	gap: 10px;
	}

	.nav-item {
	font-size: 13px;
	letter-spacing: 1px;
	padding: 4px 0;
	}

	.nav-item small {
	display: none;
	}

	.recharge-btn {
	padding: 6px 12px;
	font-size: 12px;
	gap: 4px;
	}

	.recharge-btn span {
	display: none;
	}

	/* 分页导航 */
	.swiper-pagination {
	right: 12px !important;
	gap: 10px;
	}

	.swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	}

	/* 首页 */
	.main-title {
	font-size: 28px;
	letter-spacing: 4px;
	margin-bottom: 12px;
	}

	.main-title::before {
	font-size: 12px;
	top: -18px;
	letter-spacing: 6px;
	}

	.sub-title-bar {
	padding: 8px 20px;
	gap: 10px;
	margin-bottom: 30px;
	}

	.sub-title {
	font-size: 14px;
	letter-spacing: 2px;
	}

	.start-btn {
	width: 200px;
	}

	.castle-structure {
	width: 320px;
	height: 55%;
	}

	.tower-left {
	width: 45px;
	height: 120px;
	bottom: 120px;
	left: 40px;
	}

	.tower-right {
	width: 45px;
	height: 120px;
	bottom: 120px;
	right: 40px;
	}

	.tower-center {
	width: 70px;
	height: 170px;
	bottom: 120px;
	}

	.castle-main {
	width: 220px;
	height: 130px;
	}

	.castle-gate {
	width: 60px;
	height: 85px;
	}

	.castle-window {
	width: 18px;
	height: 30px;
	}

	.win-left {
	top: 25px;
	left: 35px;
	}

	.win-right {
	top: 25px;
	right: 35px;
	}

	.battlement {
	width: 18px;
	height: 12px;
	}

	.floating-rock {
	display: none;
	}

	.bat {
	display: none;
	}

	.purple-glow {
	width: 180px;
	height: 180px;
	}

	.home-content {
	left: 50%;
	bottom: 10%;
	transform: translateX(-50%);
	gap: 16px;
	}

	.home-logo-img {
	width: 260px;
	}

	.start-btn {
	padding: 12px 36px;
	font-size: 16px;
	letter-spacing: 4px;
	}

	/* 游戏特色页 */
	.feature-content {
	flex-direction: column;
	gap: 20px;
	width: 92%;
	margin-top: 20px;
	}

	.feature-card {
	border-radius: 12px;
	border-width: 2px;
	}

	.feature-card::before,
	.feature-card::after,
	.feature-card-inner::before,
	.feature-card-inner::after {
	width: 20px;
	height: 20px;
	font-size: 14px;
	line-height: 20px;
	}

	.feature-card-img {
	/* height: 240px; */
	}

	.feature-card-logo img {
	height: 28px;
	}

	.feature-card-overlay {
	padding: 30px 16px 16px;
	}

	.feature-card-title {
	font-size: 20px;
	letter-spacing: 2px;
	}

	.feature-card-desc {
	font-size: 13px;
	}

	.feature-dots {
	margin-top: 12px;
	}

	.reserve-card {
	height: 160px;
	border-radius: 12px;
	}

	.reserve-card-character {
	width: 90px;
	height: 130px;
	}

	.reserve-card-content {
	padding: 18px 20px;
	}

	.reserve-card-title {
	font-size: 22px;
	}

	.reserve-card-sub {
	font-size: 13px;
	}

	.reserve-card-small {
	font-size: 11px;
	}

	.feature-buttons {
	gap: 12px;
	}

	.feature-right {
	width: 100%;
	overflow: hidden;
	}

	.feature-bg-text {
	font-size: 60px;
	letter-spacing: 8px;
	}

	.bottom-brand {
	font-size: 10px;
	gap: 8px;
	letter-spacing: 6px;
	bottom: 12px;
	}

	/* 注册页 */
	.register-container {
	flex-direction: column;
	width: 92%;
	}

	.register-form-wrapper {
	padding: 30px 24px 24px;
	}

	.register-form {
	gap: 14px;
	}

	.form-input {
	padding: 12px 14px;
	font-size: 16px; /* 防止iOS缩放 */
	}

	.form-agreement {
	font-size: 12px;
	line-height: 1.4;
	}

	.register-btn {
	padding: 12px;
	font-size: 15px;
	}

	.register-side {
	width: 100%;
	padding: 12px;
	}

	.register-side-text {
	writing-mode: horizontal-tb;
	font-size: 14px;
	letter-spacing: 2px;
	}

	.register-footer {
	font-size: 9px;
	line-height: 1.6;
	padding: 0 20px;
	width: 100%;
	}

	.register-bg-text {
	font-size: 80px;
	letter-spacing: 15px;
	}
}

/* 超小屏 */
@media (max-width: 380px) {
	.main-title {
	font-size: 22px;
	letter-spacing: 2px;
	}

	.sub-title {
	font-size: 12px;
	}

	.start-btn {
	width: 160px;
	}

	.nav-item {
	font-size: 11px;
	}

	.castle-structure {
	width: 260px;
	}
}