*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--bg: #0d0d0d;
	--bg-card: #1a1a1a;
	--bg-header: #111111;
	--bg-drawer: #141414;
	--yellow: #ffce00;
	--yellow-dim: rgba(255, 206, 0, 0.12);
	--red: #c41e3a;
	--red-hover: #dc2626;
	--green: #22c55e;
	--white: #ffffff;
	--text: #d4d4d4;
	--text-dim: #999999;
	--border: rgba(255, 255, 255, 0.08);
	--border-light: rgba(255, 255, 255, 0.12);
	--font: 'Inter', sans-serif;
	--header-h: 52px;
	--radius: 12px;
	--radius-sm: 8px;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	scrollbar-width: thin;
	scrollbar-color: #333 var(--bg);
}

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;
}

/* ── Buttons ── */

.bk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	font-family: var(--font);
	font-size: 14px;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
	border: none;
}

.bk-btn--red {
	background: var(--red);
	color: var(--white);
	box-shadow: 0 4px 16px rgba(196, 30, 58, 0.3);
}

.bk-btn--red:hover {
	background: var(--red-hover);
	box-shadow: 0 6px 24px rgba(196, 30, 58, 0.45);
}

.bk-btn--outline {
	background: transparent;
	color: var(--yellow);
	border: 1.5px solid var(--yellow);
}

.bk-btn--outline:hover {
	background: var(--yellow-dim);
}

.bk-btn--sm {
	padding: 8px 18px;
	font-size: 12px;
}

.bk-btn--full {
	width: 100%;
}

/* ── Overlay ── */

.bk-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1100;
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.3s;
}

.bk-overlay.is-open {
	display: block;
	opacity: 1;
}

/* ── Drawer ── */

.bk-drawer {
	position: fixed;
	top: 0;
	left: -320px;
	width: 300px;
	height: 100%;
	background: var(--bg-drawer);
	z-index: 1200;
	display: flex;
	flex-direction: column;
	transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	overflow-y: auto;
	box-shadow: 6px 0 30px rgba(0, 0, 0, 0.5);
}

.bk-drawer.is-open {
	left: 0;
}

.bk-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-bottom: 1px solid var(--border);
}

.bk-drawer__title {
	font-size: 16px;
	font-weight: 700;
}

.bk-drawer__head-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bk-drawer__status {
	display: flex;
}

.bk-drawer__close {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	cursor: pointer;
	transition: opacity 0.2s;
}

.bk-drawer__close:hover {
	opacity: 0.7;
}

.bk-drawer__promo {
	margin: 16px 16px 0;
	border-radius: var(--radius);
	overflow: hidden;
}

.bk-drawer__promo img {
	width: 100%;
	height: auto;
	display: block;
}

/* ── Drawer Nav (ul > li > a) ── */

.bk-drawer__nav {
	flex: 1;
	padding: 8px 0;
}

.bk-drawer__nav ul {
	list-style: none;
}

.bk-drawer__nav ul li a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 500;
	color: var(--white);
	transition: background 0.15s;
}

.bk-drawer__nav ul li a:hover {
	background: rgba(255, 255, 255, 0.04);
}

.bk-drawer__nav ul li a svg:first-child {
	flex-shrink: 0;
	color: var(--text-dim);
}

.bk-drawer__nav ul li a span {
	flex: 1;
}

.bk-drawer__badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 50px;
	font-size: 11px;
	font-weight: 800;
	font-style: normal;
	color: var(--yellow);
	background: var(--yellow-dim);
}

.bk-drawer__badge--green {
	color: var(--green);
	background: rgba(34, 197, 94, 0.12);
}

.bk-drawer__arrow {
	flex-shrink: 0;
	color: var(--text-dim);
	margin-left: auto;
}

.bk-drawer__sep {
	height: 1px;
	background: var(--border);
	margin: 4px 20px;
}

/* ── Drawer Footer ── */

.bk-drawer__foot {
	padding: 16px 18px 20px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.bk-drawer__apps {
	display: flex;
	gap: 8px;
}

.bk-drawer__app {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 50px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--border-light);
	font-size: 13px;
	font-weight: 600;
	color: var(--white);
	transition: all 0.2s;
}

