@font-face {
	font-family: 'Exo 2';
	font-style: normal;
	font-weight: 500 800;
	font-display: swap;
	src: url('exo2-cyr.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Exo 2';
	font-style: normal;
	font-weight: 500 800;
	font-display: swap;
	src: url('exo2-lat.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Onest';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('onest-cyr.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Onest';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('onest-lat.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('jbmono-cyr.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('jbmono-lat.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	/* palette from the brief */
	--navy: #0B1220;
	--navy-2: #111C30;
	--surface: #1D2C46;
	--teal: #16C7D5;
	--coral: #FF704D;
	--bg: #F4F7FB;
	--card: #FFFFFF;
	--ink: #263449;
	--muted: #8291A8;

	/* derived */
	--teal-ink: #08798A;      /* teal for text on white (AA) */
	--teal-soft: #E3F7F9;
	--coral-ink: #C2411F;     /* coral for text on white (AA) */
	--coral-soft: #FFF0EB;
	--coral-hover: #FF8A6B;
	--muted-ink: #5E6D84;     /* secondary text on white (AA) */
	--line: #E2E8F1;
	--line-strong: #CBD5E3;
	--row-alt: #F7F9FC;
	--on-dark: #E6EDF7;
	--on-dark-muted: #9AA8BE;
	--dark-line: rgba(130, 145, 168, .18);

	/* type */
	--font-display: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
	--font-text: 'Onest', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

	/* layout */
	--container: 1280px;
	--gutter: clamp(16px, 3vw, 32px);
	--gap: clamp(20px, 2.4vw, 32px);
	--hdr: 68px;
	--sticky-offset: calc(var(--hdr) + 16px);

	/* shape */
	--radius-lg: 20px;
	--radius: 16px;
	--radius-sm: 10px;
	--radius-xs: 6px;

	/* depth */
	--shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 2px 8px rgba(11, 18, 32, .05);
	--shadow: 0 2px 6px rgba(11, 18, 32, .05), 0 12px 32px rgba(11, 18, 32, .07);
	--shadow-lg: 0 6px 16px rgba(11, 18, 32, .08), 0 24px 48px rgba(11, 18, 32, .12);
	--ring: 0 0 0 3px rgba(22, 199, 213, .45);

	/* motion */
	--ease: cubic-bezier(.2, .7, .2, 1);
	--t: .22s;
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: var(--sticky-offset);
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.6 var(--font-text);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 3px;
	border-radius: 4px;
}

.sym { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico { flex: none; display: block; }

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--coral);
	color: var(--navy);
	font-weight: 700;
	border-radius: var(--radius-sm);
	text-decoration: none;
	transition: top var(--t) var(--ease);
}
.skip:focus { top: 12px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border: 1.5px solid transparent;
	border-radius: 12px;
	font: 700 15px/1.2 var(--font-display);
	letter-spacing: .01em;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn .ico { width: 18px; height: 18px; }

.btn--accent {
	background: var(--coral);
	color: var(--navy);
	box-shadow: 0 6px 18px rgba(255, 112, 77, .28);
}
.btn--accent:hover {
	background: var(--coral-hover);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(255, 112, 77, .36);
}

.btn--ghost {
	background: rgba(22, 199, 213, .06);
	border-color: rgba(22, 199, 213, .5);
	color: var(--on-dark);
}
.btn--ghost:hover {
	background: rgba(22, 199, 213, .14);
	border-color: var(--teal);
	color: #fff;
	transform: translateY(-2px);
}

.btn--line {
	background: transparent;
	border-color: var(--line-strong);
	color: var(--ink);
}
.btn--line:hover {
	border-color: var(--teal);
	color: var(--teal-ink);
	background: var(--teal-soft);
}

/* «Грати» — take-off CTA */
.btn--play {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding-left: 16px;
}
.btn--play::after {
	content: '';
	position: absolute;
	inset: 0 auto 0 0;
	z-index: -1;
	width: 45%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
	transform: translateX(-120%) skewX(-18deg);
	animation: glint 5s var(--ease) 1.2s infinite;
}
.play__ico {
	position: relative;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: rgba(11, 18, 32, .14);
	overflow: hidden;
}
.play__tilt { display: block; transform: rotate(-40deg); }
.play__tilt svg { display: block; width: 18px; height: 18px; }
.btn--play:hover .play__tilt svg,
.btn--play:focus-visible .play__tilt svg { animation: takeoff .9s var(--ease); }
.btn--lg.btn--play .play__ico { width: 30px; height: 30px; }
.btn--lg.btn--play .play__tilt svg { width: 20px; height: 20px; }

.hero-note {
	display: block;
	margin-top: -8px;
	color: var(--muted);
	font: 500 11px/1.4 var(--font-mono);
	letter-spacing: .08em;
	text-transform: uppercase;
}

.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(11, 18, 32, .94);
	border-bottom: 1px solid var(--dark-line);
	color: var(--on-dark);
	transition: box-shadow var(--t) var(--ease), background-color var(--t) var(--ease);
}
@supports (backdrop-filter: blur(8px)) {
	.site-header { background: rgba(11, 18, 32, .86); backdrop-filter: blur(12px) saturate(140%); }
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, .32); }

.site-header__in {
	display: flex;
	align-items: center;
	gap: 20px;
	height: var(--hdr);
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	text-decoration: none;
	flex: none;
}
.site-logo__mark { width: 40px; height: 40px; display: block; }
.site-logo__word {
	display: inline-flex;
	gap: 2px;
	font: 800 21px/1 var(--font-display);
	letter-spacing: -.01em;
	text-transform: uppercase;
}
.site-logo__acc { color: var(--teal); }
.site-logo__tag {
	align-self: flex-start;
	margin-top: 6px;
	padding: 2px 6px;
	border: 1px solid rgba(255, 112, 77, .55);
	border-radius: 5px;
	color: var(--coral);
	font: 500 10px/1.2 var(--font-mono);
	letter-spacing: .08em;
	text-transform: uppercase;
}

.main-navigation {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-left: auto;
}
.main-navigation a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	color: var(--on-dark-muted);
	font: 600 15px/1 var(--font-display);
	text-decoration: none;
	transition: color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.main-navigation a .ico { width: 17px; height: 17px; opacity: .7; transition: opacity var(--t); }
.main-navigation a::after {
	content: '';
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: var(--teal);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--t) var(--ease);
}
.main-navigation a:hover { color: #fff; background: rgba(22, 199, 213, .08); }
.main-navigation a:hover .ico { opacity: 1; color: var(--teal); }
.main-navigation a:hover::after,
.main-navigation a[aria-current='page']::after { transform: scaleX(1); }
.main-navigation a[aria-current='page'] { color: #fff; }
.main-navigation a[aria-current='page'] .ico { color: var(--teal); opacity: 1; }

.site-header__cta { flex: none; padding-inline: 16px; }

.burger {
	display: none;
	flex: none;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 0;
	border: 1px solid var(--dark-line);
	border-radius: 12px;
	background: rgba(29, 44, 70, .6);
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.burger__l {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.burger[aria-expanded='true'] .burger__l:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__l:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] .burger__l:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile row: table of contents / game navigation, opened from the header. */
.mnav { border-top: 1px solid var(--dark-line); }
.mnav__in {
	position: relative;
	display: flex;
	gap: 8px;
	padding-block: 8px;
}
.mnav__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid var(--dark-line);
	border-radius: var(--radius-sm);
	background: rgba(29, 44, 70, .55);
	color: var(--on-dark);
	font: 600 14px/1 var(--font-display);
	cursor: pointer;
}
.mnav__btn .ico { width: 17px; height: 17px; }
.mnav__btn .ico:last-child { width: 15px; height: 15px; opacity: .7; transition: transform var(--t) var(--ease); }
.mnav__btn[aria-expanded='true'] { border-color: var(--teal); color: #fff; }
/* site copy: one full-width «Ігри» bar, label centred, caret at the right edge */
.mnav__btn { flex: 1; justify-content: center; position: relative; }
.mnav__btn .ico:last-child { position: absolute; right: 14px; }
.mnav__btn[aria-expanded='true'] .ico:last-child { transform: rotate(180deg); }
.mnav__progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	overflow: hidden;
}
.mnav__progress i {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--teal), var(--coral));
	transform: scaleX(var(--p, 0));
	transform-origin: left;
}
.mnav__panel {
	max-height: min(60vh, 460px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-block: 6px 14px;
	border-top: 1px solid var(--dark-line);
	background: var(--navy-2);
}
.mnav__panel .toc__list a,
.mnav__panel .games-nav__list a { color: var(--on-dark); }
.mnav__panel .toc__list a:hover,
.mnav__panel .games-nav__list a:hover { background: rgba(22, 199, 213, .1); color: #fff; }
.mnav__panel .toc__list a.is-active,
.mnav__panel .games-nav__list a.is-active { background: rgba(22, 199, 213, .14); color: #fff; }
.mnav__panel .games-nav__n { background: var(--surface); color: var(--teal); }

/* Language switcher (site copy, centerofeurope.com.ua): codes in the header
   on desktop, codes + names inside the burger panel on phones. */
.lsw { display: flex; align-items: center; gap: 2px; }
.lsw--hdr {
	flex: none;
	padding: 3px;
	border: 1px solid var(--dark-line);
	border-radius: 11px;
	background: rgba(29, 44, 70, .5);
}
.lsw__a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	padding: 5px 9px;
	border-radius: 8px;
	color: var(--on-dark-muted);
	font: 500 12px/1 var(--font-mono);
	letter-spacing: .06em;
	text-decoration: none;
	transition: color var(--t), background-color var(--t);
}
.lsw__a:hover { color: #fff; background: rgba(22, 199, 213, .1); }
.lsw__a[aria-current] { color: var(--navy); background: var(--teal); }
.lsw__n { display: none; }
.lsw--menu { display: none; }

/* ==========================================================================
   Hero — flight-control terminal
   ========================================================================== */

.hero {
	position: relative;
	overflow: hidden;
	background: var(--navy);
	color: var(--on-dark);
	padding-block: clamp(40px, 6vw, 88px) clamp(84px, 9vw, 128px);
	isolation: isolate;
}
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60% 70% at 78% 30%, rgba(22, 199, 213, .13), transparent 70%),
		radial-gradient(40% 50% at 12% 90%, rgba(255, 112, 77, .10), transparent 70%),
		linear-gradient(rgba(130, 145, 168, .07) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(130, 145, 168, .07) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
	-webkit-mask-image: linear-gradient(180deg, #000 70%, rgba(0, 0, 0, .85));
	mask-image: linear-gradient(180deg, #000 70%, rgba(0, 0, 0, .85));
}
.hero__edge {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 48px;
	pointer-events: none;
}
.hero__edge svg { display: block; width: 100%; height: 100%; }

.hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: center;
	gap: clamp(28px, 4vw, 64px);
}

.hero-interface {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
	min-width: 0;
}
.hero-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 12px;
	border: 1px solid rgba(22, 199, 213, .35);
	border-radius: 999px;
	background: rgba(22, 199, 213, .07);
	color: var(--teal);
	font: 500 12px/1.2 var(--font-mono);
	letter-spacing: .1em;
	text-transform: uppercase;
}
.hero-label__dot {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--teal);
}
.hero-label__dot::after {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 1px solid var(--teal);
	animation: ping 2.4s var(--ease) infinite;
}
.hero-title {
	display: block;
	color: #fff;
	font: 800 clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem)/1.02 var(--font-display);
	letter-spacing: -.02em;
	text-wrap: balance;
}
.hero-title__acc {
	display: block;
	color: var(--coral);
}
.hero-sub {
	display: block;
	max-width: 30em;
	color: var(--on-dark-muted);
	font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
	line-height: 1.55;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-hud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 6px;
}
.hud {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 112px;
	padding: 10px 14px;
	border: 1px solid var(--dark-line);
	border-left: 2px solid var(--teal);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: rgba(29, 44, 70, .45);
}
.hud__k {
	color: var(--on-dark-muted);
	font: 500 11px/1.2 var(--font-mono);
	letter-spacing: .08em;
	text-transform: uppercase;
}
.hud__v { color: #fff; font: 700 22px/1 var(--font-display); }
.hud__v--txt { font-size: 15px; line-height: 1.2; }
.hud--status { border-left-color: var(--coral); }

/* the terminal screen */
.hero-visual {
	position: relative;
	min-width: 0;
	padding: 18px 0 18px 18px;
}
.screen {
	position: relative;
	border: 1px solid rgba(130, 145, 168, .28);
	border-radius: var(--radius-lg);
	background: linear-gradient(160deg, rgba(29, 44, 70, .82), rgba(17, 28, 48, .92));
	box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.screen__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--dark-line);
	font: 500 11px/1.2 var(--font-mono);
	letter-spacing: .08em;
	text-transform: uppercase;
}
.screen__dots { display: inline-flex; gap: 6px; }
.screen__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--surface); }
.screen__dots i:first-child { background: var(--coral); }
.screen__dots i:nth-child(2) { background: var(--teal); }
.screen__t { color: var(--on-dark-muted); }
.screen__rec {
	margin-left: auto;
	padding: 3px 8px;
	border: 1px solid var(--dark-line);
	border-radius: 5px;
	color: var(--muted);
}
.screen__body {
	position: relative;
	display: block;
	padding: 14px 14px 10px;
}
.flight { display: block; width: 100%; height: auto; aspect-ratio: 640 / 380; }
.screen__axis {
	position: absolute;
	color: var(--muted);
	font: 500 10px/1 var(--font-mono);
	letter-spacing: .1em;
	text-transform: uppercase;
}
.screen__axis--y { left: 6px; top: 50%; transform: rotate(-90deg) translateX(50%); transform-origin: left top; }
.screen__axis--x { right: 26px; bottom: 10px; }

