:root {
	--bg: #0d0d12;
	--bg-accent: #14141d;
	--fg: #f5f5f7;
	--muted: #8a8a99;
	--accent: #ffffff;
	--accent-soft: rgba(232, 179, 57, 0.12);
	--gold: #e8b339;
	--card: #1a1a24;
	--line: rgba(255, 255, 255, 0.08);
	--radius: 16px;
	--wrap: 1080px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
	background: var(--bg);
	color: var(--fg);
	line-height: 1.65;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--fg);
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 1.25rem;
}

.skip-link {
	position: absolute;
	left: -9999px;
	background: var(--accent);
	color: var(--bg);
	padding: 0.75rem 1rem;
	border-radius: 0 0 var(--radius) 0;
	z-index: 100;
}

.skip-link:focus {
	left: 0;
	top: 0;
}

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

/* ---------- HEADER ---------- */
.site-header {
	border-bottom: 1px solid var(--line);
	background: var(--bg-accent);
	position: sticky;
	top: 0;
	z-index: 50;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 76px;
	flex-wrap: wrap;
}

.brand img {
	height: 34px;
	width: auto;
}

.site-nav {
	display: flex;
	gap: clamp(1rem, 3vw, 2rem);
}

.site-nav a {
	text-decoration: none;
	color: var(--muted);
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.35rem 0;
	border-bottom: 2px solid transparent;
	transition: color 0.18s ease, border-color 0.18s ease;
}

.site-nav a:hover,
.site-nav a.is-current {
	color: var(--fg);
	border-color: var(--gold);
}

.nav-toggle,
.nav-button {
	display: none;
}

/* ---------- SECTIONS ---------- */
.section {
	padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.section + .section {
	border-top: 1px solid var(--line);
}

.eyebrow {
	color: var(--muted);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	margin-bottom: 1rem;
}

h1 {
	font-size: clamp(2rem, 6vw, 3.2rem);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.01em;
}

h2 {
	font-size: clamp(1.5rem, 4vw, 2.1rem);
	line-height: 1.25;
	font-weight: 700;
	margin-bottom: 1.25rem;
}

h3 {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

p + p,
p + ul,
ul + p,
h3 + p {
	margin-top: 1rem;
}

h1 + p {
	margin-top: 1.25rem;
}

.lead {
	font-size: clamp(1.05rem, 2.5vw, 1.2rem);
	color: var(--fg);
	max-width: 62ch;
}

.prose {
	max-width: 68ch;
	color: var(--muted);
}

.prose strong {
	color: var(--fg);
}

.prose a {
	color: var(--fg);
}

.prose ul {
	padding-left: 1.2rem;
}

.prose li {
	margin-bottom: 0.4rem;
}

/* ---------- HOME HERO ---------- */
.hero {
	background: radial-gradient(circle at 50% 0%, var(--bg-accent), var(--bg) 65%);
	padding: clamp(3.5rem, 10vw, 6rem) 0;
	text-align: center;
}

.hero .logo-large {
	width: 100%;
	max-width: 420px;
	margin: 0 auto 2rem;
}

.hero .lead {
	margin-left: auto;
	margin-right: auto;
}

/* ---------- BUTTONS ---------- */
.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.hero .btn-row {
	justify-content: center;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.6rem;
	border-radius: 999px;
	background: var(--accent);
	color: var(--bg);
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(245, 245, 247, 0.22);
}

.btn-ghost {
	background: transparent;
	color: var(--fg);
	border: 1px solid var(--line);
}

.btn-ghost:hover {
	border-color: var(--fg);
	box-shadow: none;
}

/* ---------- CARDS ---------- */
.card {
	background: var(--card);
	border: 1px solid var(--accent-soft);
	border-radius: var(--radius);
	overflow: hidden;
}

.card-body {
	padding: clamp(1.25rem, 3vw, 2rem);
}

.game-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: stretch;
}

.game-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.badge {
	display: inline-block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--gold);
	border: 1px solid var(--accent-soft);
	background: var(--accent-soft);
	border-radius: 999px;
	padding: 0.2rem 0.7rem;
	margin-bottom: 0.9rem;
}

.meta {
	list-style: none;
	padding: 0;
	margin-top: 1.25rem;
	color: var(--muted);
	font-size: 0.92rem;
}

.meta li {
	display: flex;
	gap: 0.6rem;
	padding: 0.4rem 0;
	border-top: 1px solid var(--line);
}

.meta span:first-child {
	min-width: 110px;
	color: var(--fg);
}

/* ---------- GALLERY ---------- */
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
	margin-top: 2rem;
}

.gallery img {
	border-radius: var(--radius);
	border: 1px solid var(--line);
}

/* ---------- TRAILER ---------- */
.trailer-frame {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background: var(--card);
	border: 1px solid var(--accent-soft);
	border-radius: var(--radius);
	overflow: hidden;
	margin-top: 2rem;
}

.trailer-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---------- COLUMNS ---------- */
.cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
	margin-top: 2rem;
}

.people {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
	margin-top: 2rem;
}

.person {
	background: var(--card);
	border: 1px solid var(--accent-soft);
	border-radius: var(--radius);
	padding: 1.5rem;
}

.person .role {
	color: var(--gold);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-top: 0.25rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
	margin-top: auto;
	border-top: 1px solid var(--line);
	background: var(--bg-accent);
	padding: clamp(2.5rem, 6vw, 3.5rem) 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.footer-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	padding-bottom: 1.75rem;
	margin-bottom: 1.75rem;
	border-bottom: 1px solid var(--line);
}

.footer-socials a {
	color: var(--muted);
	text-decoration: none;
	transition: color 0.18s ease;
}

.footer-socials a:hover {
	color: var(--fg);
}

.footer-legal p + p {
	margin-top: 1rem;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.footer-links a {
	color: var(--muted);
}

.footer-copy {
	color: var(--muted);
	opacity: 0.75;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
	.game-card {
		grid-template-columns: 1fr;
	}

	.nav-button {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 44px;
		height: 44px;
		cursor: pointer;
	}

	.nav-button span {
		display: block;
		height: 2px;
		background: var(--fg);
		border-radius: 2px;
	}

	.site-nav {
		display: none;
		width: 100%;
		flex-direction: column;
		gap: 0;
		padding-bottom: 0.75rem;
	}

	.nav-toggle:checked ~ .site-nav {
		display: flex;
	}

	.site-nav a {
		padding: 0.7rem 0;
		border-bottom: 1px solid var(--line);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition: none !important;
	}
}
