/* ==========================================================================
   Gamersland: dark neon game store
   ========================================================================== */

@font-face {
	font-family: "Chakra Petch";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/chakra-petch-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Chakra Petch";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/chakra-petch-latin-700-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Outfit";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
}

:root {
	--gl-accent: #9d00ff;
	--gl-accent-2: color-mix(in srgb, var(--gl-accent) 70%, #fff);
	--gl-glow: color-mix(in srgb, var(--gl-accent) 25%, #fff);
	--gl-bg: #0a0913;
	--gl-bg-2: #110f1e;
	--gl-card: #17142a;
	--gl-card-2: #1f1b37;
	--gl-line: color-mix(in srgb, var(--gl-accent) 28%, transparent);
	--gl-line-soft: rgba(255, 255, 255, .08);
	--gl-text: #eee9ff;
	--gl-muted: #a89fc8;
	--gl-sale: #ff3d71;
	--gl-new: #00d69b;
	--gl-hot: #ff8a00;
	--gl-pre: #19b6ff;
	--gl-radius: 14px;
	--gl-radius-sm: 9px;
	--gl-font-head: "Chakra Petch", "Outfit", system-ui, sans-serif;
	--gl-font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gl-header-h: 72px;
	--gl-shadow: 0 10px 30px rgba(0, 0, 0, .35);
	--gl-neon: 0 0 0 1px var(--gl-line), 0 0 24px color-mix(in srgb, var(--gl-accent) 35%, transparent);
	color-scheme: dark;
}

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

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--gl-header-h) + 16px);
}

body {
	margin: 0;
	background: var(--gl-bg);
	background-image:
		radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--gl-accent) 18%, transparent), transparent 70%),
		radial-gradient(900px 500px at -10% 20%, color-mix(in srgb, var(--gl-accent) 10%, transparent), transparent 70%);
	background-repeat: no-repeat;
	color: var(--gl-text);
	font-family: var(--gl-font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--gl-glow);
	text-decoration: none;
}

a:hover {
	color: #fff;
}

h1,
h2,
h3,
h4 {
	font-family: var(--gl-font-head);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: .01em;
	margin: 0 0 .5em;
	color: #fff;
}

h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: clamp(24px, 2.6vw, 32px); }
h3 { font-size: 20px; }

p {
	margin: 0 0 1em;
}

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

::selection {
	background: var(--gl-accent);
	color: #fff;
}

.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;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 16px;
	background: var(--gl-accent);
	color: #fff;
	border-radius: 8px;
}

.gl-wrap {
	width: 100%;
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: 16px;
}

@media (min-width: 900px) {
	.gl-wrap {
		padding-inline: 28px;
	}
}

.gl-icon {
	width: 22px;
	height: 22px;
	flex: none;
}

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

.gl-btn,
.gl-buy,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 22px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--gl-accent), color-mix(in srgb, var(--gl-accent) 60%, #ff2bd6));
	color: #fff;
	font-family: var(--gl-font-head);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.1;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 6px 22px color-mix(in srgb, var(--gl-accent) 45%, transparent);
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.gl-btn:hover,
.gl-buy:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
	color: #fff;
	background: linear-gradient(135deg, var(--gl-accent), color-mix(in srgb, var(--gl-accent) 60%, #ff2bd6));
	transform: translateY(-2px);
	filter: brightness(1.12);
	box-shadow: 0 8px 30px color-mix(in srgb, var(--gl-accent) 65%, transparent);
}

.gl-btn--ghost {
	background: transparent;
	border: 1px solid var(--gl-line);
	box-shadow: none;
	color: var(--gl-text);
}

.gl-btn--ghost:hover {
	background: color-mix(in srgb, var(--gl-accent) 18%, transparent);
	box-shadow: var(--gl-neon);
}

.gl-buy .gl-icon {
	width: 17px;
	height: 17px;
}

.gl-buy--small {
	min-height: 38px;
	padding: 8px 14px;
	font-size: 13px;
	letter-spacing: .04em;
	gap: 6px;
}

.gl-buy--small .gl-icon {
	width: 14px;
	height: 14px;
}

.gl-buy--large {
	min-height: 56px;
	padding: 14px 30px;
	font-size: 17px;
}

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

.gl-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: color-mix(in srgb, var(--gl-bg) 86%, transparent);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--gl-line-soft);
}

