:root {
	--bg: #f5ecdc;
	--bg-soft: #fff8ef;
	--surface: rgba(255, 251, 245, 0.88);
	--surface-strong: #fffdf9;
	--ink: #1f261d;
	--muted: #5f6b5f;
	--line: rgba(31, 38, 29, 0.12);
	--accent: #ff7a00;
	--accent-dark: #d55f00;
	--accent-alt: #1f8b5f;
	--shadow: 0 24px 60px rgba(69, 49, 22, 0.14);
	--radius-xl: 32px;
	--radius-lg: 24px;
	--radius-md: 18px;
	--content-width: 1240px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
	background:
		radial-gradient(circle at top left, rgba(255, 146, 43, 0.22), transparent 28%),
		radial-gradient(circle at 85% 12%, rgba(31, 139, 95, 0.16), transparent 26%),
		linear-gradient(180deg, #fcf4e7 0%, #f4ead8 42%, #f7f0e4 100%);
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
	background-size: 32px 32px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 92%);
}

a {
	color: inherit;
	text-decoration: none;
}

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

.page-shell {
	position: relative;
	z-index: 1;
}

.section-frame,
.site-nav,
.site-footer {
	width: min(calc(100% - 32px), var(--content-width));
	margin: 0 auto;
}

.site-header {
	padding: 24px 0 36px;
}

.site-nav {
	position: sticky;
	top: 18px;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 22px;
	background: rgba(255, 252, 246, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.58);
	border-radius: 999px;
	backdrop-filter: blur(14px);
	box-shadow: 0 10px 30px rgba(102, 72, 35, 0.08);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.site-nav.is-scrolled {
	box-shadow: 0 18px 40px rgba(102, 72, 35, 0.14);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.brand-mark {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--accent) 0%, #ffc444 100%);
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.06em;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.brand-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.brand-copy strong {
	font-size: 1.05rem;
	font-weight: 800;
}

.brand-copy span {
	font-size: 0.84rem;
	color: var(--muted);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 18px;
}

.nav-links a {
	padding: 10px 14px;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--muted);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
	background: rgba(255, 122, 0, 0.12);
	color: var(--ink);
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 14px;
	background: rgba(255, 122, 0, 0.12);
	cursor: pointer;
}

.nav-toggle span {
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: var(--ink);
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: 28px;
	align-items: stretch;
	padding: 52px 0 18px;
}

.hero-copy,
.hero-spotlight,
.games-section,
.about-section,
.contact-section {
	position: relative;
}

.hero-copy,
.hero-spotlight,
.games-section,
.about-section,
.contact-section,
.site-footer {
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, 0.7);
	box-shadow: var(--shadow);
	backdrop-filter: blur(10px);
}

.hero-copy,
.hero-spotlight,
.games-section,
.about-section,
.contact-section {
	border-radius: var(--radius-xl);
}

.hero-copy {
	padding: 44px;
}

.eyebrow {
	margin: 0 0 14px;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent-dark);
}

h1,
h2,
h3 {
	margin: 0;
	font-family: Georgia, "Palatino Linotype", "Times New Roman", serif;
	font-weight: 700;
	letter-spacing: -0.03em;
}

h1 {
	max-width: 12ch;
	font-size: clamp(3rem, 6vw, 5.5rem);
	line-height: 0.95;
}

.hero-copy h1 {
	max-width: 13ch;
	color: #4a4f40;
	font-family: "Palatino Linotype", Georgia, "Times New Roman", serif;
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.02;
	text-wrap: balance;
}

h2 {
	max-width: 14ch;
	font-size: clamp(2rem, 4vw, 3.35rem);
	line-height: 1.02;
}

.hero-text,
.section-heading p,
.about-copy p,
.contact-card p,
.hero-mini p,
.game-card p {
	margin: 0;
	color: var(--muted);
	line-height: 1.65;
}

.hero-text {
	max-width: 54ch;
	margin-top: 24px;
	font-size: 1.05rem;
}

.hero-actions,
.contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border-radius: 999px;
	font-weight: 800;
	transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
	transform: translateY(-2px);
}

.button-primary {
	background: linear-gradient(135deg, var(--accent) 0%, #ffb24b 100%);
	color: #fff;
	box-shadow: 0 14px 28px rgba(255, 122, 0, 0.25);
}

.button-secondary {
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.58);
	color: var(--ink);
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.hero-stats li {
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.58);
}

.hero-stat-value {
	display: block;
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--ink);
}

.hero-stat-label {
	display: block;
	margin-top: 8px;
	font-size: 0.88rem;
	color: var(--muted);
}

.hero-spotlight {
	display: grid;
	grid-template-rows: auto auto;
	gap: 18px;
	padding: 22px;
}

.hero-feature {
	position: relative;
	overflow: hidden;
	border-radius: 26px;
	min-height: 420px;
	background: linear-gradient(180deg, rgba(22, 32, 29, 0.08) 0%, rgba(22, 32, 29, 0.76) 100%);
}

