@import url('/fonts/stylesheet.css');

/* делаем везде так, чтобы свойства width и height задавали не размеры контента, а размеры блока */
* {
	font-family: Eastman;
	box-sizing: border-box;
}

a {
	color: white;
}

body {
	min-height: 100%;
	height: auto;
}

.body-wrapper {
	padding-bottom: 50px;
}

html,
body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

html.ru .ru {
	display: flex;
}
html .ru {
	display: none;
}

html.en .en {
	display: flex;
}

html.fr .fr {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

html .en {
	display: none;
}

html.pl .pl {
	display: flex;
}
html .pl {
	display: none;
}

html.ua .ua {
	display: flex;
}
html .ua {
	display: none;
}

body {
	position: relative;
	display: flex;
	flex-direction: column;
	place-items: center;
	background-color: #00145c;
	background: url('/img/landing-3/bg.png') no-repeat;
	background-position: center center;
	background-size: 100% 100%;
	width: 100%;
	height: 100vh;
	z-index: 1;
	box-shadow: 0px 4px 4px 0px #000000;
	overflow-y: hidden;
}

.body-wrapper {
	position: relative;
	width: 100%;
	max-width: 1280px;
	height: calc(calc(var(--vh) * 100) - 88px);
	margin: 0 auto;
	overflow: hidden;
}

#app-wrapper {
	width: 100%;
	max-width: 900px;
	height: auto;
	transform-origin: center;
	transform: scale(1);
	transition: transform 0.3s ease;
	position: relative;
	margin: 20px auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

*::-webkit-scrollbar {
	width: 0;
}

.bg-pulse {
	-webkit-animation: bgPulse 45s linear infinite alternate;
	animation: bgPulse 45s linear infinite alternate;
}

@-webkit-keyframes bgPulse {
	0% {
		background-size: 100% 100%;
	}

	100% {
		background-size: 150% 150%;
	}
}

@keyframes bgPulse {
	0% {
		background-size: 100% 100%;
	}

	100% {
		background-size: 150% 150%;
	}
}

#app-wrapper {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	background: url('/img/landing-3/pyramide-bg.png') 50% 0% no-repeat;
	background-size: cover;
	width: 100%;
	/* overflow: hidden; */
}

#app-wrapper {
	transform: scale(1.05);
	transform-origin: center;
	margin: 20px 0;
}
#spinner {
	transform: scale(1.2);
	margin-bottom: 20px;
}

#lever {
	transform: scale(1.4);
	right: -20px;
}

@media (max-width: 480px) {

	#spinner {
		transform: scale(1.2);
	}

	#lever {
		transform: scale(1.5);
	}
}

#fireball {
	position: absolute;
	top: -10%;
	visibility: hidden;
	opacity: 0;
	width: 170rem !important;
	height: 110vh !important;
	background: transparent !important;
	mix-blend-mode: screen;
	max-width: 100vw;
	left: 50%;
	transform: translateX(-50%);
}
#fireball svg,
#fireball canvas {
	background: transparent !important;
	mix-blend-mode: screen;
}

#fireball.active {
	visibility: visible;
	opacity: 1;
}

#lever {
	cursor: pointer;
	display: none;
	position: absolute;
	top: 0px;
	right: -3px;
	width: 100px;
	height: 159px;
	transition: transform 0.1s linear;
	transform: scale(1.5);
}

#lever.active {
	transform: matrix(1, 0, 0, -1, 0, 6);
}

#app {
	width: 300px;
	height: 275px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: url('/img/landing-3/reels-border.png') no-repeat;
	background-size: 100%;
}

.doors-wrapper {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
}

.doors {
	display: flex;
	width: 100%;
	justify-content: space-around;
}

.door {
	width: 90px;
	height: 75px;
	overflow: hidden;
	border-radius: 5px;
	margin: 5px;
	position: relative;
}

.doors:first-child .door::after {
	position: absolute;
	content: '';
	width: 85px;
	height: 82px;
	top: 0;
	left: 3px;
	background: linear-gradient(
		180deg,
		#f4ba1f 0%,
		rgba(250, 246, 237, 0.69) 100%
	);
	opacity: 0.7;
}

