/*
Theme Name: Forge Games
Theme URI: https://example.com/forge-games
Author: Forge Games
Description: A dark, cinematic theme for studios that make 3D mobile games. Each game gets a wide cover image, an icon and store links (Google Play, App Store, Amazon Appstore); games can be sorted by genre, and your phone and email appear on every page.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: forge-games
Tags: one-column, grid-layout, custom-logo, custom-menu, featured-images, portfolio, entertainment
*/

/* ---------- Fonts (bundled, SIL Open Font License) ---------- */
@font-face {
	font-family: "Big Shoulders Display";
	src: url("assets/fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Figtree";
	src: url("assets/fonts/figtree-latin-wght-normal.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--coal: #101216;
	--panel: #1a1e26;
	--panel-high: #232833;
	--edge: #323947;
	--steel: #a3acba;
	--bone: #f3efe7;
	--forge: #ff6b1a;
	--heat: #ffc14d;

	--display: "Big Shoulders Display", "Arial Narrow", "Impact", sans-serif;
	--body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

	--radius: 6px;
	--wrap: 1200px;
	--gutter: clamp(20px, 5vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--coal);
	color: var(--bone);
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--heat); text-underline-offset: 0.18em; }
a:hover { color: var(--forge); }

:focus-visible { outline: 3px solid var(--heat); outline-offset: 3px; }

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin: 0 0 0.5em;
	text-wrap: balance;
}
h1 { font-size: clamp(3rem, 8.2vw, 6.5rem); font-weight: 900; line-height: 0.9; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(760px + var(--gutter) * 2); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto;
	width: auto; height: auto;
	top: 12px; left: 12px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--forge);
	color: var(--coal);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 12px 30px;
	font-family: var(--display);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	border: 2px solid transparent;
	border-radius: var(--radius);
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(2px); }
.btn--forge { background: var(--forge); color: var(--coal); }
.btn--forge:hover { background: var(--heat); color: var(--coal); }
.btn--line { border-color: var(--edge); color: var(--bone); background: rgba(16, 18, 22, 0.5); }
.btn--line:hover { border-color: var(--bone); color: var(--bone); }

.link { font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
	position: relative;
	z-index: 20;
	background: var(--coal);
	border-bottom: 1px solid var(--edge);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}
.brand__name {
	font-family: var(--display);
	font-size: 1.75rem;
	font-weight: 900;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1;
	color: var(--bone);
	text-decoration: none;
}
a.brand__name:hover { color: var(--forge); }
.custom-logo { max-height: 52px; width: auto; }

.site-nav .menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav .menu li { position: relative; }
.site-nav .menu a {
	display: block;
	padding: 10px 16px;
	font-weight: 700;
	color: var(--steel);
	text-decoration: none;
	border-radius: var(--radius);
}
.site-nav .menu a:hover,
.site-nav .menu .current-menu-item > a { color: var(--bone); background: var(--panel-high); }
.site-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%; left: 0;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--panel);
	border: 1px solid var(--edge);
	border-radius: var(--radius);
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu { display: block; }

.nav-toggle {
	display: none;
	width: 48px; height: 48px;
	padding: 0;
	background: var(--panel-high);
	border: 1px solid var(--edge);
	border-radius: var(--radius);
	cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 22px; height: 2px;
	margin-inline: auto;
	background: var(--bone);
	content: "";
	transition: transform 0.15s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle__bars::after { position: absolute; top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.site-nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		padding: 12px var(--gutter) 24px;
		background: var(--coal);
		border-bottom: 1px solid var(--edge);
	}
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.site-nav .menu a { padding: 14px 16px; font-size: 1.15rem; color: var(--bone); }
	.site-nav .sub-menu { display: block; position: static; border: 0; background: transparent; padding: 0 0 0 16px; }
}

