/* mmocek.com. No external fonts, scripts or cookies, so the site needs no
   consent banner. */

:root {
	--bg: #0d1016;
	--surface: #151a23;
	--surface-2: #1b212c;
	--line: rgba(255, 255, 255, 0.08);
	--text: #eef1f6;
	--muted: #98a2b3;
	--green: #4ade80;
	--amber: #fbbf24;
	--accent: linear-gradient(100deg, var(--green), var(--amber));
	color-scheme: dark;
}

* {
	box-sizing: border-box;
}

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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* Soft forest-green and sunlight glows behind the top of the page. */
.glow {
	position: absolute;
	inset: 0 0 auto;
	height: 760px;
	background:
		radial-gradient(520px 340px at 18% 8%, rgba(74, 222, 128, 0.16), transparent 70%),
		radial-gradient(560px 360px at 88% 22%, rgba(251, 191, 36, 0.11), transparent 70%);
	pointer-events: none;
}

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

img,
video {
	max-width: 100%;
	height: auto;
}

.page {
	position: relative;
	max-width: 1040px;
	margin: 0 auto;
	padding: 22px 24px 40px;
}

.top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 11px;
	color: var(--text);
	font-weight: 750;
	font-size: 18px;
	letter-spacing: -0.01em;
	text-decoration: none;
	white-space: nowrap;
}

.top nav {
	display: flex;
	gap: 6px;
}

.top nav a {
	padding: 6px 12px;
	border-radius: 999px;
	color: var(--muted);
	font-size: 15px;
	text-decoration: none;
	transition: color 0.15s, background 0.15s;
}

.top nav a:hover {
	color: var(--text);
	background: var(--line);
}

.intro {
	padding: 96px 0 84px;
}

.eyebrow {
	display: inline-block;
	margin: 0 0 22px;
	padding: 5px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
}

h1 {
	font-size: clamp(42px, 8vw, 76px);
	line-height: 1.02;
	letter-spacing: -0.035em;
	font-weight: 800;
	margin: 0 0 24px;
}

.accent {
	background: var(--accent);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.lead {
	max-width: 34em;
	margin: 0;
	color: var(--muted);
	font-size: clamp(18px, 2.2vw, 20px);
}

.section-title {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.game {
	display: grid;
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 22px;
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}

@media (min-width: 860px) {
	.game {
		grid-template-columns: 1.1fr 1fr;
	}
}

.game-media {
	display: block;
	background: #10141b;
}

.trailer {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.game-text {
	padding: 28px 30px 30px;
}

.game-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}

.game-head img {
	border-radius: 14px;
	box-shadow: 0 0 0 1px var(--line);
}

.game h3 {
	margin: 0;
	font-size: 26px;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.genre {
	margin: 2px 0 0;
	color: var(--muted);
	font-size: 15px;
}

.game-text > p {
	margin: 0 0 16px;
	color: #c9d0db;
	font-size: 16px;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0 0 22px;
}

.tags li {
	padding: 3px 11px;
	border-radius: 999px;
	background: var(--surface-2);
	border: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
	font-weight: 600;
}

.links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.button {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 11px 18px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: transform 0.15s, filter 0.15s, background 0.15s;
}

.button:hover {
	transform: translateY(-1px);
}

.button.primary {
	background: var(--accent);
	color: #0d1016;
}

.button.primary:hover {
	filter: brightness(1.08);
}

.button.ghost {
	color: var(--text);
	background: var(--surface-2);
	border: 1px solid var(--line);
}

.button.ghost:hover {
	background: #232a37;
}

.button.big {
	padding: 15px 24px;
	font-size: 17px;
}

.next {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
	padding: 18px 22px;
	border: 1px dashed rgba(255, 255, 255, 0.14);
	border-radius: 16px;
	color: var(--muted);
	font-size: 15px;
}

.next-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
}

.contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 96px;
	padding: 34px 34px;
	background:
		radial-gradient(400px 200px at 100% 100%, rgba(74, 222, 128, 0.1), transparent 70%),
		var(--surface);
	border: 1px solid var(--line);
	border-radius: 22px;
}

.contact .section-title {
	margin-bottom: 8px;
}

.contact-lead {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.35;
	font-weight: 650;
	letter-spacing: -0.01em;
}

address {
	font-style: normal;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
}

footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	margin-top: 56px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 14px;
}

@media (max-width: 600px) {
	.intro {
		padding: 64px 0 56px;
	}

	.game-text,
	.contact {
		padding: 24px 22px;
	}

	.top nav a {
		padding: 6px 8px;
	}

	.contact .button.big {
		width: 100%;
		justify-content: center;
	}
}