.doors:nth-child(3) .door::after {
	position: absolute;
	content: '';
	width: 85px;
	height: 82px;
	top: 0;
	left: 3px;
	background: linear-gradient(
		180deg,
		rgba(202, 156, 33, 0.6) 0%,
		rgba(250, 246, 237, 0.5) 100%
	);
	transform: matrix(1, 0, 0, -1, 0, 0);
}

.doors:nth-child(2) > .door::after {
	background: transparent;
}

.boxes {
	transition: transform 1s ease-in-out;
}

.box {
	display: flex;
	justify-content: center;
	align-items: center;
}

.reel-img {
	width: 90%;
	height: auto;
}

.buttons {
	position: absolute;
	margin: 0 auto;
	bottom: 0;
	left: 50%;
	transform: translateX(-52px);
}

#spinner {
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	width: 105px;
	height: 55px;
	border: none;
	border-radius: 5px;
	background: url('/img/landing-3/btn-bg.svg') no-repeat;
	background-size: cover;
	background-size: 100%;
	-webkit-filter: drop-shadow(0px 1.66038px 1.66038px rgba(0, 0, 0, 0.25));
	filter: drop-shadow(0px 1.66038px 1.66038px rgba(0, 0, 0, 0.25));
}

#spinner span {
	font-size: 10px;
	line-height: 13px;
	text-transform: uppercase;
	font-family: Eastman;
	font-weight: 600;
	padding: 5px 14px;
	color: #fff;
	border: 1.25px solid #ffe160;
	border-radius: 4px;
	background-color: #009d23;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	max-width: 80%;
	text-align: center;
}

#spinner.active span {
	background-color: #fff;
	border-color: #009d23;
	color: #009d23;
}

.info {
	position: fixed;
	bottom: 0;
	width: 100%;
	text-align: center;
}

/* *** */

.body-wrapper {
	position: relative;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 20px 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-evenly;
	box-sizing: border-box;
}

.logo {
	position: relative;
	height: 40px;
	margin-right: 52px;
}

.logo img {
	height: 100%;
}

h1 {
	font-size: 42px !important;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-align: center;
	text-transform: uppercase;
	color: transparent;
	background-clip: text;
	-webkit-background-clip: text;
	background-image: linear-gradient(
		to bottom right,
		#f5e5a9 0%,
		#ffc700 61.46%,
		#c49c22 100%
	);
	margin: 15px 0;
	padding: 0 10px;
	word-break: keep-all;
}

@media (max-height: 768px) {
	h1 {
		font-size: 32px !important;
		line-height: 1.1 !important;
		margin: 10px 0 !important;
	}

	.attempts {
		font-size: 18px !important;
		margin: 8px 0 15px !important;
	}
}

@media (max-height: 640px) {
	h1 {
		font-size: 28px !important;
		line-height: 1.1 !important;
		margin: 8px 0 !important;
	}

	.attempts {
		font-size: 16px !important;
		margin: 6px 0 12px !important;
	}
}

@media (max-height: 480px) {
	h1 {
		font-size: 24px !important;
		line-height: 1.1 !important;
		margin: 5px 0 !important;
	}

	.attempts {
		font-size: 14px !important;
		margin: 5px 0 10px !important;
	}
}

@media (max-height: 400px) {
	h1 {
		font-size: 20px !important;
		margin: 3px 0 !important;
	}

	.attempts {
		font-size: 12px !important;
		margin: 3px 0 !important;
	}

	.logo {
		height: 30px !important;
	}
}

@media (max-width: 900px) {
	#lever {
		top: 17px;
		right: -55px;
	}
	.body-wrapper {
		height: calc(calc(var(--vh) * 100) - 97px);
	}
}

@media (max-height: 768px) {
	.logo {
		height: 5vh !important;
	}
}

@media (max-height: 640px) {

	#lever {
		transform: scale(1.1);
		right: -15px;
	}

	.deal-wheel-wrapper {
		transform: scale(0.75);
		margin: -16vh 0;
	}

	h1 {
		font-size: 35px !important;
	}

	.attempts {
		margin: 0.5vh 0 !important;
	}
}

