/*!
 * QooPlay - game store & news theme
 * Main stylesheet
 */

:root {
	--cy: #00c6e6;
	--cy-dark: #00a8c4;
	--cy-soft: #e5fafd;
	--navy: #161b27;
	--navy-2: #212837;
	--ink: #1b2130;
	--sub: #6f7a90;
	--muted: #98a2b3;
	--bg: #f4f7fb;
	--card: #ffffff;
	--line: #e4eaf3;
	--coral: #ff6b4a;
	--coral-soft: #fff0ec;
	--gold: #ffb020;
	--green: #16b884;
	--radius: 12px;
	--radius-sm: 8px;
	--radius-lg: 20px;
	--shadow: 0 10px 30px rgba(22, 27, 39, 0.08);
	--shadow-sm: 0 4px 14px rgba(22, 27, 39, 0.06);
	--font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--font-en: "Nunito", "Avenir Next", "Segoe UI", sans-serif;
	--container: 1180px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

body.qooplay-body {
	background-image:
		radial-gradient(rgba(0, 198, 230, 0.055) 1px, transparent 1px),
		linear-gradient(180deg, #f7fbff 0, var(--bg) 420px);
	background-size: 20px 20px, 100% 100%;
	background-position: 0 0, 0 0;
}

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

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

a:hover {
	color: var(--cy-dark);
}

h1,
h2,
h3,
h4 {
	margin: 0;
	line-height: 1.35;
	font-weight: 800;
	letter-spacing: 0.01em;
}

p {
	margin: 0 0 1em;
}

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

button,
input,
select {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

.muted {
	color: var(--sub);
}

.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 {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	background: var(--navy);
	color: #fff;
	padding: 12px 20px;
	border-radius: 0 0 8px 0;
}

.skip-link:focus {
	left: 0;
	color: #fff;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.site-main {
	min-height: 60vh;
}

.section {
	padding: 34px 24px 10px;
}

.section--tight {
	padding-top: 10px;
}

.section--archive,
.section--detail,
.section--article {
	padding-top: 18px;
}

.icon {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 10px 20px;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.4;
	white-space: nowrap;
	transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
	cursor: pointer;
}

.btn .icon {
	width: 16px;
	height: 16px;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-primary {
	background: var(--cy);
	color: #04222a;
	box-shadow: 0 6px 16px rgba(0, 198, 230, 0.28);
}

.btn-primary:hover {
	background: #12d3f2;
	color: #04222a;
	box-shadow: 0 8px 20px rgba(0, 198, 230, 0.36);
}

.btn-ghost {
	background: #fff;
	border-color: var(--line);
	color: var(--ink);
}

.btn-ghost:hover {
	border-color: var(--cy);
	color: var(--cy-dark);
}

.btn-sm {
	padding: 7px 14px;
	font-size: 12.5px;
}

.btn-lg {
	padding: 13px 26px;
	font-size: 15px;
}

.btn-block {
	width: 100%;
}

/* Badges, pills, chips, tags */
.badge {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 9px;
	border-radius: 5px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	background: var(--cy-dark);
	white-space: nowrap;
}

.badge--live {
	background: var(--green);
}

.badge--pre {
	background: var(--coral);
}

.badge--soon {
	background: #3a86ff;
}

.badge--ended {
	background: #8b95a7;
}

.pill {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid var(--line);
	color: var(--sub);
}

.pill--accent {
	background: var(--cy);
	border-color: var(--cy);
	color: #04222a;
}

.pill--soft {
	background: #f1f5fa;
	border-color: transparent;
	color: #4c5a70;
}

.tag {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border-radius: 6px;
	background: #eef3f9;
	color: #516078;
	font-size: 12px;
	font-weight: 600;
}

.tag:hover {
	background: var(--cy-soft);
	color: var(--cy-dark);
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--line);
	font-size: 13px;
	font-weight: 600;
	color: #47546a;
	transition: all 0.15s ease;
	white-space: nowrap;
}

.chip:hover {
	border-color: var(--cy);
	color: var(--cy-dark);
	background: #fff;
}

.chip.is-active {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.chip__count {
	font-family: var(--font-en);
	font-size: 11px;
	font-weight: 700;
	color: var(--muted);
}

.chip.is-active .chip__count {
	color: rgba(255, 255, 255, 0.6);
}

.chip--soft {
	background: #f1f5fa;
	border-color: transparent;
}

/* Stars */
.stars {
	position: relative;
	display: inline-block;
	font-size: 12px;
	letter-spacing: 2px;
	line-height: 1;
	color: #dfe5ee;
}

.stars__bg {
	display: block;
	white-space: nowrap;
}

.stars__fill {
	position: absolute;
	left: 0;
	top: 0;
	overflow: hidden;
	color: var(--gold);
	white-space: nowrap;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var(--navy);
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 26px;
	height: 68px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	flex: 0 0 auto;
}

.brand:hover {
	color: #fff;
}

.brand__mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: linear-gradient(135deg, #00c6e6, #00e0b0);
	color: #07232b;
	box-shadow: 0 4px 14px rgba(0, 198, 230, 0.35);
}

.brand__mark .icon {
	width: 22px;
	height: 22px;
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.brand__name {
	font-family: var(--font-en);
	font-size: 21px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.brand__tag {
	font-family: var(--font-en);
	font-size: 8.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: rgba(255, 255, 255, 0.5);
}

.primary-nav {
	flex: 1 1 auto;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 4px;
}

.nav-list li a {
	display: inline-block;
	padding: 9px 13px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.78);
	transition: color 0.15s, background 0.15s;
}

.nav-list li a:hover,
.nav-list li.current-menu-item > a {
	color: #fff;
	background: rgba(255, 255, 255, 0.09);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.header-search {
	position: relative;
	display: flex;
	align-items: center;
	width: 236px;
}

.header-search input {
	width: 100%;
	height: 38px;
	padding: 0 40px 0 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 13px;
	outline: none;
	transition: border-color 0.15s, background 0.15s;
}

.header-search input::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.header-search input:focus {
	border-color: var(--cy);
	background: rgba(255, 255, 255, 0.12);
}

.header-search button {
	position: absolute;
	right: 3px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: rgba(255, 255, 255, 0.7);
}

.header-search button:hover {
	color: #fff;
}

.nav-toggle {
	display: none;
	width: 40px;
	height: 40px;
	place-items: center;
	background: rgba(255, 255, 255, 0.08);
	border: 0;
	border-radius: 10px;
	color: #fff;
}

.nav-toggle__close {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
	display: block;
}

/* Breadcrumb */
.breadcrumb {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	color: var(--muted);
	padding: 18px 0 14px;
	flex-wrap: wrap;
}

.breadcrumb a {
	color: var(--sub);
}

.breadcrumb a:hover {
	color: var(--cy-dark);
	text-decoration: underline;
}

.breadcrumb__sep {
	color: #c3ccda;
}

.breadcrumb__current {
	color: var(--ink);
	font-weight: 600;
	max-width: 70vw;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Home hero */
.store-hero {
	position: relative;
	padding-bottom: 8px;
}

.store-hero::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 100%;
	background: radial-gradient(900px 320px at 82% 0%, rgba(0, 198, 230, 0.16), transparent 70%);
	pointer-events: none;
}

.store-hero .breadcrumb {
	position: relative;
}

.store-hero__row {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 36px;
	justify-content: space-between;
	padding: 7px 0 22px;
}

.store-hero__eyebrow,
.page-hero__eyebrow {
	display: inline-block;
	font-family: var(--font-en);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	color: var(--cy-dark);
	margin-bottom: 6px;
}

.store-hero__title {
	font-size: 42px;
	font-weight: 900;
	letter-spacing: -0.01em;
	line-height: 1.15;
}

.store-hero__lead {
	margin: 10px 0 0;
	color: var(--sub);
	font-size: 14px;
}

.store-hero__count {
	display: inline-flex;
	align-items: center;
	margin-left: 10px;
	padding: 1px 9px;
	border-radius: 5px;
	background: rgba(0, 198, 230, 0.12);
	color: var(--cy-dark);
	font-size: 11.5px;
	font-weight: 700;
	vertical-align: 2px;
}

.hero-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	max-width: 440px;
	padding: 7px 7px 7px 42px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	box-shadow: var(--shadow-sm);
}

.hero-search__icon {
	position: absolute;
	left: 17px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--muted);
	display: grid;
	place-items: center;
}

.hero-search input {
	flex: 1;
	min-width: 0;
	height: 40px;
	border: 0;
	background: transparent;
	outline: none;
	font-size: 14px;
}

.hero-search input::placeholder {
	color: var(--muted);
}

.hero-search .btn {
	border-radius: 999px;
	height: 38px;
	padding: 0 20px;
	font-size: 13px;
}

.hero-search--wide {
	max-width: 100%;
	margin-top: 20px;
}

.genre-chips {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.genre-chips__label {
	font-size: 12px;
	font-weight: 700;
	color: var(--muted);
	margin-right: 2px;
}

.genre-chips--hero {
	padding-bottom: 18px;
	position: relative;
}

/* Page hero (archives / simple pages) */
.page-hero {
	background: linear-gradient(180deg, #eef8fd 0%, rgba(244, 247, 251, 0) 100%);
	border-bottom: 1px solid rgba(228, 234, 243, 0.7);
}

.page-hero .container {
	padding-top: 0;
	padding-bottom: 20px;
}

.page-hero__row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	padding-top: 6px;
}

.page-hero__title {
	font-size: 34px;
	font-weight: 900;
}

.page-hero__lead {
	margin: 8px 0 0;
	color: var(--sub);
	font-size: 14px;
	max-width: 640px;
}

.page-hero__count {
	display: inline-flex;
	align-items: center;
	margin-left: 10px;
	padding: 1px 9px;
	border-radius: 5px;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--sub);
	font-size: 11.5px;
	font-weight: 700;
	vertical-align: 2px;
}

.page-hero--simple {
	padding-bottom: 6px;
}

.page-hero .genre-chips--filters {
	margin-top: 20px;
	padding-bottom: 16px;
}

/* Section heading */
.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.section-head__title {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 23px;
	font-weight: 900;
}

.section-head__title::before {
	content: "";
	width: 5px;
	height: 21px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--cy), #00e0b0);
}

.section-head__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--sub);
}

.section-head__more .icon {
	width: 15px;
	height: 15px;
}

.section-head__more:hover {
	color: var(--cy-dark);
}

/* Game grid & cards */
.game-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.game-card {
	display: flex;
	flex-direction: column;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.game-card:hover {
	transform: translateY(-4px);
	border-color: #cfeef6;
	box-shadow: var(--shadow);
}

.game-card__cover {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	margin: 10px 10px 0;
	border-radius: 9px;
	overflow: hidden;
	background: #eef3f8;
}

.game-card__cover .cover-img,
.game-card__cover .cover-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.game-card:hover .game-card__cover .cover-img {
	transform: scale(1.045);
}

.game-card__cover .badge {
	position: absolute;
	left: 8px;
	top: 8px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.game-card__body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px 14px;
	flex: 1;
}

.game-card__genres {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	font-size: 11px;
	color: var(--muted);
	min-height: 17px;
}

.game-card__genres a {
	display: inline-block;
	padding: 1px 7px;
	border-radius: 4px;
	background: #f2f6fa;
	color: #5d6b82;
	font-size: 10.5px;
	font-weight: 600;
}

.game-card__genres a:hover {
	background: var(--cy-soft);
	color: var(--cy-dark);
}

.game-card__title {
	font-size: 15.5px;
	font-weight: 800;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 45px;
}

.game-card__title a:hover {
	color: var(--cy-dark);
}

.game-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 10px;
	border-top: 1px dashed var(--line);
}

.game-card__rating {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-en);
	font-size: 13px;
	font-weight: 800;
}