.hero-feature img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-feature::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 26, 24, 0.08) 0%, rgba(20, 26, 24, 0.84) 100%);
}

.hero-feature-copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	padding: 26px;
	color: #fff;
}

.hero-feature-top {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.hero-feature-top img {
	position: static;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	border: 2px solid rgba(255, 255, 255, 0.42);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.hero-feature-copy h3 {
	font-size: 2rem;
	line-height: 1;
}

.hero-feature-copy p {
	margin-top: 10px;
	max-width: 36ch;
	color: rgba(255, 255, 255, 0.84);
}

.tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tag-light {
	background: rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(10px);
}

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

.hero-mini {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.62);
}

.hero-mini-head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hero-mini-head img {
	width: 42px;
	height: 42px;
	border-radius: 14px;
}

.hero-mini strong {
	display: block;
	font-size: 0.95rem;
}

.hero-mini span {
	display: block;
	margin-top: 2px;
	font-size: 0.77rem;
	color: var(--muted);
}

.hero-mini p {
	font-size: 0.9rem;
}

.games-section,
.about-section,
.contact-section {
	padding: 40px;
	margin-top: 26px;
}

.section-heading {
	display: grid;
	gap: 12px;
}

.section-heading p {
	max-width: 56ch;
}

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

.game-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 26px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 248, 241, 0.96) 100%);
	box-shadow: 0 18px 34px rgba(78, 55, 25, 0.08);
}

.game-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}

.game-card-title {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.game-card-title img {
	flex: 0 0 auto;
	width: 68px;
	height: 68px;
	border-radius: 22px;
	box-shadow: 0 14px 28px rgba(43, 36, 22, 0.16);
}

.game-card-title h3 {
	font-size: 1.6rem;
	line-height: 1.03;
}

.game-card-meta {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
}

.meta-pill {
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(31, 139, 95, 0.12);
	color: var(--accent-alt);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.game-card p {
	font-size: 0.98rem;
}

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

.game-screens img {
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	object-fit: cover;
	border: 1px solid rgba(31, 38, 29, 0.08);
}

.game-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
}

.game-card-footer small {
	color: var(--muted);
	font-size: 0.84rem;
}

.about-layout,
.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	gap: 24px;
	margin-top: 28px;
}

.about-copy,
.about-panel,
.contact-card {
	border: 1px solid var(--line);
	border-radius: 26px;
	background: rgba(255, 255, 255, 0.62);
}

.about-copy {
	display: grid;
	gap: 18px;
	padding: 28px;
}

.about-panel {
	display: grid;
	gap: 16px;
	padding: 24px;
	align-content: start;
}

.about-panel-block {
	display: grid;
	gap: 6px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.about-panel-block:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.panel-label {
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent-dark);
}

.contact-layout {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
	display: grid;
	gap: 14px;
	padding: 28px;
}

.contact-link {
	font-size: clamp(1.25rem, 2vw, 1.8rem);
	font-weight: 800;
	word-break: break-word;
}

.site-footer {
	margin-top: 26px;
	margin-bottom: 28px;
	padding: 18px 24px;
	border-radius: 24px;
	text-align: center;
	color: var(--muted);
}

.site-footer p {
	margin: 0;
}

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

	.hero-feature {
		min-height: 360px;
	}

	.games-grid {
		grid-template-columns: 1fr;
	}

	.about-layout,
	.contact-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {
	.site-header {
		padding-top: 14px;
	}

	.site-nav {
		top: 10px;
		border-radius: 28px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.nav-links {
		position: absolute;
		top: calc(100% + 12px);
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		padding: 14px;
		border: 1px solid rgba(255, 255, 255, 0.72);
		border-radius: 26px;
		background: rgba(255, 252, 246, 0.95);
		box-shadow: 0 20px 40px rgba(78, 55, 25, 0.12);
	}

	.site-nav.is-open .nav-links {
		display: flex;
	}

	.nav-links a {
		padding: 14px 16px;
	}

	.hero-copy,
	.hero-spotlight,
	.games-section,
	.about-section,
	.contact-section {
		padding: 28px;
	}

	.hero-stats,
	.hero-mini-grid {
		grid-template-columns: 1fr;
	}

	.game-card-header,
	.game-card-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.game-screens {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 15px;
	}

	.section-frame,
	.site-nav,
	.site-footer {
		width: min(calc(100% - 20px), var(--content-width));
	}

	.hero-copy,
	.hero-spotlight,
	.games-section,
	.about-section,
	.contact-section {
		padding: 22px;
		border-radius: 24px;
	}

	.brand-copy span {
		display: none;
	}

	.hero-feature {
		min-height: 300px;
	}

	.hero-feature-copy h3 {
		font-size: 1.75rem;
	}

	.game-card-title {
		align-items: flex-start;
	}

	.game-card-title img {
		width: 60px;
		height: 60px;
		border-radius: 18px;
	}
}
