:root {
	--bg: #f6f7f9;
	--panel: #ffffff;
	--panel-2: #eef1f5;
	--ink: #18202a;
	--muted: #626d7a;
	--line: #d7dde5;
	--green: #30a46c;
	--blue: #2563eb;
	--gold: #f0b429;
	--shadow: 0 18px 40px rgba(24, 32, 42, .12);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color-scheme: light;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100svh;
	background: var(--bg);
	color: var(--ink);
}

a {
	color: inherit;
}

.site-shell {
	width: min(980px, calc(100% - 24px));
	margin: 0 auto;
	padding: 22px 0 36px;
}

.site-header,
.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.site-brand {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	text-decoration: none;
}

.site-logo {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--green), var(--blue));
	color: #fff;
	font-weight: 900;
}

.site-brand h1,
.site-brand strong {
	display: block;
	margin: 0;
	font-size: clamp(1.45rem, 5vw, 2.15rem);
	line-height: 1;
}

.site-subtitle {
	margin-top: 4px;
	color: var(--muted);
	font-size: .92rem;
}

.site-nav {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	color: var(--muted);
	font-weight: 800;
}

.site-nav a {
	text-decoration: none;
}

.site-nav a:hover {
	color: var(--ink);
	text-decoration: underline;
}

.site-main {
	display: grid;
	gap: 18px;
	margin-top: 22px;
}

.intro-band,
.content-panel {
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--panel);
	box-shadow: var(--shadow);
	padding: clamp(18px, 4vw, 28px);
}

.intro-band {
	display: grid;
	gap: 8px;
}

.intro-band h2,
.content-panel h2,
.content-panel h3 {
	margin: 0;
	line-height: 1.1;
}

.intro-band h2 {
	font-size: clamp(2rem, 8vw, 4.4rem);
}

.intro-band p,
.content-panel p,
.content-panel li {
	color: var(--muted);
	line-height: 1.55;
}

.games-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.game-card {
	min-height: 210px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--panel);
	box-shadow: var(--shadow);
	padding: 18px;
	display: grid;
	align-content: space-between;
	gap: 18px;
	text-decoration: none;
}

.game-mark {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	display: grid;
	place-items: center;
	color: #fff;
	font-weight: 950;
	font-size: 1.2rem;
}

.game-mark.rowgo {
	background: linear-gradient(135deg, #4f9d69, #d8b33f);
}

.game-mark.thirds {
	background: linear-gradient(135deg, var(--green), var(--blue));
}

.game-card h2 {
	margin: 0;
	font-size: 1.55rem;
}

.game-card p {
	margin: 7px 0 0;
	color: var(--muted);
	line-height: 1.45;
}

.game-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: start;
	min-height: 40px;
	border-radius: 999px;
	padding: 0 14px;
	background: var(--blue);
	color: #fff;
	font-weight: 850;
}

.content-panel {
	display: grid;
	gap: 16px;
}

.content-panel section {
	display: grid;
	gap: 8px;
}

.content-panel ul {
	margin: 0;
	padding-left: 1.2rem;
}

.site-footer {
	margin-top: 26px;
	color: var(--muted);
	font-size: .9rem;
}

@media (max-width: 680px) {
	.games-grid {
		grid-template-columns: 1fr;
	}
}