@media (max-height: 600px) {
	.body-wrapper {
		height: calc(calc(var(--vh) * 100) - 83px);
		justify-content: space-between;
	}
}

@media (max-height: 564px) {
	.body-wrapper {
		height: calc(calc(var(--vh) * 100) - 70px);
	}
}

@media (max-height: 480px) {
	.deal-wheel-wrapper {
		transform: scale(0.65);
	}

	#lever {
		transform: scale(0.9);
		right: -20px;
	}

	.logo {
		height: 4vh !important;
	}
}

.advantages {
	width: 100%;
	max-width: 230px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin-top: 5em;
}

.advantages p {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.advantages p span:first-child {
	font-size: 20px;
	font-weight: 900;
	letter-spacing: 0em;
	text-align: center;
	text-transform: uppercase;
	color: transparent;
	background-clip: text;
	-webkit-background-clip: text;
	background-image: linear-gradient(
		to bottom right,
		#f5e5a9 0%,
		#ffc700 61.46%,
		#c49c22 100%
	);
}

.advantages p span:not(:first-child) {
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0em;
	text-align: center;
	text-transform: uppercase;
	color: transparent;
	background-clip: text;
	-webkit-background-clip: text;
	background-image: linear-gradient(
		to bottom right,
		#f5e5a9 0%,
		#ffc700 61.46%,
		#c49c22 100%
	);
}

.gifts {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
}

.gifts img {
	transform: rotate(-26.39deg) translateY(7px);
}

.gifts p {
	font-size: 20px;
	font-weight: 900;
	letter-spacing: 0em;
	text-align: left;
	text-transform: uppercase;
	color: transparent;
	background-clip: text;
	-webkit-background-clip: text;
	background-image: linear-gradient(
		to bottom right,
		#f5e5a9 0%,
		#ffc700 61.46%,
		#c49c22 100%
	);
	/* margin: 0 !important; */
	flex-direction: row;
	flex-wrap: wrap;
	max-width: 90%;
	justify-content: center;
	align-items: baseline;
	margin: 0 auto !important;
}

.gifts span {
	margin-left: 8px;
}

.particles-wrapper {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 70%;
	height: 100%;
	transform: translate(-50%, -50%);
}

.deal-wheel-wrapper {
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	height: auto;
	width: 100vw;
	/* min-height: 372px; */
	max-width: 470px;
	/* overflow: hidden; */
}

/* .deal-wheel-wrapper::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -52%);
	min-height: 372px;
	min-width: 372px;
	background: url('/img/landing-3/wheel-bg.png') no-repeat;
	background-size: 315px;
	background-position: 50%;
} */

/* .deal-wheel-wrapper::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -60%);
	min-height: 372px;
	min-width: 372px;
	background: url('/img/landing-3/wheel-sectors.png') no-repeat;
	background-size: 250px;
	background-position: 50%;
} */

/* общий блок для всех элементов */

/* .dw-t-l,
.dw-b-l,
.dw-t-r {
	position: absolute;
} */

/* .dw-t-l {
	top: 17%;
	left: 50%;
	min-height: 70px;
	min-width: 100px;
	background: url(/img/landing-3/top-left-star.svg) no-repeat;
	background-size: 82px;
	transform: translateX(-200%);
}

.dw-b-l {
	display: none;
	bottom: 17%;
	left: 50%;
	min-height: 70px;
	min-width: 106px;
	background: url('/img/landing-3/bottom-left-star.svg') no-repeat;
	background-size: 82px;
	transform: translateX(-180%);
}

.dw-t-r {
	top: 5%;
	right: 50%;
	min-height: 150px;
	min-width: 115px;
	background: url(/img/landing-3/top-right-star.svg) no-repeat;
	background-size: 130px;
	transform: translateX(168%);
} */

/* всё, что относится ко внутренним элементам главного блока, будет находиться в области сетки с названием spinner */
.deal-wheel > * {
	grid-area: spinner;
}

/* сам блок и кнопка будут находиться в области сетки с названием trigger и будут выровнены по центру */
.deal-wheel .btn-spin {
	/* grid-area: trigger; */
	justify-self: center;
}

/* сектор колеса */
.spinner {
	/* добавляем относительное позиционирование */
	position: relative;
	/* подключаем сетку */
	display: grid;
	/* выравниваем всё по центру */
	align-items: center;
	/* добавляем элемент в сетку */
	grid-template-areas: 'spinner';
	/* устанавливаем размеры */
	width: var(--size);
	height: var(--size);
	/* поворачиваем элемент  */
	transform: rotate(calc(var(--rotate, 112.5) * 1deg));
	/* рисуем круглую обводку, а всё, что не поместится, — будет скрыто за кругом */
	border-radius: 50%;
}

/* всё, что внутри этого блока, будет находиться в области сетки с названием spinner */
.spinner * {
	grid-area: spinner;
}

/* текст на секторах */
.prize {
	/* включаем «гибкую» вёрстку */
	display: flex;
	align-items: center;
	/* задаём отступы от краёв блока */
	padding: 0 calc(var(--size) / 6) 0 0;
	/* устанавливаем размеры */
	width: 50%;
	height: 50%;
	/* устанавливаем координаты, относительно которых будем вращать текст */
	transform-origin: center right;
	/* поворачиваем текст */
	transform: rotate(var(--rotate));
	/* запрещаем пользователю выделять мышкой текст на секторах */
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	/* margin-left: -20px; */
}

.modal-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: url('/img/landing-3/modal-bg-mob.png') no-repeat;
	background-size: cover;
	width: 264px;
	height: 164px;
	margin-top: 20px;
}

