/* Page Loader Styles */
.page-loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 1;
	transition: opacity 0.5s ease-out;
	overflow: hidden;
}


.page-loader.fade-out {
	opacity: 0;
	pointer-events: none;
}

.loader-content {
	text-align: center;
	position: relative;
	z-index: 10;
}

/* Main Spinner - Red accent to match RTI brand */
.spinner {
	width: 60px;
	height: 60px;
	margin: 0 auto 30px;
	border: 4px solid rgba(255, 255, 255, 0.1);
	border-top: 4px solid #EB1D24;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.loader-text {
	font-size: 16px;
	color: #fff;
	font-family: "Manrope", sans-serif;
	margin: 0;
	letter-spacing: 2px;
	font-weight: 500;
	text-transform: uppercase;
}

/* Alternative Pulse Loader - Red accent */
.loader-pulse {
	width: 60px;
	height: 60px;
	margin: 0 auto 30px;
	background-color: #EB1D24;
	border-radius: 50%;
	animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 0.3;
		transform: scale(0.8);
	}
	50% {
		opacity: 1;
		transform: scale(1);
	}
}

/* Alternative Bars Loader - Red accent */
.loader-bars {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	height: 60px;
	gap: 6px;
	margin: 0 auto 30px;
}

.loader-bars span {
	width: 6px;
	background-color: #EB1D24;
	border-radius: 3px;
	animation: loading-bars 0.8s infinite;
}

.loader-bars span:nth-child(1) {
	animation-delay: 0s;
	height: 20px;
}

.loader-bars span:nth-child(2) {
	animation-delay: 0.1s;
	height: 30px;
}

.loader-bars span:nth-child(3) {
	animation-delay: 0.2s;
	height: 40px;
}

.loader-bars span:nth-child(4) {
	animation-delay: 0.1s;
	height: 30px;
}

.loader-bars span:nth-child(5) {
	animation-delay: 0s;
	height: 20px;
}

@keyframes loading-bars {
	0%, 100% {
		opacity: 0.4;
	}
	50% {
		opacity: 1;
	}
}