/* ---------- Artwork: covers, icons and their stand-ins ---------- */
.cover {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--panel-high);
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover--empty {
	display: grid;
	place-items: center;
	background:
		linear-gradient(rgba(163, 172, 186, 0.09) 1px, transparent 1px) 0 0 / 100% 28px,
		linear-gradient(90deg, rgba(163, 172, 186, 0.09) 1px, transparent 1px) 0 0 / 28px 100%,
		radial-gradient(120% 90% at 50% 110%, rgba(255, 107, 26, 0.34), transparent 62%),
		var(--panel-high);
}
.cover--1 { background-color: #1f2530; }
.cover--2 { background-color: #262b33; }

.wire {
	width: 46%;
	max-height: 76%;
	fill: none;
	stroke: var(--forge);
	stroke-width: 2.2;
	stroke-linejoin: round;
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
}

.icon {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 22%;
	background: var(--coal);
}
.icon img { width: 100%; height: 100%; object-fit: cover; }
.icon--empty { border: 1px solid var(--edge); }
.icon--empty .wire { width: 62%; stroke: var(--heat); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	background: radial-gradient(70% 90% at 78% 100%, rgba(255, 107, 26, 0.22), transparent 70%), var(--coal);
	border-bottom: 1px solid var(--edge);
}
/* A ground plane running to the horizon, like the grid in a 3D editor. */
.hero__floor {
	position: absolute;
	left: -50%; right: -50%;
	bottom: 0;
	height: 62%;
	background:
		linear-gradient(rgba(163, 172, 186, 0.2) 1px, transparent 1px) 0 0 / 100% 64px,
		linear-gradient(90deg, rgba(163, 172, 186, 0.2) 1px, transparent 1px) 0 0 / 64px 100%;
	transform: perspective(520px) rotateX(64deg);
	transform-origin: 50% 100%;
	-webkit-mask-image: linear-gradient(transparent, #000 85%);
	mask-image: linear-gradient(transparent, #000 85%);
	pointer-events: none;
}
.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 4vw, 64px);
	min-height: min(760px, 86vh);
	padding-block: clamp(56px, 8vw, 104px);
}
.hero h1 { margin-bottom: 0.3em; }
.hero__copy p {
	max-width: 31em;
	color: var(--steel);
	font-size: clamp(1.1rem, 1.5vw, 1.25rem);
	margin-bottom: 1.8em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Three covers standing in 3D space. */
.stack { perspective: 1300px; }
.stack__inner {
	--turn: 0deg;
	--lift: 0deg;
	position: relative;
	aspect-ratio: 5 / 4;
	transform-style: preserve-3d;
	transform: rotateY(calc(-24deg + var(--turn))) rotateX(calc(8deg + var(--lift)));
	transition: transform 0.25s ease-out;
}
.stack__card {
	position: absolute;
	left: 0; top: 50%;
	width: 76%;
	border: 1px solid #4a5263;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 40px 60px -20px rgba(0, 0, 0, 0.8);
	animation: pa-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.stack__card--0 { --at: translate3d(0, -30%, 150px); transform: var(--at); animation-delay: 0.35s; }
.stack__card--1 { --at: translate3d(10%, -54%, 0); transform: var(--at); animation-delay: 0.2s; filter: brightness(0.88); }
.stack__card--2 { --at: translate3d(20%, -78%, -150px); transform: var(--at); animation-delay: 0.05s; filter: brightness(0.72); }

@keyframes pa-rise {
	from { opacity: 0; transform: var(--at) translateY(60px); }
	to { opacity: 1; transform: var(--at); }
}

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; min-height: 0; }
	.stack { max-width: 520px; width: 100%; margin-inline: auto; padding-left: 12%; perspective: 900px; }
	.stack__inner { aspect-ratio: 4 / 3; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--tint { background: var(--panel); border-block: 1px solid var(--edge); }
.section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: clamp(24px, 3vw, 40px);
}
.section__head h2 { margin: 0; }

.page-head {
	background: radial-gradient(60% 120% at 85% 100%, rgba(255, 107, 26, 0.16), transparent 70%), var(--panel);
	border-bottom: 1px solid var(--edge);
	padding-block: clamp(44px, 6vw, 84px);
}
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); margin: 0; }
.page-head__text { max-width: 36em; margin: 1em 0 0; font-size: 1.15rem; color: var(--steel); }
.page-head__text p:last-child { margin-bottom: 0; }
.page-head__date { display: block; margin-bottom: 12px; font-weight: 700; color: var(--heat); }
.page-head--center { text-align: center; padding-block: clamp(80px, 12vw, 168px); }
.page-head--center .page-head__text { margin-inline: auto; margin-bottom: 1.8em; }
.page-head--center .btn { margin: 6px; }

/* ---------- Chips (genres) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-block;
	padding: 3px 11px;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--steel);
	text-decoration: none;
	border: 1px solid var(--edge);
	border-radius: 999px;
}
.chip:hover { color: var(--bone); border-color: var(--steel); }
.chips--filter { margin-top: 26px; gap: 10px; }
.chips--filter .chip { padding: 8px 18px; font-size: 1rem; }
.chips--filter .chip.is-current { color: var(--coal); background: var(--forge); border-color: var(--forge); }

/* ---------- Game cards ---------- */
.game-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	gap: clamp(20px, 2.4vw, 32px);
}
.game-card {
	display: flex;
	flex-direction: column;
	background: var(--panel);
	border: 1px solid var(--edge);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease;
}
.game-card:hover { border-color: var(--forge); transform: translateY(-4px); }
.game-card__cover { display: block; overflow: hidden; }
.game-card__cover .cover { transition: transform 0.4s ease; }
.game-card:hover .game-card__cover .cover { transform: scale(1.05); }
.game-card__body { position: relative; padding: 0 22px 18px; }
.game-card__icon {
	width: 76px;
	margin-top: -38px;
	margin-bottom: 14px;
	border-radius: 22%;
	box-shadow: 0 0 0 4px var(--panel);
}
.game-card__title { margin: 0 0 8px; font-size: 1.9rem; }
.game-card__title a { color: var(--bone); text-decoration: none; }
.game-card__title a:hover { color: var(--heat); }
.game-card__tagline { margin: 0 0 14px; color: var(--steel); font-size: 1rem; line-height: 1.5; }
.game-card__stores {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding: 16px 22px 22px;
	border-top: 1px solid var(--edge);
}

