html,
body,
#app {
	height: 100%;
}
* {
	margin: 0;
	padding: 0;
	font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
		"Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}
.preload__wrap {
	display: flex;
	flex-direction: column;
	letter-spacing: 1px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	position: fixed;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	z-index: 9999;
	transition: all 0.3s ease-in;
	opacity: 1;
	pointer-events: none;
	overflow: hidden;
}
.preload__wrap::before {
	content: '';
	position: absolute;
	top: -20%;
	left: -20%;
	width: 500px;
	height: 500px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	animation: float 20s ease-in-out infinite;
}
.preload__wrap::after {
	content: '';
	position: absolute;
	bottom: -30%;
	right: -15%;
	width: 600px;
	height: 600px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	animation: float 25s ease-in-out infinite reverse;
}
@keyframes float {
	0%, 100% {
		transform: translate(0, 0) scale(1);
	}
	33% {
		transform: translate(30px, -30px) scale(1.05);
	}
	66% {
		transform: translate(-20px, 20px) scale(0.95);
	}
}
.preload__wrap.is-hide {
	opacity: 0;
}
.preload__container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
	user-select: none;
	-webkit-user-select: none;
	flex-grow: 1;
	position: relative;
	z-index: 1;
}
.preload__name {
	font-size: 36px;
	color: #fff;
	letter-spacing: 3px;
	font-weight: 800;
	margin-bottom: 40px;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
	animation: fadeInDown 0.8s ease-out;
}
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.preload__title {
	color: rgba(255, 255, 255, 0.95);
	font-size: 15px;
	margin: 40px 0 12px 0;
	font-weight: 500;
	animation: fadeIn 1s ease-out 0.3s both;
}
.preload__sub-title {
	color: rgba(255, 255, 255, 0.8);
	font-size: 13px;
	font-weight: 400;
	animation: fadeIn 1s ease-out 0.5s both;
}
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
.preload__footer {
	text-align: center;
	padding: 10px 0 30px 0;
	position: relative;
	z-index: 1;
}
.preload__footer a {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}
.preload__footer a:hover {
	color: #ffffff;
}
.preload__loading {
	position: relative;
	width: 80px;
	height: 80px;
	animation: fadeIn 0.8s ease-out 0.2s both;
}
.preload__loading::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	border: 4px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: #ffffff;
	animation: spin 1s linear infinite;
}
.preload__loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	border: 4px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	border-bottom-color: #ffffff;
	animation: spin 0.6s linear infinite reverse;
}
@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* 移动端适配 */
@media (max-width: 768px) {
	.preload__wrap::before {
		width: 300px;
		height: 300px;
	}
	.preload__wrap::after {
		width: 400px;
		height: 400px;
	}
	.preload__name {
		font-size: 28px;
		margin-bottom: 32px;
	}
	.preload__title {
		font-size: 14px;
		margin: 32px 0 10px 0;
	}
	.preload__sub-title {
		font-size: 12px;
	}
	.preload__loading {
		width: 70px;
		height: 70px;
	}
	.preload__loading::before {
		width: 50px;
		height: 50px;
		margin: -25px 0 0 -25px;
		border-width: 3px;
	}
	.preload__loading::after {
		width: 34px;
		height: 34px;
		margin: -17px 0 0 -17px;
		border-width: 3px;
	}
	.preload__footer {
		padding: 10px 20px 24px;
	}
	.preload__footer a {
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.preload__name {
		font-size: 24px;
		margin-bottom: 28px;
		letter-spacing: 2px;
	}
	.preload__title {
		font-size: 13px;
		margin: 28px 0 8px 0;
	}
	.preload__sub-title {
		font-size: 11px;
	}
	.preload__loading {
		width: 60px;
		height: 60px;
	}
	.preload__loading::before {
		width: 44px;
		height: 44px;
		margin: -22px 0 0 -22px;
	}
	.preload__loading::after {
		width: 30px;
		height: 30px;
		margin: -15px 0 0 -15px;
	}
}