/* Infinite Games — site oficial do estúdio */

@font-face {
	font-family: "Syne";
	src: url("../fonts/Syne-700.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Syne";
	src: url("../fonts/Syne-800.woff") format("woff");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("../fonts/InstrumentSans-500.woff") format("woff");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("../fonts/InstrumentSans-600.woff") format("woff");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("../fonts/InstrumentSans-700.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--void: #05070d;
	--void-2: #0a1020;
	--ink: #e8eef8;
	--ink-soft: #9aabc4;
	--line: rgba(232, 238, 248, 0.12);
	--cyan: #3de7ff;
	--cyan-deep: #1a9bb8;
	--magenta: #c44dff;
	--ember: #ff7a2f;
	--ember-hot: #ff9a4a;
	--gold: #e8c56a;
	--white: #ffffff;
	--font-brand: "Syne", "Avenir Next", "Segoe UI", sans-serif;
	--font-body: "Instrument Sans", "Segoe UI", sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--max: 1160px;
}

* { box-sizing: border-box; }
html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	max-width: 100%;
}
body {
	margin: 0;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.55;
	background: var(--void);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	max-width: 100%;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--cyan); text-underline-offset: 0.18em; }
a:hover { color: var(--ember-hot); }
button, .btn { font-family: inherit; }
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--ink);
	color: var(--void);
	padding: 0.6rem 1rem;
	z-index: 100;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