.admin-bar .gl-header {
	top: 32px;
}

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

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

.gl-header__bar {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: var(--gl-header-h);
	flex-wrap: wrap;
	padding-block: 10px;
}

.gl-header__brand {
	flex: none;
}

.gl-header__brand .custom-logo,
.gl-footer__brand .custom-logo {
	display: block;
	width: auto;
	max-height: 54px;
}

.gl-header__name {
	font-family: var(--gl-font-head);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--gl-glow);
	text-shadow: 0 0 18px color-mix(in srgb, var(--gl-accent) 80%, transparent);
}

.gl-cats-btn,
.gl-menu-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 46px;
	padding: 0 16px;
	border: 1px solid var(--gl-line);
	border-radius: 12px;
	background: var(--gl-card);
	color: var(--gl-text);
	font-family: var(--gl-font-head);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: box-shadow .18s, background .18s;
}

.gl-cats-btn:hover,
.gl-cats-btn[aria-expanded="true"],
.gl-menu-btn:hover,
.gl-menu-btn[aria-expanded="true"] {
	background: var(--gl-card-2);
	box-shadow: var(--gl-neon);
}

.gl-cats-btn[aria-expanded="true"] .gl-icon {
	color: var(--gl-glow);
}

.gl-search {
	position: relative;
	flex: 1 1 280px;
	min-width: 0;
}

.gl-search__field {
	width: 100%;
	height: 46px;
	padding: 0 52px 0 18px;
	border: 1px solid var(--gl-line-soft);
	border-radius: 999px;
	background: var(--gl-bg-2);
	color: var(--gl-text);
	font: inherit;
	font-size: 16px;
}

.gl-search__field::placeholder {
	color: var(--gl-muted);
}

.gl-search__field:focus {
	outline: none;
	border-color: var(--gl-accent);
	box-shadow: var(--gl-neon);
}

.gl-search__go {
	position: absolute;
	top: 4px;
	right: 4px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--gl-accent);
	color: #fff;
	cursor: pointer;
}

.gl-search__go .gl-icon {
	width: 19px;
	height: 19px;
}

.gl-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gl-nav__list a {
	color: var(--gl-text);
	font-family: var(--gl-font-head);
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: 15px;
}

.gl-nav__list a:hover,
.gl-nav__list .current-menu-item > a {
	color: var(--gl-glow);
	text-shadow: 0 0 12px var(--gl-accent);
}

.gl-menu-btn {
	display: none;
	width: 46px;
	justify-content: center;
	padding: 0;
}

@media (max-width: 1023px) {
	.gl-header__bar {
		gap: 10px;
	}

	.gl-header__brand {
		margin-right: auto;
	}

	.gl-header__brand .custom-logo {
		max-height: 38px;
	}

	.gl-cats-btn {
		order: 2;
	}

	.gl-menu-btn {
		display: inline-flex;
		order: 3;
	}

	.gl-search {
		order: 4;
		flex-basis: 100%;
	}

	.gl-nav {
		display: none;
		order: 5;
		flex-basis: 100%;
		padding: 8px 0 4px;
		border-top: 1px solid var(--gl-line-soft);
	}

	.gl-nav-open .gl-nav {
		display: block;
	}

	.gl-nav__list {
		flex-direction: column;
	}

	.gl-nav__list a {
		display: block;
		padding: 8px 0;
	}
}

@media (max-width: 479px) {
	.gl-cats-btn span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.gl-cats-btn {
		width: 46px;
		justify-content: center;
		padding: 0;
	}
}

/* Mega menu
   ========================================================================== */

.gl-mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: color-mix(in srgb, var(--gl-bg-2) 96%, transparent);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--gl-line);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
	max-height: calc(100vh - var(--gl-header-h) - 20px);
	overflow-y: auto;
	animation: gl-drop .2s ease-out;
}

.gl-mega[hidden] {
	display: none;
}

@keyframes gl-drop {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: none; }
}

.gl-mega__inner {
	padding-block: 26px 30px;
}

.gl-mega__head {
	display: none;
}

.gl-mega__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 28px 24px;
}

.gl-mega__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--gl-line);
	font-size: 17px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.gl-mega__title .gl-icon {
	color: var(--gl-glow);
	filter: drop-shadow(0 0 6px var(--gl-accent));
}