.flight__trail {
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
}
.js .flight__trail { animation: draw 1.8s var(--ease) .2s both; }
.flight__plane { animation: bob 4.5s ease-in-out infinite; }
.flight__pts circle:nth-child(even) { transform-box: fill-box; transform-origin: center; animation: pulse 3s ease-in-out infinite; }

.corner {
	position: absolute;
	width: 16px;
	height: 16px;
	border: 2px solid var(--teal);
	opacity: .7;
}
.corner--tl { left: -7px; top: -7px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.corner--tr { right: -7px; top: -7px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.corner--bl { left: -7px; bottom: -7px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.corner--br { right: -7px; bottom: -7px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }

.radar {
	position: absolute;
	right: -14px;
	bottom: -26px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(17, 28, 48, .96) 60%, rgba(17, 28, 48, .7));
	border: 1px solid rgba(22, 199, 213, .35);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
	overflow: hidden;
}
.radar svg { display: block; width: 100%; height: 100%; }
.radar__sweep {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: conic-gradient(from 0deg, rgba(22, 199, 213, .38), rgba(22, 199, 213, 0) 70deg, transparent 360deg);
	animation: spin 4s linear infinite;
}
.radar__blip {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--coral);
	box-shadow: 0 0 8px var(--coral);
	animation: blink 4s linear infinite;
}
.radar__blip--a { left: 70%; top: 30%; }
.radar__blip--b { left: 32%; top: 62%; background: var(--teal); box-shadow: 0 0 8px var(--teal); animation-delay: -2s; }

.float-chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 12px;
	border: 1px solid rgba(130, 145, 168, .3);
	border-radius: 10px;
	background: rgba(17, 28, 48, .92);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
	color: var(--on-dark);
	font: 500 11px/1 var(--font-mono);
	letter-spacing: .08em;
	text-transform: uppercase;
	animation: float 6s ease-in-out infinite;
}
.float-chip .ico { width: 16px; height: 16px; color: var(--teal); }
.float-chip--a { left: -6px; top: 34%; }
.float-chip--b { right: 22%; top: -2px; animation-delay: -3s; }
.float-chip--b .ico { color: var(--coral); }