.game-card__rating strong {
	color: var(--ink);
}

.game-card__rating-empty {
	font-family: var(--font);
	font-size: 11px;
	font-weight: 600;
	color: var(--muted);
}

.game-card__foot .btn {
	flex: 0 0 auto;
}

/* Cover fallback */
.cover-fallback {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1b2130, #2c3a55);
	overflow: hidden;
}

.cover-fallback::before {
	content: "";
	position: absolute;
	inset: -40% -20% auto auto;
	width: 80%;
	height: 160%;
	border-radius: 50%;
	background: rgba(0, 198, 230, 0.35);
	filter: blur(24px);
}

.cover-fallback::after {
	content: "";
	position: absolute;
	inset: auto auto -30% -20%;
	width: 80%;
	height: 80%;
	border-radius: 50%;
	background: rgba(255, 107, 74, 0.3);
	filter: blur(26px);
}

.cover-fallback__glyph {
	position: relative;
	z-index: 1;
	font-size: 46px;
	font-weight: 900;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.cover-fallback__label {
	position: absolute;
	z-index: 1;
	right: 10px;
	bottom: 8px;
	font-family: var(--font-en);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.55);
}

.cf-b {
	background: linear-gradient(135deg, #04303d, #0d6e7d);
}

.cf-b::before {
	background: rgba(255, 214, 102, 0.45);
}

.cf-c {
	background: linear-gradient(135deg, #3a1c4f, #7b3fa0);
}

.cf-c::before {
	background: rgba(255, 120, 190, 0.45);
}

.cf-d {
	background: linear-gradient(135deg, #4a2418, #a8573c);
}

.cf-d::before {
	background: rgba(255, 186, 92, 0.45);
}

.cf-e {
	background: linear-gradient(135deg, #123d2e, #2a8c6a);
}

.cf-e::before {
	background: rgba(160, 255, 200, 0.4);
}

.cf-f {
	background: linear-gradient(135deg, #1c2a5a, #3557c9);
}

.cf-f::before {
	background: rgba(120, 190, 255, 0.45);
}

/* Featured slider */
.slider {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.slider__track {
	position: relative;
	min-height: 352px;
}

.slide {
	position: relative;
	display: none;
	min-height: 352px;
	padding: 30px 34px;
	overflow: hidden;
}

.slide.is-active {
	display: block;
	animation: qp-fade 0.4s ease;
}

@keyframes qp-fade {
	from {
		opacity: 0.3;
	}
	to {
		opacity: 1;
	}
}

.slide__bg {
	position: absolute;
	inset: 0;
	background-image: var(--slide-image);
	background-size: cover;
	background-position: center right;
	opacity: 1;
}

.slide__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.93) 38%, rgba(255, 255, 255, 0.55) 68%, rgba(255, 255, 255, 0.25) 100%);
}

.slide__bg--fallback {
	background: linear-gradient(120deg, #073a48, #0b6a83 55%, #06303b);
}

.slide__bg--fallback::after {
	background: linear-gradient(90deg, rgba(4, 30, 38, 0.92) 0%, rgba(4, 30, 38, 0.7) 55%, rgba(4, 30, 38, 0.35) 100%);
}

.slide__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 34px;
	align-items: center;
}

.slide__visual .cover-img,
.slide__visual .cover-fallback {
	width: 250px;
	height: 250px;
	object-fit: cover;
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(10, 30, 40, 0.18);
}

.slide__content {
	max-width: 590px;
}

.slide__title {
	font-size: 32px;
	font-weight: 900;
	margin: 10px 0 12px;
	line-height: 1.3;
}

.slide__title a:hover {
	color: var(--cy-dark);
}

.slide__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.slide__tags {
	display: flex;
	gap: 6px;
}

.slide__tags a {
	font-size: 12px;
	font-weight: 700;
	color: var(--sub);
}

.slide__rating {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--font-en);
	font-weight: 800;
	font-size: 13px;
}

.slide__excerpt {
	margin: 0 0 20px;
	color: #4b586e;
	font-size: 14px;
	line-height: 1.85;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

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

.slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.9);
	color: var(--ink);
	box-shadow: var(--shadow-sm);
	transition: background 0.15s, color 0.15s;
}

.slider__nav:hover {
	background: var(--cy);
	color: #04222a;
	border-color: var(--cy);
}

.slider__nav--prev {
	left: 12px;
}

.slider__nav--next {
	right: 12px;
}

.slider__dots {
	position: absolute;
	right: 26px;
	bottom: 18px;
	z-index: 3;
	display: flex;
	gap: 7px;
}

.slider__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(22, 27, 39, 0.18);
	transition: width 0.2s, background 0.2s;
}