.gl-mega__title a {
	color: #fff;
}

.gl-mega__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gl-mega__list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 8px;
	margin-inline: -8px;
	border-radius: 9px;
	color: var(--gl-text);
	font-size: 16px;
	transition: background .15s, color .15s;
}

.gl-mega__list a:hover {
	background: color-mix(in srgb, var(--gl-accent) 18%, transparent);
	color: #fff;
}

.gl-mega__icon {
	width: 26px;
	height: 26px;
}

@media (max-width: 767px) {
	.gl-mega {
		position: fixed;
		inset: 0;
		z-index: 200;
		max-height: none;
		border: 0;
	}

	.admin-bar .gl-mega {
		top: 46px;
	}

	.gl-mega__head {
		position: sticky;
		top: 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: -26px -16px 18px;
		padding: 14px 16px;
		background: var(--gl-bg-2);
		border-bottom: 1px solid var(--gl-line);
		font-family: var(--gl-font-head);
		font-size: 20px;
		text-transform: uppercase;
		letter-spacing: .06em;
	}

	.gl-mega__close {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border: 1px solid var(--gl-line);
		border-radius: 12px;
		background: var(--gl-card);
		color: var(--gl-text);
		cursor: pointer;
	}

	.gl-mega__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
	}

	.gl-mega-open {
		overflow: hidden;
	}
}

/* Term icons
   ========================================================================== */

.gl-term-icon {
	width: 40px;
	height: 40px;
	object-fit: contain;
	flex: none;
}

.gl-term-icon--letter {
	display: inline-grid;
	place-items: center;
	border-radius: 8px;
	background: color-mix(in srgb, var(--gl-accent) 30%, var(--gl-card));
	color: #fff;
	font-family: var(--gl-font-head);
	font-weight: 700;
	font-size: .7em;
	line-height: 1;
}

.gl-mega__icon.gl-term-icon--letter,
.gl-check__icon.gl-term-icon--letter {
	font-size: 13px;
}

/* Sections
   ========================================================================== */

.gl-section {
	margin-block: 44px;
}

@media (min-width: 900px) {
	.gl-section {
		margin-block: 64px;
	}
}

.gl-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.gl-section__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: clamp(22px, 2.4vw, 30px);
	text-transform: uppercase;
	letter-spacing: .05em;
}

.gl-section__title .gl-icon {
	width: 30px;
	height: 30px;
	padding: 6px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--gl-accent) 22%, transparent);
	color: var(--gl-glow);
	box-shadow: 0 0 18px color-mix(in srgb, var(--gl-accent) 40%, transparent);
	box-sizing: content-box;
}

.gl-section__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: none;
	color: var(--gl-muted);
	font-family: var(--gl-font-head);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-size: 14px;
}

.gl-section__more:hover {
	color: var(--gl-glow);
}

.gl-section__more .gl-icon {
	width: 18px;
	height: 18px;
}

/* Hero slider
   ========================================================================== */

.gl-hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--gl-line-soft);
}

.gl-hero__track {
	position: relative;
	display: grid;
	min-height: clamp(460px, 48vw, 580px);
}

.gl-slide {
	position: relative;
	grid-area: 1 / 1;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .7s ease, visibility .7s;
}

.gl-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.gl-slide__bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.gl-slide__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gl-slide:not(.has-banner) .gl-slide__bg-img {
	filter: blur(34px) saturate(1.3);
	transform: scale(1.25);
	opacity: .55;
}

.gl-slide__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(10, 9, 19, .96) 0%, rgba(10, 9, 19, .78) 45%, rgba(10, 9, 19, .2) 100%),
		linear-gradient(0deg, var(--gl-bg) 0%, transparent 35%);
}

.gl-slide__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding-block: 48px 90px;
}

.gl-slide__text {
	max-width: 620px;
}

.gl-slide__title {
	margin: 12px 0 10px;
	font-size: clamp(34px, 5vw, 62px);
	text-transform: uppercase;
	text-shadow: 0 0 30px color-mix(in srgb, var(--gl-accent) 60%, transparent);
}

.gl-slide__title a {
	color: #fff;
}