.hero--land { padding-bottom: clamp(72px, 8vw, 110px); }

/* ==========================================================================
   Band (inner pages)
   ========================================================================== */

.band {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(rgba(130, 145, 168, .07) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(90deg, rgba(130, 145, 168, .07) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(180deg, var(--navy), var(--navy-2));
	color: var(--on-dark);
	padding-block: 26px 70px;
}
.band__in { position: relative; z-index: 1; }
.band__route {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 26px;
	height: 0;
	border-top: 1.5px dashed rgba(22, 199, 213, .45);
}
.band__plane {
	position: absolute;
	top: -15px;
	left: 0;
	color: var(--coral);
	animation: fly 22s linear infinite;
}
.band__plane svg { display: block; }

.crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font: 500 13px/1.4 var(--font-mono);
	letter-spacing: .02em;
}
.crumbs a { color: var(--teal); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs .ico { width: 14px; height: 14px; color: var(--muted); }
.crumbs [aria-current] { color: var(--on-dark-muted); }

/* ==========================================================================
   Main layout
   ========================================================================== */

.main { display: block; }

.content-layout {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 9fr) minmax(0, 3fr);
	align-items: start;
	gap: var(--gap);
	margin-top: -56px;
	padding-bottom: clamp(48px, 6vw, 96px);
}
.content-layout--single {
	grid-template-columns: minmax(0, 1fr);
	max-width: 1040px;
}

/* ==========================================================================
   Article — container
   ========================================================================== */

.article-content {
	min-width: 0;
	padding: clamp(22px, 4.2vw, 56px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--card);
	box-shadow: var(--shadow);
	color: var(--ink);
	font-size: clamp(16px, .95rem + .15vw, 17.5px);
	line-height: 1.72;
	overflow-wrap: break-word;
	counter-reset: review;
}
.article-content > :first-child { margin-top: 0; }
.article-content > :last-child { margin-bottom: 0; }

/* ==========================================================================
   Typography
   ========================================================================== */

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
	color: var(--navy);
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
	overflow-wrap: anywhere;
	hyphens: auto;
	text-wrap: balance;
	scroll-margin-top: var(--sticky-offset);
}
.article-content h1 {
	margin: 0 0 .6em;
	font-size: clamp(1.85rem, 1.25rem + 2.3vw, 2.9rem);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.1;
}
.article-content h2 {
	position: relative;
	margin: 2.2em 0 .75em;
	padding-left: 20px;
	font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2rem);
}
.article-content h2::before {
	content: '';
	position: absolute;
	left: 0;
	top: .18em;
	bottom: .18em;
	width: 4px;
	border-radius: 4px;
	background: var(--teal);
}
.article-content h2::after {
	content: '';
	position: absolute;
	left: -2px;
	top: calc(.18em - 10px);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--coral);
}
.article-content h3 {
	margin: 1.8em 0 .6em;
	font-size: clamp(1.2rem, 1.05rem + .55vw, 1.45rem);
}
.article-content h3::before {
	content: '';
	display: inline-block;
	width: 14px;
	height: 2px;
	margin-right: 10px;
	vertical-align: .32em;
	border-radius: 2px;
	background: var(--teal);
}
.article-content h4 { margin: 1.6em 0 .5em; font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); }
.article-content h5 { margin: 1.5em 0 .5em; font-size: 1.05rem; }
.article-content h6 {
	margin: 1.5em 0 .5em;
	color: var(--muted-ink);
	font: 500 .82rem/1.4 var(--font-mono);
	letter-spacing: .08em;
	text-transform: uppercase;
}

