@font-face {
	font-family: 'Lato';
	src: url('/assets/fonts/Lato-Regular.ttf') format('truetype');
	font-weight: 300 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Lato';
	src: url('/assets/fonts/Lato-Bold.ttf') format('truetype');
	font-weight: 600 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--cbm-stage: #151414;
	--cbm-panel: #1c1a19;
	--cbm-box: #262425;
	--cbm-tab: #222121;
	--cbm-accent: #fbb203;
	--cbm-green: #33ae33;
	--cbm-steel: #8493a1;
	--cbm-sand: #ae926c;
	--cbm-divider: #5b5659;
	--cbm-line: #444;
	--cbm-text: #fff;
	--cbm-radius: 10px;
	--cbm-gutter: 30px;
}

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

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

body.cbm-site {
	margin: 0;
	background: var(--cbm-stage);
	color: var(--cbm-text);
	font-family: 'Lato', Arial, sans-serif;
	font-size: 14px;
	line-height: normal;
}

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

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

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

/* ---------- header ---------- */

.cbm-header {
	display: flex;
	align-items: center;
	height: 80px;
	padding: 10px var(--cbm-gutter);
}

.cbm-header__logo img {
	width: 137px;
	height: 40px;
}

.cbm-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.cbm-nav__link {
	display: flex;
	align-items: center;
	height: 36px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 300;
	text-transform: uppercase;
	transition: border-color .2s;
}

.cbm-nav__link:hover {
	border-color: var(--cbm-accent);
}

.cbm-auth {
	display: flex;
	gap: 20px;
}

.cbm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	border: 2px solid;
	border-radius: 5px;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	transition: filter .2s;
}

.cbm-btn:hover {
	filter: brightness(1.1);
}

.cbm-btn--login {
	width: 98px;
	background: #fff;
	border-color: #fff;
	color: #000;
}

.cbm-btn--signup {
	width: 109px;
	background: var(--cbm-green);
	border-color: var(--cbm-green);
	color: #fff;
}

.cbm-btn--cta {
	height: 44px;
	padding: 0 40px;
	background: var(--cbm-accent);
	border-color: var(--cbm-accent);
	color: #000;
	font-size: 15px;
	font-weight: 700;
}

/* ---------- banners ---------- */

.cbm-banners {
	padding: 0 var(--cbm-gutter);
}

.cbm-banners__frame {
	position: relative;
	overflow: hidden;
	border-radius: var(--cbm-radius);
	aspect-ratio: 1380 / 332;
}

.cbm-banners__track {
	display: flex;
	height: 100%;
	transition: transform .6s ease;
}

.cbm-banners__slide {
	position: relative;
	flex: 0 0 100%;
	height: 100%;
}

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

.cbm-banners__cta {
	position: absolute;
	top: 44.6%;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 167px;
	height: 36px;
	background: var(--cbm-accent);
	border-radius: 5px;
	color: #000;
	font-size: 14px;
	text-transform: uppercase;
}

.cbm-banners__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.cbm-banners__dot {
	width: 13px;
	height: 13px;
	border: 1px solid #fff;
	border-radius: 50%;
}

.cbm-banners__dot.is-active {
	background: var(--cbm-accent);
	border-color: var(--cbm-accent);
}

/* ---------- last wins ---------- */

.cbm-wins {
	padding: 30px var(--cbm-gutter);
}

.cbm-wins__title {
	padding-bottom: 20px;
	font-size: 18px;
	text-transform: uppercase;
	line-height: 22px;
}

.cbm-wins__box {
	overflow: hidden;
	padding: 13px 15px 12px;
	background: var(--cbm-box);
	border-radius: var(--cbm-radius);
}

.cbm-wins__track {
	display: flex;
	transition: transform .5s ease;
}

.cbm-wins__item {
	position: relative;
	flex: 0 0 calc(100% / 3);
	display: flex;
	align-items: center;
	min-width: 0;
	padding: 0 30px;
}

.cbm-wins__item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 3px;
	width: 2px;
	height: 54px;
	background: var(--cbm-divider);
}

.cbm-wins__img {
	flex: 0 0 60px;
	width: 60px;
	height: 60px;
	margin-right: 25px;
	border-radius: var(--cbm-radius);
	object-fit: cover;
}

.cbm-wins__data {
	flex: 1;
	min-width: 0;
}

.cbm-wins__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 32px;
}

.cbm-wins__name {
	font-size: 14.4px;
	white-space: nowrap;
}

.cbm-wins__amount {
	color: var(--cbm-accent);
	font-size: 21.6px;
	white-space: nowrap;
}