.slider__dot.is-active {
	width: 22px;
	border-radius: 5px;
	background: var(--cy);
}

/* Pre-register */
.pre-register {
	display: grid;
	grid-template-columns: 268px minmax(0, 1fr);
	gap: 20px;
	padding: 24px;
	border-radius: var(--radius-lg);
	background:
		radial-gradient(600px 260px at 0% 0%, rgba(0, 198, 230, 0.18), transparent 70%),
		linear-gradient(135deg, #0d2230, #143245);
	color: #fff;
}

.pre-register__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 10px;
}

.pre-register__badge {
	font-family: var(--font-en);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.18em;
	color: var(--cy);
	border: 1px solid rgba(0, 198, 230, 0.4);
	border-radius: 999px;
	padding: 4px 10px;
}

.pre-register__intro h3 {
	font-size: 22px;
	line-height: 1.55;
	font-weight: 800;
}

.pre-register__intro p {
	margin: 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 12.5px;
	line-height: 1.8;
}

.pre-register__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.pre-register__grid .game-card {
	background: #fff;
}

.pre-register__grid .game-card__title {
	font-size: 14px;
	min-height: 41px;
}

.pre-register__grid .game-card__genres a {
	background: #f4f8fb;
}

/* Ranking */
.ranking {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 20px;
}