.gl-slide__price {
	margin: 14px 0 22px;
	font-family: var(--gl-font-head);
	font-size: 30px;
	font-weight: 700;
	color: #fff;
}

.gl-slide__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.gl-slide__actions .gl-btn--ghost {
	min-height: 56px;
	padding-inline: 26px;
}

.gl-slide__cover {
	flex: none;
	width: min(32vw, 330px);
	transform: rotate(3deg);
}

.gl-slide__cover-img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--gl-radius);
	box-shadow: 0 0 0 1px var(--gl-line), 0 30px 60px rgba(0, 0, 0, .6), 0 0 60px color-mix(in srgb, var(--gl-accent) 45%, transparent);
}

.gl-hero__nav {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 26px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.gl-hero__arrow {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--gl-line);
	border-radius: 50%;
	background: rgba(10, 9, 19, .6);
	color: var(--gl-text);
	cursor: pointer;
}

.gl-hero__arrow:hover {
	box-shadow: var(--gl-neon);
}

.gl-hero__dots {
	display: flex;
	gap: 8px;
}

.gl-hero__dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .25);
	cursor: pointer;
	transition: width .25s, background .25s;
}

.gl-hero__dot.is-active {
	width: 34px;
	background: var(--gl-accent);
	box-shadow: 0 0 12px var(--gl-accent);
}

@media (max-width: 767px) {
	.gl-hero__track {
		min-height: 560px;
	}

	.gl-slide {
		align-items: flex-end;
	}

	.gl-slide__inner {
		flex-direction: column-reverse;
		align-items: flex-start;
		gap: 18px;
		padding-block: 28px 84px;
	}

	.gl-slide__cover {
		width: 150px;
	}

	.gl-slide__bg::after {
		background: linear-gradient(0deg, rgba(10, 9, 19, .98) 30%, rgba(10, 9, 19, .5) 100%);
	}

	.gl-slide__price {
		font-size: 26px;
		margin: 10px 0 16px;
	}
}

/* Tiles: platforms, genres, gift cards and coins
   ========================================================================== */

.gl-tiles {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gl-tiles--platforms {
	grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
}

.gl-tiles--genres {
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.gl-tiles--wallet {
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.gl-tile {
	--gl-tile: var(--gl-accent);
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 100%;
	min-height: 128px;
	padding: 20px 12px 16px;
	overflow: hidden;
	border: 1px solid var(--gl-line-soft);
	border-radius: var(--gl-radius);
	background: linear-gradient(160deg, var(--gl-card-2), var(--gl-card));
	color: var(--gl-text);
	text-align: center;
	isolation: isolate;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.gl-tile::before {
	content: "";
	position: absolute;
	inset: auto -30% -60% -30%;
	height: 90%;
	z-index: -1;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--gl-tile) 55%, transparent), transparent);
	opacity: .35;
	transition: opacity .25s ease, transform .25s ease;
}

.gl-tile:hover,
.gl-tile:focus-visible {
	color: #fff;
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--gl-tile) 70%, #fff 0%);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--gl-tile) 60%, transparent), 0 14px 34px color-mix(in srgb, var(--gl-tile) 40%, transparent);
}

.gl-tile:hover::before {
	opacity: .9;
	transform: translateY(-14%);
}

.gl-tile__icon {
	width: 52px;
	height: 52px;
	transition: transform .25s ease;
}

.gl-tile:hover .gl-tile__icon {
	transform: scale(1.08);
}

.gl-tile__icon.gl-term-icon--letter {
	font-size: 24px;
	border-radius: 14px;
}

.gl-tile__name {
	font-family: var(--gl-font-head);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.2;
}

.gl-tile--genre {
	flex-direction: row;
	justify-content: flex-start;
	min-height: 76px;
	padding: 14px 16px;
	text-align: left;
}

.gl-tile--genre .gl-tile__icon {
	width: 38px;
	height: 38px;
}

.gl-tile--genre .gl-tile__icon.gl-term-icon--letter {
	font-size: 18px;
	border-radius: 10px;
}

.gl-tile--wallet {
	min-height: 110px;
}

.gl-tile--wallet .gl-tile__icon {
	width: 44px;
	height: 44px;
}