.cbm-wins__cur {
	font-family: Roboto, Arial, sans-serif;
}

.cbm-wins__game {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	font-size: 14.4px;
	font-weight: 700;
}

.cbm-wins__game span {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.cbm-wins__arrow {
	position: relative;
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	background: var(--cbm-accent);
	border-radius: 50%;
}

.cbm-wins__arrow::after {
	content: '';
	position: absolute;
	top: 4px;
	left: 3px;
	width: 5px;
	height: 5px;
	border-top: 1.5px solid #000;
	border-right: 1.5px solid #000;
	transform: rotate(45deg);
}

/* ---------- catalogs ---------- */

.cbm-main {
	padding: 0 var(--cbm-gutter) 20px;
}

.cbm-catalog {
	display: flex;
	gap: 30px;
	padding: 15px;
	background: var(--cbm-panel);
}

.cbm-catalog:first-child {
	border-radius: var(--cbm-radius) var(--cbm-radius) 0 0;
}

.cbm-catalog:last-child {
	border-radius: 0 0 var(--cbm-radius) var(--cbm-radius);
}

.cbm-catalog__card {
	flex: 0 0 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: 22px 10px 20px;
	background-size: cover;
	background-position: center;
	border-radius: var(--cbm-radius);
}

.cbm-catalog__title {
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

.cbm-catalog__all {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 110px;
	height: 32px;
	background: #fff;
	border-radius: 5px;
	color: #000;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.cbm-catalog__grid {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
	min-width: 0;
}

.cbm-catalog__more {
	display: none;
}

.cbm-game {
	position: relative;
	overflow: hidden;
	aspect-ratio: 178 / 139;
	background: var(--cbm-panel);
	border-radius: var(--cbm-radius);
}

.cbm-game__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s;
}

.cbm-game__hit {
	position: absolute;
	inset: 0;
}

.cbm-game__over {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	background: rgba(28, 26, 25, .85);
	border-radius: var(--cbm-radius);
	opacity: 0;
	transition: opacity .4s;
}

.cbm-game:hover .cbm-game__over,
.cbm-game:focus-within .cbm-game__over {
	opacity: 1;
}

.cbm-game:hover .cbm-game__img {
	transform: scale(1.1);
}

.cbm-game__name {
	flex: 1;
	display: flex;
	align-items: center;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
}

.cbm-game__btns {
	display: flex;
	justify-content: center;
	gap: 20px;
	width: 100%;
}

.cbm-game__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 69px;
	height: 36px;
	border-radius: 6px;
	color: #000;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.cbm-game__btn--play {
	background: var(--cbm-accent);
}

.cbm-game__btn--demo {
	background: var(--cbm-steel);
}

/* ---------- article body ---------- */

.cbm-article {
	margin-top: 20px;
	padding: 25px 30px;
	background: var(--cbm-panel);
	border-radius: var(--cbm-radius);
	font-size: 16px;
	line-height: 1.6;
}

.cbm-catalogs + .cbm-article {
	margin-top: 30px;
}

.cbm-article__title {
	margin: 0 0 20px;
	color: var(--cbm-accent);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
}

.cbm-body > :first-child {
	margin-top: 0;
}

.cbm-body > :last-child {
	margin-bottom: 0;
}

.cbm-body h2,
.cbm-body h3,
.cbm-body h4 {
	margin: 1.6em 0 .6em;
	color: var(--cbm-accent);
	line-height: 1.3;
}

.cbm-body h2 {
	font-size: 22px;
}

.cbm-body h3 {
	font-size: 18px;
}

.cbm-body p,
.cbm-body ul,
.cbm-body ol {
	margin: 0 0 1em;
	color: #ddd;
}

.cbm-body a {
	color: var(--cbm-accent);
	text-decoration: underline;
}

.cbm-body img {
	height: auto;
	border-radius: var(--cbm-radius);
}

.cbm-body table {
	width: 100%;
	margin: 0 0 1em;
	border-collapse: collapse;
	font-size: 15px;
}

.cbm-body th,
.cbm-body td {
	padding: 10px 12px;
	border: 1px solid var(--cbm-line);
	text-align: left;
}

.cbm-body th {
	background: var(--cbm-box);
	color: var(--cbm-accent);
}

.cbm-body blockquote {
	margin: 0 0 1em;
	padding: 12px 18px;
	border-left: 3px solid var(--cbm-accent);
	background: var(--cbm-stage);
}

.cbm-cta {
	display: flex;
	justify-content: center;
	margin: 25px 0;
}

/* ---------- footer ---------- */

.cbm-footer {
	padding: 20px 15px;
	background: var(--cbm-panel);
}