.store {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 16px;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--bone);
	text-decoration: none;
	background: var(--panel-high);
	border: 1px solid var(--edge);
	border-radius: var(--radius);
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
a.store:hover { color: var(--coal); background: var(--forge); border-color: var(--forge); }
.store--soon { color: var(--steel); background: transparent; border-style: dashed; }

.empty {
	padding: clamp(36px, 6vw, 72px) 24px;
	text-align: center;
	background: var(--panel);
	border: 1px dashed var(--edge);
	border-radius: var(--radius);
}
.empty p { font-size: 1.2rem; color: var(--steel); }
.empty p:last-child { margin-bottom: 0; }

/* ---------- Single game ---------- */
.game-head {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--edge);
	padding-block: clamp(56px, 9vw, 136px) clamp(40px, 5vw, 64px);
}
.game-head__backdrop { position: absolute; inset: 0; }
.game-head__backdrop .cover { width: 100%; height: 100%; aspect-ratio: auto; }
.game-head__backdrop .wire { width: 22%; margin-left: 52%; opacity: 0.8; }
.game-head__backdrop::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(16, 18, 22, 0.94) 0%, rgba(16, 18, 22, 0.72) 48%, rgba(16, 18, 22, 0.25) 100%),
		linear-gradient(0deg, var(--coal) 0%, transparent 46%);
}
.game-head__inner {
	position: relative;
	display: grid;
	grid-template-columns: clamp(104px, 15vw, 168px) minmax(0, 1fr);
	align-items: end;
	gap: clamp(20px, 3vw, 40px);
}
.game-head__icon .icon { box-shadow: 0 24px 40px -12px rgba(0, 0, 0, 0.8); }
.game-head h1 { font-size: clamp(2.8rem, 6.4vw, 5.25rem); margin-bottom: 0.25em; }
.game-head__copy > p { max-width: 34em; font-size: 1.2rem; color: var(--bone); }
.game-head__stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 600px) {
	.game-head__inner { grid-template-columns: 1fr; }
	.game-head__icon { width: 104px; }
}

.trailer { margin-bottom: 36px; border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden; background: #000; }
.trailer iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; }

/* ---------- Posts ---------- */
.post-row { padding: 24px 0; border-bottom: 1px solid var(--edge); }
.post-row:first-child { padding-top: 0; }
.post-row time { font-size: 0.9rem; font-weight: 700; color: var(--heat); }
.post-row h2, .post-row h3 { margin: 6px 0 8px; font-size: 2rem; }
.post-row h2 a, .post-row h3 a { color: var(--bone); text-decoration: none; }
.post-row h2 a:hover, .post-row h3 a:hover { color: var(--heat); }
.post-row p { margin: 0; color: var(--steel); }

.entry-image { margin-bottom: 32px; }
.entry-image img { width: 100%; border-radius: var(--radius); }