@media (max-width: 479px) {
	.gl-tiles--platforms,
	.gl-tiles--wallet {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gl-tiles--genres {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (min-width: 480px) and (max-width: 767px) {
	.gl-tiles--genres {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.gl-platforms {
	margin-top: 30px;
}

.gl-wallet {
	display: grid;
	gap: 44px 40px;
}

@media (min-width: 1024px) {
	.gl-wallet {
		grid-template-columns: 1fr 1fr;
	}
}

/* Formats
   ========================================================================== */

.gl-formats__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gl-format {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: "icon name go" "icon text go";
	align-items: center;
	gap: 2px 18px;
	height: 100%;
	padding: 24px 22px;
	border: 1px solid var(--gl-line);
	border-radius: var(--gl-radius);
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--gl-accent) 26%, transparent), transparent 60%),
		var(--gl-card);
	color: var(--gl-text);
	transition: transform .2s ease, box-shadow .2s ease;
}

.gl-format:hover {
	color: #fff;
	transform: translateY(-3px);
	box-shadow: var(--gl-neon), var(--gl-shadow);
}

.gl-format__icon {
	grid-area: icon;
	width: 58px;
	height: 58px;
}

.gl-format__icon.gl-term-icon--letter {
	font-size: 26px;
	border-radius: 16px;
}

.gl-format__name {
	grid-area: name;
	font-family: var(--gl-font-head);
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.gl-format__text {
	grid-area: text;
	color: var(--gl-muted);
	font-size: 15px;
	line-height: 1.4;
}

.gl-format__go {
	grid-area: go;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--gl-accent) 30%, transparent);
	color: #fff;
}

/* Product cards
   ========================================================================== */

.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
	display: none;
}

@media (max-width: 1199px) {
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 899px) {
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 639px) {
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

.woocommerce ul.products li.product.gl-card,
.gl-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto;
	margin: 0;
	padding: 10px 10px 12px;
	float: none;
	border: 1px solid var(--gl-line-soft);
	border-radius: var(--gl-radius);
	background: var(--gl-card);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.woocommerce ul.products li.product.gl-card:hover {
	transform: translateY(-4px);
	border-color: var(--gl-line);
	box-shadow: var(--gl-neon), var(--gl-shadow);
}

.gl-card__link {
	display: block;
	color: var(--gl-text);
}

.gl-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--gl-radius-sm);
	background: var(--gl-bg-2);
	aspect-ratio: 3 / 4;
}

.woocommerce ul.products li.product .gl-card__img,
.gl-card__img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: transform .35s ease;
}

.gl-card:hover .gl-card__img {
	transform: scale(1.05);
}

.gl-card__media .gl-badges {
	position: absolute;
	top: 8px;
	left: 8px;
	right: 8px;
	margin: 0;
}

.woocommerce ul.products li.product .gl-card__title,
.gl-card__title {
	margin: 12px 2px 4px;
	padding: 0;
	font-family: var(--gl-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	color: #fff;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
}

.gl-card .gl-specs {
	margin: 0 2px 10px;
	font-size: 13px;
}

.gl-card .gl-specs__icon {
	width: 18px;
	height: 18px;
}

.gl-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-inline: 2px;
}

.woocommerce ul.products li.product .price,
.gl-card__price {
	margin: 0;
	color: #fff;
	font-family: var(--gl-font-head);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
}

.gl-card__foot .gl-buy,
.gl-card__foot .button {
	width: 100%;
	margin: 0 !important;
}

.woocommerce ul.products li.product .button {
	margin-top: 0;
}

.price del,
.woocommerce .price del {
	color: var(--gl-muted);
	font-size: .72em;
	font-weight: 500;
	opacity: 1;
}

.price ins,
.woocommerce .price ins {
	text-decoration: none;
}