.rank-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 11px 14px;
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid var(--line);
	transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.rank-item:hover {
	border-color: #cfeef6;
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}

.rank-item__num {
	font-family: var(--font-en);
	font-size: 21px;
	font-weight: 800;
	font-style: italic;
	color: var(--cy);
	width: 30px;
	flex: 0 0 auto;
}

.rank-item__cover {
	width: 54px;
	height: 54px;
	flex: 0 0 auto;
	border-radius: 8px;
	overflow: hidden;
	background: #eef3f8;
}

.rank-item__cover img,
.rank-item__cover .cover-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rank-item__cover .cover-fallback__glyph {
	font-size: 20px;
}

.rank-item__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.rank-item__title {
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rank-item__meta {
	font-size: 11px;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rank-item__score {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	font-family: var(--font-en);
	font-weight: 800;
	font-size: 13px;
}

/* News cards */
.news-thumb {
	position: relative;
	display: block;
	overflow: hidden;
	background: #e9eff7;
	border-radius: var(--radius-sm);
}

.news-thumb__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-thumb__fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #0c2d3a, #175d73);
	color: rgba(255, 255, 255, 0.9);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.06em;
}

.news-thumb__category {
	position: absolute;
	left: 10px;
	top: 10px;
	padding: 2px 9px;
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	backdrop-filter: blur(4px);
}

.news-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.news-card:hover {
	transform: translateY(-3px);
	border-color: #cfeef6;
	box-shadow: var(--shadow);
}

.news-card--row {
	display: flex;
	flex-direction: column;
}

.news-card--row .news-thumb {
	aspect-ratio: 16 / 9;
	border-radius: 0;
}

.news-card--row .news-card__body {
	padding: 14px 16px 16px;
}

.news-card--mini {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 13px;
	padding: 9px;
	align-items: center;
}

.news-card--mini .news-thumb {
	width: 104px;
	height: 78px;
}

.news-card--mini .news-card__body {
	padding: 0 4px 0 0;
}

.news-card--mini .news-card__title {
	font-size: 13.5px;
	-webkit-line-clamp: 2;
	min-height: 0;
}

.news-card--mini .news-card__excerpt {
	display: none;
}

.news-card--feature {
	display: grid;
	grid-template-columns: 1.12fr 1fr;
	min-height: 340px;
}

.news-card--feature .news-thumb {
	aspect-ratio: auto;
	height: 100%;
	min-height: 340px;
	border-radius: 0;
}

.news-card--feature .news-card__body {
	padding: 30px 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.news-card--feature .news-card__title {
	font-size: 24px;
	line-height: 1.5;
	-webkit-line-clamp: 4;
	min-height: 0;
	margin-bottom: 12px;
}

.news-card--feature .news-card__excerpt {
	display: block;
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--sub);
	-webkit-line-clamp: 4;
}

.news-card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 7px;
	font-size: 11px;
	color: var(--muted);
	font-family: var(--font-en);
	font-weight: 700;
}

