/* Bangers is the game's own title font (SIL Open Font License, see fonts/OFL.txt). */
@font-face {
	font-family: "Bangers";
	src: url("fonts/Bangers-Regular.ttf") format("truetype");
	font-display: swap;
}

:root {
	--grass-top: #6cc04a;
	--grass-bottom: #2f7a2c;
	--card: rgba(22, 44, 26, 0.84);
	--line: rgba(255, 255, 255, 0.18);
	--text: #ffffff;
	--muted: #d6ecd0;
	--green: #8bd43a;
	--orange: #f7932f;
	--gold: #fdda80;
}

* { box-sizing: border-box; }

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

body {
	margin: 0;
	background: linear-gradient(180deg, var(--grass-top) 0%, var(--grass-bottom) 100%) fixed, var(--grass-bottom);
	color: var(--text);
	font-family: "Avenir Next", "Nunito", -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 17px;
	line-height: 1.6;
}

main {
	max-width: 760px;
	margin: 0 auto;
	padding: 48px 16px 64px;
}

a { color: var(--gold); }
a:hover { color: #fff; }

h1, h2, h3 {
	font-family: "Bangers", "Avenir Next", sans-serif;
	font-weight: 400;
	letter-spacing: 1px;
	line-height: 1.2;
}

h1 { text-shadow: 0 2px 0 rgba(16, 40, 18, 0.6); }

.hero {
	text-align: center;
	padding-bottom: 24px;
}

.hero img.icon {
	width: 112px;
	height: 112px;
	border-radius: 24px;
	box-shadow: 0 8px 28px rgba(16, 40, 18, 0.45);
}

.hero h1 {
	font-size: clamp(44px, 13vw, 72px);
	margin: 16px 0 4px;
	letter-spacing: 2px;
	-webkit-text-stroke: 3px #1c3a1e;
	paint-order: stroke fill;
}

.hero .tagline {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 24px;
	text-shadow: 0 1px 2px rgba(16, 40, 18, 0.6);
}

.button {
	display: inline-block;
	background: var(--orange);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	padding: 14px 32px;
	border-radius: 18px;
	border-bottom: 6px solid #b8601a;
	box-shadow: 0 4px 18px rgba(16, 40, 18, 0.35);
}

.button.soon {
	background: #5a6a5c;
	border-bottom-color: #3c483e;
	color: #e8eee8;
}

/* The game is portrait, so the screenshots sit side by side, and scroll sideways on narrow screens. */
.shots {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(200px, 1fr);
	gap: 16px;
	margin: 32px 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
}

.shots img {
	width: 100%;
	height: auto;
	scroll-snap-align: center;
	border-radius: 16px;
	border: 3px solid rgba(255, 255, 255, 0.35);
	box-shadow: 0 6px 24px rgba(16, 40, 18, 0.35);
}

.card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 8px 24px 16px;
	margin: 24px 0;
}

.card h2 {
	color: var(--orange);
	font-size: 28px;
}

ul { padding-left: 20px; }
li { margin: 4px 0; }

dt {
	font-weight: 700;
	margin-top: 16px;
}

dd {
	margin: 4px 0 0;
	color: var(--muted);
}

footer {
	text-align: center;
	color: var(--muted);
	font-size: 15px;
	padding-top: 16px;
}

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