.bk-drawer__app:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--yellow);
}

.bk-drawer__social {
	display: flex;
	justify-content: center;
	gap: 16px;
}

.bk-drawer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--text-dim);
	transition: color 0.2s;
}

.bk-drawer__social a:hover {
	color: var(--white);
}

.bk-drawer__lang {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
	cursor: pointer;
}

.bk-drawer__lang:hover {
	color: var(--white);
}

.bk-drawer__lang svg {
	margin-left: auto;
}

/* ── Logo ── */

.bk-logo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.bk-logo__text {
	font-size: 22px;
	font-weight: 900;
	color: var(--white);
	letter-spacing: -0.5px;
}

/* ── Header ── */

.bk-header {
	background: var(--bg-header);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.bk-header__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 0 200px;
	height: var(--header-h);
	position: relative;
}

.bk-header__auth {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	gap: 8px;
}

.bk-header__mobile {
	display: none;
}

/* ── Menu Button ── */

.bk-menu-btn {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--white);
	font-family: var(--font);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.bk-menu-btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* ── Top Nav (ul > li > a) ── */

.bk-topnav ul {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
}

.bk-topnav ul li a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	transition: all 0.2s;
	white-space: nowrap;
}

.bk-topnav ul li a:hover {
	color: var(--white);
	background: rgba(255, 255, 255, 0.06);
}

.bk-topnav ul li a svg {
	opacity: 0.6;
}

.bk-topnav__promo {
	color: var(--yellow) !important;
	font-weight: 700 !important;
	background: none !important;
	border: none !important;
	padding: 6px 4px !important;
	border-radius: 0 !important;
}

.bk-topnav ul li a.bk-topnav__promo:hover {
	background: none !important;
}

.bk-topnav__sep {
	color: var(--text-dim);
	font-size: 16px;
	user-select: none;
	padding: 0 2px;
}

/* ── Promo Strip (mobile) ── */

.bk-promo-strip {
	display: none;
}

/* ── Hero ── */

.bk-hero {
	padding: 16px 20px 0;
	position: relative;
}

.bk-hero__track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	cursor: grab;
}

.bk-hero__track:active {
	cursor: grabbing;
}

.bk-hero__track.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.bk-hero__track.is-dragging .bk-hero__card {
	pointer-events: none;
}

.bk-hero__track::-webkit-scrollbar {
	display: none;
}

.bk-hero__card {
	flex: 0 0 calc((100% - 36px) / 4);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--bg-card);
	transition: transform 0.2s;
	scroll-snap-align: start;
}

.bk-hero__card:hover {
	transform: translateY(-3px);
}

.bk-hero__img {
	width: 100%;
	height: auto;
	display: block;
}

.bk-hero__dots {
	display: none;
}

/* ── Categories ── */

.bk-cats {
	padding: 24px 20px 0;
}

.bk-cats__scroll {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 6px 0;
}

.bk-cats__scroll::-webkit-scrollbar {
	display: none;
}

.bk-cats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 90px;
	padding: 8px 4px;
	flex-shrink: 0;
}

.bk-cats__item:hover {
	opacity: 0.85;
}

.bk-cats__icon {
	position: relative;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bk-cats__icon img {
	width: 80px;
	height: 80px;
	object-fit: contain;
	border-radius: var(--radius);
}

.bk-cats__badge {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
	border-radius: 50px;
	background: var(--red);
	color: var(--white);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	z-index: 2;
}

.bk-cats__badge--green {
	background: var(--green);
}

/* ── Games ── */

.bk-games {
	padding: 28px 20px 0;
}

.bk-games__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 16px;
}

.bk-games__title {
	font-size: 20px;
	font-weight: 800;
}

.bk-games__all {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-dim);
	transition: color 0.2s;
}

.bk-games__all:hover {
	color: var(--yellow);
}

.bk-games__grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 12px;
}

.bk-game {
	display: flex;
	flex-direction: column;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--bg-card);
	cursor: pointer;
	transition: transform 0.2s;
}

