*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--bg: #1a1209;
	--bg-light: #231a0e;
	--bg-card: #2a1f12;
	--bg-header: #120c05;
	--bg-sidebar: #16100a;
	--gold: #d4a440;
	--gold-hover: #e0b44a;
	--gold-dim: #a07828;
	--gold-light: #f0cc6a;
	--accent: #3a8a6a;
	--accent-hover: #48a87e;
	--white: #f0e8d8;
	--gray: #9a8a72;
	--gray-dim: #6a5c48;
	--border: rgba(212, 164, 64, 0.1);
	--border-light: rgba(212, 164, 64, 0.18);
	--font-display: 'Cinzel', serif;
	--font: 'Inter', sans-serif;
	--sidebar-w: 200px;
	--header-h: 58px;
	--radius: 10px;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--white);
	min-height: 100vh;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: inherit;
}

ul,
ol {
	list-style: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	font-family: var(--font);
	font-size: 12px;
	font-weight: 700;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
	border: 2px solid transparent;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.btn--gold {
	background: linear-gradient(180deg, #f0c855 0%, #d4a440 40%, #b88a28 70%, #a07820 100%);
	color: #1a1000;
	border: 1px solid rgba(240, 200, 85, 0.4);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		inset 0 -2px 0 rgba(0, 0, 0, 0.2),
		0 2px 8px rgba(212, 164, 64, 0.3),
		0 4px 16px rgba(160, 120, 32, 0.2);
	position: relative;
	overflow: hidden;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.15);
}

.btn--gold::before {
	content: '';
	position: absolute;
	top: 1px;
	left: 6%;
	right: 6%;
	height: 45%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.05) 100%);
	border-radius: 5px 5px 50% 50%;
	pointer-events: none;
}

.btn--gold:hover {
	transform: translateY(-1px);
	border-color: rgba(240, 200, 85, 0.6);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		inset 0 -2px 0 rgba(0, 0, 0, 0.2),
		0 4px 16px rgba(212, 164, 64, 0.5),
		0 8px 28px rgba(160, 120, 32, 0.3);
}

.btn--gold:active {
	transform: translateY(0);
}

.btn--accent {
	background: linear-gradient(180deg, #52b88a 0%, #3a8a6a 40%, #2a7055 70%, #225e48 100%);
	color: #fff;
	border: 1px solid rgba(82, 184, 138, 0.3);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.2),
		inset 0 -2px 0 rgba(0, 0, 0, 0.2),
		0 2px 8px rgba(58, 138, 106, 0.25);
	position: relative;
	overflow: hidden;
}

.btn--accent::before {
	content: '';
	position: absolute;
	top: 1px;
	left: 6%;
	right: 6%;
	height: 45%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
	border-radius: 5px 5px 50% 50%;
	pointer-events: none;
}

.btn--accent:hover {
	border-color: rgba(82, 184, 138, 0.5);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.2),
		inset 0 -2px 0 rgba(0, 0, 0, 0.2),
		0 4px 16px rgba(58, 138, 106, 0.4);
}

.btn--sm {
	padding: 7px 16px;
	font-size: 11px;
}

.btn--full {
	width: 100%;
	padding: 12px 24px;
}

.burger-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(10, 6, 2, 0.75);
	z-index: 1100;
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.3s;
}

.burger-overlay.is-open {
	display: block;
	opacity: 1;
}

.sidebar-mobile {
	position: fixed;
	top: 0;
	left: -300px;
	width: 280px;
	height: 100%;
	background: linear-gradient(180deg, #1a1209 0%, #110b06 100%);
	border-right: 1px solid var(--border-light);
	z-index: 1200;
	display: none;
	flex-direction: column;
	transition: left 0.32s cubic-bezier(0.4, 0, 0.2, 1);
	overflow-y: auto;
	box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
}

.sidebar-mobile.is-open {
	left: 0;
}

.sidebar-mobile__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	border-bottom: 1px solid var(--border);
}

.sidebar-mobile__logo img {
	max-height: 30px;
	width: auto;
}

