* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	width: 100%;
	height: 100%;
	overflow: hidden;
	font-family: "Montserrat", sans-serif;
	background: #0a0a0a;
	color: #fff;
	user-select: none;
}

.screen {
	position: relative;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

.background {
	position: absolute;
	inset: 0;
	background-color: #0a0a0a;
	background-image: url("../assets/BG.png");
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.grain {
	position: absolute;
	inset: 0;
	opacity: 0.14;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
	background-size: 180px 180px;
}

.top-left {
	position: absolute;
	top: 3.3vh;
	left: 4.1vw;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 0.8vh;
}

.loading-tag {
	font-size: clamp(12px, 0.85vw, 16px);
	font-weight: 500;
	color: rgba(170, 170, 170, 0.9);
	letter-spacing: 0.02em;
}

.discord {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: #fff;
	text-decoration: none;
	font-size: clamp(14px, 0.95vw, 18px);
	font-weight: 500;
	transition: opacity 0.2s ease;
}

.discord:hover {
	opacity: 0.8;
}

.discord-icon {
	width: clamp(18px, 1.15vw, 22px);
	height: clamp(18px, 1.15vw, 22px);
	flex-shrink: 0;
}

.bottom {
	position: absolute;
	left: 4.1vw;
	right: 4.1vw;
	bottom: 4.2vh;
	z-index: 2;
}

.title {
	font-size: clamp(28px, 2.7vw, 52px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin-bottom: 1.2vh;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.subtitle {
	font-size: clamp(14px, 1.15vw, 22px);
	font-weight: 500;
	color: rgba(255, 255, 255, 0.92);
	margin-bottom: 2.2vh;
	min-height: 1.4em;
}

.progress-wrap {
	position: relative;
	width: 100%;
	padding: clamp(16px, 2.2vh, 24px) 0;
	margin: clamp(-16px, -2.2vh, -24px) 0;
}

.progress-track {
	--bar-tip: 10px;
	position: relative;
	width: 100%;
	height: clamp(10px, 1.3vh, 14px);
	background: rgba(30, 30, 30, 0.72);
	overflow: hidden;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
	clip-path: polygon(
		var(--bar-tip) 0,
		calc(100% - var(--bar-tip)) 0,
		100% 50%,
		calc(100% - var(--bar-tip)) 100%,
		var(--bar-tip) 100%,
		0 50%
	);
}

.progress-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #1a6fd8 0%, #2980e8 55%, #4a9cf5 100%);
	box-shadow:
		0 0 18px rgba(41, 128, 232, 0.55),
		0 0 40px rgba(41, 128, 232, 0.25);
	will-change: width;
	clip-path: polygon(
		var(--bar-tip) 0,
		calc(100% - var(--bar-tip)) 0,
		100% 50%,
		calc(100% - var(--bar-tip)) 100%,
		var(--bar-tip) 100%,
		0 50%
	);
}

.progress-logo {
	position: absolute;
	top: 50%;
	left: 0;
	height: clamp(28px, 3.6vh, 44px);
	width: auto;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 3;
	will-change: left;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}