.text {
	text-align: center;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	margin-bottom: 15px;
}

.text1 {
	color: #fff;
	text-transform: uppercase;
	font-family: Eastman;
	font-size: 16px;
	line-height: 22px;
	font-weight: 600;
	letter-spacing: 0em;
	text-align: center;
}

.textPrize {
	font-family: 'Eastman';
	font-style: normal;
	font-weight: 600;
	font-size: 26px;
	line-height: 36px;
	display: flex;
	align-items: center;
	text-align: center;
	text-transform: uppercase;
	color: transparent;
	background-clip: text;
	-webkit-background-clip: text;
	background-image: linear-gradient(
		to bottom right,
		#f5e5a9 0%,
		#ffc700 61.46%,
		#c49c22 100%
	);
}

/* язычок */
.ticker {
	/* добавляем относительное позиционирование */
	position: relative;
	/* устанавливаем размеры */
	left: calc(var(--size) / -15);
	width: calc(var(--size) / 10);
	height: calc(var(--size) / 20);
	/* фон язычка */
	background: var(--lg);
	/* делаем так, чтобы язычок был выше колеса */
	z-index: 1;
	/* форма язычка */
	-webkit-clip-path: polygon(20% 0, 100% 50%, 20% 100%, 0% 50%);
	clip-path: polygon(20% 0, 100% 50%, 20% 100%, 0% 50%);
	/* устанавливаем точку, относительно которой будет вращаться язычок при движении колеса */
	transform-origin: center left;
}

/* кнопка запуска колеса */
.btn-spin {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 80px;
	width: 80px;
	transform: translate(-50%, -50%);
	color: white;
	background: linear-gradient(
		127.9deg,
		#72d7f9 0%,
		#295dcb 41.3%,
		#4286db 100%
	);
	border: none;
	/* берём размер шрифта такой же, как в колесе */
	font-size: inherit;
	/* добавляем отступы от текста внутри кнопки */
	padding: 10px;
	/* скругляем углы */
	border-radius: 50%;
	/* меняем внешний вид курсора над кнопкой на руку*/
	cursor: pointer;
	text-transform: uppercase;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 3;
}