.sidebar-mobile__close {
	background: none;
	border: none;
	color: var(--gray);
	cursor: pointer;
	padding: 6px;
	border-radius: 6px;
	transition: color 0.2s, background 0.2s;
	line-height: 0;
}

.sidebar-mobile__close:hover {
	color: var(--white);
	background: rgba(212, 164, 64, 0.1);
}

.sidebar-mobile__auth {
	display: flex;
	gap: 8px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--border);
	background: rgba(0, 0, 0, 0.15);
}

.sidebar-mobile__nav ul {
	display: flex;
	flex-direction: column;
	padding: 8px 8px;
	gap: 1px;
}

.sidebar-mobile__nav ul li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gray);
	border-radius: 8px;
	transition: color 0.2s, background 0.2s;
}

.sidebar-mobile__nav ul li a svg {
	flex-shrink: 0;
	opacity: 0.6;
	transition: opacity 0.2s;
}

.sidebar-mobile__nav ul li a:hover {
	color: var(--gold);
	background: linear-gradient(90deg, rgba(212, 164, 64, 0.08) 0%, rgba(212, 164, 64, 0.02) 100%);
}

.sidebar-mobile__nav ul li a:hover svg {
	opacity: 1;
	color: var(--gold);
	filter: drop-shadow(0 0 3px rgba(212, 164, 64, 0.3));
}

.sidebar-mobile__nav ul li a[aria-current="page"] {
	color: var(--gold);
	background: linear-gradient(90deg, rgba(212, 164, 64, 0.1) 0%, rgba(212, 164, 64, 0.03) 100%);
	box-shadow: inset 3px 0 0 var(--gold);
}

.sidebar-mobile__nav ul li a[aria-current="page"] svg {
	opacity: 1;
	color: var(--gold);
	filter: drop-shadow(0 0 4px rgba(212, 164, 64, 0.4));
}

.sidebar-mobile__divider {
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--border-light), transparent);
	margin: 4px 18px;
}

.sidebar-mobile__bottom {
	display: flex;
	gap: 0;
	padding: 8px 8px 16px;
	border-top: 1px solid var(--border);
}

.sidebar-mobile__lang,
.sidebar-mobile__help {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--gray-dim);
	transition: color 0.2s;
	flex: 1;
}

.sidebar-mobile__lang:hover,
.sidebar-mobile__help:hover {
	color: var(--gold);
}

.burger-btn {
	display: none;
	background: none;
	border: 1px solid var(--border-light);
	color: var(--gold);
	cursor: pointer;
	padding: 8px;
	border-radius: 6px;
	transition: background 0.2s, border-color 0.2s;
	line-height: 0;
}

.burger-btn:hover {
	background: rgba(212, 164, 64, 0.1);
	border-color: var(--gold-dim);
}

