.back-button a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--col-text);
	text-decoration: none;
	padding: 8px 12px;
	border-radius: 6px;
	border: 2px solid var(--col-accent-dark);
	background: var(--col-accent);
	transition: transform 0.2s ease;
	margin-left: 12px;
	margin-bottom: 12px;
}

.back-button a:hover {
	transform: translateX(-12px);
}

.game-detail-card {
	display: flex;
	flex-direction: row;
	gap: 32px;
	margin-bottom: 32px;
	align-items: start;
	background-color: var(--col-accent);
	border: 2px solid var(--col-accent-dark);
	border-bottom: 4px solid var(--col-accent-dark);
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 16px;
	padding: 20px;
}

@media (max-width: 500px) {
	.game-detail-card {
		flex-direction: column;
	}
}

.game-detail-card img {
	width: 100%;
	max-width: 315px;
	height: auto;
	aspect-ratio: 315 / 250;
	object-fit: cover;
	border-radius: 8px;
	border: 2px solid var(--col-accent-dark);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	display: block;
}

.game-detail-authors {
	font-size: 0.9em;
	opacity: 0.7;
	margin-bottom: 20px;
}

.game-detail-authors a {
	color: inherit;
	text-decoration: none;
	transition: text-decoration 0.2s ease;
}

.game-detail-authors a:hover {
	text-decoration: underline;
}

.game-detail-card .blue-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
}

.game-description {
	margin-bottom: 32px;
}

.game-screenshots {
	margin-bottom: 32px;
}

.game-screenshots h2 {
	font-size: 1.8em;
	margin-top: 0;
	margin-bottom: 16px;
}

.game-screenshots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 300px));
	gap: 16px;
	justify-content: start;
}

@media (max-width: 768px) {
	.game-screenshots-grid {
		grid-template-columns: repeat(auto-fill, minmax(250px, 250px));
	}
}

.screenshot-item {
	margin: 0;
	overflow: hidden;
	border-radius: 8px;
	border: 2px solid var(--col-accent-dark);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	aspect-ratio: 16 / 9;
}

.screenshot-item:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.screenshot-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	cursor: pointer;
}