.article-content p { margin: 0 0 1.15em; max-width: 75ch; }
/* byline under the h1 (site copy): mini avatar, editor, update date */
.article-content .byline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: -.2em 0 1.4em;
}
.article-content .byline__ava {
	flex: none;
	width: 44px;
	height: 44px;
	margin: 0;
	border: 2px solid var(--teal);
	border-radius: 50%;
	object-fit: cover;
}
.byline__t { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.article-content .byline__name { color: var(--navy); font: 700 15px/1.3 var(--font-display); text-decoration: none; }
.article-content a.byline__name:hover { color: var(--teal-ink); text-decoration: underline; }
.byline__meta { color: var(--muted-ink); font: 500 12px/1.4 var(--font-mono); letter-spacing: .02em; }
.byline__meta time { white-space: nowrap; }

.article-content .lead,
.article-content h1 + p,
.article-content .byline + p {
	color: var(--muted-ink);
	font-size: 1.1em;
	line-height: 1.65;
}

.article-content a {
	color: var(--teal-ink);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(8, 121, 138, .35);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	transition: color var(--t), text-decoration-color var(--t);
}
.article-content a:hover { color: var(--coral-ink); text-decoration-color: currentColor; }
.article-content a.btn { text-decoration: none; }
.article-content a.btn--accent,
.article-content a.btn--accent:hover { color: var(--navy); }
.article-content a.btn--line { color: var(--ink); }
.article-content a.btn--line:hover { color: var(--teal-ink); }

.article-content strong, .article-content b { color: var(--navy); font-weight: 700; }
.article-content em, .article-content i { font-style: italic; }

.article-content ul,
.article-content ol {
	margin: 0 0 1.3em;
	padding-left: 0;
	list-style: none;
	max-width: 75ch;
}
.article-content li { position: relative; margin: 0 0 .5em; padding-left: 30px; }
.article-content li > ul,
.article-content li > ol { margin: .5em 0 0; }
.article-content ul > li::before {
	content: '';
	position: absolute;
	left: 6px;
	top: .62em;
	width: 9px;
	height: 9px;
	border: 2px solid var(--teal);
	border-radius: 50%;
}
.article-content ul > li::after {
	content: '';
	position: absolute;
	left: 9.5px;
	top: calc(.62em + 3.5px);
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: var(--teal);
}
.article-content ol { counter-reset: li; }
.article-content ol > li { counter-increment: li; }
.article-content ol > li::before {
	content: counter(li, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: .12em;
	color: var(--coral-ink);
	font: 500 .78em/1.6 var(--font-mono);
}

.article-content blockquote {
	position: relative;
	margin: 1.6em 0;
	padding: 20px 24px 20px 56px;
	border-radius: var(--radius);
	background: linear-gradient(135deg, var(--navy-2), var(--surface));
	color: var(--on-dark);
	font-size: 1.05em;
}
.article-content blockquote::before {
	content: '';
	position: absolute;
	left: 20px;
	top: 24px;
	width: 20px;
	height: 20px;
	background: var(--coral);
	-webkit-mask: url('../img/quote.svg') center / contain no-repeat;
	mask: url('../img/quote.svg') center / contain no-repeat;
}
.article-content blockquote p { margin-bottom: .5em; }
.article-content blockquote > :last-child { margin-bottom: 0; }
.article-content blockquote strong { color: #fff; }
.article-content blockquote a { color: var(--teal); }

.article-content figure { margin: 1.6em 0; }
.article-content img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
}
.article-content figcaption {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	color: var(--muted-ink);
	font: 500 .8rem/1.45 var(--font-mono);
	letter-spacing: .02em;
}
.article-content figcaption::before {
	content: '';
	flex: none;
	width: 18px;
	height: 0;
	border-top: 1.5px dashed var(--teal);
}

.article-content hr {
	position: relative;
	height: 14px;
	margin: 2.4em 0;
	border: 0;
	background: linear-gradient(90deg, var(--line-strong) 50%, transparent 0) 0 50% / 10px 1.5px repeat-x;
}
.article-content hr::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 10px;
	border: 2px solid var(--coral);
	border-radius: 50%;
	background: var(--card);
	transform: translate(-50%, -50%);
}

.article-content code {
	padding: .1em .4em;
	border-radius: 5px;
	background: var(--row-alt);
	font: 500 .88em var(--font-mono);
}

/* ==========================================================================
   Tables
   ========================================================================== */

.table-scroll {
	position: relative;
	margin: 1.6em 0;
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
	-webkit-overflow-scrolling: touch;
}
.table-scroll:focus-visible { outline-offset: 2px; }
.article-content table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	font-size: .94em;
	line-height: 1.5;
}
.article-content > table { margin: 1.6em 0; }
.article-content th,
.article-content td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}
.article-content thead th,
.article-content table tr:first-child th {
	background: var(--navy-2);
	color: #fff;
	font: 600 .82em/1.3 var(--font-display);
	letter-spacing: .06em;
	text-transform: uppercase;
	border-bottom: 2px solid var(--teal);
	white-space: nowrap;
}
.article-content tbody tr:nth-child(even) td { background: var(--row-alt); }
.article-content tbody tr:last-child td { border-bottom: 0; }
.article-content tbody tr:hover td { background: var(--teal-soft); }
.article-content td:first-child { color: var(--navy); font-weight: 600; }
.article-content tbody th { background: var(--row-alt); color: var(--navy); font-weight: 600; }

.comparison-table td:not(:first-child) { font-family: var(--font-mono); font-size: .92em; }

/* ==========================================================================
   Content components
   ========================================================================== */

.info-box,
.warning-box,
.highlight-block {
	position: relative;
	margin: 1.6em 0;
	padding: 18px 22px 18px 58px;
	border-radius: var(--radius);
}
.info-box > :last-child,
.warning-box > :last-child,
.highlight-block > :last-child { margin-bottom: 0; }
.info-box::before,
.warning-box::before {
	content: '';
	position: absolute;
	left: 20px;
	top: 20px;
	width: 22px;
	height: 22px;
	-webkit-mask: var(--m) center / contain no-repeat;
	mask: var(--m) center / contain no-repeat;
}
.info-box {
	border: 1px solid rgba(22, 199, 213, .35);
	background: var(--teal-soft);
}
.info-box::before { --m: url('../img/i-info.svg'); background: var(--teal-ink); }
.warning-box {
	border: 1px solid rgba(255, 112, 77, .4);
	background: var(--coral-soft);
}
.warning-box::before { --m: url('../img/i-warn.svg'); background: var(--coral-ink); }

.highlight-block {
	padding: 22px 26px;
	border-left: 4px solid var(--coral);
	border-radius: 0 var(--radius) var(--radius) 0;
	background:
		linear-gradient(rgba(22, 199, 213, .06) 1px, transparent 1px) 0 0 / 22px 22px,
		linear-gradient(90deg, rgba(22, 199, 213, .06) 1px, transparent 1px) 0 0 / 22px 22px,
		var(--bg);
	color: var(--navy);
	font: 600 1.08em/1.55 var(--font-display);
}

.content-card {
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
	box-shadow: var(--shadow-sm);
	transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.content-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(22, 199, 213, .5); }
