:root {
	--site-bg: #0b0e14;
	--site-surface: rgba(255, 255, 255, 0.04);
	--site-border: rgba(255, 255, 255, 0.09);
	--site-accent: #4da3ff;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC",
		"Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
	background-color: var(--site-bg);
	color: #e9ecef;
}

/* Navbar */
.site-navbar {
	background-color: rgba(9, 12, 18, 0.72);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--site-border);
}

.site-navbar .nav-link {
	color: rgba(255, 255, 255, 0.72);
	transition: color 0.2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
	color: #fff;
}

.btn-primary {
	--bs-btn-bg: #2f6fed;
	--bs-btn-border-color: #2f6fed;
	--bs-btn-hover-bg: #2a62d4;
	--bs-btn-hover-border-color: #2a62d4;
	--bs-btn-active-bg: #2659c0;
	--bs-btn-active-border-color: #2659c0;
}

/* Hero */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 120px 0 80px;
	text-align: center;
	background: url("../../images/banner.jpg") center / cover no-repeat;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 50% 30%, rgba(47, 111, 237, 0.18), transparent 55%),
		linear-gradient(180deg, rgba(8, 11, 18, 0.3) 0%, rgba(11, 14, 20, 0.6) 100%);
}

.hero .container {
	position: relative;
	z-index: 1;
}

.hero-title {
	font-size: clamp(2rem, 4.5vw, 3.75rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
	font-size: clamp(1.05rem, 1.6vw, 1.35rem);
	letter-spacing: 0.35em;
	text-indent: 0.35em;
	color: rgba(255, 255, 255, 0.62);
}

/* Gallery */
#one,
#two {
	scroll-margin-top: 76px;
}

.gallery-card {
	background-color: var(--site-surface);
	border: 1px solid var(--site-border);
	border-radius: 0.9rem;
	overflow: hidden;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
	transform: translateY(-6px);
	border-color: rgba(77, 163, 255, 0.45);
	box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.45);
}

.gallery-card .thumb {
	overflow: hidden;
}

.gallery-card .thumb img {
	width: 100%;
	height: 210px;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gallery-card:hover .thumb img {
	transform: scale(1.05);
}

.gallery-card .card-title a {
	color: #fff;
	text-decoration: none;
	transition: color 0.2s ease;
}

.gallery-card .card-title a:hover {
	color: var(--site-accent);
}

/* Info */
.info-card {
	background-color: var(--site-surface);
	border: 1px solid var(--site-border);
	border-radius: 0.9rem;
}

/* Footer */
.site-footer {
	border-top: 1px solid var(--site-border);
	background-color: rgba(255, 255, 255, 0.02);
}

.partner-logo {
	height: 64px;
	width: auto;
	opacity: 0.85;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-logo--emblem {
	height: 96px;
}

.partner a:hover .partner-logo {
	opacity: 1;
	transform: translateY(-3px);
}

.site-footer a {
	color: rgba(255, 255, 255, 0.62);
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer a:hover {
	color: #fff;
}

@media (max-width: 575.98px) {
	.hero {
		min-height: 88vh;
	}

	.gallery-card .thumb img {
		height: 190px;
	}

	.partner-logo {
		height: 56px;
	}

	.partner-logo--emblem {
		height: 84px;
	}
}
