* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	background: radial-gradient(ellipse at center, #ffffff, #ffdece);
	color: #fff;
}

.container {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	min-height: 100vh;
	padding: clamp(24px, 5vw, 60px) clamp(16px, 4vw, 48px) 132px;
	overflow: hidden;
}

.logo-animation {
	display: block;
	width: clamp(150px, 18vw, 230px);
	height: auto;
	aspect-ratio: 23 / 30;
	transform: translateX(-20px);
	margin-bottom: 100px;
}

.games {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 290px));
	justify-content: center;
	gap: 24px;
	width: 100%;
}

.card-game {
	display: block;
	width: 100%;
	aspect-ratio: 4/5;
	border-radius: 16px;
	overflow: hidden;
	color: inherit;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
	transition: transform 0.2s, box-shadow 0.2s;
}

.card-game:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

.card-game__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.game-print {
	position: relative;
	width: 100%;
}

.game-print > .waterprint {
	display: block;
	width: 70%;
	height: auto;
	opacity: 0.72;
	mix-blend-mode: multiply;
	transform: rotate(-25deg);
	position: absolute;
	right: -30%;
	bottom: -35%;
}

@media (max-width: 900px) and (orientation: portrait) {
	.games {
		grid-template-columns: repeat(2, minmax(0, 290px));
	}

	.logo-animation {
		margin-bottom: 80px;
	}
}

@media (max-width: 520px) and (orientation: portrait) {
	.container {
		padding-inline: 14px;
	}

	.logo-animation {
		width: min(52vw, 190px);
		margin-bottom: 50px;
	}

	.games {
		grid-template-columns: minmax(0, 290px);
		gap: 18px;
	}

	.card-game {
		border-radius: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.card-game {
		transition: none;
	}
}
