/* ==========================================================================
   Ninos World — site stylesheet
   1. Fonts  2. Colour modes  3. Base  4. Utilities  5. Buttons
   6. Header  7. Homepage hero
   ========================================================================== */

/* 1. Fonts (self-hosted, variable weight) -------------------------------- */
@font-face {
	font-family: "Fredoka";
	src: url("../fonts/fredoka-latin.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Nunito";
	src: url("../fonts/nunito-latin.woff2") format("woff2");
	font-weight: 200 1000;
	font-style: normal;
	font-display: swap;
}

/* 2. Colour modes ---------------------------------------------------------
   Dark is the default. Light applies when <html data-theme="light">.      */
:root {
	color-scheme: dark;
	--nw-bg: #0d0824;
	--nw-bg-glow:
		radial-gradient(900px 500px at 90% 0, rgba(139, 61, 255, 0.35), transparent 60%),
		radial-gradient(700px 500px at 0 420px, rgba(47, 216, 255, 0.14), transparent 60%);
	--nw-header-bg: rgba(13, 8, 36, 0.72);
	--nw-header-bg-solid: rgba(13, 8, 36, 0.94);
	--nw-panel: #150d35;
	--nw-surface: rgba(255, 255, 255, 0.06);
	--nw-surface-2: rgba(255, 255, 255, 0.11);
	--nw-border: rgba(196, 167, 255, 0.22);
	--nw-text: #ffffff;
	--nw-muted: #cfc6ee;
	--nw-accent: #b065ff;
	--nw-eyebrow: #2fd8ff;
	--nw-logo-accent: #ffc83d;
	--nw-gradient-text: linear-gradient(90deg, #ffc83d, #ff7a59, #ff3d8b);
	--nw-btn-bg: linear-gradient(135deg, #b065ff, #7c3aed);
	--nw-btn-shadow: 0 8px 26px rgba(139, 61, 255, 0.5);
	--nw-ghost-ring: rgba(255, 255, 255, 0.8);
	--nw-shadow: 0 16px 40px rgba(4, 1, 18, 0.55);
	--nw-focus: #2fd8ff;

	--nw-purple: #7c3aed;
	--nw-cyan: #2fd8ff;
	--nw-yellow: #ffc83d;
	--nw-pink: #ff5fa2;
	--nw-font-head: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
	--nw-font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--nw-radius: 20px;
	--nw-radius-pill: 999px;
	--nw-container: 1160px;
	--nw-gutter: clamp(16px, 4vw, 32px);
	--nw-header-h: 80px;
	--nw-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
:root[data-theme="light"] {
	color-scheme: light;
	--nw-bg: #ffffff;
	--nw-bg-glow: linear-gradient(180deg, #f3ecff 0, #ffffff 620px);
	--nw-header-bg: rgba(255, 255, 255, 0.8);
	--nw-header-bg-solid: rgba(255, 255, 255, 0.96);
	--nw-panel: #ffffff;
	--nw-surface: #f6f1ff;
	--nw-surface-2: #ece3ff;
	--nw-border: #e2d8f8;
	--nw-text: #1c1340;
	--nw-muted: #5a5378;
	--nw-accent: #7c3aed;
	--nw-eyebrow: #7c3aed;
	--nw-logo-accent: #7c3aed;
	--nw-gradient-text: linear-gradient(90deg, #7c3aed, #c026d3, #ff3d8b);
	--nw-btn-bg: linear-gradient(135deg, #8b5cf6, #6d28d9);
	--nw-btn-shadow: 0 8px 22px rgba(124, 58, 237, 0.3);
	--nw-ghost-ring: #7c3aed;
	--nw-shadow: 0 16px 40px rgba(60, 20, 140, 0.12);
	--nw-focus: #6d28d9;
}

/* 3. Base ----------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--nw-header-h) + 16px);
}
body {
	margin: 0;
	min-height: 100vh;
	background: var(--nw-bg-glow), var(--nw-bg);
	background-repeat: no-repeat;
	color: var(--nw-text);
	font-family: var(--nw-font-body);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--nw-font-head);
	font-weight: 700;
	line-height: 1.12;
	margin: 0 0 0.5em;
}
a {
	color: var(--nw-accent);
}
img,
svg {
	max-width: 100%;
	height: auto;
}
:focus-visible {
	outline: 3px solid var(--nw-focus);
	outline-offset: 3px;
	border-radius: 6px;
}

/* 4. Utilities ------------------------------------------------------------ */
.nw-container {
	width: 100%;
	max-width: var(--nw-container);
	margin-inline: auto;
	padding-inline: var(--nw-gutter);
}
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.nw-skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 10px 18px;
	border-radius: var(--nw-radius-pill);
	background: var(--nw-yellow);
	color: #1a0b3d;
	font-weight: 800;
	text-decoration: none;
}
.nw-skip-link:focus {
	top: 12px;
}
.nw-icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}
.nw-main:focus {
	outline: none;
}
.nw-content {
	padding-block: 48px;
}
.nw-eyebrow {
	margin: 0 0 14px;
	color: var(--nw-eyebrow);
	font-family: var(--nw-font-head);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.nw-gradient-text {
	background: var(--nw-gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* 5. Buttons -------------------------------------------------------------- */
.nw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 46px;
	padding: 0.6em 1.5em;
	border: 0;
	border-radius: var(--nw-radius-pill);
	font-family: var(--nw-font-head);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.2s var(--nw-ease), box-shadow 0.2s var(--nw-ease), filter 0.2s, background 0.2s;
}
.nw-btn--primary {
	color: #fff;
	background: var(--nw-btn-bg);
	box-shadow: var(--nw-btn-shadow);
}
.nw-btn--primary:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
}
.nw-btn--ghost {
	color: var(--nw-text);
	background: var(--nw-surface);
	box-shadow: inset 0 0 0 2px var(--nw-ghost-ring);
}
.nw-btn--ghost:hover {
	background: var(--nw-surface-2);
	transform: translateY(-2px);
}
.nw-btn--lg {
	min-height: 54px;
	padding: 0.7em 1.8em;
	font-size: 1.08rem;
}
.nw-btn__arrow {
	transition: transform 0.2s var(--nw-ease);
}
.nw-btn:hover .nw-btn__arrow {
	transform: translateX(3px);
}

.nw-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--nw-border);
	border-radius: 50%;
	background: var(--nw-surface);
	color: var(--nw-text);
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}
.nw-icon-btn .nw-icon {
	width: 22px;
	height: 22px;
}
.nw-icon-btn:hover,
.nw-icon-btn[aria-expanded="true"] {
	background: var(--nw-surface-2);
	border-color: var(--nw-accent);
}

/* 6. Header --------------------------------------------------------------- */
.nw-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--nw-header-bg);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid transparent;
	transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.admin-bar .nw-header {
	top: 32px;
}
.nw-header.is-scrolled {
	background: var(--nw-header-bg-solid);
	border-bottom-color: var(--nw-border);
	box-shadow: var(--nw-shadow);
}
.nw-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--nw-header-h);
}

/* Logo */
.nw-header__brand {
	flex: none;
}
.nw-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--nw-text);
	text-decoration: none;
}
.nw-logo__mark {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	color: #fff;
	background: linear-gradient(145deg, #b065ff, #6d28d9);
	box-shadow: 0 6px 18px rgba(139, 61, 255, 0.45);
}
.nw-logo__mark .nw-icon {
	width: 28px;
	height: 28px;
}
.nw-logo__mark .nw-icon path[stroke="#fff"] {
	stroke: #6d28d9;
}
.nw-logo__mark .nw-icon circle {
	fill: #6d28d9;
}
.nw-logo__text {
	font-family: var(--nw-font-head);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}
.nw-logo__accent {
	color: var(--nw-logo-accent);
}
.custom-logo-link {
	display: inline-flex;
}
.custom-logo {
	max-height: 52px;
	width: auto;
}

/* Navigation (desktop) */
.nw-nav {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}
.nw-menu {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nw-menu a {
	position: relative;
	display: block;
	padding: 10px 14px;
	border-radius: var(--nw-radius-pill);
	color: var(--nw-muted);
	font-weight: 700;
	font-size: 0.98rem;
	text-decoration: none;
	transition: color 0.2s, background 0.2s;
}
.nw-menu a:hover {
	color: var(--nw-text);
	background: var(--nw-surface);
}
.nw-menu .current-menu-item > a,
.nw-menu .current_page_item > a,
.nw-menu .current-menu-ancestor > a,
.nw-menu a[aria-current="page"] {
	color: var(--nw-text);
}
.nw-menu .current-menu-item > a::after,
.nw-menu .current_page_item > a::after,
.nw-menu .current-menu-ancestor > a::after,
.nw-menu a[aria-current="page"]::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 3px;
	height: 3px;
	border-radius: 3px;
	background: var(--nw-gradient-text);
}
.nw-nav__cta-mobile {
	display: none;
}

/* Right-side actions */
.nw-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.nw-menu-toggle {
	display: none;
}
.nw-menu-toggle__close,
.nw-menu-toggle[aria-expanded="true"] .nw-menu-toggle__open {
	display: none;
}
.nw-menu-toggle[aria-expanded="true"] .nw-menu-toggle__close {
	display: block;
}

/* Dark/light switch: show the icon of the mode you would switch to */
.nw-theme-toggle__moon {
	display: none;
}
:root[data-theme="light"] .nw-theme-toggle__sun {
	display: none;
}
:root[data-theme="light"] .nw-theme-toggle__moon {
	display: block;
}

/* Search panel */
.nw-search {
	padding-block: 16px;
	border-top: 1px solid var(--nw-border);
}
.nw-search .search-form {
	display: flex;
	gap: 10px;
	max-width: 640px;
	margin-inline: auto;
}
.nw-search label {
	flex: 1;
}
.nw-search .search-field {
	width: 100%;
	min-height: 48px;
	padding: 0 20px;
	border: 1px solid var(--nw-border);
	border-radius: var(--nw-radius-pill);
	background: var(--nw-surface);
	color: var(--nw-text);
	font: inherit;
}
.nw-search .search-field::placeholder {
	color: var(--nw-muted);
}
.nw-search .search-submit {
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: var(--nw-radius-pill);
	background: var(--nw-btn-bg);
	color: #fff;
	font-family: var(--nw-font-head);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
}

/* Tablet & phone: collapse the menu into a panel */
@media (max-width: 1080px) {
	.nw-menu-toggle {
		display: inline-grid;
	}
	.nw-header__actions {
		margin-left: auto;
	}
	.nw-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: block;
		padding: 12px var(--nw-gutter) 24px;
		background: var(--nw-panel);
		border-bottom: 1px solid var(--nw-border);
		box-shadow: var(--nw-shadow);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.2s, transform 0.2s var(--nw-ease), visibility 0s linear 0.2s;
		max-height: calc(100vh - var(--nw-header-h));
		overflow-y: auto;
	}
	.nw-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity 0.2s, transform 0.2s var(--nw-ease);
	}
	.nw-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}
	.nw-menu a {
		padding: 13px 18px;
		font-size: 1.05rem;
	}
	.nw-menu .current-menu-item > a,
	.nw-menu .current_page_item > a,
	.nw-menu a[aria-current="page"] {
		background: var(--nw-surface-2);
	}
	.nw-menu a::after {
		display: none;
	}
}