.inner-circle {
	display: block;
	background: linear-gradient(to bottom right, #73dafa 0%, #2556c8 100%);
	box-shadow: 0px 4.17777px 4.17777px rgba(0, 0, 0, 0.25);
	position: relative;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	font-size: 11px;
	font-weight: 400;
	line-height: 14px;
	letter-spacing: 0em;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.inner-circle::before {
	content: '';
	position: absolute;
	top: -8px;
	left: -6px;
	width: 74px;
	height: 78px;
	background: url('/img/landing-3/btn-arrows-mob.svg') no-repeat;
}

/* если кнопка нажата и неактивна */
.btn-spin:disabled {
	/* меняем внешний вид курсора */
	cursor: progress;
	/* делаем кнопку полупрозрачной */
	opacity: 0.25;
}

/* анимация вращения */
.is-spinning .spinner {
	transition: transform 8s cubic-bezier(0.1, -0.01, 0, 1);
}

/* анимация движения язычка */
.is-spinning .ticker {
	-webkit-animation: tick 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
	animation: tick 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* эффект, когда колесо задевает язычок при вращении */
@-webkit-keyframes tick {
	40% {
		/* чуть поворачиваем язычок наверх в середине анимации */
		transform: rotate(-12deg);
	}
}

@keyframes tick {
	40% {
		/* чуть поворачиваем язычок наверх в середине анимации */
		transform: rotate(-12deg);
	}
}

/* анимируем выпавший сектор */
.prize.selected .text {
	/* делаем текст белым */
	color: white;
	/* настраиваем длительность анимации */
	-webkit-animation: selected 800ms ease;
	animation: selected 800ms ease;
}

/* настраиваем анимацию текста на выпавшем секторе по кадрам */
@-webkit-keyframes selected {
	/* что происходит на 25% от начала анимации */
	25% {
		/* увеличиваем текст в 1,25 раза */
		transform: scale(1.25);
		/* добавляем тексту тень */
		text-shadow: 1vmin 1vmin 0 hsla(0 0% 0% / 0.1);
		transform: rotate(-90deg);
		transform-origin: center;
	}

	40% {
		transform: scale(0.92);
		text-shadow: 0 0 0 hsla(0 0% 0% / 0.2);
		transform: rotate(-90deg);
		transform-origin: center;
	}

	60% {
		transform: scale(1.02);
		text-shadow: 0.5vmin 0.5vmin 0 hsla(0 0% 0% / 0.1);
		transform: rotate(-90deg);
		transform-origin: center;
	}

	75% {
		transform: scale(0.98);
		transform: rotate(-90deg);
		transform-origin: center;
	}

	85% {
		transform: scale(1);
		transform: rotate(-90deg);
		transform-origin: center;
	}
}

@keyframes selected {
	/* что происходит на 25% от начала анимации */
	25% {
		/* увеличиваем текст в 1,25 раза */
		transform: scale(1.25);
		/* добавляем тексту тень */
		text-shadow: 1vmin 1vmin 0 hsla(0 0% 0% / 0.1);
		transform: rotate(-90deg);
		transform-origin: center;
	}

	40% {
		transform: scale(0.92);
		text-shadow: 0 0 0 hsla(0 0% 0% / 0.2);
		transform: rotate(-90deg);
		transform-origin: center;
	}

	60% {
		transform: scale(1.02);
		text-shadow: 0.5vmin 0.5vmin 0 hsla(0 0% 0% / 0.1);
		transform: rotate(-90deg);
		transform-origin: center;
	}

	75% {
		transform: scale(0.98);
		transform: rotate(-90deg);
		transform-origin: center;
	}

	85% {
		transform: scale(1);
		transform: rotate(-90deg);
		transform-origin: center;
	}
}

/* .footer-img {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('/img/landing-3/body-bottom-bg.png') no-repeat;
	background-size: 100%;
	background-position: 0% 100%;
	z-index: 0;
} */

.footer {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 4;
	gap: 10px;
}

.row-1,
.row-2,
.row-3 {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 6px;
}

.attempts {
	font-family: Eastman;
	font-size: 22px;
	font-weight: 900;
	line-height: 16px;
	letter-spacing: 1px;
	position: relative;
	z-index: 4;
	text-align: center;
	margin: 13px 0 64px 0;
	color: #f4f4f4;
	justify-content: center;
	align-items: flex-end;
	text-shadow: 1.24693px 1.24693px 1.24693px #353535;
	white-space: nowrap;
	display: flex;
	flex-wrap: nowrap;
}

.attempts .fr {
	white-space: normal;
}

/* modal */

.modal-overlay {
	height: 100%;
	width: 100vw;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 14;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
}

.modal-overlay.active,
.modal-wrapper.active {
	opacity: 1;
	visibility: visible;
}

.modal-wrapper {
	width: 100%;
	max-width: 370px;
	height: 100%;
	max-height: 370px;
	position: fixed;
	top: 37%;
	left: 50%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	z-index: 15;
	visibility: hidden;
	opacity: 0;
	transition: all 0.3s;
	transform: translate(-50%, -50%);
}

.modal {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	max-width: 100%;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	overflow-y: auto;
	background-size: 100%;
	transition: all 0.3s;
}

.modal button {
	background: linear-gradient(to bottom right, #96fb01 0%, #028c37 100%);
	box-shadow: 1.58348px 1.58348px 0px rgba(0, 0, 0, 0.0816916);
	border-radius: 3.95869px;
	border: none;
	outline: none;
	padding: 5px 24px;
	font-family: 'Eastman';
	font-style: normal;
	font-weight: 700;
	font-size: 12px;
	line-height: 17px;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	cursor: pointer;
}

@-webkit-keyframes modal {
	0% {
		width: 0%;
		height: 0%;
		background-size: 0%;
		transform: scale(0), translate(-100%, -100%);
	}

	80% {
		background-size: 110%;
		transform: scale(1.2);
	}

	100% {
		width: 100%;
		height: 100%;
		background-size: 100%;
		transform: scale(1), translate(0%, 0%);
	}
}

/* modal */

.fireworks {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99;
}

.fireworks canvas {
	width: 100%;
	height: 100%;
}

canvas {
	display: block;
	vertical-align: bottom;
}

/* ---- particles.js container ---- */
#particles-js {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: transparent;
	background-image: url('');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
}

.count-particles {
	border-radius: 0 0 3px 3px;
}

.atCount {
	margin-left: 4px;
	display: inline-block;
}

.attempts.fr .atCount {
	display: inline;
	flex-wrap: wrap;
	margin-left: 4px;
}

.big-win {
	display: none;
	position: fixed;
	top: 35%;
	left: 0;
	transform: translateY(-50%);
	width: 100%;
	height: auto;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 3;
}

.big-win.active {
	display: flex;
}

#big-win-img-modal {
	z-index: 3;
	width: 267px;
	height: 147px;
}

#big-win-img-modal {
	z-index: 3;
	width: 267px;
	height: 147px;
	transform: scale(0);
	transition: transform 0.1s linear;
}

#big-win-img-modal.active {
	transform: scale(1);
}