.news-card__cat {
	display: inline-flex;
	align-items: center;
	height: 20px;
	padding: 0 8px;
	border-radius: 4px;
	background: var(--cy-soft);
	color: var(--cy-dark);
	font-family: var(--font);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.news-card__cat:hover {
	background: var(--cy);
	color: #04222a;
}

.news-card__title {
	font-size: 15px;
	line-height: 1.6;
	font-weight: 800;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 48px;
	margin: 0;
}

.news-card__title a:hover {
	color: var(--cy-dark);
}

.news-card__excerpt {
	margin: 8px 0 0;
	font-size: 12.5px;
	line-height: 1.8;
	color: var(--sub);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-layout {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: 20px;
	align-items: stretch;
}

.news-layout__list {
	display: grid;
	gap: 10px;
	align-content: start;
}

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

.news-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-lead {
	margin-bottom: 22px;
}

/* Genre panel */
.genre-panel {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
	display: grid;
	gap: 20px;
}

.genre-panel__group h3 {
	font-size: 13px;
	font-weight: 700;
	color: var(--sub);
	margin-bottom: 10px;
	letter-spacing: 0.04em;
}

/* Archive filters */
.filter-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.sort-form {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--sub);
	font-weight: 700;
}

.sort-form select {
	height: 36px;
	padding: 0 34px 0 12px;
	border-radius: 8px;
	border: 1px solid var(--line);
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a8598' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 11px center;
	cursor: pointer;
}

.genre-chips--platforms {
	margin-bottom: 22px;
}

/* Game detail */
.game-detail__hero {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 32px;
	padding: 28px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
}

.game-detail__hero::after {
	content: "";
	position: absolute;
	right: -80px;
	top: -120px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 198, 230, 0.12), transparent 70%);
	pointer-events: none;
}

.game-detail__cover {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--shadow);
	align-self: start;
	aspect-ratio: 1 / 1;
	background: #eef3f8;
}

.game-detail__cover .cover-img,
.game-detail__cover .cover-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.game-detail__cover .badge {
	position: absolute;
	left: 12px;
	top: 12px;
	height: 24px;
	font-size: 11.5px;
}

.game-detail__kicker {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.game-detail__tags {
	display: flex;
	gap: 7px;
}

.game-detail__tags a {
	font-size: 12px;
	font-weight: 700;
	color: var(--cy-dark);
	background: var(--cy-soft);
	padding: 3px 9px;
	border-radius: 5px;
}

.game-detail__title {
	font-size: 36px;
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.game-detail__meta {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin: 12px 0 14px;
	font-size: 12.5px;
	color: var(--sub);
	font-weight: 600;
}

.game-detail__rating {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--font-en);
	font-size: 14px;
	font-weight: 800;
	color: var(--ink);
}

.game-detail__rating .stars {
	font-size: 14px;
}

.game-detail__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.game-detail__meta-item .icon {
	width: 15px;
	height: 15px;
	color: var(--muted);
}

.game-detail__excerpt {
	color: #465268;
	font-size: 14px;
	line-height: 1.9;
	max-width: 720px;
}

.game-detail__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 20px 0 22px;
}

.game-detail__facts {
	display: flex;
	gap: 0;
	flex-wrap: wrap;
	border-top: 1px solid var(--line);
	padding-top: 16px;
}

.game-detail__facts li {
	min-width: 150px;
	padding-right: 26px;
}

.game-detail__facts li span {
	display: block;
	font-size: 10.5px;
	color: var(--muted);
	font-weight: 700;
	letter-spacing: 0.05em;
	margin-bottom: 2px;
}

.game-detail__facts li strong {
	font-size: 13px;
	font-weight: 700;
}

.game-detail__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 26px;
	margin-top: 26px;
	align-items: start;
}

.game-detail__main {
	display: grid;
	gap: 26px;
	min-width: 0;
}

.block-title {
	font-size: 20px;
	font-weight: 900;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}

.block-title::before {
	content: "";
	width: 4px;
	height: 18px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--cy), #00e0b0);
}

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

.shot {
	display: block;
	border-radius: 10px;
	overflow: hidden;
	background: #eef3f8;
	aspect-ratio: 16 / 9;
	border: 1px solid var(--line);
	transition: transform 0.18s, box-shadow 0.18s;
}

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

.shot:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.content-block {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 28px;
}

.game-detail__aside {
	display: grid;
	gap: 16px;
	position: sticky;
	top: 88px;
}

.info-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px;
}

.info-card__title {
	font-size: 15px;
	font-weight: 800;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 7px;
}

.info-card__title::before {
	content: "";
	width: 3px;
	height: 14px;
	border-radius: 2px;
	background: var(--cy);
}

.info-list {
	margin: 0;
	display: grid;
	gap: 9px;
}

.info-list > div {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	font-size: 12.5px;
	padding-bottom: 8px;
	border-bottom: 1px dashed var(--line);
}

.info-list > div:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.info-list dt {
	color: var(--muted);
	font-weight: 600;
	flex: 0 0 auto;
}

.info-list dd {
	margin: 0;
	text-align: right;
	font-weight: 700;
}

.info-card--cta p {
	font-size: 12.5px;
	color: var(--sub);
	line-height: 1.7;
	margin-bottom: 12px;
}

.info-card__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 12px;
	font-size: 12px;
	font-weight: 700;
	color: var(--cy-dark);
}

.info-card__link .icon {
	width: 13px;
	height: 13px;
}

.info-card--share .share-buttons,
.share-buttons {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 54px;
	height: 34px;
	padding: 0 12px;
	border-radius: 7px;
	background: #f2f6fa;
	border: 1px solid var(--line);
	font-size: 12px;
	font-weight: 700;
	color: #435065;
}

.share-btn:hover {
	background: var(--navy);
	color: #fff;
	border-color: var(--navy);
}

/* Lightbox */
.qp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 500;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(9, 14, 22, 0.88);
	padding: 40px;
}

.qp-lightbox.is-open {
	display: flex;
}

.qp-lightbox img {
	max-width: 92vw;
	max-height: 86vh;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.qp-lightbox__close {
	position: absolute;
	right: 24px;
	top: 20px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	display: grid;
	place-items: center;
}

/* News detail */
.news-detail {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 34px;
	box-shadow: var(--shadow-sm);
}

.news-detail__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 11.5px;
	color: var(--muted);
	font-family: var(--font-en);
	font-weight: 700;
}