@media (max-width: 640px) {
	:root {
		--nw-header-h: 66px;
	}
	.nw-header__inner {
		gap: 10px;
	}
	.nw-header__cta {
		display: none;
	}
	.nw-nav__cta-mobile {
		display: flex;
		width: 100%;
		margin-top: 14px;
	}
	.nw-logo__mark {
		width: 38px;
		height: 38px;
		border-radius: 11px;
	}
	.nw-logo__mark .nw-icon {
		width: 24px;
		height: 24px;
	}
	.nw-logo__text {
		font-size: 1.2rem;
	}
	.nw-header__actions {
		gap: 6px;
	}
	.nw-icon-btn {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 782px) {
	.admin-bar .nw-header {
		top: 46px;
	}
}
@media (max-width: 600px) {
	.admin-bar .nw-header {
		top: 0;
	}
}

/* 6b. Top banner -------------------------------------------------------- */
.nw-topbar {
	position: relative;
	z-index: 101;
	color: #fff;
	background: linear-gradient(90deg, #6a25e0, #8b3dff 45%, #ff3d8b);
	font-size: 0.92rem;
	font-weight: 700;
}
.nw-topbar[hidden] {
	display: none;
}
.nw-topbar__inner {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
}
.nw-topbar__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	animation: nw-topbar-wiggle 3.5s ease-in-out infinite;
}
.nw-topbar__icon .nw-icon {
	width: 15px;
	height: 15px;
}
@keyframes nw-topbar-wiggle {
	0%, 80%, 100% { transform: rotate(0); }
	85% { transform: rotate(-18deg); }
	92% { transform: rotate(14deg); }
}
.nw-topbar__viewport {
	position: relative;
	flex: 1;
	min-width: 0;
	height: 40px;
	overflow: hidden;
}
.nw-topbar__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.nw-topbar__msg {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	opacity: 0;
	transform: translateY(100%);
	transition: transform 0.55s var(--nw-ease), opacity 0.55s var(--nw-ease);
}
.nw-topbar__msg.is-active {
	opacity: 1;
	transform: none;
}
.nw-topbar__msg.is-leaving {
	opacity: 0;
	transform: translateY(-100%);
}
.nw-topbar__msg span,
.nw-topbar__msg a {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.nw-topbar__msg a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.nw-topbar__msg a .nw-icon {
	flex: none;
	width: 15px;
	height: 15px;
}
.nw-topbar__close {
	display: grid;
	place-items: center;
	flex: none;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
}
.nw-topbar__close:hover {
	background: rgba(255, 255, 255, 0.18);
}
.nw-topbar__close .nw-icon {
	width: 16px;
	height: 16px;
}
@media (max-width: 640px) {
	.nw-topbar {
		font-size: 0.8rem;
	}
	.nw-topbar__msg span,
	.nw-topbar__msg a {
		white-space: normal;
		line-height: 1.25;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}
	.nw-topbar__viewport,
	.nw-topbar__inner {
		height: 44px;
		min-height: 44px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.nw-topbar__icon {
		animation: none;
	}
}

/* 7. Homepage hero */
.nw-hero {
	padding-block: clamp(56px, 9vw, 104px) clamp(48px, 7vw, 84px);
	text-align: center;
}
.nw-hero__title {
	max-width: 15em;
	margin: 0 auto 22px;
	font-size: clamp(2.2rem, 5.6vw, 3.9rem);
	line-height: 1.1;
	text-wrap: balance;
}
.nw-hero__text {
	max-width: 36em;
	margin: 0 auto 32px;
	color: var(--nw-muted);
	font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}
.nw-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}
@keyframes nw-fade-up {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}
.nw-hero__inner > * {
	animation: nw-fade-up 0.7s var(--nw-ease) both;
}
.nw-hero__inner > :nth-child(2) { animation-delay: 0.07s; }
.nw-hero__inner > :nth-child(3) { animation-delay: 0.14s; }
.nw-hero__inner > :nth-child(4) { animation-delay: 0.21s; }

@media (max-width: 480px) {
	.nw-hero__buttons .nw-btn {
		width: 100%;
	}
}

/* 8. Sections (shared) ---------------------------------------------------- */
.nw-section {
	padding-block: clamp(56px, 8vw, 92px);
}
.nw-section__title {
	margin: 0 0 16px;
	font-size: clamp(1.8rem, 3.6vw, 2.4rem);
}
.nw-admin-hint {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	padding: 6px 14px;
	border-radius: var(--nw-radius-pill);
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.nw-admin-hint:hover {
	background: var(--nw-purple);
}

/* 9. Company numbers ------------------------------------------------------ */
.nw-stats__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin: 0;
}
.nw-stat {
	flex: 1 1 200px;
	max-width: 275px;
	display: flex;
	flex-direction: column-reverse;
	padding: 26px 20px;
	border: 1px solid var(--nw-border);
	border-radius: var(--nw-radius);
	background: var(--nw-surface);
	text-align: center;
}
:root[data-theme="light"] .nw-stat {
	background: #fff;
	box-shadow: var(--nw-shadow);
}
.nw-stat__number {
	margin: 0;
	font-family: var(--nw-font-head);
	font-size: clamp(2.2rem, 4.4vw, 2.9rem);
	font-weight: 700;
	line-height: 1;
	color: var(--nw-stat-color, var(--nw-accent));
}
.nw-stat__label {
	margin-top: 6px;
	color: var(--nw-muted);
	font-weight: 700;
}
.nw-stat--1 { --nw-stat-color: #b065ff; }
.nw-stat--2 { --nw-stat-color: #2fd8ff; }
.nw-stat--3 { --nw-stat-color: #ffc83d; }
.nw-stat--4 { --nw-stat-color: #ff5fa2; }
:root[data-theme="light"] .nw-stat--1 { --nw-stat-color: #7c3aed; }
:root[data-theme="light"] .nw-stat--2 { --nw-stat-color: #0e8fb3; }
:root[data-theme="light"] .nw-stat--3 { --nw-stat-color: #c97a00; }
:root[data-theme="light"] .nw-stat--4 { --nw-stat-color: #db2777; }

/* 10. Who we are ---------------------------------------------------------- */
.nw-about__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 64px);
}
.nw-about__media {
	position: relative;
}
.nw-about__image,
.nw-about__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 24px;
}
.nw-about__image {
	height: auto;
	object-fit: cover;
	box-shadow: var(--nw-shadow);
}
.nw-about__placeholder {
	display: grid;
	place-items: center;
	border: 1px solid var(--nw-border);
	background:
		radial-gradient(closest-side, rgba(176, 101, 255, 0.45), transparent),
		linear-gradient(135deg, rgba(47, 216, 255, 0.14), rgba(255, 95, 162, 0.14)),
		var(--nw-surface);
}
.nw-about__placeholder .nw-icon {
	width: 34%;
	height: auto;
	color: var(--nw-accent);
	opacity: 0.9;
}
.nw-about__text {
	margin-bottom: 26px;
	color: var(--nw-muted);
	font-size: 1.08rem;
}
.nw-about__text p {
	margin: 0 0 1em;
}
@media (max-width: 900px) {
	.nw-about__inner {
		grid-template-columns: 1fr;
	}
}
/* 11. Our Services -------------------------------------------------------- */
.nw-section--alt {
	border-block: 1px solid var(--nw-border);
	background: var(--nw-surface);
}
:root:not([data-theme="light"]) .nw-section--alt {
	background: rgba(255, 255, 255, 0.03);
}
.nw-section__head {
	margin-bottom: clamp(26px, 4vw, 40px);
	text-align: center;
}
.nw-section__head .nw-section__title {
	margin-bottom: 0;
}
.nw-services__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nw-service {
	padding: 30px 28px;
	border: 1px solid var(--nw-border);
	border-top: 3px solid var(--nw-service-color, var(--nw-accent));
	border-radius: var(--nw-radius);
	background: var(--nw-surface);
	transition: transform 0.25s var(--nw-ease), box-shadow 0.25s var(--nw-ease);
}
:root[data-theme="light"] .nw-service {
	background: #fff;
}
.nw-service:hover {
	transform: translateY(-4px);
	box-shadow: var(--nw-shadow);
}
.nw-service__number {
	display: block;
	font-family: var(--nw-font-head);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1;
	color: var(--nw-service-color, var(--nw-accent));
}
.nw-service__title {
	margin: 12px 0 8px;
	font-size: 1.35rem;
}
.nw-service__text {
	margin: 0;
	color: var(--nw-muted);
}
.nw-service--1 { --nw-service-color: #b065ff; }
.nw-service--2 { --nw-service-color: #2fd8ff; }
.nw-service--3 { --nw-service-color: #ffc83d; }
:root[data-theme="light"] .nw-service--1 { --nw-service-color: #7c3aed; }
:root[data-theme="light"] .nw-service--2 { --nw-service-color: #0e8fb3; }
:root[data-theme="light"] .nw-service--3 { --nw-service-color: #c97a00; }

/* 12. Our Games ----------------------------------------------------------- */
.nw-section__lead {
	max-width: 40em;
	margin: 12px auto 0;
	color: var(--nw-muted);
}
.nw-games__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: clamp(16px, 2.4vw, 26px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.nw-game__link {
	display: block;
	color: var(--nw-text);
	text-align: center;
	text-decoration: none;
}
.nw-game__icon {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	margin-bottom: 12px;
	border-radius: 24%;
	overflow: hidden;
	background: linear-gradient(140deg, #b065ff, #5b1fd1);
	color: #fff;
	box-shadow: var(--nw-shadow);
	transition: transform 0.25s var(--nw-ease);
}
.nw-game__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.nw-game__icon .nw-icon {
	width: 54%;
	height: auto;
}
.nw-game__link:hover .nw-game__icon {
	transform: translateY(-5px) scale(1.03);
}
.nw-game__name {
	display: block;
	font-family: var(--nw-font-head);
	font-weight: 600;
	line-height: 1.25;
	overflow-wrap: anywhere;
}
.nw-game__genre {
	display: block;
	margin-top: 2px;
	color: var(--nw-muted);
	font-size: 0.88rem;
}
.nw-games__more {
	margin: clamp(28px, 4vw, 40px) 0 0;
	text-align: center;
}
.nw-empty-note {
	max-width: 520px;
	margin: 0 auto;
	padding: 22px;
	border: 2px dashed var(--nw-border);
	border-radius: var(--nw-radius);
	color: var(--nw-muted);
	text-align: center;
}
@media (max-width: 600px) {
	.nw-games__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.nw-game__name {
		font-size: 0.9rem;
	}
	.nw-game__genre {
		font-size: 0.78rem;
	}
}

/* 12b. Inner page header, games list and game page ------------------------ */
.nw-page-head {
	padding-block: clamp(40px, 7vw, 76px) clamp(24px, 4vw, 40px);
	text-align: center;
}
.nw-page-head__title {
	margin: 0;
	font-size: clamp(2rem, 4.6vw, 3.1rem);
	overflow-wrap: anywhere;
}
.nw-page-head__lead {
	max-width: 40em;
	margin: 14px auto 0;
	color: var(--nw-muted);
	font-size: 1.1rem;
}
.nw-page-body {
	padding-bottom: clamp(56px, 8vw, 92px);
}
.nw-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: clamp(26px, 4vw, 40px);
}
.nw-chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 6px 18px;
	border: 1px solid var(--nw-border);
	border-radius: var(--nw-radius-pill);
	background: var(--nw-surface);
	color: var(--nw-muted);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nw-chip:hover {
	color: var(--nw-text);
	border-color: var(--nw-accent);
}
.nw-chip.is-active {
	border-color: transparent;
	background: var(--nw-btn-bg);
	color: #fff;
}
.navigation.pagination {
	margin-top: clamp(30px, 5vw, 48px);
}
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--nw-border);
	border-radius: var(--nw-radius-pill);
	background: var(--nw-surface);
	color: var(--nw-text);
	font-weight: 700;
	text-decoration: none;
}
.pagination .page-numbers.current {
	border-color: transparent;
	background: var(--nw-btn-bg);
	color: #fff;
}

.nw-game-head {
	text-align: left;
}
.nw-game-head__inner {
	display: flex;
	align-items: center;
	gap: clamp(20px, 4vw, 40px);
}
.nw-game-head__icon {
	flex: none;
	width: clamp(120px, 18vw, 180px);
	margin: 0;
}
.nw-game-head__text {
	min-width: 0;
}
.nw-game-head__genres {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}
.nw-game-head__genres .nw-chip {
	min-height: 32px;
	padding: 2px 14px;
	font-size: 0.85rem;
}
.nw-game-head .nw-page-head__lead {
	margin-inline: 0;
}
.nw-stores {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}
.nw-store {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 8px 20px 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 14px;
	background: #0b0b12;
	color: #fff;
	font-family: var(--nw-font-head);
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.1;
	text-decoration: none;
	transition: transform 0.2s var(--nw-ease), box-shadow 0.2s var(--nw-ease);
}
.nw-store:hover {
	transform: translateY(-2px);
	box-shadow: var(--nw-shadow);
}
.nw-store .nw-icon {
	width: 26px;
	height: 26px;
	color: var(--nw-cyan);
}
.nw-store small {
	display: block;
	font-family: var(--nw-font-body);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.8;
}
.nw-prose {
	max-width: 760px;
	margin-inline: auto;
	font-size: 1.08rem;
}
.nw-game-page .nw-prose {
	margin-inline: 0;
}
.nw-prose h2 {
	margin-top: 0;
	font-size: 1.6rem;
}
.nw-prose p,
.nw-prose li {
	color: var(--nw-muted);
}
.nw-prose img {
	border-radius: 16px;
}
@media (max-width: 600px) {
	.nw-game-head {
		text-align: center;
	}
	.nw-game-head__inner {
		flex-direction: column;
	}
	.nw-game-head__genres,
	.nw-game-head .nw-stores {
		justify-content: center;
	}
	.nw-game-head .nw-page-head__lead {
		margin-inline: auto;
	}
}

/* 12c. Pages, news and contact -------------------------------------------- */
.nw-prose h2,
.nw-prose h3 {
	margin-top: 1.6em;
}
.nw-prose > :first-child {
	margin-top: 0;
}
.nw-prose a {
	text-underline-offset: 3px;
}
.nw-prose img {
	max-width: 100%;
	height: auto;
}
.nw-post__image {
	display: block;
	width: 100%;
	margin-bottom: 28px;
}
.nw-post__back {
	margin-top: 40px;
}
.nw-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}
.nw-post-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--nw-border);
	border-radius: var(--nw-radius);
	background: var(--nw-surface);
	overflow: hidden;
	transition: transform 0.25s var(--nw-ease), box-shadow 0.25s var(--nw-ease);
}
:root[data-theme="light"] .nw-post-card {
	background: #fff;
}
.nw-post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--nw-shadow);
}
.nw-post-card__media {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	background: linear-gradient(140deg, #6a25e0, #b065ff);
	color: #fff;
}
.nw-post-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.nw-post-card__media .nw-icon {
	width: 64px;
	height: 64px;
}
.nw-post-card__body {
	padding: 20px 22px 24px;
}
.nw-post-card__date {
	color: var(--nw-eyebrow);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}
.nw-post-card__title {
	margin: 6px 0 8px;
	font-size: 1.25rem;
	overflow-wrap: anywhere;
}
.nw-post-card__title a {
	color: var(--nw-text);
	text-decoration: none;
}
.nw-post-card__title a:hover {
	text-decoration: underline;
}
.nw-post-card__excerpt {
	margin: 0;
	color: var(--nw-muted);
}

.nw-contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(28px, 5vw, 60px);
	align-items: start;
}
.nw-contact__info {
	margin: 0;
}
.nw-form {
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid var(--nw-border);
	border-radius: var(--nw-radius);
	background: var(--nw-surface);
}
:root[data-theme="light"] .nw-form {
	background: #fff;
	box-shadow: var(--nw-shadow);
}
.nw-form p {
	margin: 0 0 18px;
}
.nw-form p:last-child {
	margin-bottom: 0;
}
.nw-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
}
.nw-form input[type="text"],
.nw-form input[type="email"],
.nw-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--nw-border);
	border-radius: 12px;
	background: var(--nw-bg);
	color: var(--nw-text);
	font: inherit;
}
.nw-form textarea {
	resize: vertical;
}
.nw-form__hp {
	position: absolute;
	left: -9999px;
}
.nw-form__notice {
	padding: 12px 16px;
	border-radius: 12px;
	font-weight: 700;
}
.nw-form__notice--ok {
	background: rgba(46, 204, 113, 0.16);
	border: 1px solid rgba(46, 204, 113, 0.6);
}
.nw-form__notice--error {
	background: rgba(255, 95, 110, 0.14);
	border: 1px solid rgba(255, 95, 110, 0.6);
}
@media (max-width: 800px) {
	.nw-contact {
		grid-template-columns: 1fr;
	}
}

/* 12d. Pop-up form ------------------------------------------------------- */
.nw-modal {
	width: min(720px, calc(100vw - 32px));
	max-height: calc(100dvh - 32px);
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid var(--nw-border);
	border-radius: 24px;
	background: var(--nw-panel);
	color: var(--nw-text);
	box-shadow: 0 30px 80px rgba(4, 1, 18, 0.6);
	overflow-y: auto;
}
:root[data-theme="light"] .nw-modal {
	background: #fff;
}
.nw-modal::backdrop {
	background: rgba(8, 2, 28, 0.78);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.nw-modal[open] {
	animation: nw-fade-up 0.3s var(--nw-ease) both;
}
.nw-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
}
.nw-modal__title {
	margin: 0 48px 6px;
	font-size: clamp(1.6rem, 3.6vw, 2.1rem);
	text-align: center;
}
.nw-modal__text {
	margin: 0 0 22px;
	color: var(--nw-muted);
	text-align: center;
}
.nw-form--modal {
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}
:root[data-theme="light"] .nw-form--modal {
	background: none;
	box-shadow: none;
}
.nw-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 18px;
}
.nw-form__full {
	grid-column: 1 / -1;
}
.nw-form__grid {
	margin-bottom: 14px;
}
.nw-form label span {
	color: var(--nw-pink);
}
.nw-form input[type="url"],
.nw-form select {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--nw-border);
	border-radius: 12px;
	background: var(--nw-bg);
	color: var(--nw-text);
	font: inherit;
}
.nw-form select {
	min-height: 49px;
}
.nw-form__small {
	color: var(--nw-muted);
	font-size: 0.9rem;
	text-align: center;
}
.nw-form__actions {
	text-align: center;
}
.nw-form__actions .nw-btn {
	min-width: 200px;
}
@media (max-width: 600px) {
	.nw-form__grid {
		grid-template-columns: 1fr;
	}
}

/* 12e. Careers ----------------------------------------------------------- */
.nw-careers-hero {
	padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px);
}
.nw-careers-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 64px);
}
.nw-careers-hero__title {
	margin: 0 0 18px;
	font-size: clamp(2.2rem, 5.2vw, 3.6rem);
	line-height: 1.08;
	text-wrap: balance;
}
.nw-careers-hero__text {
	max-width: 34em;
	margin: 0 0 30px;
	color: var(--nw-muted);
	font-size: clamp(1.05rem, 1.5vw, 1.18rem);
}
.nw-careers-hero .nw-hero__buttons {
	justify-content: flex-start;
}
.nw-btn__arrow--down {
	transform: rotate(90deg);
}
.nw-btn:hover .nw-btn__arrow--down {
	transform: rotate(90deg) translateX(3px);
}
.nw-careers-hero__media {
	position: relative;
	display: flex;
	justify-content: center;
}
.nw-careers-hero__image,
.nw-careers-hero__placeholder {
	display: block;
	width: min(100%, 420px);
	aspect-ratio: 1;
	border-radius: 50%;
}
.nw-careers-hero__image {
	height: auto;
	object-fit: cover;
	box-shadow: var(--nw-shadow);
}
.nw-careers-hero__placeholder {
	position: relative;
	display: grid;
	place-items: center;
	border: 1px solid var(--nw-border);
	background:
		radial-gradient(closest-side, rgba(176, 101, 255, 0.5), transparent),
		linear-gradient(135deg, rgba(47, 216, 255, 0.18), rgba(255, 95, 162, 0.18)),
		var(--nw-surface);
}
.nw-careers-hero__main-icon {
	width: 42%;
	height: auto;
	color: var(--nw-accent);
}
.nw-careers-hero__orbit {
	position: absolute;
	display: grid;
	place-items: center;
	width: 22%;
	aspect-ratio: 1;
	border-radius: 30%;
	color: #fff;
	box-shadow: var(--nw-shadow);
	animation: nw-bob 6s ease-in-out infinite;
}
.nw-careers-hero__orbit .nw-icon {
	width: 52%;
	height: auto;
}
.nw-careers-hero__orbit--1 { top: 6%; left: 8%; background: linear-gradient(140deg, #b065ff, #6d28d9); }
.nw-careers-hero__orbit--2 { top: 14%; right: 4%; background: linear-gradient(140deg, #ff7a9a, #db2777); animation-delay: -2s; }
.nw-careers-hero__orbit--3 { bottom: 8%; right: 16%; background: linear-gradient(140deg, #ffd45c, #f59e0b); animation-delay: -4s; }
@keyframes nw-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

.nw-benefits {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nw-benefit {
	padding: 30px 28px;
	border: 1px solid var(--nw-border);
	border-radius: var(--nw-radius);
	background: var(--nw-surface);
	transition: transform 0.25s var(--nw-ease), box-shadow 0.25s var(--nw-ease);
}
:root[data-theme="light"] .nw-benefit {
	background: #fff;
}
.nw-benefit:hover {
	transform: translateY(-4px);
	box-shadow: var(--nw-shadow);
}
.nw-benefit__icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin-bottom: 16px;
	border-radius: 16px;
	color: #fff;
	background: var(--nw-benefit-bg);
}
.nw-benefit__icon .nw-icon {
	width: 28px;
	height: 28px;
}
.nw-benefit--1 { --nw-benefit-bg: linear-gradient(140deg, #b065ff, #6d28d9); }
.nw-benefit--2 { --nw-benefit-bg: linear-gradient(140deg, #2fd8ff, #0e7fa8); }
.nw-benefit--3 { --nw-benefit-bg: linear-gradient(140deg, #ffd45c, #f59e0b); }
.nw-benefit--4 { --nw-benefit-bg: linear-gradient(140deg, #ff7a9a, #db2777); }
.nw-benefit__title {
	margin: 0 0 8px;
	font-size: 1.3rem;
}
.nw-benefit__text {
	margin: 0;
	color: var(--nw-muted);
}

.nw-careers-intro {
	padding-bottom: 0;
}
.nw-jobs {
	display: grid;
	gap: 14px;
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.nw-job {
	display: flex;
	align-items: center;
	gap: 16px 24px;
	padding: 20px 24px;
	border: 1px solid var(--nw-border);
	border-left: 4px solid var(--nw-accent);
	border-radius: 16px;
	background: var(--nw-surface);
	transition: transform 0.2s var(--nw-ease), box-shadow 0.2s var(--nw-ease);
}
:root[data-theme="light"] .nw-job {
	background: #fff;
}
.nw-job:hover {
	transform: translateX(4px);
	box-shadow: var(--nw-shadow);
}
.nw-job__info {
	flex: 1;
	min-width: 0;
}
.nw-job__title {
	margin: 0;
	font-size: 1.2rem;
	overflow-wrap: anywhere;
}
.nw-job__title a {
	color: var(--nw-text);
	text-decoration: none;
}
.nw-job__meta {
	margin: 4px 0 0;
	color: var(--nw-muted);
	font-size: 0.95rem;
}
.nw-job__apply {
	flex: none;
}
.nw-positions .nw-empty-note {
	max-width: 640px;
}

.nw-careers-cta-wrap {
	padding-top: 0;
}
.nw-careers-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	padding: clamp(26px, 4vw, 40px) clamp(24px, 4vw, 48px);
	border-radius: 26px;
	color: #fff;
	background: linear-gradient(120deg, #6a25e0, #8b3dff 55%, #ff3d8b);
	box-shadow: var(--nw-btn-shadow);
}
.nw-careers-cta__title {
	margin: 0 0 6px;
	font-size: clamp(1.5rem, 3vw, 2rem);
}
.nw-careers-cta__text {
	margin: 0;
	opacity: 0.92;
}

.nw-back-link {
	color: inherit;
	text-decoration: none;
}
.nw-back-link:hover {
	text-decoration: underline;
}
.nw-job-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 18px 0 0;
}
.nw-job-tags .nw-chip {
	gap: 6px;
}
.nw-job-tags .nw-icon {
	width: 18px;
	height: 18px;
	color: var(--nw-accent);
}
.nw-job-page .nw-page-head .nw-hero__buttons {
	margin: 26px 0 0;
}
.nw-apply__inner {
	max-width: 760px;
}

@media (max-width: 900px) {
	.nw-careers-hero__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.nw-careers-hero__text {
		margin-inline: auto;
	}
	.nw-careers-hero .nw-hero__buttons {
		justify-content: center;
	}
	.nw-careers-hero__media {
		order: -1;
	}
	.nw-careers-hero__image,
	.nw-careers-hero__placeholder {
		width: min(70%, 320px);
	}
}
@media (max-width: 600px) {
	.nw-job {
		flex-direction: column;
		align-items: stretch;
	}
	.nw-job__apply {
		width: 100%;
	}
	.nw-careers-cta {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
	.nw-careers-cta .nw-btn {
		width: 100%;
	}
}

/* 12f. Games page -------------------------------------------------------- */
.nw-gp-hero {
	padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px);
}
.nw-gp-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 64px);
}
.nw-gp-hero__content > * {
	animation: nw-fade-up 0.7s var(--nw-ease) both;
}
.nw-gp-hero__content > :nth-child(2) { animation-delay: 0.07s; }
.nw-gp-hero__content > :nth-child(3) { animation-delay: 0.14s; }
.nw-gp-hero__content > :nth-child(4) { animation-delay: 0.21s; }
.nw-gp-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nw-gp-stats li {
	padding: 12px 20px;
	border: 1px solid var(--nw-border);
	border-radius: 16px;
	background: var(--nw-surface);
	line-height: 1.15;
}
:root[data-theme="light"] .nw-gp-stats li {
	background: #fff;
}
.nw-gp-stats strong {
	display: block;
	font-family: var(--nw-font-head);
	font-size: 1.8rem;
	color: var(--nw-stat-color, var(--nw-accent));
}
.nw-gp-stats span {
	color: var(--nw-muted);
	font-weight: 700;
	font-size: 0.92rem;
}
.nw-gp-stats .nw-stat--1 { --nw-stat-color: #b065ff; }
.nw-gp-stats .nw-stat--2 { --nw-stat-color: #2fd8ff; }
.nw-gp-stats .nw-stat--3 { --nw-stat-color: #ffc83d; }
.nw-gp-stats .nw-stat--4 { --nw-stat-color: #ff5fa2; }
:root[data-theme="light"] .nw-gp-stats .nw-stat--1 { --nw-stat-color: #7c3aed; }
:root[data-theme="light"] .nw-gp-stats .nw-stat--2 { --nw-stat-color: #0e8fb3; }

.nw-gp-hero__media {
	display: flex;
	justify-content: center;
}
.nw-gp-hero__image {
	width: min(100%, 480px);
	height: auto;
	border-radius: 28px;
	box-shadow: var(--nw-shadow);
}
.nw-gp-collage {
	position: relative;
	width: min(100%, 440px);
	aspect-ratio: 1;
}
.nw-gp-collage__glow {
	position: absolute;
	inset: 8%;
	border-radius: 50%;
	border: 1px solid var(--nw-border);
	background:
		radial-gradient(closest-side, rgba(176, 101, 255, 0.5), transparent),
		linear-gradient(135deg, rgba(47, 216, 255, 0.16), rgba(255, 95, 162, 0.16));
}
.nw-gp-collage__icon {
	position: absolute;
	display: grid;
	place-items: center;
	width: 30%;
	aspect-ratio: 1;
	border-radius: 24%;
	overflow: hidden;
	background: linear-gradient(140deg, #b065ff, #5b1fd1);
	color: #fff;
	box-shadow: 0 18px 40px rgba(4, 1, 18, 0.45);
	animation: nw-bob 6s ease-in-out infinite;
}
.nw-gp-collage__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.nw-gp-collage__icon--empty .nw-icon {
	width: 56%;
	height: auto;
}
/* Positions for up to six icons; the first one is the big centre icon. */
.nw-gp-collage__icon--1 { width: 40%; top: 30%; left: 30%; z-index: 2; animation-duration: 7s; }
.nw-gp-collage__icon--2 { top: 4%; left: 8%; animation-delay: -1s; }
.nw-gp-collage__icon--3 { top: 8%; right: 4%; width: 26%; animation-delay: -3s; }
.nw-gp-collage__icon--4 { bottom: 6%; left: 4%; width: 26%; animation-delay: -2s; }
.nw-gp-collage__icon--5 { bottom: 2%; right: 12%; animation-delay: -4s; }
.nw-gp-collage__icon--6 { top: 42%; right: -2%; width: 20%; animation-delay: -5s; }
.nw-gp-collage--1 .nw-gp-collage__icon--1 { width: 46%; top: 27%; left: 27%; }

.nw-showcase__list {
	display: grid;
	gap: clamp(36px, 6vw, 72px);
}
.nw-showcase__item {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 5vw, 60px);
}
.nw-showcase__item--flip .nw-showcase__art {
	order: 2;
}
.nw-showcase__art {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	border-radius: 24px;
	overflow: hidden;
	background: linear-gradient(140deg, #6a25e0, #b065ff);
	box-shadow: var(--nw-shadow);
	transition: transform 0.35s var(--nw-ease);
}
.nw-showcase__art:hover {
	transform: translateY(-6px) rotate(-0.6deg);
}
.nw-showcase__banner {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.nw-showcase__blur {
	position: absolute;
	inset: -20%;
	background-size: cover;
	background-position: center;
	filter: blur(38px) saturate(1.4);
	opacity: 0.85;
	transform: scale(1.1);
}
.nw-showcase__icon {
	position: relative;
	width: 34%;
	height: auto;
	aspect-ratio: 1;
	border-radius: 24%;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
	transition: transform 0.35s var(--nw-ease);
}
.nw-showcase__art:hover .nw-showcase__icon {
	transform: scale(1.06) rotate(-3deg);
}
.nw-showcase__placeholder {
	width: 30%;
	height: auto;
	color: #fff;
}
.nw-showcase__genre {
	min-height: 32px;
	padding: 2px 14px;
	font-size: 0.85rem;
}
.nw-showcase__title {
	margin: 12px 0 10px;
	font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}
.nw-showcase__title a {
	color: var(--nw-text);
	text-decoration: none;
}
.nw-showcase__text {
	margin: 0 0 22px;
	color: var(--nw-muted);
	font-size: 1.06rem;
}
.nw-showcase__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.nw-showcase__actions .nw-stores {
	margin: 0;
}

.nw-reviews {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nw-review {
	padding: 26px 26px 22px;
	border: 1px solid var(--nw-border);
	border-radius: var(--nw-radius);
	background: var(--nw-surface);
}
:root[data-theme="light"] .nw-review {
	background: #fff;
}
.nw-review__stars {
	display: flex;
	gap: 2px;
	color: var(--nw-yellow);
}
.nw-review__stars .nw-icon {
	width: 20px;
	height: 20px;
}
.nw-review__text {
	margin: 12px 0 16px;
	font-size: 1.05rem;
}
.nw-review__text p {
	margin: 0;
}
.nw-review__text p::before { content: "\201C"; }
.nw-review__text p::after { content: "\201D"; }
.nw-review__who {
	margin: 0;
	line-height: 1.3;
}
.nw-review__who strong {
	display: block;
}
.nw-review__who span {
	color: var(--nw-muted);
	font-size: 0.9rem;
}

@media (max-width: 900px) {
	.nw-gp-hero__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.nw-gp-hero__media {
		order: -1;
	}
	.nw-gp-collage {
		width: min(78%, 340px);
	}
	.nw-gp-stats {
		justify-content: center;
	}
	.nw-showcase__item,
	.nw-showcase__item--flip {
		grid-template-columns: 1fr;
	}
	.nw-showcase__item--flip .nw-showcase__art {
		order: 0;
	}
}

/* 12g. Showcase slideshow and screenshot gallery ------------------------- */
.nw-showcase__art--slides {
	place-items: stretch;
	background: var(--nw-surface);
}
.nw-slides {
	position: absolute;
	inset: 0;
	overflow: hidden;
	touch-action: pan-y;
}
.nw-slides__track {
	display: flex;
	height: 100%;
	transition: transform 0.7s var(--nw-ease);
}
.nw-slides__slide {
	flex: 0 0 100%;
	height: 100%;
	overflow: hidden;
}
/* Pictures fill the box. object-fit: cover keeps their real shape (never
   stretched); only a thin edge is trimmed if the shapes differ slightly. */
.nw-slides__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	user-select: none;
	-webkit-user-drag: none;
}
/* Three tall screenshots: three equal columns filling the box. */
.nw-slides__slide--trio {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: minmax(0, 1fr);
	gap: 6px;
}
.nw-slides__slide--trio .nw-slides__img {
	min-height: 0;
}
.nw-slides__slide--trio .nw-slides__img {
	object-position: center top;
}
.nw-slides__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(13, 8, 36, 0.55);
	color: #fff;
	cursor: pointer;
	opacity: 0;
	transform: translateY(-50%);
	transition: opacity 0.25s, background 0.2s;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.nw-slides__nav .nw-icon {
	width: 20px;
	height: 20px;
}
.nw-slides__nav--prev {
	left: 12px;
}
.nw-slides__nav--prev .nw-icon {
	transform: rotate(180deg);
}
.nw-slides__nav--next {
	right: 12px;
}
.nw-slides:hover .nw-slides__nav,
.nw-slides__nav:focus-visible {
	opacity: 1;
}
.nw-slides__nav:hover {
	background: rgba(124, 58, 237, 0.85);
}
.nw-slides__dots {
	position: absolute;
	left: 50%;
	bottom: 6px;
	z-index: 2;
	display: flex;
	gap: 6px;
	padding: 6px 8px;
	border-radius: 999px;
	background: rgba(13, 8, 36, 0.45);
	transform: translateX(-50%);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.nw-slides__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
	cursor: pointer;
	transition: width 0.3s var(--nw-ease), background 0.2s;
}
.nw-slides__dot.is-active {
	width: 22px;
	background: #fff;
}
@media (hover: none) {
	.nw-slides__nav {
		opacity: 1;
		width: 36px;
		height: 36px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.nw-slides__track {
		transition: none;
	}
}

.nw-gallery {
	padding-bottom: clamp(24px, 4vw, 40px);
}
.nw-gallery__wrap {
	position: relative;
}
.nw-gallery__track {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 6px 2px 14px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: var(--nw-accent) transparent;
}
.nw-gallery__item {
	flex: none;
	scroll-snap-align: start;
}
.nw-gallery__item a {
	display: block;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--nw-shadow);
	transition: transform 0.25s var(--nw-ease);
}
.nw-gallery__item a:hover {
	transform: translateY(-4px);
}
.nw-gallery__img {
	display: block;
	width: auto;
	height: clamp(240px, 42vw, 400px);
	max-width: 80vw;
	object-fit: cover;
}
.nw-gallery__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-60%);
	background: var(--nw-panel);
	box-shadow: var(--nw-shadow);
}
.nw-gallery__nav--prev {
	left: 4px;
}
.nw-gallery__nav--prev .nw-icon {
	transform: rotate(180deg);
}
.nw-gallery__nav--next {
	right: 4px;
}
@media (max-width: 600px) {
	.nw-gallery__nav {
		display: none;
	}
}

/* 13. Banners ------------------------------------------------------------- */
.nw-banners {
	padding-top: 0;
}
.nw-banners__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 22px;
}
.nw-banner {
	padding: clamp(28px, 4vw, 44px);
	border-radius: 26px;
	color: #fff;
	background: linear-gradient(130deg, #6a25e0, #8b3dff 55%, #ff3d8b);
}
.nw-banner--2 {
	color: #06202b;
	background: linear-gradient(130deg, #19a7d4, #2fd8ff);
}
.nw-banner__title {
	margin: 0 0 10px;
	font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}
.nw-banner__text {
	max-width: 30em;
	margin: 0 0 22px;
	opacity: 0.92;
}
.nw-btn--light {
	color: #3b1a8c;
	background: #fff;
}
.nw-btn--light:hover {
	transform: translateY(-2px);
}
.nw-banner--2 .nw-btn--light {
	color: #06202b;
}

/* 14. Footer -------------------------------------------------------------- */
.nw-footer {
	padding-top: clamp(40px, 6vw, 60px);
	border-top: 1px solid var(--nw-border);
	background: rgba(0, 0, 0, 0.28);
	color: var(--nw-muted);
}
:root[data-theme="light"] .nw-footer {
	background: #f6f1ff;
}
.nw-footer__grid {
	display: grid;
	grid-template-columns: minmax(220px, 1.5fr) repeat(auto-fit, minmax(140px, 1fr));
	gap: clamp(24px, 4vw, 44px);
}
.nw-footer__brand p {
	max-width: 22em;
	margin: 14px 0 0;
}
.nw-footer__heading {
	margin: 0 0 14px;
	color: var(--nw-text);
	font-size: 1.05rem;
}
.nw-footer__links {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nw-footer a:not(.nw-logo):not(.nw-icon-btn) {
	color: var(--nw-muted);
	text-decoration: none;
}
.nw-footer a:not(.nw-logo):not(.nw-icon-btn):hover {
	color: var(--nw-text);
	text-decoration: underline;
}
.nw-footer__email {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	overflow-wrap: anywhere;
}
.nw-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nw-footer__social .nw-icon-btn {
	--nw-icon-cut: var(--nw-bg);
	width: 40px;
	height: 40px;
}
.nw-footer__social .nw-icon-btn .nw-icon {
	width: 20px;
	height: 20px;
}
.nw-footer__bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 20px;
	margin-top: clamp(28px, 4vw, 40px);
	padding-block: 18px;
	border-top: 1px solid var(--nw-border);
	font-size: 0.92rem;
}
@media (max-width: 900px) {
	.nw-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
	.nw-footer__brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 480px) {
	.nw-banner .nw-btn {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.nw-stat {
		flex-basis: 140px;
		padding: 20px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* 15. Animations and particles ------------------------------------------- */

/* Particle canvas sits behind all content. */
.nw-particles {
	position: fixed;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.nw-main,
.nw-footer {
	position: relative;
	z-index: 1;
}
/* Let the particles show through these (they were solid before). */
:root:not([data-theme="light"]) .nw-footer {
	background: rgba(4, 1, 18, 0.45);
}

/* Scroll reveal: hidden until scrolled into view. The fallback
   animation shows everything after 4s in case the script never runs. */
.nw-anim :is(.nw-section__head, .nw-page-head > .nw-container > *, .nw-stat, .nw-about__media, .nw-about__content, .nw-service, .nw-game, .nw-banner, .nw-benefit, .nw-job, .nw-post-card, .nw-careers-cta, .nw-chips, .nw-contact__info, .nw-contact__form, .nw-footer__grid > *, .nw-empty-note, .nw-prose > *, .nw-apply .nw-form, .nw-showcase__item, .nw-review) {
	opacity: 0;
	transform: translateY(26px);
	transition:
		opacity 0.7s var(--nw-ease) var(--nw-delay, 0ms),
		transform 0.7s var(--nw-ease) var(--nw-delay, 0ms),
		box-shadow 0.25s var(--nw-ease);
	animation: nw-reveal-fallback 0.01s 4s forwards;
}
.nw-anim :is(.nw-stat, .nw-game, .nw-benefit) {
	transform: translateY(26px) scale(0.94);
}
.nw-anim .nw-about__media {
	transform: translateX(-36px);
}
.nw-anim .nw-about__content {
	transform: translateX(36px);
}
.nw-anim :is(.nw-section__head, .nw-page-head > .nw-container > *, .nw-stat, .nw-about__media, .nw-about__content, .nw-service, .nw-game, .nw-banner, .nw-benefit, .nw-job, .nw-post-card, .nw-careers-cta, .nw-chips, .nw-contact__info, .nw-contact__form, .nw-footer__grid > *, .nw-empty-note, .nw-prose > *, .nw-apply .nw-form, .nw-showcase__item, .nw-review).is-visible {
	opacity: 1;
	transform: none;
	animation: none;
}
/* Keep the hover lift working on revealed cards. */
.nw-anim :is(.nw-service, .nw-benefit, .nw-post-card).is-visible:hover {
	transform: translateY(-4px);
}
.nw-anim .nw-job.is-visible:hover {
	transform: translateX(4px);
}
@keyframes nw-reveal-fallback {
	to { opacity: 1; transform: none; }
}

/* Slow colour flow on the gradient words. */
.nw-anim .nw-gradient-text {
	background-size: 220% 100%;
	animation: nw-gradient-flow 7s ease-in-out infinite alternate;
}
@keyframes nw-gradient-flow {
	from { background-position: 0% 50%; }
	to { background-position: 100% 50%; }
}

/* Light sweep across primary buttons on hover. */
.nw-btn--primary {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.nw-btn--primary::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 0.7s var(--nw-ease);
}
.nw-btn--primary:hover::after {
	transform: translateX(120%);
}

/* Logo badge wiggles on hover. */
.nw-logo:hover .nw-logo__mark {
	animation: nw-wiggle 0.6s var(--nw-ease);
}
@keyframes nw-wiggle {
	0%, 100% { transform: rotate(0); }
	25% { transform: rotate(-10deg) scale(1.06); }
	60% { transform: rotate(8deg) scale(1.06); }
}

/* Company numbers gently pulse their glow. */
.nw-anim .nw-stat.is-visible .nw-stat__number {
	animation: nw-glow 3.2s ease-in-out infinite;
}
@keyframes nw-glow {
	0%, 100% { text-shadow: 0 0 0 transparent; }
	50% { text-shadow: 0 0 22px currentColor; }
}

@media (prefers-reduced-motion: reduce) {
	.nw-particles {
		display: none;
	}
	.nw-btn--primary::after {
		display: none;
	}
}
