:root {
	--brand-primary: #0d6efd;
	--hero-overlay-start: rgba(5, 10, 24, 0.8);
	--hero-overlay-end: rgba(8, 18, 44, 0.58);
	--footer-bg: #0b1220;
	--footer-text: #dbe3f0;
}

.home-page {
	min-height: 100vh;
	background: #f6f8fb;
}

.home-page .navbar {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.home-page .hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #ffffff;
	min-height: calc(100vh - 70px);
	padding: clamp(5rem, 10vh, 8rem) 0 clamp(4rem, 9vh, 6.5rem);
	overflow: hidden;
	isolation: isolate;
	background: #0e1d3a;
}

.home-page .hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(135deg, var(--hero-overlay-start), var(--hero-overlay-end)),
		url("../img/reg-img.jpeg") center center / cover no-repeat;
	transform: scale(1.02);
}

.home-page .hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.13), transparent 40%);
}

.home-page .hero .container {
	max-width: 900px;
}

.home-page .hero-title {
	font-size: clamp(2rem, 4vw, 3.6rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0.01em;
	text-wrap: balance;
	margin-bottom: 1rem;
	text-shadow: 0 3px 20px rgba(0, 0, 0, 0.38);
}

.home-page .hero-subtitle {
	font-size: clamp(1.05rem, 1.8vw, 1.35rem);
	font-weight: 500;
	color: rgba(255, 255, 255, 0.94);
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.home-page .hero .btn {
	font-weight: 600;
}

.home-page .page-loader {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	background: linear-gradient(160deg, #0a1428, #13284f);
	z-index: 2000;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

.home-page .loader-core {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
}

.home-page .loader-label {
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.98rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.home-page .page-loader.is-hidden {
	opacity: 0;
	visibility: hidden;
}

.home-page footer {
	margin-top: 2.5rem;
	padding: 2rem 0;
	background: linear-gradient(180deg, #101a2f, var(--footer-bg));
	color: var(--footer-text);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-page footer p {
	margin-bottom: 0.45rem;
}

.home-page footer a {
	color: #6ab0ff;
	text-decoration: none;
	font-weight: 600;
}

.home-page footer a:hover,
.home-page footer a:focus {
	color: #9dcbff;
	text-decoration: underline;
}

@media (max-width: 768px) {
	.home-page .hero {
		min-height: calc(100vh - 62px);
		padding: 4.6rem 0 4rem;
	}

	.home-page .hero-title {
		font-size: clamp(1.75rem, 8vw, 2.35rem);
	}

	.home-page .hero-subtitle {
		font-size: 1rem;
	}

	.home-page .hero .btn {
		width: min(280px, 90%);
	}
}