.bk-game:hover {
	transform: translateY(-4px);
}

.bk-game__wrap {
	position: relative;
	overflow: hidden;
}

.bk-game__wrap img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.bk-game:hover .bk-game__wrap img {
	transform: scale(1.06);
}

.bk-game__badge {
	position: absolute;
	top: 6px;
	left: 6px;
	z-index: 3;
	padding: 2px 8px;
	background: var(--green);
	border-radius: 6px;
	font-size: 9px;
	font-weight: 800;
	color: #fff;
	text-transform: uppercase;
}

.bk-game__hover {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s;
}

.bk-game:hover .bk-game__hover {
	opacity: 1;
}

.bk-game__play {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--red);
	color: #fff;
	font-size: 16px;
	box-shadow: 0 4px 16px rgba(196, 30, 58, 0.5);
	transition: transform 0.2s;
}

.bk-game:hover .bk-game__play {
	transform: scale(1.1);
}

.bk-game__name {
	display: block;
	padding: 8px 6px;
	font-size: 11px;
	font-weight: 600;
	color: var(--text);
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ── Content ── */

.bk-content {
	padding: 28px 20px;
	color: var(--text);
	line-height: 1.7;
	font-size: 15px;
	content-visibility: auto;
	contain-intrinsic-size: auto 900px;
}

.bk-content h1 {
	font-size: 26px;
	font-weight: 800;
	color: var(--white);
	line-height: 1.2;
	margin-bottom: 18px;
}

.bk-content h2 {
	font-size: 21px;
	font-weight: 700;
	color: var(--white);
	margin-top: 28px;
	margin-bottom: 12px;
}

.bk-content h3 {
	font-size: 17px;
	font-weight: 700;
	color: var(--white);
	margin-top: 22px;
	margin-bottom: 10px;
}

.bk-content p {
	margin-bottom: 14px;
}

.bk-content img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	border-radius: var(--radius);
	margin-bottom: 18px;
	border: 1px solid var(--border-light);
}

.bk-content blockquote {
	border-left: 3px solid var(--yellow);
	padding: 12px 20px;
	margin: 18px 0;
	background: var(--yellow-dim);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: italic;
}

.bk-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0;
}

.bk-content th,
.bk-content td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--border);
	font-size: 14px;
}

.bk-content th {
	font-weight: 700;
	color: var(--white);
	background: var(--yellow-dim);
}

.bk-content tbody tr:hover {
	background: rgba(255, 206, 0, 0.03);
}

.bk-content ul {
	margin: 14px 0;
	padding-left: 22px;
	list-style: disc;
}

.bk-content ul li {
	margin-bottom: 6px;
}

.bk-content ol {
	margin: 14px 0;
	padding-left: 22px;
	list-style: decimal;
}

.bk-content ol li {
	margin-bottom: 6px;
}

/* ── Footer ── */

.bk-footer {
	background: var(--bg-header);
	border-top: 1px solid var(--border);
	padding: 40px 20px 24px;
	margin-top: 40px;
}

.bk-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--border);
}

.bk-footer__cols {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

.bk-footer__col-title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 14px;
}

