:root {
	--ink: #17304f;
	--muted: #617083;
	--line: #dce5ef;
	--paper: #ffffff;
	--wash: #f5f9fc;
	--sky: #0b86cc;
	--sky-dark: #075a9c;
	--sun: #f6ad1b;
	--leaf: #6a9d35;
	--shadow: 0 18px 48px rgba(23, 48, 79, 0.16);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--wash);
	color: var(--ink);
	font-family:
		Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
		"Segoe UI", sans-serif;
	line-height: 1.5;
}

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

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	display: grid;
	grid-template-columns: minmax(150px, 220px) 1fr auto;
	align-items: center;
	gap: 24px;
	min-height: 78px;
	padding: 12px clamp(18px, 5vw, 72px);
	border-bottom: 1px solid rgba(220, 229, 239, 0.9);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(16px);
}

.brand img {
	width: min(210px, 42vw);
}

.main-nav {
	display: flex;
	justify-content: center;
	gap: clamp(18px, 4vw, 38px);
	font-weight: 800;
}

.main-nav a {
	padding: 10px 0;
}

.main-nav a:hover,
.site-footer a:hover {
	color: var(--sky-dark);
}

.language-switch {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	color: var(--muted);
	font-size: 14px;
	font-weight: 900;
}

.language-switch button {
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.language-switch button.is-active {
	color: var(--sky-dark);
}

.hero-section {
	position: relative;
	width: 100%;
	min-height: min(880px, calc(100vh - 78px));
	max-height: 1080px;
	overflow: hidden;
	display: flex;
	align-items: center;
	padding: clamp(32px, 6vw, 120px) clamp(20px, 6vw, 86px);
	isolation: isolate;
	background-color: #f5f9fc;
}

.hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 80% center;
	z-index: -2;
}

.hero-section::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.8),
		rgba(255, 255, 255, 0.3) 50%,
		rgba(255, 255, 255, 0)
	);
}

.hero-content {
	width: min(620px, 100%);
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--sky-dark);
	font-size: 13px;
	font-weight: 950;
	letter-spacing: 0;
	text-transform: uppercase;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	margin-bottom: 18px;
	font-size: clamp(42px, 7vw, 82px);
	line-height: 0.98;
	letter-spacing: 0;
}

h2 {
	margin-bottom: 16px;
	font-size: clamp(30px, 4vw, 52px);
	line-height: 1.06;
	letter-spacing: 0;
}

h3 {
	margin-bottom: 8px;
	font-size: 21px;
	letter-spacing: 0;
}

.hero-content p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.showcase-copy p:not(.eyebrow),
.game-card p {
	color: var(--muted);
	font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 30px;
}

.button,
.store-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	border-radius: 8px;
	font-weight: 950;
	line-height: 1.2;
}

.button.primary {
	background: var(--sky-dark);
	color: #fff;
	box-shadow: var(--shadow);
}

.button.secondary {
	border: 1px solid rgba(255, 255, 255, 0.58);
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.store-pill {
	border: 1px solid rgba(23, 48, 79, 0.16);
	background: rgba(255, 255, 255, 0.88);
	color: var(--ink);
}

.store-pill.dark {
	margin-top: 18px;
	background: #111827;
	color: #fff;
}

.section {
	padding: clamp(58px, 9vw, 96px) clamp(20px, 6vw, 86px);
}

.intro-section {
	display: grid;
	grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
	gap: clamp(28px, 5vw, 64px);
	background: #fff;
}

.section-copy {
	max-width: 520px;
}

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

.feature-grid article {
	min-height: 190px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--wash);
}

.feature-grid p {
	color: var(--muted);
}

.gameplay-highlight {
	position: relative;
	min-height: 600px;
	display: flex;
	align-items: center;
	padding: clamp(48px, 8vw, 120px) clamp(20px, 6vw, 86px);
	overflow: hidden;
	isolation: isolate;
	background: var(--ink);
}

.gameplay-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}

.gameplay-highlight::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		90deg,
		rgba(23, 48, 79, 0.95),
		rgba(23, 48, 79, 0.6) 50%,
		rgba(23, 48, 79, 0.1)
	);
}

.highlight-content {
	width: min(580px, 100%);
	color: #fff;
}

.highlight-content .eyebrow {
	color: var(--sun);
}

.showcase-band {
	position: relative;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: flex-end; /* Align content to the right */
	margin-top: 24px; /* Add some space from the previous section */
	padding: clamp(48px, 8vw, 120px) clamp(20px, 6vw, 86px);
	overflow: hidden;
	isolation: isolate;
	color: var(--ink); /* Black text */
}

.gallery-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}