/* —— Nav —— */
.topnav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem clamp(1rem, 3vw, 2.25rem);
	background: rgba(5, 7, 13, 0.45);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
	overflow: visible;
}
.topnav.is-scrolled {
	background: rgba(5, 7, 13, 0.9);
	border-bottom-color: var(--line);
}
.topnav-brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}
.topnav-brand img {
	height: clamp(52px, 7vw, 68px);
	width: auto;
	object-fit: contain;
}
.topnav-links {
	display: flex;
	align-items: center;
	gap: clamp(0.85rem, 2.2vw, 1.75rem);
}
.topnav-links a {
	text-decoration: none;
	color: var(--ink-soft);
	font-weight: 600;
	font-size: 0.92rem;
}
.topnav-links a:hover { color: var(--ink); }
.lang-picker {
	position: relative;
	flex-shrink: 0;
	z-index: 210;
}
.lang-picker-btn {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 2.35rem;
	max-width: min(52vw, 200px);
	padding: 0.45rem 1.85rem 0.45rem 0.75rem;
	border: 1px solid rgba(11, 18, 32, 0.18);
	border-radius: 6px;
	background: #ffffff;
	color: #0b1220;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	background-image:
		linear-gradient(45deg, transparent 50%, #3a4a63 50%),
		linear-gradient(135deg, #3a4a63 50%, transparent 50%);
	background-position: calc(100% - 14px) calc(50% - 2px), calc(100% - 9px) calc(50% - 2px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}
.lang-picker-btn:focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 2px;
}
.lang-picker-btn span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #0b1220;
	pointer-events: none;
}
.lang-backdrop {
	position: fixed;
	inset: 0;
	z-index: 220;
	background: rgba(5, 7, 13, 0.55);
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.lang-backdrop[hidden] { display: none !important; }
.lang-picker-menu {
	position: absolute;
	top: calc(100% + 0.4rem);
	right: 0;
	z-index: 230;
	margin: 0;
	padding: 0.35rem;
	list-style: none;
	min-width: min(78vw, 220px);
	max-height: min(60vh, 320px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid rgba(11, 18, 32, 0.12);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.lang-picker-menu[hidden] { display: none !important; }
.lang-picker-menu li {
	display: block;
	padding: 0.78rem 0.85rem;
	border-radius: 6px;
	color: #0b1220 !important;
	background: #ffffff;
	font-size: 0.95rem;
	font-weight: 650;
	cursor: pointer;
	user-select: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
}
.lang-picker-menu li:hover,
.lang-picker-menu li:focus {
	outline: none;
	background: #eef3f8;
}
.lang-picker-menu li[aria-selected="true"] {
	background: #dceaf5;
	color: #061018 !important;
}
html[dir="rtl"] .lang-picker-menu {
	right: auto;
	left: 0;
}

/* —— Hero —— */
.hero {
	position: relative;
	width: 100%;
	min-height: 100svh;
	display: grid;
	place-items: center;
	overflow: hidden;
	isolation: isolate;
	text-align: center;
}
.hero-bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
	transform: scale(1.05);
	filter: saturate(1.08) contrast(1.04) brightness(0.88);
	animation: hero-drift 30s var(--ease) infinite alternate;
}
@keyframes hero-drift {
	from { transform: scale(1.05) translate3d(0, 0, 0); }
	to { transform: scale(1.1) translate3d(-0.8%, -0.6%, 0); }
}
.hero-veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 42% 38% at 50% 36%, rgba(232, 197, 106, 0.2), transparent 65%),
		linear-gradient(180deg, rgba(5, 7, 13, 0.55) 0%, rgba(5, 7, 13, 0.22) 32%, rgba(5, 7, 13, 0.68) 72%, rgba(5, 7, 13, 0.98) 100%),
		radial-gradient(ellipse 70% 50% at 78% 16%, rgba(61, 231, 255, 0.1), transparent 55%);
	pointer-events: none;
}
.hero-content {
	width: min(100%, var(--max));
	margin: 0 auto;
	padding: 6.5rem clamp(1rem, 3vw, 2.25rem) 3.25rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.hero-logo {
	width: min(520px, 78vw);
	height: auto;
	margin: 0 0 1.1rem;
	filter: drop-shadow(0 18px 50px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 40px rgba(61, 231, 255, 0.18));
	opacity: 0;
	transform: translateY(22px) scale(0.96);
	animation: rise-logo 1.15s var(--ease) 0.1s forwards;
}
@keyframes rise-logo {
	to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-kicker {
	margin: 0 0 0.55rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold);
	opacity: 0;
	transform: translateY(18px);
	animation: rise 1s var(--ease) 0.28s forwards;
}
.hero-title {
	margin: 0 0 0.75rem;
	font-family: var(--font-brand);
	font-weight: 800;
	font-size: clamp(2.4rem, 6.5vw, 4.4rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
	max-width: 12ch;
	text-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
	opacity: 0;
	transform: translateY(18px);
	animation: rise 1s var(--ease) 0.35s forwards;
}
.hero-lead {
	margin: 0 0 1rem;
	color: var(--ink-soft);
	font-size: clamp(1.02rem, 1.7vw, 1.18rem);
	max-width: 40ch;
	opacity: 0;
	transform: translateY(18px);
	animation: rise 1s var(--ease) 0.48s forwards;
}
.hero-launch {
	margin: 0 0 1.5rem;
	font-size: 0.98rem;
	color: var(--ink-soft);
	opacity: 0;
	transform: translateY(18px);
	animation: rise 1s var(--ease) 0.55s forwards;
}
.hero-launch strong {
	color: var(--ember-hot);
	font-family: var(--font-brand);
	font-weight: 700;
	letter-spacing: 0.02em;
}
.hero-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.85rem 1rem;
	opacity: 0;
	transform: translateY(18px);
	animation: rise 1s var(--ease) 0.62s forwards;
}
.platform-strip {
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55rem 1.1rem;
	opacity: 0;
	transform: translateY(18px);
	animation: rise 1s var(--ease) 0.78s forwards;
}
.platform-strip li {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.developed-by-label {
	margin: 0;
	font-size: 0.55rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1;
	color: var(--ink-soft);
}
.dev-jsoft {
	width: auto;
	height: 16px;
	max-width: none;
	object-fit: contain;
	display: block;
}
@keyframes rise {
	to { opacity: 1; transform: translateY(0); }
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.82rem 1.4rem;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.98rem;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), filter 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
	background: linear-gradient(135deg, var(--cyan) 0%, #5ec8ff 45%, var(--magenta) 100%);
	color: #061018 !important;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
	background: rgba(255, 255, 255, 0.06);
	border-color: var(--line);
	color: var(--ink) !important;
}
.btn-ghost:hover {
	border-color: rgba(61, 231, 255, 0.45);
	background: rgba(61, 231, 255, 0.08);
}
.btn[aria-disabled="true"] {
	pointer-events: none;
	opacity: 0.72;
	cursor: default;
}

/* —— Sections —— */
.section {
	width: min(100%, var(--max));
	margin: 0 auto;
	padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 3vw, 2.25rem);
}
.section-kicker {
	margin: 0 0 0.55rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cyan-deep);
}
.section-title {
	margin: 0 0 0.75rem;
	font-family: var(--font-brand);
	font-weight: 800;
	font-size: clamp(1.75rem, 3.4vw, 2.6rem);
	letter-spacing: -0.03em;
	line-height: 1.1;
}
.section-lead {
	margin: 0;
	color: var(--ink-soft);
	max-width: 46ch;
	font-size: 1.05rem;
}

.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-in {
	opacity: 1;
	transform: translateY(0);
}

/* —— Game features (full-bleed) —— */
.game-feature {
	position: relative;
	width: 100%;
	min-height: min(88svh, 860px);
	display: grid;
	align-items: end;
	overflow: hidden;
	isolation: isolate;
}
.game-feature-media {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
}
.game-feature-bg {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
}
.game-feature--atlas .game-feature-bg {
	/* Keep title "ATLAS OF LEGENDS" fully visible at the top */
	object-position: center top;
}
.game-feature--rpg .game-feature-bg {
	object-position: center 34%;
	filter: saturate(1.1) contrast(1.05);
}
.game-feature-veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}
.game-feature--atlas .game-feature-veil {
	background:
		linear-gradient(90deg, rgba(5, 7, 13, 0.9) 0%, rgba(5, 7, 13, 0.45) 42%, rgba(5, 7, 13, 0.12) 70%, rgba(5, 7, 13, 0.28) 100%),
		linear-gradient(180deg, rgba(5, 7, 13, 0.15) 0%, transparent 38%, rgba(5, 7, 13, 0.86) 100%);
}
.game-feature--rpg .game-feature-veil {
	background:
		linear-gradient(270deg, rgba(5, 7, 13, 0.9) 0%, rgba(5, 7, 13, 0.48) 42%, rgba(5, 7, 13, 0.14) 100%),
		linear-gradient(180deg, rgba(5, 7, 13, 0.2) 0%, transparent 42%, rgba(5, 7, 13, 0.88) 100%),
		radial-gradient(ellipse 45% 50% at 35% 45%, rgba(232, 197, 106, 0.12), transparent 60%);
}
.game-feature-inner {
	width: min(100%, var(--max));
	margin: 0 auto;
	padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1rem, 3vw, 2.25rem);
}
.game-feature--rpg .game-feature-inner {
	display: flex;
	justify-content: flex-end;
}
.game-feature--rpg .game-copy { text-align: right; }
.game-copy { max-width: 36rem; }
.game-name {
	margin: 0.55rem 0 0.7rem;
	font-family: var(--font-brand);
	font-weight: 800;
	font-size: clamp(2.15rem, 4.4vw, 3.35rem);
	letter-spacing: -0.03em;
	line-height: 1.02;
}
.game-blurb {
	margin: 0 0 1.35rem;
	color: var(--ink-soft);
	font-size: 1.08rem;
}
.game-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1.1rem;
	margin-bottom: 1.4rem;
	font-size: 0.95rem;
	color: var(--ink-soft);
}
.game-feature--rpg .game-meta { justify-content: flex-end; }
.game-meta strong {
	color: var(--ember-hot);
	font-family: var(--font-brand);
}
.game-status {
	display: inline-block;
	padding: 0.28rem 0.65rem;
	border-radius: 4px;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.game-status--live {
	background: rgba(61, 231, 255, 0.12);
	border: 1px solid rgba(61, 231, 255, 0.4);
	color: var(--cyan);
}
.game-status--soon {
	background: rgba(255, 122, 47, 0.12);
	border: 1px solid rgba(255, 122, 47, 0.4);
	color: var(--ember-hot);
}

.game-portraits {
	display: flex;
	gap: 0.75rem;
	margin-bottom: 1.35rem;
}
.game-portraits figure {
	margin: 0;
	width: min(140px, 28vw);
	position: relative;
}
.game-portraits img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 18%;
	border-radius: 10px;
	border: 1px solid var(--line);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
	background: #0a1020;
}
.game-portraits figcaption {
	margin-top: 0.4rem;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--ink-soft);
	letter-spacing: 0.04em;
}