.content-card > :first-child { margin-top: 0; }
.content-card > :last-child { margin-bottom: 0; }
.content-card h3::before { display: none; }
.content-card :is(h3, h4, h5) { margin-top: 0; }
.article-content > .content-card { margin: 1.6em 0; }

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
	gap: 16px;
	margin: 1.6em 0;
}
.feature-grid > * { margin: 0; }

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
	gap: 12px;
	margin: 1.6em 0;
}
.stats-grid > * {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
	overflow: hidden;
	border-radius: var(--radius);
	background: linear-gradient(150deg, var(--navy-2), var(--surface));
	color: var(--on-dark-muted);
	font: 500 .78rem/1.3 var(--font-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
}
.stats-grid > *::after {
	content: '';
	position: absolute;
	right: -18px;
	bottom: -18px;
	width: 70px;
	height: 70px;
	border: 1px solid rgba(22, 199, 213, .3);
	border-radius: 50%;
	box-shadow: 0 0 0 12px rgba(22, 199, 213, .05);
}
.stats-grid strong {
	color: #fff;
	font: 700 1.9rem/1 var(--font-display);
	letter-spacing: 0;
	text-transform: none;
}
.stats-grid p { margin: 0; }

.pros-cons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 16px;
	margin: 1.6em 0;
}
.pros-cons > * {
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-top: 3px solid var(--teal);
	border-radius: var(--radius);
	background: var(--card);
}
.pros-cons > :last-child { border-top-color: var(--coral); }
.pros-cons > * > :first-child { margin-top: 0; }
.pros-cons > * > :last-child { margin-bottom: 0; }
.pros-cons ul { margin-bottom: 0; }
.pros-cons .pros li::before,
.pros-cons > :first-child li::before {
	content: '+';
	left: 0;
	top: 0;
	width: 20px;
	height: auto;
	border: 0;
	color: var(--teal-ink);
	font: 700 1.1em/1.55 var(--font-mono);
	text-align: center;
}
.pros-cons .cons li::before,
.pros-cons > :last-child li::before {
	content: '−';
	left: 0;
	top: 0;
	width: 20px;
	height: auto;
	border: 0;
	color: var(--coral-ink);
	font: 700 1.1em/1.55 var(--font-mono);
	text-align: center;
}
.pros-cons li::after { display: none; }

.image-wrapper {
	position: relative;
	margin: 1.6em 0;
}
.image-wrapper img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--row-alt);
}
.image-wrapper::before,
.image-wrapper::after {
	content: '';
	position: absolute;
	z-index: 1;
	width: 14px;
	height: 14px;
	border: 2px solid var(--teal);
	pointer-events: none;
}
.image-wrapper::before { left: 8px; top: 8px; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.image-wrapper::after { right: 8px; top: 8px; border-left: 0; border-bottom: 0; border-radius: 0 4px 0 0; }

/* phone-format game frames (site copy): a narrow centred figure, no crop */
/* .article-content figure sets margin: 1.6em 0, so the centring needs the same specificity */
.article-content .image-wrapper--phone { max-width: 300px; margin-inline: auto; }
.image-wrapper--phone img { aspect-ratio: auto; object-fit: contain; border-radius: 26px; background: var(--navy); }

/* FAQ — h3 + answer pairs; main.js turns each h3 into a toggle */
.faq { margin: 1.4em 0; }
.faq h3,
.faq summary {
	margin: 0;
	font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem);
}
.faq h3::before { display: none; }
.faq__item,
.faq details {
	margin-bottom: 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
	transition: border-color var(--t), box-shadow var(--t);
}
.faq__item.is-open,
.faq details[open] { border-color: rgba(22, 199, 213, .6); box-shadow: var(--shadow-sm); }
.faq__q,
.faq summary {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 16px 20px;
	border: 0;
	background: none;
	color: var(--navy);
	font: inherit;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__q > span { flex: 1; }
.faq__q::after,
.faq summary::after {
	content: '';
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: var(--teal-soft) url('../img/i-plus.svg') center / 14px no-repeat;
	transition: transform var(--t) var(--ease), background-color var(--t);
}
.faq__item.is-open .faq__q::after,
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--coral-soft); }
.faq__q:hover { color: var(--teal-ink); }
.faq__a { padding: 0 20px 4px; }
.faq__a > :last-child { margin-bottom: 14px; }
.faq details > :not(summary) { padding-inline: 20px; }

/* in-article contents (cg_toc): a numbered route, two columns on wide screens */
.article-toc {
	margin: 1.8em 0;
	border: 1px solid var(--line);
	border-left: 3px solid var(--teal);
	border-radius: var(--radius);
	background:
		linear-gradient(rgba(22, 199, 213, .06) 1px, transparent 1px) 0 0 / 24px 24px,
		linear-gradient(90deg, rgba(22, 199, 213, .06) 1px, transparent 1px) 0 0 / 24px 24px,
		var(--bg);
}
.article-toc__head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	color: var(--teal-ink);
	cursor: pointer;
	list-style: none;
	user-select: none;
}
.article-toc__head::-webkit-details-marker { display: none; }
.article-toc__t {
	color: var(--navy);
	font: 700 15px/1.2 var(--font-display);
	letter-spacing: .06em;
	text-transform: uppercase;
}
.article-toc__n {
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--teal-soft);
	color: var(--teal-ink);
	font: 500 12px/1.4 var(--font-mono);
}
.article-toc__head .ico:last-child {
	margin-left: auto;
	width: 18px;
	height: 18px;
	transition: transform var(--t) var(--ease);
}
.article-toc[open] .article-toc__head .ico:last-child { transform: rotate(180deg); }
.article-toc__nav { padding: 0 18px 16px; }
.article-content .article-toc__list {
	columns: 2;
	column-gap: 32px;
	max-width: none;
	margin: 0;
	padding-top: 12px;
	border-top: 1px dashed var(--line-strong);
}
.article-content .article-toc__list li {
	break-inside: avoid;
	margin: 0 0 4px;
	padding-left: 34px;
	font-size: .95em;
	line-height: 1.45;
}
.article-content .article-toc__list li::before { top: .15em; }
.article-content .article-toc__list a {
	display: inline-block;
	padding: 3px 0;
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
}
.article-content .article-toc__list a:hover { color: var(--teal-ink); text-decoration: underline; }

/* ==========================================================================
   Games catalog
   ========================================================================== */

.games-catalog {
	position: relative;
	margin: 2em calc(-1 * clamp(10px, 1.6vw, 20px));
	padding: clamp(18px, 2.6vw, 30px) clamp(10px, 1.6vw, 20px);
	border-radius: var(--radius-lg);
	background:
		linear-gradient(rgba(22, 199, 213, .07) 1px, transparent 1px) 0 0 / 32px 32px,
		linear-gradient(90deg, rgba(22, 199, 213, .07) 1px, transparent 1px) 0 0 / 32px 32px,
		var(--bg);
	scroll-margin-top: var(--sticky-offset);
}
.games-catalog > h2:first-child { margin-top: 0; }

.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 236px), 1fr));
	gap: clamp(14px, 1.6vw, 20px);
	margin: 1.4em 0;
	padding: 0;
	list-style: none;
}
.games-catalog > .games-grid:last-child { margin-bottom: 0; }

.game-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--card);
	box-shadow: var(--shadow-sm);
	transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.games-grid > li.game-card { margin: 0; padding: 0; }
.games-grid > li.game-card::before,
.games-grid > li.game-card::after { display: none; }
.game-card:hover,
.game-card:focus-within {
	transform: translateY(-5px);
	border-color: rgba(22, 199, 213, .7);
	box-shadow: var(--shadow-lg);
}
.game-card:focus-within { box-shadow: var(--shadow-lg), var(--ring); }