.gl-from {
	display: block;
	color: var(--gl-muted);
	font-family: var(--gl-font);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* Badges and specs */

.gl-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.gl-badge {
	display: inline-block;
	padding: 4px 9px;
	border-radius: 6px;
	background: var(--gl-accent);
	color: #fff;
	font-family: var(--gl-font-head);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.2;
	text-transform: uppercase;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}

.gl-badge--sale { background: var(--gl-sale); }
.gl-badge--new { background: var(--gl-new); color: #04130e; }
.gl-badge--hot { background: var(--gl-hot); color: #1a0d00; }
.gl-badge--preorder { background: var(--gl-pre); color: #00121b; }

.gl-specs {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--gl-muted);
	font-size: 15px;
	line-height: 1.3;
}

.gl-specs__icon {
	width: 22px;
	height: 22px;
}

.gl-specs__region {
	color: var(--gl-new);
	font-weight: 600;
	letter-spacing: .04em;
}

.gl-specs__dot {
	opacity: .6;
}

.woocommerce span.onsale {
	display: none;
}

/* Shop with filters
   ========================================================================== */

.gl-main {
	padding-block: 28px 70px;
}

.gl-crumbs,
.woocommerce .woocommerce-breadcrumb {
	margin: 0 0 18px;
	color: var(--gl-muted);
	font-size: 14px;
}

.woocommerce .woocommerce-breadcrumb a {
	color: var(--gl-muted);
}

.woocommerce .woocommerce-breadcrumb a:hover {
	color: var(--gl-glow);
}

.gl-crumb-sep {
	margin-inline: 8px;
	opacity: .5;
}

.woocommerce-products-header__title,
.gl-page-title {
	display: flex;
	align-items: center;
	gap: 14px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.gl-title-icon {
	width: 48px;
	height: 48px;
}

.gl-title-icon.gl-term-icon--letter {
	font-size: 22px;
	border-radius: 12px;
}

.term-description {
	color: var(--gl-muted);
	max-width: 760px;
}

.gl-shop {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

.gl-shop__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.gl-shop__bar .woocommerce-result-count,
.gl-shop__bar .woocommerce-ordering {
	float: none;
	margin: 0;
}

.woocommerce-result-count {
	color: var(--gl-muted);
	font-size: 15px;
}

.gl-shop__filters-toggle {
	display: none;
	min-height: 42px;
}

.gl-filters {
	position: sticky;
	top: calc(var(--gl-header-h) + 20px);
	max-height: calc(100vh - var(--gl-header-h) - 40px);
	overflow-y: auto;
	padding: 18px;
	border: 1px solid var(--gl-line-soft);
	border-radius: var(--gl-radius);
	background: var(--gl-card);
	scrollbar-width: thin;
}

.gl-filters__head {
	display: none;
}

.gl-filter {
	margin: 0 0 18px;
	padding: 0 0 16px;
	border: 0;
	border-bottom: 1px solid var(--gl-line-soft);
	min-width: 0;
}

.gl-filter__title {
	margin-bottom: 8px;
	padding: 0;
	font-family: var(--gl-font-head);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
}

.gl-filter__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gl-check {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 5px 6px;
	margin-inline: -6px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 15px;
}

.gl-check:hover {
	background: color-mix(in srgb, var(--gl-accent) 14%, transparent);
}

.gl-check input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--gl-accent);
	flex: none;
}

.gl-check__icon {
	width: 22px;
	height: 22px;
}

.gl-check__name {
	flex: 1;
	min-width: 0;
}

.gl-check__count {
	color: var(--gl-muted);
	font-size: 13px;
}

.gl-filters__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.gl-filters__actions .gl-btn {
	min-height: 42px;
	padding-inline: 18px;
	font-size: 14px;
}

.gl-filters__clear {
	color: var(--gl-muted);
	text-decoration: underline;
}

@media (max-width: 899px) {
	.gl-shop {
		grid-template-columns: minmax(0, 1fr);
	}

	.gl-shop__filters-toggle {
		display: inline-flex;
	}

	.gl-filters {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 300;
		width: min(340px, 88vw);
		max-height: none;
		border-radius: 0 var(--gl-radius) var(--gl-radius) 0;
		transform: translateX(-105%);
		transition: transform .25s ease;
		box-shadow: 30px 0 60px rgba(0, 0, 0, .6);
	}

	.gl-filters-open .gl-filters {
		transform: none;
	}

	.gl-filters__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 14px;
		font-family: var(--gl-font-head);
		font-size: 20px;
		text-transform: uppercase;
	}

	.gl-filters__close {
		display: grid;
		place-items: center;
		width: 42px;
		height: 42px;
		border: 1px solid var(--gl-line);
		border-radius: 10px;
		background: var(--gl-bg-2);
		color: var(--gl-text);
		cursor: pointer;
	}

	.gl-filters-open::after {
		content: "";
		position: fixed;
		inset: 0;
		z-index: 250;
		background: rgba(0, 0, 0, .6);
	}
}

/* Selects, inputs and pagination */

select,
.woocommerce .woocommerce-ordering select,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea {
	max-width: 100%;
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid var(--gl-line-soft);
	border-radius: 10px;
	background: var(--gl-bg-2);
	color: var(--gl-text);
	font: inherit;
	font-size: 16px;
}

.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex;
	gap: 6px;
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 8px;
	border-radius: 10px;
	background: var(--gl-card);
	color: var(--gl-text);
	font-family: var(--gl-font-head);
	font-weight: 700;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
	background: var(--gl-accent);
	color: #fff;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-no-products-found .woocommerce-info {
	border: 1px solid var(--gl-line);
	border-radius: var(--gl-radius);
	background: var(--gl-card);
	color: var(--gl-text);
}

.woocommerce-info::before,
.woocommerce-message::before {
	color: var(--gl-glow);
}

/* Game page
   ========================================================================== */

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
	gap: 44px;
	align-items: start;
}

