@font-face {
	src: url("/topcancasin-assets/topcancasin-fonts/topcancasin-lexend-bold.ttf")
		format("truetype");
	font-family: "lexend-bold";
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	src: url("/topcancasin-assets/topcancasin-fonts/topcancasin-abel-regular.woff2")
		format("truetype");
	font-family: "abel-regular";
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--font-title: "lexend-bold", sans-serif;
	--font-text: "abel-regular", sans-serif;

	--color-btn: linear-gradient(180deg, #000000 0%, #4b0202 100%);
	--color-white: #fff;
	--color-light-gray: #f1f1f1;
	--color-medium-gray: #a1a1a1;
	--color-text: #000000;
	--color-bg: #af151c;
	--color-card: #ffffff1a;
	--card-shadow: 0px 4px 4px 0px #00000040;
	--border: 1px solid #ffffff;
	--transition: all ease-in-out 0.3s;
}

*,
::after,
::before {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

ul,
ol,
li {
	list-style-type: none;
}

a {
	text-decoration: none;
	color: #ffffff;
	cursor: pointer;
}

body {
	background-color: var(--color-bg);
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow-x: hidden;
	position: relative;
}

button {
	border: none;
	outline: none;
	cursor: pointer;
}

main,
footer {
	width: 100%;
	color: rgba(3, 3, 3, 1);
}

html {
	scroll-behavior: smooth;
}

img {
	display: block;
	width: 100%;
	height: 100%;
	-o-object-position: center;
	object-position: center;
	vertical-align: top;
}

header {
	width: 100%;
}

.topcancasin--container__main {
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
}

.topcancasin__visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	border: 0;
	clip: rect(0 0 0 0);
}

/* Header */
.topcancasin--header {
	width: 100%;
	background: var(--color-white);
}

.topcancasin--header__container {
	width: 100%;
	display: flex;
	padding: 1rem 0;
	flex-direction: column;
	align-items: center;
	border-radius: 32px;
	-webkit-border-radius: 32px;
	-moz-border-radius: 32px;
	-ms-border-radius: 32px;
	-o-border-radius: 32px;
}

.topcancasin--menu {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.topcancasin--header__logo {
	max-width: 240px;
	width: 100%;
	height: 32px;
}

.topcancasin--menu__list {
	width: 100%;
	gap: 2.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

.topcancasin--menu__list-item {
	transition: var(--transition);
	-webkit-transition: var(--transition);
	-moz-transition: var(--transition);
	-ms-transition: var(--transition);
	-o-transition: var(--transition);
	border-bottom: 1px solid transparent;
}

.topcancasin--menu__list-item:hover {
	border-bottom: 1px solid #af151c;
}

.topcancasin--menu__list-item a {
	color: var(--color-text);
	font-size: 0.875rem;
	line-height: 100%;
	font-family: var(--font-text);
	font-weight: 400;
}

.topcancasin--menu--btn_user {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: 268px;
	width: 100%;
}

.topcancasin--menu---btn {
	max-width: 132px;
	width: 100%;
	height: 47px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	color: var(--color-text);
	font-size: 1rem;
	line-height: 120%;
	font-family: var(--font-title) !important;
	font-weight: 500;
	border: 2px solid #000000;
	text-transform: uppercase;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	transition: all ease-in-out 0.3s;
	-webkit-transition: all ease-in-out 0.3s;
	-moz-transition: all ease-in-out 0.3s;
	-ms-transition: all ease-in-out 0.3s;
	-o-transition: all ease-in-out 0.3s;
}

.topcancasin--menu---btn-log {
	max-width: 120px !important;
	width: 100%;
}

.topcancasin--menu---btn:hover {
	transform: translateY(-0.25rem);
	-webkit-transform: translateY(-0.25rem);
	-moz-transform: translateY(-0.25rem);
	-ms-transform: translateY(-0.25rem);
	-o-transform: translateY(-0.25rem);
}

/* Welcom Section */
.topcancasin--welcome {
	padding: 3.125rem 0;
}

.topcancasin--welcome-container {
	display: flex;
	flex-direction: column;
	gap: 3.75rem;
}

.topcancasin--welcome--top {
	display: flex;
	align-items: center;
	gap: 2.5rem;
}

.topcancasin--welcome---info {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	max-width: 610px;
	width: 100%;
}
.topcancasin--welcome__subtop,
.topcancasin--welcome----btnbox {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.topcancasin--welcome----subtext {
	font-family: var(--font-text);
	font-weight: 400;
	color: var(--color-white);
	font-size: 1rem;
	line-height: 120%;
	text-transform: uppercase;
}

.topcancasin--welcome----title {
	font-family: var(--font-title);
	font-weight: 800;
	font-size: 3.75rem;
	line-height: 120%;
	color: var(--color-white);
	text-transform: uppercase;
}

.topcancasin--welcome----btnbox {
	max-width: 246px;
	width: 100%;
}

.topcancasin--welcome__play {
	width: 100%;
	height: 47px;
	background: linear-gradient(180deg, #000000 0%, #4b0202 100%);
	display: flex;
	align-items: center;
	font-family: var(--font-title);
	font-weight: 500;
	font-size: 1rem;
	line-height: 120%;
	text-transform: uppercase;
	justify-content: center;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	transition: var(--transition);
	-webkit-transition: var(--transition);
	-moz-transition: var(--transition);
	-ms-transition: var(--transition);
	-o-transition: var(--transition);
}

.topcancasin--welcome__play:hover {
	transform: translateY(-0.25rem);
	-webkit-transform: translateY(-0.25rem);
	-moz-transform: translateY(-0.25rem);
	-ms-transform: translateY(-0.25rem);
	-o-transform: translateY(-0.25rem);
}

.topcancasin--welcome__sign {
	max-width: 100% !important;
	width: 100%;
	border: var(--border);
	color: var(--color-white);
}

.topcancasin--welcome---image {
	background-image: url(/topcancasin-assets/topcancasin-img/topcancasin-welcome/topcancasin-woman-candy-camepad.webp);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	max-width: 609px;
	width: 100%;
	height: 502px;
	margin-left: auto;
}

.topcancasin--welcome--advantages {
	display: flex;
	gap: 2.5rem;
	flex-wrap: wrap;
	justify-content: center;
}

.topcancasin--welcome---elem {
	background: var(--color-btn);
	padding: 1.25rem 1rem;
	max-width: 280px;
	width: 100%;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-ms-border-radius: 20px;
	-o-border-radius: 20px;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	transition: var(--transition);
	-webkit-transition: var(--transition);
	-moz-transition: var(--transition);
	-ms-transition: var(--transition);
	-o-transition: var(--transition);
}

.topcancasin--welcome---elem:hover {
	transform: scale(1.05);
	-webkit-transform: scale(1.05);
	-moz-transform: scale(1.05);
	-ms-transform: scale(1.05);
	-o-transform: scale(1.05);
}

.topcancasin--welcome---icon-box {
	max-width: 64px;
	width: 100%;
	height: 64px;
	background: linear-gradient(180deg, #000000 0%, #a70101 100%);
	padding: 0.75rem;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.topcancasin--welcome---gamepad {
	background-image: url(/topcancasin-assets/topcancasin-img/topcancasin-welcome/topcancasin-icon-gamepad.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	max-width: 40px;
	width: 100%;
	height: 40px;
}
.topcancasin--welcome---people {
	background-image: url(/topcancasin-assets/topcancasin-img/topcancasin-welcome/topcancasin-icon-people.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	max-width: 40px;
	width: 100%;
	height: 40px;
}
.topcancasin--welcome---diamond {
	background-image: url(/topcancasin-assets/topcancasin-img/topcancasin-welcome/topcancasin-icon-diamond.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	max-width: 40px;
	width: 100%;
	height: 40px;
}
.topcancasin--welcome---cup {
	background-image: url(/topcancasin-assets/topcancasin-img/topcancasin-welcome/topcancasin-icon-cup.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	max-width: 40px;
	width: 100%;
	height: 40px;
}

.topcancasin--welcome---textbox {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.topcancasin--welcome----num {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 2rem;
	line-height: 120%;
	text-transform: uppercase;
	color: var(--color-white);
}
.topcancasin--welcome----text {
	font-family: var(--font-text);
	font-weight: 400;
	font-size: 1.25rem;
	line-height: 120%;
	color: var(--color-white);
	text-transform: uppercase;
}

/* Games */
.topcancasin--games {
	padding: 5rem 0;
	background-color: var(--color-white);
}

.topcancasin--games-container {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.topcancasin--games--top {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.topcancasin--games---subtext {
	font-family: var(--font-text);
	font-weight: 400;
	font-size: 1rem;
	line-height: 130%;
	text-align: center;
	color: var(--color-text);
}

.topcancasin--games---title {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 2.325rem;
	line-height: 120%;
	text-align: center;
	text-transform: uppercase;
	color: var(--color-text);
}

.topcancasin--games--cards {
	display: flex;
	gap: 2.5rem 3.125rem;
	flex-wrap: wrap;
	justify-content: center;
}

.topcancasin--games---card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	box-shadow: var(--card-shadow);
	border: var(--border);
	padding: 1rem;
	max-width: 380px;
	width: 100%;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	transition: var(--transition);
	-webkit-transition: var(--transition);
	-moz-transition: var(--transition);
	-ms-transition: var(--transition);
	-o-transition: var(--transition);
}
.topcancasin--games---card:hover {
	transform: scale(1.02);
}

.topcancasin--games----image {
	max-width: 348px;
	width: 100%;
	height: 397px;
}

.topcancasin--games----name {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 1rem;
	line-height: 100%;
	color: #363636;
	text-align: center;
}

/* Top Players */
.topcancasin--top {
	padding: 2.5rem 0;
}

.topcancasin--top-container {
	display: flex;
	flex-direction: column;
	gap: 5rem;
}
.topcancasin--top--description {
	display: flex;
	gap: 1.25rem;
	align-items: center;
}
.topcancasin--top---image {
	background-image: url(/topcancasin-assets/topcancasin-img/topcancasin-banner/topcancasin-woman-candy-banner.webp);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	max-width: 590px;
	width: 100%;
	height: 520px;
}

.topcancasin--top---info {
	max-width: 610px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.675rem;
}

.topcancasin--top---title {
	color: var(--color-white) !important;
	text-align: left !important;
}

.topcancasin--top--players {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.topcancasin--center {
	text-align: center !important;
}

.topcancasin--full-w {
	max-width: 100%;
	width: 100%;
}

.topcancasin--top---lists {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	max-width: 900px;
	width: 100%;
	margin-inline: auto;
}

.topcancasin--top----elem {
	background: var(--color-btn);
	padding: 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
}

.topcancasin--top__icon {
	background-image: url(/topcancasin-assets/topcancasin-img/topcancasin-top-players/topcancasin-icon-crown.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	max-width: 40px;
	width: 100%;
	height: 40px;
}
.topcancasin--w {
	max-width: 200px;
	width: 100%;
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: flex-start;
}

.topcancasin--top__big-line {
	max-width: 549px;
	width: 100%;
	height: 16px;
	background: linear-gradient(90deg, #000000 0%, #a70101 100%);

	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
}
.topcancasin--top__medium-line {
	height: 16px;
	background: linear-gradient(90deg, #000000 0%, #a70101 100%);

	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
}
.topcancasin--top__small-line {
	height: 16px;
	background: linear-gradient(90deg, #000000 0%, #a70101 100%);

	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
}

.topcancasin--top__big-line,
.topcancasin--top__medium-line,
.topcancasin--top__small-line {
	max-width: 0;
	width: 100%;
	height: 16px;
	background: linear-gradient(90deg, #000000 0%, #a70101 100%);
	border-radius: 10px;
	animation: fillLine 2s forwards;
}

.topcancasin--top__big-line {
	animation-delay: 0.3s;
}
.topcancasin--top__medium-line {
	animation-delay: 0.6s;
}
.topcancasin--top__small-line {
	animation-delay: 0.9s;
}

@keyframes fillLine {
	from {
		max-width: 0;
	}
	to {
		max-width: 100%;
	}
}

@keyframes fillLine {
	to {
		max-width: var(--target-width);
	}
}

.topcancasin--top__big-line {
	--target-width: 549px;
	max-width: var(--target-width);
	width: 100%;
	margin-right: auto;
}
.topcancasin--top__medium-line {
	--target-width: 525px;
	max-width: var(--target-width);
	width: 100%;
	margin-right: auto;
}
.topcancasin--top__small-line {
	--target-width: 456px;
	max-width: var(--target-width);
	width: 100%;
	margin-right: auto;
}

/* Reviews */
.topcancasin--nocenter {
	text-align: left;
}

.topcancasin--reviews-container {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.topcancasin--reviews-slider {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	max-width: 1320px;
	width: 100%;
}

.topcancasin--reviews-sliderbox {
	display: flex;
	gap: 1.25rem;
	width: 100%;
	overflow-x: hidden;
}

.topcancasin--reviews--slider {
	background: var(--color-white);
	max-width: 400px;
	width: 100%;
	padding: 1.5rem;
	box-shadow: var(--card-shadow);
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.topcancasin--reviews--top {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.topcancasin--reviews---message {
	font-family: var(--font-text);
	font-weight: 400;
	font-size: 0.875rem;
	line-height: 150%;
	color: var(--color-text);
}

.topcancasin--reviews---name {
	font-family: var(--font-title);
	font-weight: 500;
	font-size: 1rem;
	line-height: 150%;
	color: var(--color-text);
}

.topcancasin--reviews---rating {
	display: flex;
	align-items: center;
	gap: 0.1rem;
}

.topcancasin--reviews----icon {
	max-width: 20px;
	width: 100%;
	height: 20px;
	background-image: url(/topcancasin-assets/topcancasin-img/topcancasin-reviews/topcancasin-icon-star.svg);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.topcancasin--reviews--btnbox {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	justify-content: center;
}

.topcancasin--reviews---btn {
	background: var(--color-white);
	border: 1px solid #e6e6e6;
	max-width: 45px;
	width: 100%;
	height: 45px;
	border-radius: 50px;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	-ms-border-radius: 50px;
	-o-border-radius: 50px;
}

.topcancasin--reviews---btn::before {
	content: url(/topcancasin-assets/topcancasin-img/topcancasin-reviews/topcancasin-icon-arrow-prew.svg);
}
.topcancasin--reviews----next::before {
	content: url(/topcancasin-assets/topcancasin-img/topcancasin-reviews/topcancasin-icon-arrow-next.svg) !important;
}

.topcancasin--reviews-slider {
	position: relative;
}

.swiper-container {
	width: 100%;
	overflow: hidden;
	padding: 20px 0;
}

.swiper-wrapper {
	display: flex;
}

.swiper-slide {
	width: 400px !important; /* Fixed width */
	margin-right: 20px;
	flex-shrink: 0;
}
.topcancasin--reviews--slider {
	background: var(--color-white);
	width: 100%;
	padding: 1.5rem;
	box-shadow: var(--card-shadow);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	height: 100%;
}

.topcancasin--reviews--btnbox {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	justify-content: center;
	margin-top: 20px;
}

.swiper-button-disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* @media (max-width: 1260px) {
	.topcancasin--reviews-slider {
		max-width: 880px;
	}
}

@media (max-width: 920px) {
	.topcancasin--reviews-slider {
		max-width: 440px;
	}
}

@media (max-width: 480px) {
	.swiper-slide {
		width: 100% !important;
		max-width: 400px;
		margin-right: 0;
	}
	.topcancasin--reviews-slider {
		padding: 0 10px;
	}
} */

.swiper-button-next:after,
.swiper-button-prev:after {
	display: none !important;
}

.swiper-button-next,
.swiper-button-prev {
	top: var(--swiper-navigation-top-offset, 100%) !important;
}

/* Footer */
.topcancasin--footer {
	position: relative;
	padding: 1.25rem 0;
	background: linear-gradient(180deg, #000000 0%, #4b0202 100%);
}

.topcancasin--footer__container {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.topcancasin--footer---logo {
	max-width: 240px;
	width: 100%;
	height: 32px;
	margin-inline: auto;
}

.topcancasin--footer---text {
	font-family: var(--font-text);
	font-weight: 400;
	font-size: 14px;
	line-height: 130%;
	color: #f1f1f1;
}

.topcancasin--footer---lists {
	display: flex;
	gap: 1.25rem;
}

.topcancasin--footer----elem {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
	max-width: 610px;
}

.topcancasin--footer---navmenu {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.topcancasin--footer----navlink a {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 0.785rem;
	line-height: 130%;
	color: #f1f1f1;
	transition: var(--transition);
	-webkit-transition: var(--transition);
	-moz-transition: var(--transition);
	-ms-transition: var(--transition);
	-o-transition: var(--transition);
}

.topcancasin--footer----navlink a:hover {
	border-bottom: 1px solid var(--color-white);
}

.topcancasin--footer----age {
	background-image: url(/topcancasin-assets/topcancasin-img/topcancasin-footer/topcancasin-icon-age.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	max-width: 40px;
	width: 100%;
	height: 40px;
}

.topcancasin--footer--copy {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 0.875rem;
	line-height: 130%;
	color: #a1a1a1;
	text-align: center;
}

/* Burger */
#topcancasinMenuToggle {
	display: none;
	position: absolute;
	top: 0;
	left: 0rem;
	z-index: 999 !important;
	-webkit-user-select: none;
	user-select: none;
	width: 100%;
	height: 58px;
}

#topcancasinMenuToggle a {
	color: var(--color-white) !important;
	text-decoration: none;
	transition: color 0.3s ease;
	-webkit-transition: color 0.3s ease;
	-moz-transition: color 0.3s ease;
	-ms-transition: color 0.3s ease;
	-o-transition: color 0.3s ease;
}
.topcancasin--white {
	color: var(--color-white) !important;
	border: none !important;
}

#topcancasinMenuToggle span {
	display: block;
	width: 22px;
	height: 2px;
	margin-bottom: 5px;
	right: 0rem;
	top: 0.2rem;
	position: relative;
	background: var(--color-btn);
	border-radius: 3px;
	z-index: 1001 !important;
	transform-origin: 4px 0px;
	transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
		background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
}

.no-scroll {
	overflow: hidden !important; /* Отключаем прокрутку с приоритетом */
}

#topcancasinMenuToggle span:first-child {
	transform-origin: 0% 0%;
}

#topcancasinMenuToggle span:nth-last-child(2) {
	transform-origin: 0% 100%;
}

#topcancasinMenu {
	position: absolute;
	max-width: 100vw;
	width: 100%;
	z-index: 1000;
	padding-top: 5.25rem;
	margin: 0 0 0 0px;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: center;
	background: var(--color-bg);

	list-style-type: none;
	-webkit-font-smoothing: antialiased;
	transform-origin: 0% 0%;
	transform: translate(-100%, 0);
	transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
	height: 130vh;
	-webkit-transform: translate(-100%, 0);
	-moz-transform: translate(-100%, 0);
	-ms-transform: translate(-100%, 0);
	-o-transform: translate(-100%, 0);
}

#topcancasinMenuToggle input:checked ~ ul {
	transform: none;
}

.burger-button {
	display: block;
	width: 42px;
	height: 32px;
	position: absolute;
	top: 0.95rem;
	right: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	cursor: pointer;
	opacity: 1;
	z-index: 1002 !important;
	-webkit-touch-callout: none;
	background: transparent;
	border: none;
	padding: 0;
}

/* Добавляем класс для открытого состояния */
.burger-button.active span:first-child {
	transform: rotate(45deg) translate(4px, 0px);
	background: #f9f9f9;
	-webkit-transform: rotate(45deg) translate(4px, 0px);
	-moz-transform: rotate(45deg) translate(4px, 0px);
	-ms-transform: rotate(45deg) translate(4px, 0px);
	-o-transform: rotate(45deg) translate(4px, 0px);
}

.burger-button.active span:nth-child(2) {
	opacity: 0;
	transform: rotate(0deg) scale(0.2, 0.2);
}

.burger-button.active span:last-child {
	transform: rotate(-45deg) translate(-1px, 2px);
	-webkit-transform: rotate(-45deg) translate(-1px, 2px);
	-moz-transform: rotate(-45deg) translate(-1px, 2px);
	-ms-transform: rotate(-45deg) translate(-1px, 2px);
	-o-transform: rotate(-45deg) translate(-1px, 2px);
}

/* Обновляем селектор для checked состояния */
#topcancasinMenuToggle .active ~ #topcancasinMenu {
	transform: none;
}

.topcancasin--menu__list--text {
	font-family: var(--font-text);
	font-weight: 400;
	font-size: 0.875rem;
	line-height: 130%;
	color: #ffffff80;
	text-align: center;
	max-width: 320px;
	width: 100%;
}

.topcancasin--menu__list-flex-mob {
	display: flex;
	align-items: center;
	gap: 1rem;
}

/* Modal Sign up  */
.topcancasin-modal_sign {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background: #101010ad;
	backdrop-filter: blur(22.899999618530273px);
	padding: 0 1rem;
}

.topcancasin-modal--title {
	font-family: var(--font-title);
	font-weight: 800;
	font-size: 2.375rem;
	line-height: 100%;
	text-align: center;
	color: #1a291c;
}

.topcancasin-modal__content-sign {
	background: linear-gradient(270deg, #f0f0f0 0%, #cdcdcd 100%);
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	gap: 1.5rem;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
	border: none;
	width: 100%;
	height: 632px;
	max-width: 600px;
	position: relative;
	border-radius: 35px;
	-webkit-border-radius: 35px;
	-moz-border-radius: 35px;
	-ms-border-radius: 35px;
	-o-border-radius: 35px;
	padding: 2rem;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
}

.topcancasin__form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	margin: 0 auto;
}

.topcancasin__form__input {
	outline: none;
	border: none;
	padding: 1.05rem 1.4rem;
	color: var(--color-text);
	font-weight: 400;
	height: 49px;
	line-height: 20px;
	font-size: 1rem;
	font-family: var(--font-text);
	background-color: #ffffff;
	border-radius: 16px;
	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
	-ms-border-radius: 16px;
	-o-border-radius: 16px;
}

.topcancasin__form__input::placeholder {
	color: #999999;
	font-weight: 400;
	line-height: 20;
	font-size: 1rem;
	font-family: var(--font-text);
}

.topcancasin__form__button {
	margin-top: 1rem;
	outline: none;
	border: none;
	max-width: 200px;
	margin-inline: auto;
	width: 100%;
	height: 54px;
	font-family: var(--font-title);
	font-size: 1rem;
	color: #fff;
	font-weight: 500;
	line-height: 140%;
	cursor: pointer;
	display: flex;
	text-transform: uppercase;
	align-items: center;
	justify-content: center;
	background: var(--color-btn);
	border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	-webkit-border-radius: 10px;
	transition: all ease-in-out 0.3s;
	-webkit-transition: all ease-in-out 0.3s;
	-moz-transition: all ease-in-out 0.3s;
	-ms-transition: all ease-in-out 0.3s;
	-o-transition: all ease-in-out 0.3s;
	border: 2px solid transparent;
}

.topcancasin__form__button:hover {
	border: 2px solid var(--color-text);
	background: transparent;
	color: var(--color-text);
}

.topcancasin__form__login {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}
.topcancasin__form__log {
	font-size: 0.75rem;
	line-height: 150%;
	font-weight: 400;
	font-family: var(--font-text);
	color: #1a291c;
}

.topcancasin__form__reg {
	border: none;
	outline: none;
	background-color: transparent;
	font-size: 1rem;
	line-height: 140%;
	font-weight: 400;
	font-family: var(--font-text);
	color: #1a291c;
}

.topcancasin__form--text {
	font-family: var(--font-title);
	font-weight: 400;
	font-size: 0.75rem;
	line-height: 120%;
	text-align: center;
	text-transform: uppercase;
	color: #4d4d4d;
}

/* Log in */
.topcancasin-modal_login {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background: #101010ad;
	backdrop-filter: blur(22.899999618530273px);
	padding: 0 1rem;
}

.topcancasin-modal__content-login {
	background: linear-gradient(270deg, #f0f0f0 0%, #cdcdcd 100%);
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	gap: 2rem;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
	border: none;
	width: 100%;
	height: 400px;
	max-width: 600px;
	position: relative;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	padding: 2rem;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
}

.topcancasin-modal-content.success {
	background-color: #4caf50;
	color: white;
}

.topcancasin-modal-content.error {
	background-color: #f44336;
	color: white;
}

.topcancasin-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

.topcancasin-modal-content {
	background: white;
	padding: 20px;
	border-radius: 5px;
	max-width: 400px;
	width: 100%;
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
}

.topcancasin-modal-content.success {
	background-color: #4caf50;
	color: var(--color-white);
	text-align: center;
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 100%;
}

.topcancasin-modal-content.error {
	background-color: #f44336;
	color: var(--color-white);
	text-align: center;
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 100%;
}

/* Others Styles */
.topcancasin--underline {
	text-decoration: underline;
}
.topcancasin--privacy---elem,
.topcancasin--privacy----sublists {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.topcancasin--privacy----sublists li {
	list-style-type: disc;
	margin-left: 1.25rem;
}

.topcancasin--privacy--lists {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.topcancasin--title {
	word-break: break-all;
}

.topcancasin--nocenter {
	text-align: left;
}

.topcancasin--desc {
	padding: 2.5rem 0;
	background-color: var(--color-white);
}

.topcancasin--desc--lists {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.topcancasin--desc---elem {
	font-family: var(--font-title);
	font-weight: 400;
	font-size: 1rem;
	line-height: 150%;
	color: var(--color-text);
}

.topcancasin--contact--box {
	background: linear-gradient(270deg, #f0f0f0 0%, #cdcdcd 100%);
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-ms-border-radius: 20px;
	-o-border-radius: 20px;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	max-width: 900px;
	width: 100%;
	margin-inline: auto;
	padding: 2.5rem;
}

.topcancasin__contact--form {
	display: flex;
	width: 100%;
	gap: 0.5rem;
	flex-direction: column !important;
}

.topcancasin--contact---title {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 120%;
	color: #1a291c;
	text-transform: uppercase;
}

.topcancasin--conatct---link {
	display: flex;
	align-items: center;
	font-family: var(--font-text);
	font-weight: 400;
	font-size: 1rem;
	line-height: 130%;
	color: #1a291c;
	gap: 0.5rem;
}

.topcancasin_contact-label {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-family: var(--font-text);
	font-weight: 400;
	font-size: 1rem;
	line-height: 130%;
	color: #1a291c;
	gap: 0.5rem;
}

.topcancasin_contact__input {
	outline: none;
	height: 55px;
	width: 100%;
	background: var(--color-white);
	border: none;
	font-size: 1rem;
	color: #1f1f1f;
	font-family: var(--font-text);
	font-weight: 400;
	padding: 0.875rem 1rem;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
}

.topcancasin_contact__input::placeholder {
	font-size: 1rem;
	color: #1f1f1f;
	font-family: var(--font-text);
	font-weight: 500;
}

.topcancasin_contact--textarea {
	height: 100px;
	resize: none;
}

.topcancasin_contact__btn {
	margin: 1rem 0 0;
	max-width: 246px;
	width: 100%;
	color: var(--color-white);
}

.active__block {
	display: flex;
}

.form-message-container {
	margin-top: 0px;
}

.form-message {
	padding: 10px 15px;
	border-radius: 4px;
	font-size: 14px;
	animation: fadeIn 0.3s ease-in-out;
}

.form-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	text-align: center;
	font-size: 1rem;
	font-weight: 500;
	font-family: var(--font-title);
}

.form-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	text-align: center;
	font-size: 1rem;
	font-weight: 500;
	font-family: var(--font-title);
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.topcancasin--privacy--container h1 {
	font-size: 2.5rem;
	line-height: 120%;
	font-weight: 700;
	font-family: var(--font-title);
	color: var(--color-white);
	margin-bottom: 1rem;
}
.topcancasin--privacy--container h2 {
	font-size: 1.875rem;
	line-height: 120%;
	font-weight: 700;
	font-family: var(--font-title);
	color: var(--color-white);
}
.topcancasin--privacy--container p {
	font-size: 1.25rem;
	line-height: 120%;
	font-weight: 400;
	font-family: var(--font-text);
	color: var(--color-white);
}

/* Media */
@media screen and (max-width: 1260px) {
	.topcancasin--container__main {
		padding: 0 1rem;
	}
}
@media screen and (max-width: 1060px) {
	.topcancasin--welcome--top {
		flex-direction: column;
	}
	.topcancasin--top--description {
		flex-direction: column-reverse;
	}

	.topcancasin--welcome---info,
	.topcancasin--top---info {
		max-width: 100%;
		width: 100%;
	}

	.topcancasin--welcome----subtext,
	.topcancasin--welcome----title,
	.topcancasin--top---title {
		text-align: center !important;
	}

	.topcancasin--welcome----btnbox {
		margin-inline: auto;
	}

	.topcancasin--welcome---image {
		margin: 0;
	}
}

@media screen and (max-width: 930px) {
	.topcancasin--menu__list,
	.topcancasin--menu--btn_user {
		display: none;
	}

	#topcancasinMenuToggle {
		display: block;
	}

	.topcancasin--welcome----title {
		font-size: 2.5rem;
	}

	.topcancasin--games---title {
		font-size: 1.75rem;
	}

	.topcancasin--welcome---image {
		max-width: 409px;
		width: 100%;
		height: 402px;
	}
	.topcancasin--footer---lists {
		flex-direction: column;
	}

	.topcancasin--footer----elem {
		max-width: 100%;
		width: 100%;
	}

	.topcancasin--footer---navmenu {
		flex-direction: column;
		align-items: center;
	}

	.topcancasin--top---image {
		max-width: 450px;
		width: 100%;
		height: 350px;
	}

	.topcancasin--top__big-line {
		--target-width: 549px;
		max-width: var(--target-width);
		width: 100%;
		margin-right: auto;
	}

	.topcancasin--top__medium-line {
		--target-width: 525px;
		max-width: var(--target-width);
		width: 100%;
		margin-right: auto;
		width: calc(100% - 40%);
	}

	.topcancasin--top__small-line {
		--target-width: 456px;
		max-width: var(--target-width);
		width: 100%;
		margin-right: auto;
		width: calc(100% - 60%);
	}
}

@media screen and (max-width: 830px) {
	.topcancasin--top__medium-line {
		--target-width: 525px;
		max-width: var(--target-width);
		width: 100%;
		margin-right: auto;
		width: calc(100% - 55%);
	}
}

@media screen and (max-width: 680px) {
	.topcancasin--welcome,
	.topcancasin--games {
		padding: 2.5rem 0;
	}
	.topcancasin--welcome----subtext,
	.topcancasin--games---subtext,
	.topcancasin--welcome----text {
		font-size: 0.875rem;
	}

	.topcancasin--welcome----title {
		font-size: 1.5rem;
	}

	.topcancasin--welcome__subtop,
	.topcancasin--welcome----btnbox {
		gap: 0.5rem;
	}

	.topcancasin--welcome----btnbox {
		max-width: 100%;
		width: 100%;
	}

	.topcancasin--welcome--top,
	.topcancasin--welcome-container {
		gap: 1.5rem;
	}
	.topcancasin--welcome---image {
		max-width: 360px;
		width: 100%;
		height: 280px;
	}

	.topcancasin--games---title {
		font-size: 1.25rem;
	}

	.topcancasin--games-container {
		gap: 1.25rem;
	}

	.topcancasin--games----image {
		height: 280px;
	}

	.topcancasin--games--cards {
		gap: 1rem;
	}

	.topcancasin--top {
		padding: 1.25rem 0;
	}

	.topcancasin--top-container {
		gap: 2.5rem;
	}

	.topcancasin--w {
		flex-direction: column;
		align-items: flex-start;
		max-width: 90px;
		width: 100%;
		gap: 0.5rem;
	}

	.topcancasin--top----elem {
		padding: 0.5rem;
	}

	.topcancasin--welcome----num {
		font-size: 1rem;
	}

	.topcancasin--top__icon {
		max-width: 24px;
		width: 100%;
		height: 24px;
	}

	.topcancasin--top__medium-line {
		--target-width: 525px;
		max-width: var(--target-width);
		width: 100%;
		margin-right: auto;
		width: calc(100% - 40%);
	}

	.topcancasin--top__small-line {
		--target-width: 456px;
		max-width: var(--target-width);
		width: 100%;
		margin-right: auto;
		width: calc(100% - 60%);
	}

	.topcancasin--top---image {
		height: 290px;
	}

	.topcancasin--welcome--advantages {
		gap: 1.5rem;
	}

	.topcancasin--header__logo {
		max-width: 150px;
		width: 100%;
		height: 20px;
	}

	.burger-button {
		top: 0.5rem;
	}

	.topcancasin--reviews-container {
		gap: 0.5rem;
	}

	.swiper-container {
		overflow: hidden;
	}

	.swiper-slide {
		display: flex;
		justify-content: center;
	}

	.swiper-wrapper {
		padding-inline: 0 !important;
	}

	.topcancasin--reviews-slider {
		margin-inline: auto;
		max-width: 400px;
		width: 100%;
	}

	.topcancasin--reviews--slider {
		max-width: 390px;
		width: 100%;
		margin-inline: auto;
	}

	.topcancasin--reviews-slider {
		gap: 0.5rem;
	}

	.topcancasin-modal--title {
		font-size: 1.25rem;
	}

	.topcancasin-modal__content-sign,
	.topcancasin-modal__content-login {
		padding: 1rem;
	}

	.topcancasin--desc---elem {
		font-size: 0.75rem;
	}

	.topcancasin--contact--box {
		padding: 1.5rem 1rem;
	}

	.topcancasin_contact__btn {
		max-width: 100%;
		width: 100%;
	}
}

@media screen and (max-width: 550px) {
	.topcancasin--top__medium-line {
		--target-width: 525px;
		max-width: var(--target-width);
		width: 100%;
		margin-right: auto;
		width: calc(100% - 40%);
	}
}
@media screen and (max-width: 530px) {
	.topcancasin--top__medium-line {
		--target-width: 525px;
		max-width: var(--target-width);
		width: 100%;
		margin-right: auto;
		width: calc(100% - 45%);
	}
}
@media screen and (max-width: 450px) {
	.topcancasin--top__medium-line {
		--target-width: 525px;
		max-width: var(--target-width);
		width: 100%;
		margin-right: auto;
		width: calc(100% - 50%);
	}

	.topcancasin--reviews-slider {
		margin-inline: auto;
		max-width: 320px !important;
		width: 100%;
	}

	.swiper-slide {
		max-width: 320px !important;
		width: 100%;
		margin-inline: auto;
	}
}
@media screen and (max-width: 410px) {
	.topcancasin--top__medium-line {
		--target-width: 525px;
		max-width: var(--target-width);
		width: 100%;
		margin-right: auto;
		width: calc(100% - 55%);
	}

	.topcancasin--top__small-line {
		--target-width: 456px;
		max-width: var(--target-width);
		width: 100%;
		margin-right: auto;
		width: calc(100% - 75%);
	}
}
@media screen and (max-width: 370px) {
	.topcancasin--top__medium-line {
		--target-width: 525px;
		max-width: var(--target-width);
		width: 100%;
		margin-right: auto;
		width: calc(100% - 65%);
	}
}
@media screen and (max-width: 359px) {
	.topcancasin--reviews-slider {
		margin-inline: auto;
		max-width: 285px !important;
		width: 100%;
		align-items: center;
	}

	.swiper-slide {
		max-width: 285px !important;
		width: 100%;
		margin-inline: auto;
		height: auto;
	}
}