.game-card__image {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--navy-2);
}
.game-card__image img,
.game-card__image picture,
.game-card__image video {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	transition: transform .5s var(--ease);
}
.game-card:hover .game-card__image img { transform: scale(1.05); }
.game-card__image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(11, 18, 32, .45));
	pointer-events: none;
}
.game-card__badge {
	position: absolute;
	z-index: 1;
	left: 12px;
	top: 12px;
	padding: 4px 9px;
	border-radius: 7px;
	background: rgba(11, 18, 32, .82);
	color: #fff;
	font: 500 11px/1.3 var(--font-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
}

.game-card__body {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 12px;
	padding: 34px 18px 18px;
}
.game-card__logo {
	position: absolute;
	left: 16px;
	top: -26px;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 3px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--card);
	box-shadow: var(--shadow);
}
.game-card__logo img {
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 11px;
	object-fit: contain;
}
.article-content .game-card h3,
.article-content .game-card h4 {
	margin: 0;
	padding: 0;
	font-size: 1.12rem;
	line-height: 1.25;
}
.article-content .game-card h3::before { display: none; }
.article-content .game-card h3 a,
.article-content .game-card h4 a {
	color: var(--navy);
	text-decoration: none;
}
.article-content .game-card h3 a:hover,
.article-content .game-card h4 a:hover { color: var(--teal-ink); }
.game-card p { margin: 0; color: var(--muted-ink); font-size: .92em; line-height: 1.55; }

.article-content .game-card__meta {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 10px 0 0;
	border-top: 1px dashed var(--line-strong);
	font-size: .88rem;
}
.article-content .game-card__meta > * {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
	padding: 0;
}
.article-content .game-card__meta > *::before,
.article-content .game-card__meta > *::after { display: none; }
.game-card__meta span,
.game-card__meta dt { color: var(--muted-ink); }
.game-card__meta strong,
.game-card__meta dd {
	margin: 0;
	color: var(--navy);
	font: 500 .95em/1.5 var(--font-mono);
	text-align: right;
}

.article-content .game-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
}
.article-content .game-card__tags > * {
	margin: 0;
	padding: 4px 10px;
	border: 1px solid rgba(22, 199, 213, .4);
	border-radius: 999px;
	background: var(--teal-soft);
	color: var(--teal-ink);
	font: 500 .72rem/1.3 var(--font-mono);
	letter-spacing: .04em;
	text-transform: uppercase;
}
.article-content .game-card__tags > *::before,
.article-content .game-card__tags > *::after { display: none; }

.game-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 4px;
}
.game-card__actions .btn { flex: 1 1 auto; min-height: 42px; padding: 9px 14px; font-size: 14px; }
.game-card__actions .btn--play { flex: 1 1 auto; padding-left: 10px; }
.game-card__actions .btn--line { flex: 0 1 auto; }
.game-card__actions .btn--icon { flex: 0 0 42px; width: 42px; padding: 0; }
.btn--icon::before {
	content: '';
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url('../img/i-arrow.svg') center / contain no-repeat;
	mask: url('../img/i-arrow.svg') center / contain no-repeat;
}


/* Catalog cards, site copy (owner 04.11.2026: «поприятнее оформи карточки»):
   number badge on the cover, gradient strip on hover, stats as tiles. */
.games-grid { counter-reset: gcard; }
.games-grid > .game-card { counter-increment: gcard; }
.game-card::before {
	content: '';
	position: absolute;
	z-index: 3;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--teal), var(--coral));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--ease);
}
.game-card:hover::before,
.game-card:focus-within::before { transform: scaleX(1); }
.game-card__image::before {
	content: counter(gcard, decimal-leading-zero);
	position: absolute;
	z-index: 2;
	left: 12px;
	top: 12px;
	padding: 4px 9px;
	border: 1px solid rgba(22, 199, 213, .45);
	border-radius: 8px;
	background: rgba(11, 18, 32, .78);
	color: var(--teal);
	font: 500 12px/1.2 var(--font-mono);
	letter-spacing: .08em;
}
.game-card__image::after { background: linear-gradient(180deg, rgba(11, 18, 32, .18) 0%, transparent 35%, transparent 60%, rgba(11, 18, 32, .5) 100%); }
.game-card__body { padding: 18px; gap: 14px; }
.game-card__body:has(.game-card__logo) { padding-top: 34px; }
.article-content .game-card h3 { font-size: 1.2rem; }
.article-content .game-card__meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 0;
	border-top: 0;
}
.article-content .game-card__meta > .game-card__stat {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	min-width: 0;
	padding: 9px 11px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--bg);
	transition: border-color var(--t), background-color var(--t);
}
.article-content .game-card__meta > .game-card__stat:first-child {
	grid-column: 1 / -1;
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}
.game-card:hover .game-card__stat { border-color: rgba(22, 199, 213, .35); background: var(--teal-soft); }
.article-content .game-card__k {
	color: var(--muted-ink);
	font: 500 10.5px/1.2 var(--font-mono);
	letter-spacing: .08em;
	text-transform: uppercase;
}
.article-content .game-card__v {
	color: var(--navy);
	font: 700 15px/1.25 var(--font-display);
	text-align: left;
	overflow-wrap: anywhere;
}
.article-content .game-card__stat:first-child .game-card__v { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-card__actions .btn--line { flex: 1 1 auto; }

/* ==========================================================================
   Review sections
   ========================================================================== */

.game-review-section {
	position: relative;
	margin: clamp(36px, 5vw, 56px) 0 0;
	padding-top: clamp(28px, 4vw, 40px);
	border-top: 1.5px dashed var(--line-strong);
	counter-increment: review;
	scroll-margin-top: var(--sticky-offset);
}
.game-review-section::before {
	content: '';
	position: absolute;
	left: 0;
	top: -7px;
	width: 12px;
	height: 12px;
	border: 2px solid var(--teal);
	border-radius: 50%;
	background: var(--card);
}
.game-review-section:not(.game-review-section--plain)::after {
	content: '№ ' counter(review, decimal-leading-zero);
	position: absolute;
	right: 0;
	top: -13px;
	padding: 3px 10px;
	border-radius: 7px;
	background: var(--navy);
	color: var(--teal);
	font: 500 12px/1.4 var(--font-mono);
	letter-spacing: .08em;
}
.game-review-section > h2:first-child,
.game-review-section > :first-child { margin-top: 0; }
.game-review-section > :last-child { margin-bottom: 0; }
.game-review-section.is-target { animation: target 1.6s var(--ease); }

/* prev / next pager injected by main.js at the end of each review */
.review-pager {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 1.6em;
}
.article-content .review-pager a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--bg);
	color: var(--ink);
	font: 600 14px/1.25 var(--font-display);
	text-decoration: none;
	transition: border-color var(--t), color var(--t), background-color var(--t);
}
.article-content .review-pager a:hover { border-color: var(--teal); color: var(--teal-ink); background: var(--teal-soft); }
.review-pager .ico { width: 16px; height: 16px; }
.review-pager__prev .ico { transform: rotate(180deg); }
.review-pager__next { margin-left: auto; }
.review-pager__up .ico { transform: rotate(-90deg); }
.review-pager__k {
	color: var(--muted-ink);
	font: 500 11px/1 var(--font-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar {
	position: sticky;
	top: var(--sticky-offset);
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.sidebar-card {
	position: relative;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--card);
	box-shadow: var(--shadow-sm);
}
.sidebar-card__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px dashed var(--line-strong);
	color: var(--teal-ink);
}
.sidebar-label {
	display: block;
	color: var(--navy);
	font: 700 15px/1.25 var(--font-display);
	letter-spacing: .02em;
	text-transform: uppercase;
}
.sidebar-card__sub {
	display: block;
	color: var(--muted-ink);
	font-size: 14px;
	line-height: 1.5;
}

/* table of contents */
.toc__list,
.games-nav__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	max-height: 46vh;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}
.toc__list a {
	position: relative;
	display: block;
	padding: 7px 10px 7px 18px;
	border-radius: 8px;
	color: var(--ink);
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color var(--t), color var(--t);
}
.toc__list a::before {
	content: '';
	position: absolute;
	left: 6px;
	top: 50%;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--line-strong);
	transform: translateY(-50%);
	transition: background-color var(--t), transform var(--t);
}
.toc__list a.toc__l3 { padding-left: 32px; font-size: 13px; color: var(--muted-ink); }
.toc__list a.toc__l3::before { left: 20px; width: 4px; height: 4px; }
.toc__list a:hover { background: var(--bg); color: var(--navy); }
.toc__list a.is-active {
	background: var(--teal-soft);
	color: var(--navy);
	font-weight: 600;
}
.toc__list a.is-active::before { background: var(--teal); transform: translateY(-50%) scale(1.5); }

