body,
h1,
li,
p {
	margin: 0;
}

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

body,
h1,
h2,
li,
p {
	margin: 0;
}

body,
html {
	width: 100%;
	height: 100%;
}

.img-cov {
	width: 100%;
	height: auto;
	max-width: 900px;
	margin: 15px auto;
}

.img-cov img {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	object-fit: cover;
}
table .img-cov {
	max-width: 250px;
	min-width: 150px;
}
.img-cov.s {
	max-width: 100px;
	min-width: 50px;
}

body {
	min-height: 100vh;
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
}

a:not([class]) {
	-webkit-text-decoration-skip: ink;
	text-decoration-skip-ink: auto;
}

a[class] {
	text-decoration: none;
}

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

button {
	font: inherit;
	outline: 0;
}

@media (prefers-reduced-motion: reduce) {
	* {
		-webkit-animation-duration: 0s !important;
		animation-duration: 0s !important;
		-webkit-animation-iteration-count: 1 !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-size: var(--body-fsz);
	font-family: var(--body-ff), sans-serif;
	background-color: var(--body-bgc);
	color: var(--body-c);
}

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

button {
	border: none;
	background-color: transparent;
}

ul {
	list-style: none;
}

:root {
	--body-bgc: inherit;
	--body-c: inherit;
	--body-fsz: 16px;
	--body-ff: 'Ubuntu';
	--header-height: 56px;
	--section-inner: 10px;
	--border-r: 5px;
}

:root {
	--yellow-100: #fbb71a;
	--yelow-200: #ef9b00;
	--yellow-gradient: linear-gradient(
		to right,
		var(--yellow-100),
		var(--yelow-200)
	);
	--purple-100: #160a03;
	--purple-200: #26150d;
	--purple-300: #250a25;
	--purple-400: #32221b;
	--purple-500: #a35229;
	--purple-600: #1f0e36;
	--black: #111517;
	--gray-100: #0e0c12;
	--gray-200: #160a03;
	--gray-300: #95979d;
	--gray-400: #ece9f3;
	--gray-500: #f6f5f8;
	--gray-10: rgba(255, 255, 255, 0.1);
	--gray-50: rgba(255, 255, 255, 0.5);
	--gray-70: #160a03b3;
	--white: #ffffff;
	--blue: #95a6e4;
	--blue-70: color-mix(in srgb, var(--blue) 70%, transparent);
	--blue-100: #2a2e3c;
}

h1 {
	font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.o-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 5px;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	height: 40px;
	padding: 0 10px;
	font-weight: 700;
}

.o-btn--yellow--fill {
	background: var(--yellow-gradient);
	color: var(--black);
}

.o-btn--promocode {
	border: 1px dashed var(--gray-300);
	text-transform: uppercase;
}

.o-icon {
	--icon-size: 1.5rem;
	width: var(--icon-size);
	height: var(--icon-size);
}

.o-small-brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
	background-color: var(--gray-10);
	padding: 10px;
	border-radius: var(--border-r);
}

.o-small-brand .o-btn {
	font-size: clamp(0.75rem, 3vw, 1rem);
}

.o-small-brand__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 50px;
	width: 50px;
	height: 50px;
	background-color: var(--white);
	border: 2px solid var(--white);
	border-radius: 25px;
}

.o-small-brand__info {
	text-align: center;
}

.o-small-brand__name {
	font-size: 0.75rem;
}

.o-small-brand__bonus {
	color: var(--yellow-100);
}

.c-header {
	position: relative;
	position: fixed;
	z-index: 10;
	top: 0;
	left: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: var(--header-height);
	padding: 0 var(--section-inner);
	background-color: var(--purple-100);
	color: var(--white);
}

.c-header__burger,
.c-header__sidebar {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	border: 1px solid var(--gray-10);
	border-radius: 0.25rem;
}

.c-header__burger span {
	display: block;
	width: 20px;
	height: 2px;
	background-color: var(--gray-50);
	border-radius: 2px;
}

.c-header__sidebar .o-icon {
	transform: rotate(90deg);
}

.c-header__logo {
	position: absolute;
	left: calc(50% - 70px);
	width: 145px;
	height: 38px;
}

.c-header__logo img {
	width: 100%;
	height: 100%;
	-o-object-fit: contain;
	object-fit: contain;
}

.c-header__menu {
	position: fixed;
	z-index: 2;
	top: var(--header-height);
	left: -100%;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 80vw;
	height: calc(100dvh - var(--header-height));
	padding: 10px;
	background-color: var(--purple-100);
	overflow: auto;
}