.bw-barrels {
	width: 100%;
	height: 100px;
	max-width: 340px;
	position: relative;
}

#lBarrel,
#mBarrel,
#rBarrel {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	transition: transform 0.1s linear;
}

#lBarrel {
	left: 30%;
	z-index: 1;
	transform: translateX(-350%);
}

#mBarrel {
	left: 50%;
	top: 20%;
	z-index: 2;
	transform: translateY(350%);
}

#rBarrel {
	left: 70%;
	z-index: 1;
	transform: translateX(300%);
}

#lBarrel.active,
#mBarrel.active,
#rBarrel.active {
	transform: translate(-50%, 0);
}

.pulseAnim {
	-webkit-animation: pulse 1.2s linear infinite alternate;
	animation: pulse 1.2s linear infinite alternate;
}

@-webkit-keyframes pulse {
	0% {
		transform: scale(1);
	}

	100% {
		transform: scale(1.1);
	}
}

@media (min-width: 480px) {
	#lever {
		display: block;
	}
}

@media (min-width: 900px) {
	#app-wrapper {
		display: flex;
		justify-content: center;
		align-items: center;
		background: url('/img/landing-3/pyramide-bg.png') 50% 0% no-repeat;
		background-size: 100%;
		width: 900px;
		height: 480px;
	}

	#app {
		width: 500px;
		height: 468px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		background: url('/img/landing-3/reels-border.png') no-repeat;
		background-size: 100%;
	}

	.doors-wrapper {
		width: 100%;
		height: 415px;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		align-items: center;
		margin-top: -15px;
	}

	.door {
		width: 155px;
		height: calc(415px / 3);
		overflow: hidden;
		margin: 0;
	}

	.buttons {
		transform: translateX(-102px);
	}

	#spinner {
		width: 205px;
		height: 107px;
		background: url('/img/landing-3/btn-bg.svg') no-repeat;
		-webkit-filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
		filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
	}

	.doors:first-child .door::after {
		position: absolute;
		content: '';
		width: 150px;
		height: calc(415px / 3);
		top: 0;
		left: 2px;
		background: linear-gradient(
			180deg,
			#f4ba1f 0%,
			rgba(250, 246, 237, 0.69) 100%
		);
		opacity: 0.7;
	}

	/* .doors:nth-child(2) .door {
		height: 120px !important;
	}

	.doors:nth-child(3) .door {
		height: 120px !important;
	} */

	.doors:nth-child(3) .door::after {
		position: absolute;
		content: '';
		width: 145px;
		height: calc(415px / 3);
		top: 0;
		left: 6px;
		background: linear-gradient(
			180deg,
			rgba(202, 156, 33, 0.6) 0%,
			rgba(250, 246, 237, 0.69) 100%
		);
		transform: matrix(1, 0, 0, -1, 0, 0);
	}

	#spinner span {
		font-size: 25px;
		line-height: 34px;
		font-weight: 600;
		color: #fff;
		border: 3px solid #ffe160;
		border-radius: 10px;
		padding: 10px 15px;
	}

	#lever {
		right: 26px;
		width: 125px;
		height: 296px;
	}

	#lever.active {
		transform: matrix(1.5, 0, 0, -1.5, 3, 15);
	}

	.reel-img {
		width: 85%;
		height: auto;
	}

	.big-win {
		position: fixed;
		top: 0;
		left: 0;
		transform: translateY(0);
		width: 100%;
		height: 100%;
	}

	.sound {
		right: 25px;
		width: 46px;
		height: 44px;
	}

	.logo {
		height: 60px;
	}

	.deal-wheel-wrapper {
		position: relative;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		height: 100%;
		width: 100%;
		min-height: 372px;
		min-width: 327px;
		max-width: none;
	}

	#big-win-img,
	#big-win-img-modal {
		width: 626px;
		height: 344px;
	}

	.modal-text {
		background: url('/img/landing-3/modal-bg.png') no-repeat;
		background-size: cover;
		width: 506px;
		height: 320px;
	}

	.text {
		margin-bottom: 25px;
	}

	.text1 {
		color: #fff;
		text-transform: uppercase;
		font-family: Eastman;
		font-size: 30px;
		line-height: 41px;
		font-weight: 600;
		letter-spacing: 0em;
		text-align: center;
	}

	.textPrize {
		font-weight: 600;
		font-size: 50px;
		line-height: 69px;
	}

	.btn-spin {
		height: 151px;
		width: 151px;
	}

	.inner-circle {
		width: 113px;
		height: 113px;
		font-size: 21px;
		font-weight: 400;
		line-height: 26px;
		letter-spacing: 0em;
		text-align: center;
	}

	.inner-circle::before {
		content: '';
		position: absolute;
		top: -15px;
		left: -11px;
		width: 136px;
		height: 144px;
		background: url('/img/landing-3/btn-arrows-desk.svg') no-repeat;
	}

	.advantages {
		max-width: 610px;
		margin-top: 7em;
	}

	.advantages p span:first-child {
		font-size: 50px;
		font-weight: 900;
		letter-spacing: 0em;
		text-align: center;
		text-transform: uppercase;
		color: transparent;
		background-clip: text;
		-webkit-background-clip: text;
		background-image: linear-gradient(
			to bottom right,
			#f5e5a9 0%,
			#ffc700 61.46%,
			#c49c22 100%
		);
	}

	.advantages p span:nth-child(2) {
		font-size: 25px;
		font-weight: 900;
		letter-spacing: 0em;
		text-align: center;
		text-transform: uppercase;
		color: transparent;
		background-clip: text;
		-webkit-background-clip: text;
		background-image: linear-gradient(
			to bottom right,
			#f5e5a9 0%,
			#ffc700 61.46%,
			#c49c22 100%
		);
	}

	.gifts img {
		width: 64px;
		height: 64px;
		transform: rotate(-26.39deg) translate(0px, 16px);
	}

	.gifts p {
		font-size: 50px;
	}

	.gifts span {
		margin-left: 26px;
	}

	.footer {
		padding-bottom: 6em;
	}

	.row-1,
	.row-2,
	.row-3 {
		gap: 16px;
	}

	.row-1 img,
	.row-2 img,
	.row-3 img {
		height: 23px;
	}

	.attempts {
		font-size: 32px;
		line-height: 29px;
	}

	/* modal */

	.modal-overlay {
		height: 100vh;
		width: 100vw;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 14;
		background: rgba(0, 0, 0, 0.6);
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s;
	}

	.modal-wrapper {
		width: 100%;
		max-width: 700px;
		height: 100%;
		max-height: 680px;
		position: fixed;
		top: 50%;
		left: 50%;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		z-index: 15;
		visibility: hidden;
		opacity: 0;
		transition: all 0.3s;
		transform: translate(-50%, -50%);
	}

	.modal {
		display: flex;
		width: 650px;
		height: 665px;
		max-width: 100%;
		flex-direction: column;
		margin: 0 auto;
		overflow-y: auto;
		transition: all 0.3s;
	}

	.modal button {
		border-radius: 8.59561px;
		padding: 10px 54px;
		font-size: 26px;
		line-height: 37px;
	}

	/* modal */
}