/* ---------- Editor content ---------- */
.entry-content { font-size: 1.125rem; line-height: 1.7; color: #d9d6cf; }
.entry-content > * { margin-block: 0 1.2em; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--bone); }
.entry-content h2 { margin-top: 1.4em; font-size: 2.4rem; }
.entry-content h3 { margin-top: 1.3em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content li::marker { color: var(--forge); }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote {
	margin-inline: 0;
	padding: 18px 24px;
	background: var(--panel);
	border-left: 4px solid var(--forge);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--edge); text-align: left; }
.entry-content th { background: var(--panel-high); color: var(--bone); }
.entry-content pre { padding: 16px; overflow: auto; background: #000; border: 1px solid var(--edge); border-radius: var(--radius); }
.entry-content hr { border: 0; border-top: 1px solid var(--edge); margin-block: 2em; }
.entry-content .wp-block-gallery img,
.entry-content .gallery img { border-radius: var(--radius); }
.entry-content .wp-block-button__link {
	font-family: var(--display);
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--coal);
	background: var(--forge);
	border-radius: var(--radius);
}
.alignwide { margin-inline: calc(var(--gutter) * -1); max-width: none; }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 0.9rem; color: var(--steel); margin-top: 8px; }

/* ---------- Pagination, post nav, comments ---------- */
.pagination, .post-navigation { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 46px; height: 46px;
	padding-inline: 12px;
	font-weight: 700;
	color: var(--bone);
	text-decoration: none;
	background: var(--panel);
	border: 1px solid var(--edge);
	border-radius: var(--radius);
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { color: var(--coal); background: var(--forge); border-color: var(--forge); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; font-weight: 700; color: var(--bone); text-decoration: none; }
.post-navigation a:hover { color: var(--heat); }
.post-navigation a span { display: block; font-size: 0.85rem; color: var(--steel); }
.post-navigation .nav-next { text-align: right; grid-column: 2; }

.comments { margin-block: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 18px 0; border-bottom: 1px solid var(--edge); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"],
.comment-form textarea, .search-form input[type="search"] {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	color: var(--bone);
	background: var(--panel);
	border: 1px solid var(--edge);
	border-radius: var(--radius);
}
.comment-form input[type="submit"], .search-form input[type="submit"] {
	padding: 12px 26px;
	font-family: var(--display);
	font-size: 1.25rem;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--coal);
	background: var(--forge);
	border: 0;
	border-radius: var(--radius);
	cursor: pointer;
}

/* ---------- Contact band ---------- */
.contact {
	background: var(--forge);
	color: var(--coal);
	padding-block: clamp(56px, 7vw, 96px);
	scroll-margin-top: 20px;
}
.contact__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	align-items: center;
	gap: clamp(24px, 5vw, 72px);
}
.contact__lead h2 { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; line-height: 0.9; }
.contact__lead p { max-width: 26em; margin: 0; font-size: 1.15rem; font-weight: 500; }
.contact__ways { display: grid; gap: 14px; }
.contact__way {
	display: block;
	padding: 18px 26px 20px;
	color: var(--bone);
	text-decoration: none;
	background: var(--coal);
	border-radius: var(--radius);
	transition: transform 0.15s ease, background-color 0.15s ease;
}
.contact__way:hover { color: var(--bone); background: #000; transform: translateX(6px); }
.contact__way:focus-visible { outline-color: var(--coal); }
.contact__label { display: block; font-weight: 700; color: var(--heat); }
.contact__value {
	display: block;
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(2rem, 4.2vw, 3.25rem);
	letter-spacing: 0.02em;
	line-height: 1.1;
	overflow-wrap: anywhere;
}
.contact__value--email { font-size: clamp(1.5rem, 3.4vw, 2.6rem); }
@media (max-width: 820px) {
	.contact__inner { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--coal);
	color: var(--steel);
	padding-block: 48px 28px;
}
.site-footer a { color: var(--bone); text-decoration: none; }
.site-footer a:hover { color: var(--heat); }
.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 28px 48px;
}
.site-footer__brand p { margin: 8px 0 0; max-width: 24em; }
.site-footer .menu, .site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-weight: 700;
}
.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 36px;
	padding-top: 20px;
	border-top: 1px solid var(--edge);
	font-size: 0.92rem;
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.stack__card { animation: none; }
	.stack__inner, .btn, .store, .contact__way, .game-card, .game-card__cover .cover { transition: none; }
	.game-card:hover { transform: none; }
	.game-card:hover .game-card__cover .cover { transform: none; }
}