.header {
	background: linear-gradient(180deg, #160f06 0%, #120c05 100%);
	border-bottom: 1px solid var(--border-light);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.header__top-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 0 20px;
	height: var(--header-h);
}

.header__logo {
	flex-shrink: 0;
}

.header__logo img {
	max-height: 36px;
	width: auto;
}

.header__search {
	flex: 1;
	max-width: 480px;
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--border-light);
	border-radius: 8px;
	padding: 9px 14px;
	margin-left: auto;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header__search:focus-within {
	border-color: var(--gold-dim);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(212, 164, 64, 0.15);
}

.header__search svg {
	color: var(--gray-dim);
	flex-shrink: 0;
}

.header__search input {
	background: none;
	border: none;
	outline: none;
	font-family: var(--font);
	font-size: 13px;
	color: var(--white);
	width: 100%;
}

.header__search input::placeholder {
	color: var(--gray-dim);
}

.header__actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.header__mobile-auth {
	display: none;
	gap: 8px;
	padding: 0 14px 12px;
	background: linear-gradient(180deg, var(--bg-header) 0%, rgba(18, 12, 5, 0.6) 100%);
}

.layout {
	display: flex;
	min-height: calc(100vh - var(--header-h));
}

.desktop-sidebar {
	width: var(--sidebar-w);
	flex-shrink: 0;
	background: linear-gradient(180deg, var(--bg-sidebar) 0%, #110b06 100%);
	border-right: 1px solid var(--border-light);
	padding: 0 6px 16px;
	position: sticky;
	top: var(--header-h);
	height: calc(100vh - var(--header-h));
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--gold-dim) transparent;
	box-shadow: 2px 0 12px rgba(0, 0, 0, 0.3);
}

.desktop-sidebar__features {
	display: flex;
	gap: 6px;
	padding: 10px 4px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 4px;
}

.feature-btn {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 10px 4px 8px;
	border-radius: 10px;
	border: 1px solid rgba(212, 164, 64, 0.2);
	background: linear-gradient(180deg, rgba(42, 26, 8, 0.9) 0%, rgba(22, 14, 6, 0.95) 100%);
	color: var(--gold);
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 0.3px;
	transition: all 0.25s;
	box-shadow:
		0 2px 8px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(212, 164, 64, 0.06);
}

.feature-btn svg {
	filter: drop-shadow(0 2px 6px rgba(212, 164, 64, 0.25));
	transition: filter 0.25s, transform 0.25s;
}

.feature-btn:hover {
	background: linear-gradient(180deg, rgba(52, 36, 14, 0.95) 0%, rgba(28, 18, 8, 0.95) 100%);
	border-color: rgba(212, 164, 64, 0.4);
	box-shadow:
		0 4px 16px rgba(0, 0, 0, 0.5),
		inset 0 1px 0 rgba(212, 164, 64, 0.1),
		0 0 12px rgba(212, 164, 64, 0.08);
}

.feature-btn:hover svg {
	filter: drop-shadow(0 2px 10px rgba(212, 164, 64, 0.4));
	transform: scale(1.05);
}

.desktop-sidebar ul {
	display: flex;
	flex-direction: column;
	padding: 4px 0;
	gap: 1px;
}

.desktop-sidebar ul li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gray);
	border-radius: 8px;
	transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.desktop-sidebar ul li a svg {
	flex-shrink: 0;
	opacity: 0.5;
	transition: opacity 0.2s, color 0.2s, filter 0.2s;
}

.desktop-sidebar ul li a:hover {
	color: var(--gold);
	background: linear-gradient(90deg, rgba(212, 164, 64, 0.08) 0%, rgba(212, 164, 64, 0.02) 100%);
}

.desktop-sidebar ul li a:hover svg {
	opacity: 1;
	color: var(--gold);
	filter: drop-shadow(0 0 3px rgba(212, 164, 64, 0.3));
}

.desktop-sidebar ul li a[aria-current="page"] {
	color: var(--gold);
	background: linear-gradient(90deg, rgba(212, 164, 64, 0.1) 0%, rgba(212, 164, 64, 0.03) 100%);
	box-shadow: inset 3px 0 0 var(--gold);
}

.desktop-sidebar ul li a[aria-current="page"] svg {
	opacity: 1;
	color: var(--gold);
	filter: drop-shadow(0 0 4px rgba(212, 164, 64, 0.4));
}

.desktop-sidebar__divider {
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--border-light), transparent);
	margin: 4px 10px;
}

.desktop-sidebar__bottom {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 8px 0;
}

.desktop-sidebar__lang,
.desktop-sidebar__help {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--gray-dim);
	border-radius: 8px;
	transition: color 0.2s, background 0.2s;
}

.desktop-sidebar__lang:hover,
.desktop-sidebar__help:hover {
	color: var(--gold);
	background: rgba(212, 164, 64, 0.06);
}

