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

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	overflow: hidden;
	background-color: #391A58;
}

/* Initial loading screen */
.loading-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #391A58;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease;
}

.loading-screen.active {
	opacity: 1;
	pointer-events: all;
}

.logo-container {
	animation: fadeInScale 1s ease-out;
}

.logo-loading {
	width: 500px;
	max-width: 80vw;
	height: auto;
	animation: pulse 2s ease-in-out;
}

@keyframes fadeInScale {
	0% {
		opacity: 0;
		transform: scale(0.8);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.8;
	}
}

/* Boot screen */
.boot-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #391A58;
	z-index: 9998;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease;
	color: #F9A825;
	font-family: 'Courier New', monospace;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.boot-screen.active {
	opacity: 1;
	pointer-events: all;
}

.boot-screen .logo-header {
	text-align: center;
	margin-bottom: 100px;
}

.boot-screen .logo-small {
	width: 500px;
	max-width: 80vw;
	height: auto;
}

.boot-messages {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
	min-height: 180px;
}

.boot-line {
	margin: 15px 0;
	opacity: 0;
	font-size: 18px;
	transition: opacity 0.3s ease;
}

.boot-line.visible {
	opacity: 1;
}

.boot-prompt {
	color: #FFB300;
	margin-right: 10px;
}

.boot-text {
	color: #F9A825;
}

.loading-bar-container {
	max-width: 600px;
	width: 90%;
	margin: 40px auto 0;
	height: 30px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	overflow: hidden;
}

.loading-bar {
	height: 100%;
	background: linear-gradient(90deg, #F9A825, #FFB300);
	width: 0%;
	transition: width 0.3s ease;
	border-radius: 15px;
}

.redirect-message {
	text-align: center;
	margin-top: 30px;
	color: #F9A825;
	font-size: 16px;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.redirect-message.visible {
	opacity: 1;
}

@media (max-width: 768px) {
	.logo-loading {
		width: 300px;
	}

	.boot-screen .logo-small {
		width: 350px;
	}

	.boot-line {
		font-size: 14px;
	}

	.boot-screen .logo-header {
		margin-bottom: 80px;
	}
}