.hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 2rem 1.25rem 3rem;
	background-image: linear-gradient(#ee9a8b, #0e67a4);
}

.hero-logo {
	margin: 0 0 1.5rem;
}

.hero-logo img {
	height: clamp(72px, 18vw, 120px);
	width: auto;
	margin-inline: auto;
	image-rendering: pixelated;
}

.hero .info-card {
	width: min(640px, 100%);
	text-align: left;
	background: #0f2244;
	border-color: #ffd2c8;
}

.hero .info-card p {
	margin: 0.4rem 0;
}

.hero .info-card .definition {
	font-size: 1.05rem;
	opacity: 0.95;
}

.hero .info-card .breakdown {
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	color: #ffd2c8;
	margin: 0.75rem 0 0.35rem;
}

.hero .info-card .art-label {
	margin-top: 1rem;
	font-size: 0.78rem;
	color: #ee9a8b;
}

.scroll-down {
	margin-top: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	border: 3px solid #0f2244;
	background: #ffd2c8;
	box-shadow: 4px 4px 0 #000;
	transition: transform 0.1s steps(1), box-shadow 0.1s steps(1);
}

.scroll-down img {
	height: 40px;
	width: auto;
	image-rendering: pixelated;
}

.scroll-down:hover {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 #000;
}

.gallery-section {
	padding: 3rem 0 4rem;
	background-image: linear-gradient(#0e67a4, #0f2244);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.25rem;
	margin-top: 1.5rem;
}

.gallery-card {
	display: block;
	overflow: hidden;
	border: 3px solid #f4f7fb;
	background: #0b1a33;
	box-shadow: 6px 6px 0 #000;
	transition: transform 0.1s steps(1), box-shadow 0.1s steps(1), border-color 0.1s steps(1);
}

.gallery-card:hover,
.gallery-card:focus-visible {
	transform: translate(-2px, -2px);
	box-shadow: 8px 8px 0 #000;
	border-color: #ee9a8b;
}

.gallery-card img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	image-rendering: auto;
}

.gallery-card .card-label {
	display: block;
	padding: 0.85rem 1rem;
	font-size: 0.68rem;
	letter-spacing: 0.06em;
	text-align: center;
	background: #0f2244;
	border-top: 3px solid #ee9a8b;
}

@media (max-width: 768px) {
	.hero {
		min-height: auto;
		padding: 2rem 1rem 2.25rem;
	}

	.hero-logo {
		margin-bottom: 1.15rem;
	}

	.hero-logo img {
		height: clamp(64px, 22vw, 96px);
	}

	.hero .info-card .definition {
		font-size: 0.98rem;
	}

	.scroll-down {
		margin-top: 1.35rem;
	}

	.gallery-section {
		padding: 2rem 0 2.75rem;
	}

	.gallery-grid {
		grid-template-columns: 1fr;
		gap: 0.9rem;
		margin-top: 1.15rem;
	}

	.gallery-card {
		box-shadow: 4px 4px 0 #000;
	}

	.gallery-card .card-label {
		padding: 0.95rem 1rem;
		font-size: 0.72rem;
	}
}

@media (min-width: 480px) and (max-width: 768px) {
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.notfound {
	min-height: calc(100vh - 140px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 1rem;
	background-image: linear-gradient(180deg, #143a66, #0f2244);
}

.notfound-card {
	width: min(480px, 100%);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	padding: 1.75rem 1.25rem;
	border: 3px solid #ee9a8b;
	background: #0f2244;
	box-shadow: 6px 6px 0 #000;
}

.notfound-art {
	width: min(220px, 70%);
	height: auto;
	image-rendering: pixelated;
}

.notfound-card .section-title {
	margin: 0;
}

.notfound-card .section-lead {
	margin: 0;
	max-width: 28rem;
}

.notfound-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: center;
	margin: 0.5rem 0 0;
}

.notfound-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.55rem 0.95rem;
	border: 3px solid #f4f7fb;
	background: #0e67a4;
	box-shadow: 4px 4px 0 #000;
	font-size: 0.68rem;
	font-family: "Press Start 2P", "Courier New", monospace;
	transition: transform 0.1s steps(1), box-shadow 0.1s steps(1), background 0.1s steps(1);
}

.notfound-link:hover {
	background: #ee9a8b;
	color: #0f2244;
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 #000;
}