.page-content {
	flex: 1;
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.mobile-tabs {
	display: none;
	background: linear-gradient(180deg, #2a1f12 0%, #1e1609 100%);
	border-bottom: 1px solid var(--border-light);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mobile-tabs ul {
	display: flex;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.mobile-tabs ul::-webkit-scrollbar {
	display: none;
}

.mobile-tabs ul li {
	flex-shrink: 0;
}

.mobile-tabs ul li a {
	display: block;
	text-align: center;
	padding: 12px 20px;
	font-size: 13px;
	font-weight: 800;
	color: var(--gray);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: color 0.2s;
	position: relative;
	white-space: nowrap;
}

.mobile-tabs ul li a:hover {
	color: var(--gold);
}

.mobile-tabs ul li a[aria-current="page"] {
	color: var(--gold);
}

.mobile-tabs ul li a[aria-current="page"]::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 10px;
	right: 10px;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
	border-radius: 3px 3px 0 0;
}

.hero-slider {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-slider__track {
	display: flex;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
	flex-shrink: 0;
	width: 100%;
	aspect-ratio: 3 / 1;
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero-slide--1 {
	background-image: url('/assets/img/slide-1.webp');
	background-color: #3a2a14;
}

.hero-slide--2 {
	background-image: url('/assets/img/slide-2.webp');
	background-color: #2a1a28;
}

.hero-slide--3 {
	background-image: url('/assets/img/slide-3.webp');
	background-color: #1a2a14;
}

.hero-slide--4 {
	background-image: url('/assets/img/slide-4.webp');
	background-color: #14202a;
}

.hero-slide__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(26, 18, 9, 0.75) 0%, rgba(26, 18, 9, 0.35) 45%, rgba(26, 18, 9, 0.05) 100%);
}

.hero-slide__content {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px 48px;
	max-width: 480px;
}

.hero-slide__badge {
	display: inline-block;
	padding: 4px 14px;
	margin-bottom: 10px;
	background: rgba(212, 164, 64, 0.15);
	border: 1px solid rgba(212, 164, 64, 0.35);
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	font-style: italic;
	color: var(--gold-light);
	letter-spacing: 0.3px;
}

.hero-slide__title {
	display: block;
	font-family: var(--font);
	font-size: 32px;
	font-weight: 900;
	color: var(--white);
	margin-bottom: 16px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
	line-height: 1.15;
	letter-spacing: 0.5px;
}

.hero-slide__title em {
	font-style: normal;
	color: var(--gold-light);
}

.hero-slide__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 48px;
	font-family: var(--font);
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #0a0e14;
	border-radius: 6px;
	background: linear-gradient(180deg, #60dbb0 0%, #3ab88a 50%, #2a9a72 100%);
	border: 1px solid rgba(96, 219, 176, 0.4);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		inset 0 -2px 0 rgba(0, 0, 0, 0.15),
		0 4px 14px rgba(58, 184, 138, 0.35);
	position: relative;
	overflow: hidden;
	transition: transform 0.15s, box-shadow 0.2s;
}

.hero-slide__cta::before {
	content: '';
	position: absolute;
	top: 1px;
	left: 6%;
	right: 6%;
	height: 45%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
	border-radius: 5px 5px 50% 50%;
	pointer-events: none;
}

.hero-slide__cta:hover {
	transform: translateY(-1px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		inset 0 -2px 0 rgba(0, 0, 0, 0.15),
		0 6px 22px rgba(58, 184, 138, 0.5);
}

.hero-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(212, 164, 64, 0.2);
	border-radius: 6px;
	color: var(--white);
	transition: background 0.2s, border-color 0.2s;
	z-index: 3;
}

.hero-slider__arrow:hover {
	background: rgba(212, 164, 64, 0.25);
	border-color: var(--gold-dim);
}

.hero-slider__arrow--prev {
	left: 10px;
}

.hero-slider__arrow--next {
	right: 10px;
}

.hero-slider__dots {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 3;
}

.hero-slider__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.2);
	cursor: pointer;
	transition: all 0.2s;
}

.hero-slider__dot.is-active {
	background: var(--white);
	border-color: var(--white);
	box-shadow: 0 0 6px rgba(240, 232, 216, 0.4);
}

.hero-slider__dot:hover {
	background: rgba(255, 255, 255, 0.6);
}

.categories {
	overflow: hidden;
}

.categories__scroll {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 4px;
}

.categories__scroll::-webkit-scrollbar {
	display: none;
}

.category-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	border: 1px solid rgba(212, 164, 64, 0.2);
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	color: var(--gray);
	white-space: nowrap;
	flex-shrink: 0;
	background: linear-gradient(180deg, rgba(42, 30, 16, 0.8) 0%, rgba(26, 18, 9, 0.9) 100%);
	box-shadow:
		inset 0 1px 0 rgba(212, 164, 64, 0.06),
		0 2px 6px rgba(0, 0, 0, 0.3);
	transition: all 0.2s;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.category-btn svg {
	opacity: 0.6;
	flex-shrink: 0;
	transition: opacity 0.2s;
}

.category-btn:hover {
	color: var(--gold);
	border-color: rgba(212, 164, 64, 0.4);
	background: linear-gradient(180deg, rgba(52, 38, 20, 0.9) 0%, rgba(32, 22, 12, 0.95) 100%);
	box-shadow:
		inset 0 1px 0 rgba(212, 164, 64, 0.1),
		0 2px 10px rgba(0, 0, 0, 0.4),
		0 0 8px rgba(212, 164, 64, 0.06);
}

.category-btn:hover svg {
	opacity: 1;
	color: var(--gold);
}

.category-btn--search {
	padding: 10px 12px;
	color: var(--gold);
}

.category-btn--search svg {
	opacity: 0.8;
	color: var(--gold);
}

.games-section {
	display: flex;
	flex-direction: column;
	gap: 14px;
	content-visibility: auto;
	contain-intrinsic-size: auto 500px;
}

.games-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}