.cbm-footer__inner {
	display: flex;
	flex-direction: column;
	max-width: 1390px;
	margin: 0 auto;
	padding: 0 15px;
}

.cbm-footer__vip {
	order: 1;
	padding: 10px 15px;
	background: var(--cbm-stage);
	border-radius: var(--cbm-radius);
	color: var(--cbm-sand);
	font-size: 16px;
	text-align: center;
}

.cbm-footer__vip strong {
	color: var(--cbm-accent);
}

.cbm-footer__middle {
	order: 2;
	display: flex;
	justify-content: space-between;
	padding-top: 30px;
}

.cbm-footer__left {
	flex: 0 0 209px;
	padding: 0 15px;
}

.cbm-footer__label {
	color: var(--cbm-steel);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	opacity: .5;
}

.cbm-footer__mail {
	display: block;
	margin-top: 9px;
	color: var(--cbm-accent);
	font-size: 14px;
}

.cbm-socials {
	display: flex;
	gap: 10px;
	margin-top: 15px;
}

.cbm-socials__item img {
	width: 40px;
	height: 40px;
}

.cbm-footer__right {
	flex: 0 1 1112px;
	padding: 0 15px;
}

.cbm-footer__blocks {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding-bottom: 20px;
}

.cbm-footer__block--legal {
	flex: 0 0 433px;
}

.cbm-footer__block--about {
	flex: 0 0 271px;
}

.cbm-footer__title {
	height: 49px;
	border-bottom: 2px solid var(--cbm-accent);
	color: var(--cbm-accent);
	font-size: 22px;
	font-weight: 600;
}

.cbm-footer__lists {
	display: flex;
	gap: 64px;
}

.cbm-footer__lists .cbm-footer__list:first-child {
	flex: 0 0 254px;
}

.cbm-footer__list {
	margin: 0;
	padding: 20px 0 0;
	list-style: none;
}

.cbm-footer__list li + li {
	margin-top: 15px;
}

.cbm-footer__list a {
	font-size: 16px;
	border-bottom: 1px solid transparent;
	transition: border-color .2s, color .2s;
}

.cbm-footer__list a:hover {
	color: var(--cbm-accent);
}

.cbm-footer__block--lic {
	display: flex;
	align-items: center;
	gap: 20px;
}

.cbm-footer__18 {
	width: 37px;
	height: 37px;
}

.cbm-lang {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	width: 105px;
	height: 35px;
	padding: 0 7px;
	border: 2px solid var(--cbm-steel);
	border-radius: var(--cbm-radius);
	font-size: 14px;
	text-transform: uppercase;
}

.cbm-lang__flag {
	width: 18px;
	height: 18px;
	margin: 0 18px 0 11px;
}

.cbm-footer__disclaimer {
	font-size: 10px;
	line-height: 12px;
	color: #fff;
	opacity: .5;
	padding-bottom: 20px;
}

.cbm-footer__copy {
	margin: 0;
	font-size: 14px;
}

.cbm-footer__copy span {
	font-size: 10px;
}

.cbm-footer__pays {
	order: 3;
	display: flex;
	justify-content: center;
	gap: 35px;
	padding: 20px 0;
	border-bottom: 1px solid var(--cbm-line);
}

.cbm-footer__pays img {
	width: 65px;
	height: 35px;
	object-fit: contain;
}

.cbm-footer__provs {
	order: 4;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 35px;
	max-width: 1300px;
	margin: 0 auto;
	padding: 20px 0 0;
}

.cbm-footer__provs img {
	width: 65px;
	height: 53px;
	object-fit: contain;
}

/* ---------- mobile tab bar + drawer ---------- */

.cbm-tabbar {
	display: none;
}

.cbm-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(0, 0, 0, .7);
}

.cbm-overlay[hidden] {
	display: none;
}

.cbm-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	width: 300px;
	max-width: 100%;
	overflow-y: auto;
	padding: 0 15px;
	background: var(--cbm-panel);
	transform: translateX(100%);
	transition: transform .3s ease;
	visibility: hidden;
}

.cbm-drawer.is-open {
	transform: none;
	visibility: visible;
}

.cbm-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 77px;
	border-bottom: 2px solid #bababa;
}

.cbm-drawer__label {
	font-size: 16px;
}

.cbm-drawer__close {
	width: 30px;
	height: 30px;
}

.cbm-drawer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cbm-drawer__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 45px;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
}

.cbm-drawer__list svg {
	color: var(--cbm-accent);
	margin-right: 8px;
}

.cbm-drawer__socials {
	padding-top: 70px;
}

.cbm-drawer__socials a {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
}

.cbm-drawer__socials img {
	width: 40px;
	height: 40px;
}

