/* Loading overlay */
#nova-loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	display:none;
}

/* Animated letters */
.nova-animated-letters {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
	font-size: 48px;
	letter-spacing: 4px;
	color: white;
	font-family: Georgia;
	margin-top: 25vh;
}

.nova-animated-letter {
	display: inline-block;
	font-weight: normal;
	animation: nova-bounce 1s ease-in-out infinite;
	text-shadow: 
		-1px -1px 0 white,  
		 1px -1px 0 white,
		-1px  1px 0 white,
		 1px  1px 0 white;
}

/* 字母跳动动画 */
@keyframes nova-bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-10px); /* 减少跳动幅度 */
	}
	60% {
		transform: translateY(-5px); /* 减少跳动幅度 */
	}
}

/* 每个字母的延迟 */
.nova-animated-letter:nth-child(1) {
	animation-delay: 0s;
}

.nova-animated-letter:nth-child(2) {
	animation-delay: 0.1s;
}

.nova-animated-letter:nth-child(3) {
	animation-delay: 0.2s;
}

.nova-animated-letter:nth-child(4) {
	animation-delay: 0.3s;
}

.nova-animated-letter:nth-child(5) {
	animation-delay: 0.4s;
}

.nova-animated-letter:nth-child(6) {
	animation-delay: 0.5s;
}

.nova-animated-letter:nth-child(7) {
	animation-delay: 0.6s;
}

.nova-animated-letter:nth-child(8) {
	animation-delay: 0.7s;
}

.nova-animated-letter:nth-child(9) {
	animation-delay: 0.8s;
}

.nova-animated-letter:nth-child(10) {
	animation-delay: 0.9s;
}

.nova-animated-letter:nth-child(11) {
	animation-delay: 1s;
}

.nova-animated-letter:nth-child(12) {
	animation-delay: 1.1s;
}

.nova-animated-letter:nth-child(13) {
	animation-delay: 1.2s;
}

.nova-animated-letter:nth-child(14) {
	animation-delay: 1.3s;
}

.nova-animated-letter:nth-child(15) {
	animation-delay: 1.4s;
}

.nova-animated-letter:nth-child(16) {
	animation-delay: 1.5s;
}

.nova-animated-letter:nth-child(17) {
	animation-delay: 1.6s;
}

.nova-animated-letter:nth-child(18) {
	animation-delay: 1.7s;
}

/* Spinner animation */
.nova-spinner {
	border: 16px solid #f3f3f3;
	border-top: 16px solid #3498db;
	border-radius: 50%;
	width: 120px;
	height: 120px;
	animation: nova-spin 2s linear infinite;
	margin: 20px auto;
}

@keyframes nova-spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Loading text */
#nova-loading-text {
	color: white;
	font-size: 22px;
	margin-bottom: 10px;
}

/* Additional message */
#nova-additional-message {
	color: white;
	font-size: 18px;
}

/* Responsive styles */
@media (max-width: 1024px) {
	.nova-animated-letters {
		font-size: 26px;
	}

	.nova-spinner {
		width: 80px;
		height: 80px;
		border: 10px solid #f3f3f3;
		border-top: 10px solid #3498db;
	}

	#nova-loading-text {
		font-size: 16px;
	}

	#nova-additional-message {
		font-size: 14px;
	}
}

/* 为段落之间添加间隔 */
.nova-word-separator {
	margin: 0 5px;
}