.news-detail__reading {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: var(--font);
	font-weight: 600;
}

.news-detail__reading .icon {
	width: 13px;
	height: 13px;
}

.news-detail__title {
	font-size: 33px;
	font-weight: 900;
	line-height: 1.5;
	margin: 12px 0 14px;
	letter-spacing: 0.005em;
}

.news-detail__byline {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 12.5px;
	color: var(--sub);
	font-weight: 600;
}

.avatar {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--cy), #00e0b0);
	color: #062a33;
	font-family: var(--font-en);
	font-weight: 800;
	font-size: 13px;
}

.news-detail__hero {
	margin: 24px 0 0;
	border-radius: var(--radius);
	overflow: hidden;
}

.news-detail__img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.news-detail__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 34px;
	margin-top: 28px;
	align-items: start;
}

.news-detail__aside {
	display: grid;
	gap: 16px;
	position: sticky;
	top: 88px;
}

.prose {
	font-size: 15px;
	line-height: 1.95;
	color: #2a3242;
}

.prose > p:first-of-type {
	font-size: 15.5px;
}

.prose h2 {
	font-size: 21px;
	font-weight: 900;
	margin: 30px 0 12px;
	padding-left: 12px;
	border-left: 4px solid var(--cy);
	line-height: 1.5;
}

.prose h3 {
	font-size: 17px;
	font-weight: 800;
	margin: 24px 0 10px;
}

.prose p {
	margin-bottom: 1.25em;
}

.prose ul,
.prose ol {
	margin: 0 0 1.4em;
	padding-left: 1.4em;
	list-style: disc;
}

.prose ol {
	list-style: decimal;
}

.prose li {
	margin-bottom: 0.45em;
}

.prose img {
	border-radius: var(--radius);
	margin: 1.4em 0;
}

.prose a {
	color: var(--cy-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose blockquote {
	margin: 1.4em 0;
	padding: 14px 18px;
	background: #f4f9fc;
	border-left: 4px solid var(--cy);
	border-radius: 0 8px 8px 0;
	color: #465268;
}

.prose figure {
	margin: 1.4em 0;
}

.prose figcaption {
	font-size: 11.5px;
	color: var(--muted);
	text-align: center;
	margin-top: 6px;
}

.prose--page {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 34px;
	max-width: 860px;
}

.related-game {
	margin: 34px 0 0;
	padding: 20px;
	background: linear-gradient(135deg, #f7fbfe, #eef9fc);
	border: 1px solid #d9f2f7;
	border-radius: var(--radius);
}

.related-game__title {
	font-size: 13px;
	font-weight: 800;
	color: var(--cy-dark);
	margin-bottom: 12px;
	letter-spacing: 0.04em;
}

.related-game__card {
	display: flex;
	align-items: center;
	gap: 15px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 11px;
}

.related-game__cover {
	width: 72px;
	height: 72px;
	flex: 0 0 auto;
	border-radius: 8px;
	overflow: hidden;
	background: #eef3f8;
}

.related-game__cover img,
.related-game__cover .cover-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.related-game__cover .cover-fallback__glyph {
	font-size: 24px;
}

.related-game__body {
	flex: 1;
	min-width: 0;
}

.related-game__body h3 {
	font-size: 15px;
	font-weight: 800;
	margin: 3px 0 5px;
}

.related-game__rating {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-en);
	font-size: 12px;
	font-weight: 800;
}

.related-game__card .btn {
	flex: 0 0 auto;
	height: 36px;
	padding: 0 16px;
	font-size: 12.5px;
}

.news-detail__tags {
	display: flex;
	gap: 7px;
	flex-wrap: wrap;
}

.news-detail__footer {
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px;
}

.post-nav > span {
	display: block;
}

.post-nav .post-nav__prev a,
.post-nav .post-nav__next a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--sub);
	font-size: 11px;
	font-weight: 700;
	transition: border-color 0.15s, color 0.15s;
}

.post-nav .post-nav__next a {
	justify-content: flex-end;
	text-align: right;
}

.post-nav a:hover {
	border-color: var(--cy);
	color: var(--cy-dark);
}

.post-nav .icon {
	width: 15px;
	height: 15px;
}

.post-nav__label {
	display: block;
	font-size: 10px;
	color: var(--muted);
	letter-spacing: 0.08em;
}

.post-nav__title {
	display: block;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ink);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.side-news {
	display: grid;
	gap: 11px;
}

.side-news li a {
	display: flex;
	gap: 10px;
}

.side-news__thumb {
	width: 60px;
	height: 46px;
	flex: 0 0 auto;
	border-radius: 6px;
	overflow: hidden;
	background: #eef3f8;
}

.side-news__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.side-news__thumb .news-thumb__fallback {
	font-size: 9px;
}

.side-news__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.side-news time {
	font-family: var(--font-en);
	font-size: 10.5px;
	font-weight: 700;
	color: var(--muted);
}

