/* Public-site page shell -- top nav, footer spacing, layout container. */

body {
	background-color: #f4f5f7;
}

.public-page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.public-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #ffffff;
	padding: 12px 24px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.public-nav__brand {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #212529;
	font-weight: 600;
	font-size: 18px;
}

.public-nav__brand img {
	width: 40px;
	height: 40px;
	margin-right: 10px;
}

.public-nav .nav-link {
	color: #495057;
}

.public-nav__auth {
	align-items: center;
}

.public-nav__auth .btn {
	margin-left: 8px;
}

.public-nav--minimal {
	justify-content: flex-start;
	gap: 24px;
}

.public-nav__back {
	color: #495057;
	text-decoration: none;
	font-weight: 500;
}

.public-main {
	flex: 1 1 auto;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 32px 24px;
}

.game-hero {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 32px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	background:
		linear-gradient(135deg, rgba(15, 98, 254, 0.08), rgba(0, 196, 159, 0.1)),
		#ffffff;
	box-shadow: 0 16px 46px rgba(15, 23, 42, 0.08);
}

.game-hero__media {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 220px;
	height: 220px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	background: #f8fafc;
}

.game-hero img {
	width: 76%;
	height: 76%;
	object-fit: contain;
	filter: drop-shadow(0 18px 26px rgba(15, 23, 42, 0.18));
}

.game-hero__body {
	flex: 1 1 320px;
}

.game-hero__body h1 {
	color: #111827;
	font-size: 40px;
	font-weight: 900;
	line-height: 1.08;
	margin-bottom: 12px;
}

.game-hero__body p {
	color: #495057;
	margin-bottom: 20px;
}

.game-hero__tagline {
	max-width: 720px;
	color: #475569;
	font-size: 17px;
	line-height: 1.55;
	margin-bottom: 20px;
}

.game-hero__eyebrow,
.game-detail-panel__eyebrow {
	display: block;
	margin-bottom: 8px;
	color: #0f62fe;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.game-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.game-detail-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	gap: 18px;
	margin-top: 18px;
}

.game-about {
	margin-top: 0;
}

.game-detail-panel,
.game-about {
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.game-detail-panel--wide {
	grid-column: 1 / -1;
}

.game-detail-panel--cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	background:
		linear-gradient(135deg, rgba(15, 98, 254, 0.08), rgba(0, 196, 159, 0.08)),
		#ffffff;
}

.game-about h3,
.game-detail-panel h3 {
	color: #111827;
	font-size: 22px;
	font-weight: 850;
	margin-bottom: 12px;
}

.game-about p,
.game-detail-panel p {
	color: #475569;
	line-height: 1.6;
	margin-bottom: 0;
}

.game-about__modes {
	display: grid;
	gap: 10px;
	margin: 0;
	padding-left: 0;
	color: #475569;
	line-height: 1.55;
	list-style: none;
}

.game-about__modes li,
.game-detail-steps li {
	position: relative;
	padding: 11px 12px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 8px;
	background: #f8fafc;
}

.game-about__modes--columns {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.game-detail-steps {
	display: grid;
	gap: 10px;
	margin: 0;
	padding-left: 20px;
	color: #475569;
	line-height: 1.55;
}

.game-detail-steps li {
	padding-left: 14px;
}

@media (max-width: 767px) {
	.game-hero {
		align-items: stretch;
		flex-direction: column;
		padding: 22px;
	}

	.game-hero__media {
		width: 100%;
		height: 180px;
	}

	.game-hero__body h1 {
		font-size: 32px;
	}

	.game-detail-grid {
		grid-template-columns: 1fr;
	}

	.game-detail-panel--cta {
		align-items: flex-start;
		flex-direction: column;
	}
}