.games-section__title {
	font-size: 20px;
	font-weight: 800;
}

.games-section__all {
	font-size: 13px;
	color: var(--gold);
	font-weight: 700;
	transition: color 0.2s;
}

.games-section__all:hover {
	color: var(--gold-hover);
}

.games-grid {
	display: grid;
	grid-template-rows: repeat(2, 1fr);
	grid-auto-flow: column;
	grid-auto-columns: 160px;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--gold-dim) var(--bg-light);
	padding-bottom: 8px;
}

.games-grid::-webkit-scrollbar {
	height: 6px;
}

.games-grid::-webkit-scrollbar-track {
	background: var(--bg-light);
	border-radius: 3px;
}

.games-grid::-webkit-scrollbar-thumb {
	background: var(--gold-dim);
	border-radius: 3px;
}

.games-grid::-webkit-scrollbar-thumb:hover {
	background: var(--gold);
}

.game-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--bg-card);
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
	scroll-snap-align: start;
	position: relative;
}

.game-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(212, 164, 64, 0.12);
}

.game-card__badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	padding: 3px 8px;
	background: linear-gradient(180deg, #d4a440 0%, #a07828 100%);
	border-radius: 4px;
	font-size: 9px;
	font-weight: 800;
	color: #1a1000;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.game-card__wrap {
	position: relative;
	overflow: hidden;
}

.game-card__img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	background: var(--bg-light);
	transition: transform 0.3s;
}

.game-card:hover .game-card__img {
	transform: scale(1.07);
}

.game-card__hover {
	position: absolute;
	inset: 0;
	background: rgba(10, 6, 2, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.25s;
}

.game-card:hover .game-card__hover {
	opacity: 1;
}

.game-card__play-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 22px;
	font-family: var(--font);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #1a1000;
	border-radius: 6px;
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #f0c855 0%, #d4a440 50%, #a07828 100%);
	border: 1px solid rgba(240, 200, 85, 0.3);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		inset 0 -2px 0 rgba(0, 0, 0, 0.15),
		0 4px 14px rgba(212, 164, 64, 0.5);
	transform: translateY(6px);
	transition: transform 0.25s, box-shadow 0.2s;
}

.game-card__play-btn::before {
	content: '';
	position: absolute;
	top: 1px;
	left: 8%;
	right: 8%;
	height: 40%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
	border-radius: 5px 5px 50% 50%;
}

.game-card:hover .game-card__play-btn {
	transform: translateY(0);
}