.bk-footer__col ul {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bk-footer__col ul li a {
	font-size: 13px;
	color: var(--text-dim);
	transition: color 0.2s;
}

.bk-footer__col ul li a:hover {
	color: var(--yellow);
}

.bk-footer__legal {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	padding-top: 24px;
}

.bk-footer__legal .bk-logo {
	justify-content: center;
	margin-bottom: 16px;
}

.bk-footer__legal p {
	font-size: 11px;
	color: var(--text-dim);
	line-height: 1.7;
	margin-bottom: 8px;
}

.bk-footer__legal p:last-child {
	margin-bottom: 0;
	font-weight: 600;
	color: var(--text);
}

/* ── Bottom Nav ── */

.bk-bar {
	display: none;
}

/* ── Responsive 1024 ── */

@media (max-width: 1024px) {
	.bk-topnav ul li a {
		font-size: 13px;
		padding: 5px 10px;
	}

	.bk-hero__card {
		flex: 0 0 calc((100% - 24px) / 3);
	}

	.bk-games__grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

/* ── Responsive 768 ── */

@media (max-width: 768px) {
	.bk-menu-btn,
	.bk-logo:not(.bk-logo--mob),
	.bk-topnav,

	.bk-header__auth {
		display: none;
	}

	.bk-header__mobile {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}

	.bk-header__mob-btns {
		display: flex;
		gap: 8px;
	}

	.bk-header__inner {
		padding: 0 14px;
		height: 48px;
	}

	.bk-promo-strip {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 8px 14px;
		background: linear-gradient(90deg, var(--red) 0%, #8b1a2d 100%);
		font-size: 13px;
		font-weight: 800;
		letter-spacing: 1px;
		text-transform: uppercase;
	}

	.bk-hero {
		padding: 0;
		overflow: hidden;
	}

	.bk-hero__track {
		display: flex;
		flex-wrap: nowrap;
		gap: 0;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		cursor: default;
		transition: none;
		transform: none !important;
	}

	.bk-hero__track::-webkit-scrollbar {
		display: none;
	}

	.bk-hero__card {
		flex: 0 0 100%;
		min-width: 100%;
		border-radius: 0;
		scroll-snap-align: start;
	}

	.bk-hero__card:hover {
		transform: none;
	}

	.bk-hero__dots {
		display: flex;
		justify-content: center;
		gap: 6px;
		padding: 10px 0 4px;
	}

	.bk-hero__dot {
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: var(--text-dim);
		cursor: pointer;
		transition: all 0.2s;
		border: none;
	}

	.bk-hero__dot.is-on {
		background: var(--yellow);
		width: 20px;
		border-radius: 4px;
	}

	.bk-cats {
		padding: 14px 14px 0;
	}

	.bk-cats__item {
		min-width: 78px;
	}

	.bk-cats__icon {
		width: 72px;
		height: 72px;
	}

	.bk-cats__icon img {
		width: 72px;
		height: 72px;
	}

	.bk-games {
		padding: 20px 14px 0;
	}

	.bk-games__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
	}

	.bk-games__title {
		font-size: 18px;
	}

	.bk-cats__item {
		min-width: 68px;
		font-size: 10px;
	}

	.bk-content {
		padding: 20px 14px 80px;
	}

	.bk-content h1 {
		font-size: 22px;
	}

	.bk-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.bk-footer {
		padding: 28px 14px 16px;
		margin-bottom: 56px;
	}

	.bk-footer__cols {
		grid-template-columns: 1fr;
		gap: 24px;
		text-align: center;
	}

	.bk-footer__col ul {
		gap: 10px;
		align-items: center;
	}

	.bk-footer__col ul li a {
		font-size: 14px;
	}

	.bk-bar {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background: var(--bg-header);
		border-top: 1px solid var(--border);
		z-index: 900;
		box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
		padding-bottom: env(safe-area-inset-bottom, 0);
	}

	.bk-bar ul {
		display: flex;
		justify-content: space-around;
		align-items: center;
		height: 56px;
		padding: 0 4px;
	}

	.bk-bar ul li {
		flex: 1;
		display: flex;
		justify-content: center;
	}

	.bk-bar ul li a {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 3px;
		font-size: 9px;
		font-weight: 600;
		color: var(--text-dim);
		padding: 4px 0;
		transition: color 0.15s;
	}

	.bk-bar ul li a:hover {
		color: var(--yellow);
	}

	.bk-bar__active {
		color: var(--yellow) !important;
	}

	.bk-bar__active svg {
		color: var(--yellow);
	}

	body {
		padding-bottom: 56px;
	}
}

/* ── Responsive 480 ── */

@media (max-width: 480px) {
	.bk-header__inner {
		height: 44px;
		padding: 0 10px;
	}

	.bk-header__mob-btns .bk-btn--sm {
		padding: 7px 14px;
		font-size: 11px;
	}

	.bk-promo-strip {
		font-size: 12px;
		padding: 6px 10px;
	}

	.bk-games__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.bk-topnav ul li:nth-last-child(-n+3) {
	display: none;
}