#andrey {
	position: fixed;

	right: 10%;
	top: 30%;
	color: #fff;
	background-color: red;
	z-index: 100;
	padding: 10px;
	max-width: 150px;
	cursor: pointer;
}

@media (max-width: 900px) {
	.attempts {
		margin-top: 0;
	}
}

@media (max-width: 525px) {
	h1 {
		font-size: 32px !important;
		line-height: 36px;
	}

	.attempts {
		font-size: 18px;
	}

	#app-wrapper {
		width: 525px;
	}

	.deal-wheel-wrapper {
		width: 800px;
	}
}

@media (max-height: 600px) {
	.body-wrapper::-webkit-scrollbar {
		width: 0;
	}
}

@media (max-width: 900px) {
	.body-wrapper {
		padding-top: 20px;
	}

	h1 {
		margin: 5px 0 !important;
	}

	.attempts {
		margin: 5px 0 15px !important;
	}

	.deal-wheel-wrapper {
		margin: 0;
		max-width: 525px;
	}

	#lever {
		top: 7px;
		right: 5px;
		transform: scale(1.2);
	}
}

@media (max-width: 900px) and (max-height: 650px) {
	.body-wrapper {
		padding-top: 10px;
	}

	h1 {
		font-size: 28px !important;
		margin: 5px 0 !important;
	}

	.attempts {
		font-size: 18px !important;
		margin: 5px 0 10px !important;
	}

	.deal-wheel-wrapper {
		transform: scale(0.9);
	}

	#lever {
		transform: scale(1);
		right: 8px;
		top: 7px;
	}
}

@media (max-width: 900px) {
	.body-wrapper {
		display: flex;
		flex-direction: column;
		padding-bottom: 20px;
	}
}

@media (max-width: 600px) {
	.header {
		padding-top: 30px;
	}
}

@media (max-width: 1700px) and (min-width: 1280px) {
	#app-wrapper {
		transform: scale(0.9);
	}
}

@media (max-height: 900px) and (min-height: 768px) {
	.body-wrapper {
		justify-content: flex-start;
		padding-top: 30px;
	}

	#app-wrapper {
		transform: scale(0.75) !important;
		margin: 10px auto !important;
	}
}