.game-card__name {
	display: block;
	padding: 8px 8px;
	font-size: 11px;
	font-weight: 700;
	color: var(--gray);
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.content {
	width: 100%;
	color: var(--gray);
	line-height: 1.7;
	font-size: 15px;
	content-visibility: auto;
	contain-intrinsic-size: auto 900px;
}

.content h1 {
	font-size: 26px;
	font-weight: 800;
	color: var(--white);
	line-height: 1.2;
	margin-bottom: 18px;
}

.content img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 16px;
}

.content h2 {
	font-size: 21px;
	font-weight: 700;
	color: var(--white);
	margin-top: 28px;
	margin-bottom: 12px;
}

.content h3 {
	font-size: 17px;
	font-weight: 700;
	color: var(--white);
	margin-top: 22px;
	margin-bottom: 10px;
}

.content p {
	margin-bottom: 14px;
}

.content blockquote {
	border-left: 3px solid var(--gold);
	padding: 12px 20px;
	margin: 18px 0;
	background: rgba(212, 164, 64, 0.04);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-style: italic;
}

.content table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0;
}

.content th,
.content td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--border);
	font-size: 14px;
}

.content th {
	font-weight: 700;
	color: var(--white);
	background: rgba(212, 164, 64, 0.04);
}

.content tbody tr:hover {
	background: rgba(212, 164, 64, 0.02);
}

.content ul {
	margin: 14px 0;
	padding-left: 22px;
	list-style: disc;
}

.content ul li {
	margin-bottom: 6px;
}

.content ol {
	margin: 14px 0;
	padding-left: 22px;
	list-style: decimal;
}

.content ol li {
	margin-bottom: 6px;
}

.footer {
	background: linear-gradient(180deg, #110b06 0%, #0a0704 100%);
	border-top: 1px solid var(--border-light);
	padding: 40px 28px 28px;
	content-visibility: auto;
	contain-intrinsic-size: auto 500px;
}

.footer__columns {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 24px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--border);
}

.footer__col-title {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 12px;
}

.footer__col-title--spaced {
	margin-top: 18px;
}

.footer__col ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.footer__col ul li a {
	font-size: 12px;
	color: var(--gray-dim);
	font-weight: 500;
	transition: color 0.2s;
}

.footer__col ul li a:hover {
	color: var(--gold);
}

.footer__payments {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px 0;
	border-bottom: 1px solid var(--border);
}

.footer__pay-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border: 1px solid var(--border-light);
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.2);
	transition: border-color 0.2s;
}

.footer__pay-icon:hover {
	border-color: var(--gold-dim);
}

.footer__payments-more {
	font-size: 13px;
	font-weight: 600;
	color: var(--gray);
	transition: color 0.2s;
	white-space: nowrap;
	margin-left: 8px;
}

.footer__payments-more:hover {
	color: var(--gold);
}

.footer__badges {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 24px 0;
	border-bottom: 1px solid var(--border);
}