.side-news strong {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Search */
.search-results {
	display: grid;
	gap: 10px;
}

.search-item {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 12px 16px;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.search-item:hover {
	border-color: #cfeef6;
	box-shadow: var(--shadow-sm);
}

.search-item__thumb {
	width: 86px;
	height: 66px;
	flex: 0 0 auto;
	border-radius: 8px;
	overflow: hidden;
	background: #eef3f8;
}

.search-item__thumb img,
.search-item__thumb .cover-fallback,
.search-item__thumb .news-thumb__fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.search-item__thumb .cover-fallback__glyph {
	font-size: 22px;
}

.search-item__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.search-item__type {
	font-size: 10px;
	font-weight: 700;
	color: var(--cy-dark);
	letter-spacing: 0.06em;
}

.search-item__title {
	font-size: 15px;
	font-weight: 800;
}

.search-item__excerpt {
	font-size: 12px;
	color: var(--sub);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.search-item__arrow {
	color: var(--muted);
}

/* Empty / 404 */
.empty-state,
.error-page {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 60px 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.empty-state__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: var(--cy-soft);
	color: var(--cy-dark);
	margin-bottom: 6px;
}

.empty-state__icon .icon {
	width: 28px;
	height: 28px;
}

.empty-state h2,
.error-page h1 {
	font-size: 22px;
}

.empty-state p,
.error-page p {
	color: var(--sub);
	font-size: 13px;
	max-width: 460px;
}

.error-page__code {
	font-family: var(--font-en);
	font-size: 72px;
	font-weight: 800;
	color: var(--cy);
	line-height: 1;
	margin: 0;
}

.error-page .hero-search {
	margin: 16px 0;
}

.error-page__links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}

/* Pagination */
.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	flex-wrap: wrap;
	margin: 34px 0 16px;
}

.page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-family: var(--font-en);
	font-size: 13px;
	font-weight: 700;
	color: var(--sub);
}

.page-link:hover {
	border-color: var(--cy);
	color: var(--cy-dark);
}

.page-link.current {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.page-link .icon {
	width: 14px;
	height: 14px;
}

/* Footer */
.site-footer {
	margin-top: 60px;
	background: var(--navy);
	color: rgba(255, 255, 255, 0.75);
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 1fr;
	gap: 40px;
	padding-top: 46px;
	padding-bottom: 30px;
}

.brand--footer .brand__mark {
	width: 34px;
	height: 34px;
}

.brand--footer .brand__name {
	font-size: 19px;
}

.footer-about__text {
	margin: 14px 0 16px;
	font-size: 12.5px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.55);
	max-width: 360px;
}

.footer-social {
	display: flex;
	gap: 8px;
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	padding: 0 12px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 11px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.75);
}

.footer-social a:hover {
	background: var(--cy);
	color: #04222a;
}

.footer-nav__list {
	display: grid;
	gap: 9px;
}

.footer-nav__list a {
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.65);
}

.footer-nav__list a:hover {
	color: var(--cy);
}

.footer-note p {
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 10px;
}

.footer-note__copy {
	font-family: var(--font-en);
}

