#page-loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at center, #e57817 0%, #b85e10 35%, #1a0d00 75%, #000000 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	transition: opacity 0.6s ease, visibility 0.6s ease;
	opacity: 1;
	visibility: visible;
	overflow: hidden;
}

/* Glowing animated bg orb */
#page-loader::before {
	content: '';
	position: absolute;
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, rgba(229,120,23,0.25) 0%, transparent 70%);
	border-radius: 50%;
	animation: pulseOrb 2.5s ease-in-out infinite;
	pointer-events: none;
}

@keyframes pulseOrb {
	0%, 100% { transform: scale(1); opacity: 0.6; }
	50%       { transform: scale(1.2); opacity: 1; }
}

#page-loader.fade-out {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.loader-content {
	position: relative;
	z-index: 1;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
}

/* Spinner */
.spinner-loader {
	position: relative;
	width: 90px;
	height: 90px;
	margin: 0 auto;
}

.spinner-ring {
	position: absolute;
	border-radius: 50%;
	border: 4px solid transparent;
	animation: loaderSpin 1.2s linear infinite;
}

.spinner-ring:nth-child(1) {
	top: 0; left: 0;
	width: 90px; height: 90px;
	border-top-color: #e57817;
	box-shadow: 0 0 12px rgba(229,120,23,0.6);
}

.spinner-ring:nth-child(2) {
	top: 13px; left: 13px;
	width: 64px; height: 64px;
	border-top-color: rgba(255,255,255,0.5);
	animation-duration: 0.9s;
	animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
	top: 26px; left: 26px;
	width: 38px; height: 38px;
	border-top-color: #e57817;
	animation-duration: 0.65s;
	box-shadow: 0 0 8px rgba(229,120,23,0.5);
}

@keyframes loaderSpin {
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Logo */
.loader-logo-img {
	width: 65px;
	height: 65px;
	object-fit: contain;
	display: block;
	margin: 0 auto 10px;
	filter: drop-shadow(0 0 10px rgba(229,120,23,0.8));
}

.loader-brand-name {
	font-size: 36px;
	font-weight: 900;
	letter-spacing: 6px;
	font-family: 'Segoe UI', Arial, sans-serif;
	text-transform: uppercase;
	line-height: 1;

	color: #ffffff; /* pure white */

	/* Strong glow for prominence */
	text-shadow: 
		0 0 6px rgba(255,255,255,0.8),
		0 0 12px rgba(229,120,23,0.9),
		0 0 20px rgba(229,120,23,0.7);

	/* optional slight scaling effect */
	transform: scale(1.05);
}

.loader-brand-sub {
	font-size: 10px;
	font-weight: 600;
	color: rgba(255,255,255,0.65);
	letter-spacing: 2.8px;
	font-family: 'Segoe UI', Arial, sans-serif;
	text-transform: uppercase;
	margin-top: 6px;
}

/* Divider */
.loader-divider {
	width: 60px;
	height: 2px;
	background: linear-gradient(90deg, transparent, #e57817, transparent);
	border-radius: 2px;
	margin: -8px auto 0;
}

/* Loader text */
.loader-text {
	font-size: 12.5px;
	color: rgba(255,255,255,0.5);
	font-family: 'Segoe UI', Arial, sans-serif;
	letter-spacing: 1px;
}

/* Progress bar */
.loader-progress {
	width: 220px;
	height: 3px;
	background: rgba(255,255,255,0.1);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 0 6px rgba(0,0,0,0.5);
}

.loader-progress-bar {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #e57817, #ff9a40);
	border-radius: 10px;
	animation: loaderProgress 1.8s ease forwards;
	box-shadow: 0 0 8px rgba(229,120,23,0.7);
}

@keyframes loaderProgress {
	0%   { width: 0%; }
	100% { width: 100%; }
}