/* —— Studio —— */
/* —— Trailer —— */
.trailer-band {
	border-top: 1px solid var(--line);
	background:
		radial-gradient(ellipse 70% 55% at 50% 0%, rgba(61, 231, 255, 0.08), transparent 55%),
		var(--void);
}
.trailer-stage {
	margin-top: 2rem;
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #05070d;
	border-radius: 10px;
}
.trailer-frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	background: #05070d;
}

/* —— Platforms —— */
.platforms-band {
	border-top: 1px solid var(--line);
	background: var(--void-2);
}
.platform-grid {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}
.platform-item {
	padding: 1.25rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	min-height: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}
.platform-name {
	font-family: var(--font-brand);
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: -0.02em;
}
.platform-desc {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.95rem;
	flex: 1;
}
.platform-link {
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	color: var(--cyan);
}
.platform-link:hover { color: var(--ember-hot); }
.platform-note {
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--ink-soft);
}

.studio-band {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(ellipse 60% 80% at 10% 50%, rgba(61, 231, 255, 0.07), transparent 55%),
		radial-gradient(ellipse 50% 70% at 90% 40%, rgba(255, 122, 47, 0.06), transparent 50%),
		var(--void-2);
}
.studio-lead-2 { margin-top: 0.9rem; }
.studio-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: end;
}
.studio-stat { margin: 0; }
.studio-stat dt {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: 0.35rem;
}
.studio-stat dd {
	margin: 0;
	font-family: var(--font-brand);
	font-weight: 800;
	font-size: clamp(1.35rem, 2.6vw, 1.85rem);
	letter-spacing: -0.02em;
	color: var(--ink);
	word-break: break-word;
}
.studio-stats { display: grid; gap: 1.25rem; }