/* game navigation */
.games-nav__list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px;
	border-radius: 12px;
	color: var(--ink);
	font: 600 14px/1.3 var(--font-display);
	text-decoration: none;
	transition: background-color var(--t), color var(--t);
}
.games-nav__thumb {
	flex: none;
	width: 52px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 7px;
	background: var(--navy-2);
}
.games-nav__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.games-nav__n {
	flex: none;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--bg);
	color: var(--muted-ink);
	font: 500 12px/1 var(--font-mono);
}
.games-nav__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.games-nav__list a:hover { background: var(--bg); color: var(--navy); }
.games-nav__list a.is-active { background: var(--navy); color: #fff; }
.games-nav__list a.is-active .games-nav__n { background: var(--teal); color: var(--navy); }

/* radar card */
.sidebar-card--radar {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	overflow: hidden;
	border-color: transparent;
	background:
		linear-gradient(rgba(130, 145, 168, .08) 1px, transparent 1px) 0 0 / 24px 24px,
		linear-gradient(90deg, rgba(130, 145, 168, .08) 1px, transparent 1px) 0 0 / 24px 24px,
		linear-gradient(160deg, var(--navy-2), var(--surface));
	color: var(--on-dark);
}
.sidebar-card--radar .sidebar-label { color: #fff; }
.sidebar-card--radar .sidebar-card__sub { color: var(--on-dark-muted); }
/* site copy, owner 04.11: the radar sits centred in the «Готові до зльоту?» card */
.sidebar-card--radar .mini-radar { align-self: center; }
.offer__cta { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 6px; }
.mini-radar {
	position: relative;
	display: block;
	width: 110px;
	height: 110px;
	margin-bottom: 4px;
	overflow: hidden;
	border-radius: 50%;
}
.mini-radar svg { display: block; width: 100%; height: 100%; }
.mini-radar__plane {
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -13px 0 0 -13px;
	animation: orbit 9s linear infinite;
}
.mini-radar__plane svg { display: block; }

/* responsible play */
.sidebar-card--safe {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 14px;
	align-items: center;
}
.sidebar-card--safe .age { grid-row: span 2; }
.age {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 2px solid var(--coral);
	border-radius: 50%;
	color: var(--coral-ink);
	font: 800 15px/1 var(--font-display);
}
.age--dark { color: var(--coral); }
.safe__t { color: var(--navy); font: 700 15px/1.3 var(--font-display); }
.safe__s { color: var(--muted-ink); font-size: 13px; line-height: 1.45; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	position: relative;
	background: linear-gradient(180deg, var(--navy-2), var(--navy));
	color: var(--on-dark-muted);
	padding-top: 64px;
}
.footer-route {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 80px;
	overflow: hidden;
	pointer-events: none;
}
.footer-route svg { display: block; width: 100%; height: 100%; }
.footer-route__plane {
	position: absolute;
	left: 0;
	top: 26px;
	color: var(--coral);
	animation: fly 30s linear infinite;
}
.footer-route__plane svg { display: block; transform: rotate(-6deg); }

.footer-inner {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: clamp(24px, 4vw, 48px);
	padding-block: 24px 36px;
}
.foot__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-label { display: block; font-size: 14px; line-height: 1.6; }
.foot__col { display: flex; flex-direction: column; gap: 4px; }
.foot__t {
	display: block;
	margin-bottom: 8px;
	color: var(--teal);
	font: 500 12px/1.3 var(--font-mono);
	letter-spacing: .1em;
	text-transform: uppercase;
}
.foot__col a {
	display: inline-flex;
	align-self: flex-start;
	padding: 5px 0;
	color: var(--on-dark);
	font-size: 15px;
	text-decoration: none;
	transition: color var(--t), transform var(--t) var(--ease);
}
.foot__col a:hover { color: var(--teal); transform: translateX(3px); }
.foot__col a[aria-current='page'] { color: var(--teal); }
.foot__safe-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; color: var(--teal); }
.foot__safe-row .ico { width: 26px; height: 26px; }

.foot__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 18px 26px;
	border-top: 1px solid var(--dark-line);
	font-size: 13px;
}
.foot__base-mono { font: 500 11px/1.6 var(--font-mono); letter-spacing: .04em; color: var(--muted); }

/* ==========================================================================
   Floating controls
   ========================================================================== */