.showcase-band::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		-90deg,
		rgba(255, 255, 255, 0.95) 0%,
		rgba(255, 255, 255, 0.8) 30%,
		rgba(255, 255, 255, 0) 100%
	); /* Light overlay from right to left */
}

.showcase-copy {
	width: min(500px, 100%);
}

.showcase-band .eyebrow {
	color: var(--sky-dark); /* Strong blue for eyebrow */
}

.showcase-band p {
	color: #333; /* Dark gray for description */
}

.page-hero {
	position: relative;
	padding: clamp(58px, 9vw, 96px) clamp(20px, 6vw, 86px);
	background: #fff;
	isolation: isolate;
	overflow: hidden;
}

.page-hero .hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: right center;
	z-index: -2;
	transform: scale(0.8);
}

.page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.92),
		rgba(255, 255, 255, 0.6) 45%,
		rgba(255, 255, 255, 0.1)
	);
}

.page-hero.compact {
	min-height: 330px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.page-hero h1 {
	max-width: 900px;
}

.game-detail {
	padding: clamp(34px, 7vw, 76px) clamp(20px, 6vw, 86px) clamp(64px, 9vw, 110px);
}

.game-card {
	display: grid;
	grid-template-columns: 132px 1fr;
	gap: 24px;
	align-items: center;
	max-width: 980px;
	margin-bottom: 34px;
	padding: clamp(22px, 4vw, 34px);
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(23, 48, 79, 0.08);
}

.game-icon {
	width: 132px;
	height: 132px;
	border-radius: 28px;
	object-fit: cover;
}

.game-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.game-meta span {
	padding: 8px 12px;
	border-radius: 999px;
	background: #eef6fb;
	color: var(--sky-dark);
	font-weight: 900;
}

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

.policy-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	padding: clamp(34px, 7vw, 76px) clamp(20px, 6vw, 86px) clamp(64px, 9vw, 110px);
}

.policy-link {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 112px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(23, 48, 79, 0.08);
}

.policy-link span {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 8px;
	background: var(--sun);
	color: #fff;
	font-weight: 950;
}

.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px clamp(20px, 6vw, 86px);
	border-top: 1px solid var(--line);
	background: #fff;
}

.footer-info {
	text-align: right;
}

.footer-links {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	color: var(--muted);
	font-size: 14px;
}

.separator {
	opacity: 0.4;
}

.dev-credit {
	font-weight: 400;
}

.dev-credit a {
	color: var(--ink);
}

.site-footer img {
	width: 172px;
}

.site-footer p {
	margin-bottom: 4px;
	color: var(--muted);
}

.site-footer a {
	font-weight: 950;
}

@media (max-width: 900px) {
	.site-header {
		grid-template-columns: 1fr auto;
	}

	.brand {
		grid-column: 1 / -1;
	}

	.main-nav {
		justify-content: flex-start;
	}

	.hero-section::after {
		background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.96),
			rgba(255, 255, 255, 0.72),
			rgba(255, 255, 255, 0.14)
		);
	}

	.intro-section,
	.showcase-band,
	.gameplay-highlight,
	.gallery-grid,
	.policy-list {
		grid-template-columns: 1fr;
	}

	.showcase-band {
		justify-content: flex-start;
	}

	.gameplay-highlight::after {
		background: linear-gradient(
			180deg,
			rgba(23, 48, 79, 0.95),
			rgba(23, 48, 79, 0.6) 50%,
			rgba(23, 48, 79, 0.1)
		);
	}

	.showcase-band::after {
		background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.95),
			rgba(255, 255, 255, 0.6) 50%,
			rgba(255, 255, 255, 0.1)
		);
	}

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

@media (max-width: 560px) {
	.site-header {
		gap: 14px;
		min-height: 92px;
	}

	.brand img {
		width: 180px;
	}

	.main-nav {
		gap: 20px;
		font-size: 15px;
	}

	.hero-section {
		min-height: 480px;
		align-items: flex-start;
	}

	.hero-bg {
		object-fit: cover;
		object-position: 70% center;
	}

	h1 {
		font-size: 40px;
	}

	.hero-actions,
	.site-footer {
		align-items: stretch;
		flex-direction: column;
	}

	.footer-info {
		text-align: center;
	}

	.footer-links {
		flex-direction: column;
		gap: 8px;
		margin-top: 12px;
	}

	.footer-links .separator {
		display: none;
	}

	.dev-credit {
		margin-top: 4px;
		font-size: 13px;
		opacity: 0.8;
	}

	.button,
	.store-pill {
		width: 100%;
	}

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

	.gameplay-highlight,
	.showcase-band {
		min-height: 400px;
	}
}