.footer__badge-18,
.footer__badge-cert {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.footer__badge-icon {
	transition: opacity 0.2s;
}

.footer__badge-icon:hover {
	opacity: 0.8;
}

.footer__legal {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.footer__legal p {
	font-size: 11px;
	color: var(--gray-dim);
	line-height: 1.7;
	margin-bottom: 6px;
}

.footer__legal p:last-child {
	margin-bottom: 0;
	margin-top: 10px;
	font-weight: 600;
	color: var(--gray);
}

@media (max-width: 1024px) {
	.desktop-sidebar {
		width: 180px;
	}

	.desktop-sidebar ul li a {
		font-size: 12px;
		padding: 8px 8px;
	}

	.feature-btn {
		font-size: 9px;
	}

	.feature-btn svg {
		width: 40px;
		height: 40px;
	}

	.hero-slide__title {
		font-size: 26px;
	}

	.hero-slide__content {
		padding: 20px 32px;
	}

	.games-grid {
		grid-auto-columns: 145px;
	}

	.footer__columns {
		grid-template-columns: repeat(4, 1fr);
	}

	.header__search {
		max-width: 360px;
	}
}

@media (max-width: 768px) {
	.desktop-sidebar {
		display: none;
	}

	.sidebar-mobile {
		display: flex;
	}

	.burger-btn {
		display: block;
	}

	.header__search {
		display: none;
	}

	.header__actions {
		display: none;
	}

	.header__mobile-auth {
		display: flex;
	}

	.header__top-row {
		padding: 0 14px;
		height: 52px;
		justify-content: space-between;
		position: relative;
        margin-top: 10px;
        margin-bottom: 10px;
	}

	.header__logo {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}

	.header__logo img {
		max-height: 40px;
	}

	.layout {
		flex-direction: column;
	}

	.page-content {
		padding: 0 12px 16px;
		gap: 16px;
	}

	.mobile-tabs {
		display: block;
		margin-left: -12px;
		margin-right: -12px;
	}

	.mobile-tabs ul li {
		flex: 1;
		flex-shrink: 0;
	}

	.mobile-tabs ul li a {
		padding: 12px 10px;
	}

	.hero-slide {
		aspect-ratio: auto;
		min-height: 300px;
	}

    @media (max-width: 768px) {
	.hero-slide--1 {
		background-position: 85% center;
	}

	.hero-slide--2 {
		background-position: 85% center;
	}

	.hero-slide--3 {
		background-position: 88% center;
	}

	.hero-slide--4 {
		background-position: 85% center;
	}
}

	.hero-slide__overlay {
		background: linear-gradient(0deg, rgba(26, 18, 9, 0.95) 20%, rgba(26, 18, 9, 0.5) 55%, rgba(26, 18, 9, 0.15) 100%);
	}

	.hero-slide__content {
		position: relative;
		top: auto;
		transform: none;
		min-height: 300px;
		align-items: center;
		text-align: center;
		justify-content: flex-end;
		padding: 20px 20px 40px;
		max-width: 100%;
	}

	.hero-slide__title {
		font-size: 24px;
	}

	.hero-slider__arrow {
		width: 28px;
		height: 28px;
	}

	.hero-slider__arrow svg {
		width: 16px;
		height: 16px;
	}

	.hero-slider__arrow {
		display: none;
	}

	.category-btn {
		padding: 8px 12px;
		font-size: 11px;
	}

	.games-grid {
		grid-auto-columns: 120px;
		gap: 10px;
	}

	.games-section__title {
		font-size: 18px;
	}

	.content h1 {
		font-size: 22px;
	}

	.content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.footer {
		padding: 28px 16px 20px;
	}

	.footer__columns {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		text-align: center;
	}

	.footer__col ul {
		align-items: center;
	}

	.footer__col-title {
		text-align: center;
	}
}

@media (max-width: 480px) {
	.header__top-row {
		padding: 0 10px;
		height: 48px;
	}

	.header__logo img {
		max-height: 35px;
	}

	.header__mobile-auth {
		padding: 0 10px 8px;
        margin-top: 10px;
        margin-bottom: 10px;
	}

	.btn--full {
		padding: 10px 16px;
		font-size: 11px;
	}

	.hero-slide {
		min-height: 280px;
	}

	.hero-slide__content {
		min-height: 280px;
		padding: 16px 16px 36px;
	}

	.hero-slide__title {
		font-size: 20px;
	}

	.hero-slide__cta {
		padding: 10px 36px;
		font-size: 12px;
	}

	.games-grid {
		grid-auto-columns: 105px;
		gap: 8px;
	}

	.game-card__name {
		font-size: 10px;
		padding: 6px 4px;
	}

	.game-card__badge {
		font-size: 8px;
		padding: 2px 6px;
		top: 5px;
		left: 5px;
	}

	.footer__columns {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.footer__payments {
		flex-wrap: wrap;
		gap: 10px;
	}
}

.mobile-tabs ul li:nth-child(4),
.mobile-tabs ul li:nth-child(5),
.mobile-tabs ul li:nth-child(6) {
	display: none;
}

.desktop-sidebar ul li:nth-child(4),
.desktop-sidebar ul li:nth-child(5),
.desktop-sidebar ul li:nth-child(6) {
	display: none;
}