.to-top {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 90;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(22, 199, 213, .4);
	border-radius: 14px;
	background: var(--navy);
	color: var(--teal);
	box-shadow: 0 10px 26px rgba(11, 18, 32, .3);
	cursor: pointer;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), background-color var(--t);
}
.to-top.is-on { opacity: 1; transform: none; }
.to-top:hover { background: var(--surface); color: #fff; }

/* reveal on scroll (only items below the fold get .rv, set by main.js) */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Keyframes
   ========================================================================== */

@keyframes takeoff { 0% { transform: translateX(0); opacity: 1; } 45% { transform: translateX(26px); opacity: 0; } 46% { transform: translateX(-26px); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
@keyframes glint { 0% { transform: translateX(-120%) skewX(-18deg); } 22%, 100% { transform: translateX(320%) skewX(-18deg); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes bob { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-4px, 4px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit { from { transform: rotate(0deg) translateX(34px) rotate(90deg); } to { transform: rotate(360deg) translateX(34px) rotate(90deg); } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.35); opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: .15; } 10%, 30% { opacity: 1; } }
@keyframes fly { from { transform: translateX(-60px); } to { transform: translateX(calc(100vw + 60px)); } }
@keyframes target { 0% { box-shadow: 0 0 0 0 rgba(22, 199, 213, 0); } 30% { box-shadow: 0 0 0 10px rgba(22, 199, 213, .16); } 100% { box-shadow: 0 0 0 0 rgba(22, 199, 213, 0); } }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Laptop 1024–1439 */
@media (max-width: 1279px) {
	.main-navigation a { padding-inline: 9px; font-size: 14px; }
	.main-navigation a .ico { display: none; }
	.content-layout { grid-template-columns: minmax(0, 1fr) 280px; }
}

/* below laptop: burger + one column */
@media (max-width: 1023px) {
	:root { --hdr: 62px; }

	.burger { display: flex; margin-left: 0; }
	.site-header__in { gap: 10px; }
	.site-header__cta { margin-left: auto; min-height: 44px; padding: 8px 14px 8px 10px; font-size: 15px; }
	.main-navigation {
		position: fixed;
		left: 0;
		right: 0;
		top: var(--hdr-total, var(--hdr));
		z-index: 99;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		max-height: calc(100dvh - var(--hdr-total, var(--hdr)));
		margin: 0;
		padding: 12px var(--gutter) 22px;
		overflow-y: auto;
		background: var(--navy-2);
		border-bottom: 1px solid var(--dark-line);
		box-shadow: 0 24px 40px rgba(0, 0, 0, .45);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
	}
	.main-navigation.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s;
	}
	.main-navigation a { padding: 14px 12px; font-size: 16px; border-bottom: 1px solid var(--dark-line); border-radius: 0; }
	.main-navigation a .ico { display: block; }
	.lsw--hdr { display: none; }
	.lsw--menu {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 6px;
		margin-top: 14px;
	}
	.main-navigation .lsw__a {
		justify-content: center;
		min-height: 44px;
		padding: 8px;
		border: 1px solid var(--dark-line);
		border-radius: 10px;
		font-size: 13px;
	}
	.main-navigation .lsw__a::after { display: none; }
	.main-navigation .lsw__a[aria-current] { color: var(--navy); border-color: var(--teal); }
	.lsw--menu .lsw__n { display: inline; font-family: var(--font-text); letter-spacing: 0; }
	.main-navigation a::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; transform: scaleY(0); }
	.main-navigation a:hover::after,
	.main-navigation a[aria-current='page']::after { transform: scaleY(1); }

	.hero-inner { grid-template-columns: minmax(0, 1fr); }
	.hero-visual { max-width: 640px; width: 100%; margin-inline: auto; }

	.content-layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar { position: static; }
	.sidebar .table-of-contents,
	.sidebar .games-nav { display: none !important; }
	.sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

	.footer-inner { grid-template-columns: 1fr 1fr; }
	.foot__brand { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
	.mnav { display: none !important; }
}

/* Mobile 320–767 */
@media (max-width: 767px) {
	.site-logo__tag { display: none; }
	.foot__brand .btn--play { align-self: stretch; }
	.site-logo__word { font-size: 19px; }

	.hero { padding-top: 28px; }
	.hero-interface { gap: 18px; }
	.hero-cta { width: 100%; }
	.hero-cta .btn { flex: 1 1 auto; }
	/* phones: the flight chart becomes the backdrop of the text column
	   (curve and plane top-right, dimmed) instead of a block under it */
	.hero-visual {
		position: absolute;
		top: 40px;
		right: -18px;
		z-index: -1;
		width: min(92vw, 380px);
		max-width: none;
		margin: 0;
		padding: 0;
		opacity: .55;
		pointer-events: none;
		-webkit-mask-image: linear-gradient(215deg, #000 40%, transparent 92%);
		mask-image: linear-gradient(215deg, #000 40%, transparent 92%);
	}
	.screen { border: 0; background: none; box-shadow: none; }
	.screen__bar,
	.screen__axis,
	.corner,
	.radar,
	.float-chip { display: none; }
	.hud { min-width: 0; flex: 1 1 0; padding: 8px 10px; }
	.hud__v { font-size: 19px; }
	.hud--status { flex-basis: 100%; }

	.content-layout { margin-top: -40px; }
	.article-content { border-radius: var(--radius); }

	.games-catalog { margin-inline: -8px; padding-inline: 8px; }
	.games-grid { grid-template-columns: minmax(0, 1fr); }
	.game-card__body { padding: 32px 16px 16px; }
	.game-card__actions .btn { min-height: 46px; }

	.game-review-section:not(.game-review-section--plain)::after { top: -12px; }
	.review-pager__next { margin-left: 0; }
	.review-pager a { flex: 1 1 100%; }

	.info-box, .warning-box { padding: 16px 16px 16px 50px; }
	.info-box::before, .warning-box::before { left: 16px; top: 18px; }
	.article-content blockquote { padding: 18px 18px 18px 48px; }
	.article-content blockquote::before { left: 16px; top: 22px; }

	.footer-inner { grid-template-columns: minmax(0, 1fr); }
	.foot__base { flex-direction: column; }

	.article-content .article-toc__list { columns: 1; }
	.article-toc__head { padding: 12px 14px; }
	.article-toc__nav { padding: 0 14px 12px; }
}

/* narrow phones (site copy, owner 04.11.2026: the wordmark must stay): it folds
   into two lines, CRASH over GAMES, so it fits beside «Грати» and the burger */
@media (max-width: 379px) {
	.site-header .site-logo { gap: 8px; }
	.site-header .site-logo__mark { width: 36px; height: 36px; }
	.site-header .site-logo__word { flex-direction: column; gap: 0; font-size: 15px; line-height: .95; }
	.site-header__in { gap: 8px; }
	.site-header__cta { padding: 8px 12px 8px 8px; font-size: 14px; }
}

/* Desktop 1440+ — a touch more air */
@media (min-width: 1440px) {
	.hero-title { font-size: 4.5rem; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	.radar__sweep, .band__plane, .footer-route__plane, .mini-radar__plane, .btn--play::after { animation: none !important; }
	.btn--play::after { display: none; }
	.band__plane { left: 30%; }
	.footer-route__plane { left: 52%; }
	.flight__dot { display: none; }
	.rv { opacity: 1; transform: none; }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
	.site-header, .hero, .band, .sidebar, .site-footer, .to-top { display: none !important; }
	.content-layout { display: block; margin: 0; }
	.article-content { border: 0; box-shadow: none; padding: 0; }
}