/* —— Footer —— */
.site-footer {
	padding: 2.75rem clamp(1rem, 3vw, 2.25rem) 2.25rem;
	border-top: 1px solid var(--line);
}
.footer-inner {
	width: min(100%, var(--max));
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem 2rem;
}
.footer-logo {
	height: clamp(88px, 14vw, 120px);
	width: auto;
	margin-bottom: 0.85rem;
}
.footer-copy {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.9rem;
	max-width: 36ch;
}
.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.35rem;
}
.footer-nav a {
	text-decoration: none;
	color: var(--ink-soft);
	font-weight: 600;
	font-size: 0.92rem;
}
.footer-nav a:hover { color: var(--ink); }
.footer-developed {
	width: 100%;
	margin-top: 0.5rem;
	padding: 0.85rem 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.4rem;
}
.footer-developed .developed-by-label {
	text-align: left;
	margin: 0;
}
.footer-jsoft-only {
	display: block;
	line-height: 0;
	opacity: 0.95;
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-jsoft-only:hover {
	opacity: 1;
	transform: translateY(-1px);
}
.footer-jsoft-only .dev-jsoft {
	width: auto;
	height: 16px;
	max-width: none;
	display: block;
}
.footer-legal {
	width: 100%;
	margin-top: 0;
	padding-top: 0;
	border-top: none;
	color: var(--ink-soft);
	font-size: 0.82rem;
}

html[dir="rtl"] .topnav,
html[dir="rtl"] .footer-inner,
html[dir="rtl"] .hero-cta,
html[dir="rtl"] .platform-strip,
html[dir="rtl"] .game-portraits,
html[dir="rtl"] .game-meta,
html[dir="rtl"] .platform-grid {
	direction: rtl;
}
html[dir="rtl"] .game-feature--rpg .game-copy,
html[dir="rtl"] .footer-developed .developed-by-label {
	text-align: right;
}
html[dir="rtl"] .game-feature--rpg .game-feature-inner {
	justify-content: flex-start;
}
html[dir="rtl"] .game-feature--atlas .game-feature-veil {
	background:
		linear-gradient(270deg, rgba(5, 7, 13, 0.9) 0%, rgba(5, 7, 13, 0.45) 42%, rgba(5, 7, 13, 0.12) 70%, rgba(5, 7, 13, 0.28) 100%),
		linear-gradient(180deg, rgba(5, 7, 13, 0.15) 0%, transparent 38%, rgba(5, 7, 13, 0.86) 100%);
}
html[dir="rtl"] .game-feature--rpg .game-feature-veil {
	background:
		linear-gradient(90deg, rgba(5, 7, 13, 0.9) 0%, rgba(5, 7, 13, 0.48) 42%, rgba(5, 7, 13, 0.14) 100%),
		linear-gradient(180deg, rgba(5, 7, 13, 0.2) 0%, transparent 42%, rgba(5, 7, 13, 0.88) 100%),
		radial-gradient(ellipse 45% 50% at 65% 45%, rgba(232, 197, 106, 0.12), transparent 60%);
}

@media (max-width: 980px) {
	.platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
	.topnav-links a[data-nav] { display: none; }
	.studio-grid { grid-template-columns: 1fr; }
	.hero-logo { width: min(420px, 82vw); }
	.lang-picker-btn {
		max-width: 46vw;
		font-size: 0.74rem;
		padding: 0.45rem 1.7rem 0.45rem 0.6rem;
	}
	.lang-picker-menu {
		position: fixed;
		top: 3.6rem;
		right: 0.75rem;
		left: auto;
		bottom: auto;
		width: min(86vw, 260px);
		min-width: 0;
		max-height: min(65vh, 380px);
		padding: 0.5rem;
		border-radius: 12px;
		z-index: 230;
	}
	.lang-picker-menu li {
		padding: 0.9rem 0.95rem;
		font-size: 1rem;
	}
	.game-feature--atlas .game-feature-veil,
	.game-feature--rpg .game-feature-veil,
	html[dir="rtl"] .game-feature--atlas .game-feature-veil,
	html[dir="rtl"] .game-feature--rpg .game-feature-veil {
		background:
			linear-gradient(180deg, rgba(5, 7, 13, 0.22) 0%, rgba(5, 7, 13, 0.42) 42%, rgba(5, 7, 13, 0.94) 100%);
	}
	.game-feature--rpg .game-feature-inner,
	html[dir="rtl"] .game-feature--rpg .game-feature-inner { justify-content: flex-start; }
	.game-feature--rpg .game-copy,
	html[dir="rtl"] .game-feature--rpg .game-copy { text-align: start; }
	.game-feature--rpg .game-meta,
	html[dir="rtl"] .game-feature--rpg .game-meta { justify-content: flex-start; }
	.game-feature--rpg .game-feature-bg { object-position: center 30% !important; }
	.game-feature--atlas .game-feature-bg { object-position: center top !important; }
	.hero-bg { object-position: center 32%; }
	.trailer-band .section-kicker,
	.trailer-band .section-title,
	.trailer-band .section-lead {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

@media (max-width: 560px) {
	.platform-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.hero-bg { animation: none; }
	.hero-logo, .hero-title, .hero-lead, .hero-cta {
		opacity: 1;
		transform: none;
	}
	.reveal { opacity: 1; transform: none; }
}