.c-header__title {
	font-weight: 700;
	color: var(--yellow-100);
	text-align: center;
}

.c-header__links {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.c-header__link {
	display: flex;
	justify-content: space-between;
	gap: 0;
	min-height: 40px;
	width: 100%;
	border: 1px solid var(--gray-10);
	border-radius: 0.25rem;
	padding-left: 0.75rem;
}

.c-header__link > a {
	display: flex;
	align-items: center;
}

.c-header__link > a::after {
	content: '';
	display: block;
	width: 24px;
	height: 24px;
	background-color: var(--white);
	-webkit-mask-image: url(/assets/images/submenu_arrow.svg);
	mask-image: url(/assets/images/submenu_arrow.svg);
}

.c-header__link > a > .o-icon {
	display: none;
}

.c-header__dropdown {
	width: 40px;
	height: 40px;
	background-color: var(--yellow-100);
	border-radius: 0 0.25rem 0.25rem 0;
}

.c-header__dropdown::after {
	content: '+';
	font-size: 1.5rem;
	color: var(--white);
}

.c-header__submenu {
	position: fixed;
	top: var(--header-height);
	left: -100vw;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	overflow: hidden;
	width: 80vw;
	height: calc(100dvh - var(--header-height));
	padding: 10px;
	background-color: var(--purple-100);
}

.c-header__sublink:first-of-type {
	height: 40px;
	padding: 0 0.75rem;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
}

.c-header__sublink a {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 0.25rem 0.75rem;
	width: 100%;
	border: 1px solid var(--gray-10);
	border-radius: 0.25rem;
}

.c-header__back {
	display: flex;
	align-items: center;
	color: var(--gray-300);
	font-size: 0.875rem;
	height: 100%;
}

.c-header__back::before {
	content: '';
	display: block;
	width: 24px;
	height: 24px;
	background-color: var(--gray-300);
	-webkit-mask-image: url(/assets/images/submenu_arrow.svg);
	mask-image: url(/assets/images/submenu_arrow.svg);
	rotate: 180deg;
}

.c-header__bg {
	position: fixed;
	z-index: 1;
	top: var(--header-height);
	left: -100vw;
	width: 100vw;
	height: calc(100dvh - var(--header-height));
	background-color: var(--gray-70);
}

@media (min-width: 1024px) {
	:root {
		--header-height: 86px;
	}

	.c-header {
		justify-content: space-between;
		outline: 1px solid var(--gray-200);
	}

	.c-header__burger,
	.c-header__sidebar {
		display: none;
	}

	.c-header__logo {
		width: 268px;
		height: 41px;
		position: relative;
		left: 0;
	}

	.c-header__menu {
		position: relative;
		left: 0;
		margin-right: 1rem;
		top: 0;
		height: auto;
		width: auto;
		padding: 0;
		overflow: visible;
	}

	.c-header__title {
		display: none;
	}

	.c-header__links {
		flex-direction: row;
		gap: 0;
	}

	.c-header__link {
		position: relative;
		border: none;
		font-size: 0.75rem;
		padding-left: 0;
		height: var(--header-height);
		width: -webkit-fit-content;
		width: -moz-fit-content;
		width: fit-content;
	}

	.c-header__link > a {
		position: relative;
		flex-direction: column;
		justify-content: center;
		gap: 0.25rem;
		padding: 0 1rem 0 0.5rem;
		color: var(--gray-400);
	}

	.c-header__link > a::before {
		content: '';
		border-top: 4px solid transparent;
		position: absolute;
		z-index: -1;
		display: block;
		inset: 0;
		transform: skew(-18deg);
	}

	.c-header__link > a::after {
		content: none;
	}

	.c-header__link > a .o-icon {
		display: block;
		width: 24px;
		height: 24px;
		fill: var(--white);
	}

	.c-header__submenu {
		display: none;
		position: absolute;
		left: -180px;
		width: 360px;
		height: auto;
		background-color: var(--blue-100);
		gap: 0.5rem;
	}

	.c-header__sublink:first-of-type {
		display: none;
	}

	.c-header__sublink a {
		justify-content: center;
		font-size: 1rem;
		color: var(--white);
		background-color: var(--purple-100);
		border: none;
		border-radius: 0;
	}

	.c-header__dropdown {
		display: none;
	}
}

.c-first-screen {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 20px var(--section-inner);
	background-color: var(--purple-200);
	background-size: cover;
	color: var(--white);
}

.c-first-screen__info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: var(--gray-10);
	border-radius: var(--border-r);
	width: 100%;
	height: 38px;
	padding: 0.25rem;
}