body.cbm-lock {
	overflow: hidden;
}

/* ---------- responsive ---------- */

@media (max-width: 1280px) {
	.cbm-nav__link {
		padding: 0 12px;
	}

	.cbm-footer__block--legal {
		flex-basis: 360px;
	}

	.cbm-footer__lists {
		gap: 30px;
	}

	.cbm-footer__lists .cbm-footer__list:first-child {
		flex-basis: auto;
	}
}

@media (max-width: 1024px) {
	:root {
		--cbm-gutter: 15px;
	}

	.cbm-header {
		height: 65px;
	}

	.cbm-header__logo img {
		width: 100px;
		height: 29px;
	}

	.cbm-nav {
		display: none;
	}

	.cbm-header {
		justify-content: space-between;
	}

	.cbm-tabbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 80;
		display: flex;
		justify-content: space-between;
		height: 66px;
		padding: 3px 15px 12px;
		background: var(--cbm-tab);
		border-top: 1px solid #666;
	}

	.cbm-tabbar__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 3px;
		padding: 0 6px;
		font-size: 11px;
		font-weight: 300;
		text-transform: uppercase;
	}

	.cbm-tabbar__item img,
	.cbm-tabbar__item svg {
		width: auto;
		height: 22px;
		max-width: 26px;
		margin-top: 3px;
	}

	.cbm-tabbar__item svg {
		width: 17px;
	}

	body.cbm-site {
		padding-bottom: 66px;
	}

	.cbm-wins__item {
		flex-basis: 50%;
	}

	.cbm-catalog {
		flex-direction: column;
		gap: 30px;
	}

	.cbm-catalog__card {
		flex: none;
		padding: 0;
		background: none !important;
	}

	.cbm-catalog__title {
		font-size: 16px;
		text-shadow: none;
	}

	.cbm-catalog__all {
		display: none;
	}

	.cbm-catalog__more {
		display: flex;
		align-items: center;
		justify-content: center;
		align-self: center;
		width: 121px;
		height: 37px;
		margin: 0 0 15px;
		background: var(--cbm-accent);
		border-radius: 5px;
		color: #000;
		font-size: 14px;
		text-transform: uppercase;
	}

	.cbm-catalog__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.cbm-footer__inner {
		padding: 0;
	}

	.cbm-footer__middle {
		order: 5;
		padding-top: 20px;
	}

	.cbm-footer__left,
	.cbm-footer__block--legal,
	.cbm-footer__block--about,
	.cbm-footer .cbm-lang {
		display: none;
	}

	.cbm-footer__right {
		flex: 1;
		display: flex;
		flex-direction: column;
		padding: 0;
		text-align: center;
	}

	.cbm-footer__blocks {
		order: 3;
		justify-content: center;
		padding: 0;
	}

	.cbm-footer__disclaimer {
		padding-bottom: 12px;
	}

	.cbm-footer__copy {
		padding-bottom: 12px;
	}

	.cbm-footer__provs {
		order: 2;
		gap: 20px 25px;
		padding: 25px 0;
	}

	.cbm-footer__pays {
		order: 3;
		flex-wrap: wrap;
		gap: 15px 25px;
		border-top: 1px solid var(--cbm-line);
		border-bottom: 0;
	}
}

@media (max-width: 767px) {
	.cbm-auth {
		gap: 20px;
	}

	.cbm-btn--login,
	.cbm-btn--signup {
		height: 27px;
		font-size: 11px;
	}

	.cbm-btn--login {
		width: 72px;
	}

	.cbm-btn--signup {
		width: 82px;
	}

	.cbm-banners__frame {
		aspect-ratio: 345 / 175;
	}

	.cbm-banners__cta {
		top: 40.5%;
		width: 154px;
		height: 33px;
	}

	.cbm-banners__dots {
		display: none;
	}

	.cbm-wins {
		padding: 15px var(--cbm-gutter) 20px;
	}

	.cbm-wins__item {
		flex-basis: 100%;
		padding: 0 5px;
	}

	.cbm-wins__item::before {
		display: none;
	}

	.cbm-wins__img {
		margin-right: 15px;
	}

	.cbm-catalog__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.cbm-game__over {
		display: none;
	}

	.cbm-game:hover .cbm-game__img {
		transform: none;
	}

	.cbm-article {
		padding: 20px 15px;
	}

	.cbm-article__title {
		font-size: 22px;
	}

	.cbm-body {
		overflow-x: auto;
	}

	.cbm-footer__provs img {
		width: 56px;
		height: 46px;
	}

	.cbm-footer__vip {
		font-size: 15px;
	}
}
