/* ================================================
   LOADING SCREEN
   ================================================ */

.loading-screen {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, #4b0010 0%, #160006 45%, rgba(0, 0, 0, 0.8) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 200;
	transition: opacity 0.4s ease, visibility 0.4s ease;
	border-radius: inherit;
	overflow: hidden;
}

.loading-screen.hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.loading-screen__content {
	text-align: center;
	max-width: 90%;
	width: 400px;
}

.loading-screen__logo {
	font-family: var(--font-display);
	font-size: clamp(1rem, 2.5vw, 1.5rem);
	font-weight: 700;
	color: var(--accent);
	text-shadow: 0 0 20px rgba(255, 43, 69, 0.8), 0 0 40px rgba(255, 43, 69, 0.4);
	margin-bottom: 3rem;
	letter-spacing: 0.1em;
	white-space: normal;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.loading-screen__progress-container {
	margin-bottom: 2rem;
}

.loading-screen__progress-bar {
	width: 100%;
	height: 8px;
	background: rgba(255, 43, 69, 0.1);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
	margin-bottom: 1rem;
}

.loading-screen__progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #ff2b45, #ff6b9d);
	border-radius: 4px;
	width: 0%;
	transition: width 0.3s ease;
	box-shadow: 0 0 10px rgba(255, 43, 69, 0.6);
}

.loading-screen__text {
	font-family: 'Share Tech Mono', monospace;
	font-size: 0.9rem;
	color: var(--text-secondary);
	letter-spacing: 0.05em;
}

.loading-screen__skip {
	background: rgba(255, 43, 69, 0.2);
	border: 1px solid rgba(255, 43, 69, 0.5);
	color: var(--accent);
	padding: 0.5rem 1.5rem;
	border-radius: 4px;
	font-family: 'Share Tech Mono', monospace;
	font-size: 0.85rem;
	cursor: pointer;
	transition: all 0.2s ease;
	letter-spacing: 0.1em;
}

.loading-screen__skip:hover {
	background: rgba(255, 43, 69, 0.3);
	border-color: var(--accent);
	box-shadow: 0 0 15px rgba(255, 43, 69, 0.4);
}