.woocommerce div.product > * {
	grid-column: 1 / -1;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	float: none;
	width: auto;
	margin: 0;
}

.woocommerce div.product div.images {
	grid-column: 1;
}

.woocommerce div.product div.summary {
	grid-column: 2;
}

.woocommerce div.product div.images img {
	border-radius: var(--gl-radius);
	box-shadow: 0 0 0 1px var(--gl-line), 0 24px 60px rgba(0, 0, 0, .5), 0 0 60px color-mix(in srgb, var(--gl-accent) 30%, transparent);
}

.woocommerce div.product .product_title {
	font-size: clamp(30px, 4vw, 48px);
	text-transform: uppercase;
	letter-spacing: .02em;
	margin: 6px 0 10px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: #fff;
	font-family: var(--gl-font-head);
	font-size: 36px;
	font-weight: 700;
	margin: 18px 0;
}

.woocommerce div.product p.price .gl-from {
	font-size: 13px;
}

.woocommerce-product-details__short-description {
	color: var(--gl-muted);
}

.gl-buy-box {
	margin: 0 0 24px;
}

.gl-buy-box .gl-buy {
	width: 100%;
	max-width: 420px;
}

.gl-genres {
	color: var(--gl-muted);
	font-size: 15px;
}

.gl-genres span {
	margin-right: 6px;
	color: #fff;
	font-family: var(--gl-font-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.gl-safe {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid var(--gl-line-soft);
	border-radius: var(--gl-radius-sm);
	background: var(--gl-bg-2);
	color: var(--gl-muted);
	font-size: 14px;
	line-height: 1.4;
}

.gl-safe .gl-icon {
	color: var(--gl-new);
}

.gl-compare {
	margin: 0 0 24px;
	padding: 18px;
	border: 1px solid var(--gl-line);
	border-radius: var(--gl-radius);
	background: var(--gl-card);
}

.gl-compare__title {
	margin-bottom: 12px;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.gl-compare__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gl-compare__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	grid-template-areas: "store price go" "best price go";
	align-items: center;
	gap: 2px 16px;
	padding: 12px 0;
	border-top: 1px solid var(--gl-line-soft);
}

.gl-compare__row:first-child {
	border-top: 0;
}

.gl-compare__store {
	grid-area: store;
	font-weight: 600;
	color: #fff;
}

.gl-compare__best {
	grid-area: best;
	color: var(--gl-new);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.gl-compare__price {
	grid-area: price;
	font-family: var(--gl-font-head);
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	text-align: right;
}

.gl-compare__price .gl-from {
	display: none;
}

.gl-compare__go {
	grid-area: go;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid var(--gl-line);
	border-radius: 999px;
	color: var(--gl-text);
	font-family: var(--gl-font-head);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	white-space: nowrap;
}

.gl-compare__go:hover {
	background: var(--gl-accent);
	color: #fff;
}

.gl-compare__go .gl-icon {
	width: 15px;
	height: 15px;
}

.is-best .gl-compare__go {
	background: var(--gl-accent);
	border-color: var(--gl-accent);
	color: #fff;
}

@media (max-width: 479px) {
	.gl-compare__row {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "store price" "best go";
		row-gap: 8px;
	}

	.gl-compare__go {
		justify-self: end;
	}
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 20px;
	border-bottom: 1px solid var(--gl-line-soft);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 10px 18px;
	color: var(--gl-muted);
	font-family: var(--gl-font-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: #fff;
	box-shadow: inset 0 -3px 0 var(--gl-accent);
}

.woocommerce div.product .woocommerce-tabs .panel {
	color: var(--gl-text);
}

.related.products > h2,
.up-sells > h2 {
	text-transform: uppercase;
	letter-spacing: .05em;
	font-size: clamp(22px, 2.4vw, 30px);
}

@media (max-width: 767px) {
	.woocommerce div.product {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.woocommerce div.product div.images,
	.woocommerce div.product div.summary {
		grid-column: 1;
	}

	.woocommerce div.product div.images {
		max-width: 300px;
	}
}

/* Pages, posts and 404
   ========================================================================== */

.gl-content {
	max-width: 900px;
}

body.home .gl-content,
body.blog .gl-content,
body.archive .gl-content {
	max-width: 1320px;
}

.gl-article__body {
	font-size: 18px;
}

.gl-article__date {
	color: var(--gl-muted);
}

.gl-article__media img {
	border-radius: var(--gl-radius);
}

.gl-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gl-post {
	padding: 12px;
	border: 1px solid var(--gl-line-soft);
	border-radius: var(--gl-radius);
	background: var(--gl-card);
}

.gl-post__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--gl-radius-sm);
}

.gl-post__title {
	margin: 14px 0 6px;
	font-size: 21px;
}

.gl-post__excerpt {
	color: var(--gl-muted);
	font-size: 15px;
}

.gl-empty {
	color: var(--gl-muted);
}

.gl-404 {
	text-align: center;
	padding-block: 80px;
}

.gl-404 .gl-page-title {
	justify-content: center;
}

.gl-404__code {
	margin: 0;
	font-family: var(--gl-font-head);
	font-size: clamp(90px, 18vw, 180px);
	font-weight: 700;
	line-height: 1;
	color: var(--gl-glow);
	text-shadow: 0 0 40px var(--gl-accent), 0 0 80px var(--gl-accent);
}

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

.gl-footer {
	margin-top: 40px;
	padding-top: 48px;
	border-top: 1px solid var(--gl-line);
	background: linear-gradient(180deg, var(--gl-bg-2), #07060e);
	color: var(--gl-muted);
	font-size: 15px;
}

.gl-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	padding-bottom: 30px;
}

.gl-footer__tagline {
	margin-top: 12px;
}

.gl-footer__title {
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.gl-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gl-footer li {
	margin-bottom: 6px;
}

.gl-footer a {
	color: var(--gl-text);
}

.gl-footer a:hover {
	color: var(--gl-glow);
}

.gl-footer__notice {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding-block: 18px;
	border-top: 1px solid var(--gl-line-soft);
	font-size: 14px;
	line-height: 1.5;
}

.gl-footer__notice .gl-icon {
	color: var(--gl-new);
	margin-top: 1px;
}

.gl-footer__notice p {
	margin: 0;
}

.gl-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 20px;
	padding-block: 18px 26px;
	border-top: 1px solid var(--gl-line-soft);
	font-size: 14px;
}

.gl-footer__bottom p {
	margin: 0;
}

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

/* Shop with the filters column: one game less per row. */
@media (min-width: 1200px) {
	.gl-shop__main ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 900px) and (max-width: 1199px) {
	.gl-shop__main ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Buy button: "BUY" big in the middle, the way out small on the right. */
.gl-buy {
	position: relative;
	padding-inline: 46px;
}

.gl-buy__label {
	font-size: 1.15em;
	letter-spacing: .14em;
}

.gl-buy__out {
	position: absolute;
	top: 50%;
	right: 16px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transform: translateY(-50%);
	color: rgba(255, 255, 255, .7);
	font-family: var(--gl-font);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: none;
}

.gl-buy:hover .gl-buy__out {
	color: #fff;
}

.gl-buy--small {
	padding-inline: 34px;
}

.gl-buy--small .gl-buy__out {
	right: 12px;
}

.gl-buy--large .gl-buy__label {
	font-size: 22px;
	letter-spacing: .18em;
}

.gl-buy--large .gl-buy__out {
	right: 22px;
	font-size: 12px;
}