/* Responsive */
@media (max-width: 1080px) {
	.game-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.game-detail__body,
	.news-detail__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.game-detail__aside,
	.news-detail__aside {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		display: grid;
	}

	.news-detail__aside .info-card--side {
		grid-column: 1 / -1;
	}

	.pre-register {
		grid-template-columns: 1fr;
	}

	.pre-register__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.site-header__inner {
		height: 62px;
		gap: 14px;
	}

	.primary-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 62px;
		padding: 10px 20px 16px;
		background: var(--navy);
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
	}

	.primary-nav.is-open {
		display: block;
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.nav-list li a {
		padding: 11px 12px;
	}

	.nav-toggle {
		display: grid;
	}

	.header-search {
		display: none;
	}

	.header-actions {
		gap: 8px;
	}

	.store-hero__row,
	.page-hero__row {
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
	}

	.store-hero__title {
		font-size: 34px;
	}

	.page-hero__title {
		font-size: 28px;
	}

	.slide__grid {
		grid-template-columns: 180px minmax(0, 1fr);
		gap: 22px;
	}

	.slide__visual .cover-img,
	.slide__visual .cover-fallback {
		width: 180px;
		height: 180px;
	}

	.slide__title {
		font-size: 24px;
	}

	.game-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pre-register__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.news-layout {
		grid-template-columns: minmax(0, 1fr);
	}

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

	.news-card--feature .news-thumb {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}

	.news-grid,
	.news-grid--three {
		grid-template-columns: 1fr;
	}

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

	.game-detail__hero {
		grid-template-columns: 180px minmax(0, 1fr);
		gap: 20px;
		padding: 20px;
	}

	.game-detail__title {
		font-size: 26px;
	}

	.game-detail__facts li {
		min-width: 130px;
	}

	.news-detail {
		padding: 24px;
	}

	.news-detail__title {
		font-size: 26px;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 620px) {
	.container {
		padding: 0 16px;
	}

	.section {
		padding-left: 16px;
		padding-right: 16px;
		padding-top: 26px;
	}

	.brand__tag {
		display: none;
	}

	.header-login span {
		display: none;
	}

	.header-login {
		width: 38px;
		padding: 0;
	}

	.store-hero__title {
		font-size: 29px;
	}

	.hero-search {
		padding-left: 40px;
	}

	.hero-search input {
		font-size: 13px;
	}

	.hero-search .btn {
		padding: 0 16px;
	}

	.slider__track,
	.slide {
		min-height: 0;
	}

	.slide {
		padding: 20px;
	}

	.slide__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.slide__visual {
		display: none;
	}

	.slide__bg::after {
		background: rgba(9, 30, 38, 0.72);
	}

	.slide__content {
		color: #fff;
	}

	.slide__title {
		color: #fff;
		font-size: 22px;
	}

	.slide__excerpt {
		color: rgba(255, 255, 255, 0.78);
		-webkit-line-clamp: 4;
	}

	.slide__tags a {
		color: #fff;
	}

	.slide__rating {
		color: #fff;
	}

	.slider__nav {
		display: none;
	}

	.pre-register {
		padding: 18px;
	}

	.pre-register__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.game-grid {
		gap: 12px;
	}

	.game-card__body {
		padding: 10px 11px 12px;
	}

	.game-card__title {
		font-size: 13.5px;
		min-height: 39px;
	}

	.game-card__rating {
		font-size: 11.5px;
	}

	.game-card__foot {
		flex-wrap: wrap;
	}

	.game-card__foot .btn {
		flex: 1 0 100%;
		justify-content: center;
		padding: 6px 10px;
		font-size: 11px;
	}

	.news-card--feature .news-card__body {
		padding: 20px;
	}

	.news-card--feature .news-card__title {
		font-size: 19px;
	}

	.game-detail__hero {
		grid-template-columns: 1fr;
		padding: 16px;
	}

	.game-detail__cover {
		width: 160px;
	}

	.game-detail__title {
		font-size: 23px;
	}

	.game-detail__actions .btn {
		flex: 1;
	}

	.shots {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.content-block,
	.genre-panel,
	.info-card {
		padding: 18px;
	}

	.game-detail__aside,
	.news-detail__aside {
		grid-template-columns: 1fr;
	}

	.news-detail {
		padding: 18px;
	}

	.news-detail__title {
		font-size: 21px;
	}

	.related-game__card {
		flex-wrap: wrap;
	}

	.related-game__card .btn {
		width: 100%;
	}

	.game-detail__facts {
		gap: 10px 0;
	}

	.game-detail__facts li {
		min-width: 50%;
		padding-right: 10px;
	}

	.filter-bar {
		gap: 10px;
	}

	.sort-form {
		margin-left: auto;
	}

	.page-link {
		height: 34px;
		min-width: 34px;
		padding: 0 9px;
		font-size: 12px;
	}

	.page-link span {
		display: none;
	}

	.search-item {
		padding: 10px;
		gap: 12px;
	}

	.search-item__thumb {
		width: 64px;
		height: 52px;
	}

	.footer-note__copy {
		font-size: 10.5px;
	}
}

/* Download page */
.dl-hero {
	display: flex;
	align-items: center;
	gap: 24px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 24px;
	box-shadow: var(--shadow-sm);
}

.dl-hero__cover {
	position: relative;
	flex: 0 0 auto;
	width: 124px;
}

.dl-hero__cover .cover-img,
.dl-hero__cover .cover-fallback {
	width: 124px;
	height: 124px;
	border-radius: 22px;
	object-fit: cover;
}

.dl-hero__cover .badge {
	position: absolute;
	left: 6px;
	top: 6px;
}

.dl-hero__intro {
	flex: 1 1 auto;
	min-width: 0;
}

.dl-hero__eyebrow {
	margin: 0 0 4px;
	font-family: var(--font-en);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	color: var(--cy-dark);
}

.dl-hero__title {
	font-size: 25px;
	font-weight: 900;
	line-height: 1.3;
}

.dl-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	color: var(--sub);
	font-size: 13px;
}

.dl-hero__meta > span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.dl-hero__meta .icon {
	width: 14px;
	height: 14px;
}

.dl-hero__rating strong {
	font-family: var(--font-en);
}

.dl-hero__note {
	margin: 10px 0 0;
	color: var(--sub);
	font-size: 13px;
}

.dl-stores {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.dl-store {
	display: flex;
	align-items: center;
	gap: 13px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px 18px;
	transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.dl-store:hover {
	border-color: var(--cy);
	box-shadow: var(--shadow-sm);
	transform: translateY(-1px);
	color: inherit;
}

.dl-store > .icon:first-child {
	width: 26px;
	height: 26px;
	color: var(--cy-dark);
}

.dl-store__text {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.dl-store__text small {
	font-size: 11px;
	font-weight: 600;
	color: var(--muted);
}

.dl-store__text strong {
	font-size: 15px;
}

.dl-store > .icon:last-child {
	width: 15px;
	height: 15px;
	color: var(--muted);
}

.dl-empty {
	background: var(--card);
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	padding: 26px;
	text-align: center;
	color: var(--sub);
}

.dl-steps {
	margin-top: 28px;
}

.dl-steps__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	counter-reset: dlstep;
}

.dl-steps__list li {
	position: relative;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px 16px 16px 54px;
	counter-increment: dlstep;
}

.dl-steps__list li::before {
	content: counter(dlstep);
	position: absolute;
	left: 15px;
	top: 16px;
	display: grid;
	place-items: center;
	width: 27px;
	height: 27px;
	border-radius: 50%;
	background: var(--cy);
	color: #04222a;
	font-family: var(--font-en);
	font-weight: 800;
	font-size: 13px;
}

.dl-steps__list strong {
	display: block;
	font-size: 14px;
}

.dl-steps__list span {
	font-size: 12.5px;
	color: var(--sub);
}

.dl-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

@media (max-width: 620px) {
	.dl-hero {
		flex-direction: column;
		align-items: flex-start;
		padding: 18px;
	}

	.dl-hero__title {
		font-size: 21px;
	}
}