.c-first-screen__info p {
	font-size: 13px;
	color: var(--gray-300);
}

.c-first-screen__info p a,
.c-first-screen__info p span {
	font-size: 0.875rem;
	color: var(--white);
	font-weight: 700;
}

.c-first-screen__info p a {
	text-decoration: underline;
}

.c-first-screen__author {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.c-first-screen__author img {
	min-width: 30px;
	border-radius: 100px;
}

.c-first-screen__wrapper {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.c-first-screen__island {
	display: grid;
	gap: 1rem;
}

.c-first-screen__hundred {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-height: 130px;
	overflow: hidden;
}

.c-first-screen__toggle {
	color: var(--white);
	text-decoration: underline;
}

.c-first-screen__rating-title {
	align-items: center;
	display: flex;
	font-weight: 700;
	font-size: 14px;
	justify-content: center;
	width: 214px;
	height: 58px;
	background: url(/assets/images/best-casinos-top2.svg) center no-repeat;
	margin: 0 auto;
}

.c-first-screen .o-small-brand__name {
	font-size: clamp(0.75rem, 3vw, 0.875rem);
}

.c-first-screen .o-small-brand__bonus {
	font-size: clamp(1rem, 3vw, 1.125rem);
	color: var(--yellow-100);
	max-width: 200px;
	font-weight: 700;
}

.c-content-wrapper {
	padding: 50px var(--section-inner);
}

.c-content {
	display: grid;
	gap: 1rem;
}

.c-content ul {
	padding: 0 0 0 20px;
	list-style: disc;
}
.c-content ol {
	padding: 0 0 0 20px;
	list-style: auto;
}

.c-main {
	padding-top: var(--header-height);
}

.c-sidebar {
	position: fixed;
	z-index: 1;
	top: -100%;
	width: calc(100% - (var(--section-inner) * 2));
	max-height: calc(100dvh - var(--header-height));
	overflow-y: auto;
}

.c-sidebar::-webkit-scrollbar {
	width: 0.5rem;
	background-color: var(--gray-100);
}

.c-sidebar::-webkit-scrollbar-thumb {
	background-color: var(--gray-300);
	border-radius: 0.5rem;
}

.c-sidebar > div:not(:first-of-type) {
	position: relative;
	z-index: 2;
}

.c-sidebar__bg {
	display: none;
	position: fixed;
	z-index: 1;
	top: var(--header-height);
	left: 0;
	width: 100%;
	height: calc(100dvh - var(--header-height));
	background: var(--gray-70);
}

.c-sidebar__rating {
	background-color: var(--purple-100);
	display: flex;
	flex-direction: column;
	gap: 20px;
	color: var(--white);
	padding: 10px;
}

.c-rating {
	--logo-width: 50%;
	--info-width: 50%;
	--bonus-width: 100%;
	--advantages-width: 100%;
	--cta-width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	counter-reset: brands;
}

.c-rating__heading {
	display: none;
	justify-content: space-between;
	background-color: var(--purple-500);
	height: 40px;
	color: var(--white);
	font-weight: 700;
	border-radius: var(--border-r);
}

.c-rating__heading::after {
	content: '';
	display: block;
	width: var(--cta-width);
}

.c-rating__heading p {
	display: flex;
	justify-content: center;
	align-items: center;
}

.c-rating__heading p:first-of-type {
	width: var(--logo-width);
}

.c-rating__heading p:nth-of-type(2) {
	width: var(--info-width);
}

.c-rating__heading p:nth-of-type(3) {
	width: var(--bonus-width);
}

.c-rating__heading p:nth-of-type(4) {
	width: var(--advantages-width);
}

.c-rating__item {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	background-color: var(--gray-500);
	min-height: 110px;
	box-shadow: 1px 2px 6px 0 rgba(0, 0, 0, 0.25);
	border-radius: 10px;
	counter-increment: brands;
}

.c-rating__item.js-hidden {
	display: none;
}

.c-rating__item::before {
	content: counter(brands);
	position: absolute;
	z-index: 1;
	display: flex;
	top: -5px;
	left: -10px;
	width: 47px;
	height: 38px;
	background: url(/assets/images/new-ribbon.svg) center no-repeat;
	background-size: contain;
	font-size: 11px;
	font-weight: 700;
	color: var(--white);
	padding-left: 0.65rem;
	padding-top: 0.125rem;
}

.c-rating__group {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: center;
	align-self: stretch;
	justify-content: center;
}

.c-rating__logo {
	position: relative;
	width: var(--logo-width);
	background-color: var(--gray-400);
}

.c-rating__logo img {
	padding: 3px;
	width: 90px;
	height: 90px;
	border-radius: 45px;
	-o-object-fit: contain;
	object-fit: contain;
	background-color: #fff;
}

.c-rating__info {
	width: var(--info-width);
	background-color: var(--gray-400);
}

.c-rating__name {
	font-weight: 700;
	text-align: center;
}

.c-rating__rate {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	font-weight: 900;
}

.c-rating__stars {
	--brand-rate: 0%;
	width: 70px;
	height: 14px;
	background: linear-gradient(
		to right,
		var(--yellow-100) var(--brand-rate),
		var(--gray-300) var(--brand-rate)
	);
	-webkit-mask-image: url(/assets/images/star.svg);
	mask-image: url(/assets/images/star.svg);
	-webkit-mask-size: contain;
	mask-size: contain;
}

.c-rating__bonus {
	width: var(--bonus-width);
	font-weight: 700;
	font-size: 1.125rem;
	padding: 0.5rem;
	text-align: center;
}

.c-rating__advantages {
	flex-direction: row;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 0.5rem;
	width: var(--advantages-width);
	padding-left: 0.25rem;
	padding: 0.5rem;
}

.c-rating__advantages li {
	display: flex;
	align-items: center;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	gap: 0.25rem;
}

.c-rating__advantages li::before {
	content: '';
	display: block;
	width: 20px;
	height: 20px;
	background: url(/assets/images/check-icon-purple.svg);
}

.c-rating__cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	width: var(--cta-width);
	padding: 0.5rem;
}

.c-rating__cta .o-btn {
	width: 100%;
}

.c-bottom-brand {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 7;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.5rem var(--section-inner);
	background-color: var(--purple-100);
	color: var(--white);
	font-weight: 700;
}

.c-bottom-brand img {
	min-width: 50px;
	height: 50px;
	-o-object-fit: cover;
	object-fit: cover;
	border-radius: 25px;
	background-color: var(--white);
	padding: 0.25rem;
}

.c-bottom-brand__bonus {
	text-align: center;
	font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.c-bottom-brand .o-btn {
	text-align: center;
}

@media (min-width: 768px) {
	.c-rating {
		--logo-width: 33.33%;
		--info-width: 33.33%;
		--bonus-width: 33.33%;
	}

	.c-rating__bonus {
		background-color: var(--gray-400);
	}
}

@media (min-width: 1024px) {
	.c-first-screen {
		background: -webkit-image-set(
			url(/assets/images/text-fs-bg.webp) type('image/webp'),
			url(/assets/images/text-fs-bg.jpg) type('image/jpeg')
		);
		background: image-set(
			url(/assets/images/text-fs-bg.webp) type('image/webp'),
			url(/assets/images/text-fs-bg.jpg) type('image/jpeg')
		);
	}

	.c-first-screen__wrapper {
		flex-direction: row;
		align-items: flex-start;
	}

	.c-first-screen__rating {
		min-width: 485px;
	}

	.c-first-screen__hundred {
		max-height: unset;
	}

	.c-first-screen__toggle {
		display: none;
	}

	.c-first-screen .o-small-brand__logo {
		border-radius: 35px;
		min-width: 70px;
		height: 70px;
	}

	.c-content-wrapper {
		display: grid;
		align-items: start;
		grid-template-columns: 1fr 300px;
		gap: 20px;
		background: -webkit-image-set(
			url(/assets/images/text-bg.webp) type('image/webp'),
			url(/assets/images/text-bg.jpg) type('image/jpeg')
		);
		background: image-set(
			url(/assets/images/text-bg.webp) type('image/webp'),
			url(/assets/images/text-bg.jpg) type('image/jpeg')
		);
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
		background-attachment: fixed;
	}

	.c-sidebar {
		position: -webkit-sticky;
		position: sticky;
		top: calc(var(--header-height) - 1px);
		left: 0;
		width: 300px;
		margin: 0;
	}
}

@media (max-width: 768px) {
	.c-content {
		display: block !important;
	}
}
