@font-face {
	font-family: "OtomanopeeOne";
	src: url("/landers/lp8-book-of-the-dead-2/images/19.woff") format("woff"), url("/landers/lp8-book-of-the-dead-2/images/19.woff2") format("woff2");
	font-weight: 400;
}

.fixSpanText {
	font-weight: 800;
	font-size: 0.89em;
}

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

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

main {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: url("/landers/lp8-book-of-the-dead-2/images/9.png") no-repeat center center / cover;

	opacity: 0;
	pointer-events: none;
}

.hidden {
	opacity: 0;
	pointer-events: none;
}

img {
	display: block;
	height: auto;
	width: 100%;
}

p {
	margin: 0;
}

#loader {
	position: fixed;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 999;
	width: 100%;
	height: 100%;
	background: url("/landers/lp8-book-of-the-dead-2/images/14.png") no-repeat center center / cover;
}

#loader-progress {
	position: relative;
	width: 360px;
	z-index: 10;
	top: -110px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#loader-logo {
	width: 80%;
	margin-bottom: 30px;
}

#loader-char {
	width: 70%;
	margin-bottom: 40px;
}

#loader-bar {
	position: relative;
	width: 100%;
	margin-top: -80px;

	z-index: 15;
}

#loader-dark-bar {
	position: relative;
	margin-top: -76px;
	margin-left: 12px;
	width: 64%;
	z-index: 16;
	transition: clip-path 0.1s linear;
	clip-path: inset(0 0 0 0);
}

#loader-indicator {
	position: absolute;
	top: 285px;
	left: 10px;
	width: 30%;
	transition: left 0.1s linear;
	z-index: 17;
}

#game {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100vw;
	height: 660px;
	overflow: hidden;
}

.top {
	position: relative;
	display: flex;
	justify-content: flex-end;
	width: 375px;
}

.game-logo {
	width: 200px;
	animation: sway 3s ease-in-out infinite alternate;
	transform-origin: center top;
}

@keyframes sway {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
		filter: brightness(1.3);
	}
}

.game-char {
	position: relative;
	width: 170px;
	right: 180px;
	animation: char-move 3s infinite alternate ease-in-out;
}

@keyframes char-move {
	0% {
		transform: translate(-2px, 0);
	}

	50% {
		transform: rotate(2deg) scale(1.07);
	}

	100% {
		transform: translate(2px, 0);
	}
}

#game-banner {
	position: absolute;
	left: 180px;
	border: none;
	display: flex;
	text-align: center;
	align-items: center;
	width: 130px;
	height: 100px;
	background: url("/landers/lp8-book-of-the-dead-2/images/13.png") no-repeat center;
	background-size: 100%;
	z-index: 15;

	text-shadow: 2px 0 #350615, -2px 0 #350615, 0 2px #350615, 0 -2px #350615,
		2px 2px #350615, -2px 2px #350615, 2px -2px #350615, -2px -2px #350615;
	font-size: 20px;
	text-transform: uppercase;
	line-height: 0.95;
	color: #ffe53d;

	transform: rotate(16deg) scale(0);
	transform-origin: bottom left;
	opacity: 0;
}

@keyframes swayBanner {
	0% {
		transform: rotate(12deg);
	}

	50% {
		transform: rotate(8deg);
	}

	100% {
		transform: rotate(12deg);
	}
}

#game-banner.hide {
	animation: thoughtFadeOut 0.6s ease forwards;
}

@keyframes thoughtFadeOut {
	0% {
		transform: rotate(12deg) scale(1);
		opacity: 1;
	}

	100% {
		transform: rotate(12deg) scale(0);
		opacity: 0;
	}
}

#game-banner.animate {
	animation: thoughtPop 0.4s ease forwards,
		swayBanner 5s ease-in-out infinite 0.4s;
}

@keyframes thoughtPop {
	0% {
		transform: rotate(12deg) scale(0);
		opacity: 0;
	}

	100% {
		transform: rotate(12deg) scale(1);
		opacity: 1;
	}
}

#game-slot {
	position: absolute;
	width: 370px;
	height: 350px;
	background: url("/landers/lp8-book-of-the-dead-2/images/21.png") no-repeat center;
	background-size: 100%;
	top: 155px;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 5;
}

#game-slot,
.game-header {
	flex-shrink: 0;
}

.wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: -3px;
	margin-left: 5px;
}

.reel {
	width: 93px;
	height: 240px;
	overflow: hidden;
	position: relative;
	justify-content: center;
	align-items: center;
}

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

.box {
	position: relative;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 90px;
	height: 80px;
}

.box img {
	width: 80px;
	height: 80px;
	object-fit: contain;
}

.lucky-container img {
	position: relative;
	display: inline-block;
	transition: transform 0.3s ease-in-out;
	will-change: transform, filter;
}

@keyframes luckyScale {

	0%,
	100% {
		filter: brightness(1);
	}

	50% {
		transform: scale(1.02);
		filter: brightness(1.5);
	}
}

.flash {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle, gold 0%, rgba(255, 255, 255, 0) 70%);
	border-radius: 12px;
	animation: flash 0.2s ease-in-out;
	pointer-events: none;
}

@keyframes flash {

	0%,
	100% {
		opacity: 0;
		transform: scale(0);
	}

	50% {
		opacity: 1;
		transform: scale(3);
	}
}

.lucky-appear {
	animation: luckyAppear 0.2s ease-out forwards;
}

@keyframes luckyAppear {
	0% {
		transform: scale(0);
		opacity: 0;
	}

	70% {
		transform: scale(1.1);
		opacity: 1;
	}

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

#spins-counter {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 270px;
	height: 110px;
	bottom: 115px;
	background: url("/landers/lp8-book-of-the-dead-2/images/12.png") no-repeat center;
	background-size: 100%;
	z-index: 15;

	transform: scalex(0);
	will-change: transform;
	opacity: 0;

	gap: 5px;
	font-family:"OtomanopeeOne";
	font-size: 24px;
	text-transform: uppercase;
}

#spins-counter.animate {
	animation: unrollScroll 0.3s ease-out forwards;
}

@keyframes unrollScroll {
	0% {
		transform: scalex(0);
		opacity: 0;
	}

	100% {
		transform: scalex(1);
		opacity: 1;
	}
}

.panel-text {
	position: relative;
	text-align: center;
	z-index: 2;
}

#counter {
	position: relative;
	display: inline-block;
	transition: transform 0.2s ease;
}

/* .panel-text.panel-text_text span {
	position: relative;
	background: linear-gradient(180deg, #fffdf2 39.5%, #e1da7c 49%, #fffacd 74.5%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 4px #3a0c08;
	text-shadow: 0 4px 1px rgba(0, 0, 0, 0.3);
} */
.panel-text::after,
#counter::after {
	content: attr(data-text);
	position: relative;
	background: linear-gradient(180deg, #fffdf2 39.5%, #e1da7c 49%, #fffacd 74.5%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	z-index: 2;
}

.panel-text::before,
#counter::before {
	content: attr(data-text);
	position: absolute;
	-webkit-text-stroke: 4px #3a0c08;
	text-shadow: 0 4px 1px rgba(0, 0, 0, 0.3);
	z-index: 1;
	animation: pulseCenter 2s infinite ease-in-out;
	pointer-events: none;
}

#counter.bump {
	animation: bump 0.2s ease;
}

@keyframes bump {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.2);
	}

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

#spin-btn {
	position: absolute;
	border: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 250px;
	height: 100px;
	bottom: 30px;
	background: url("/landers/lp8-book-of-the-dead-2/images/10.png") no-repeat center;
	background-size: 100%;
	z-index: 15;
	cursor: pointer;
	padding-top: 5px;
	overflow: hidden;
	animation: pulseScale 1.5s infinite ease-in-out;

	font-family: "OtomanopeeOne";
	font-size: 30px;
	line-height: 1.3;
	font-weight: 500;
}
/* #spin-btn span {
	position: absolute;
	background: linear-gradient(180deg, #fff 36.06%, #f9ba33 45.67%, #fbe8c1 74.04%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 5px #421608;
} */
#spin-btn::after {
	content: attr(data-text);
	position: absolute;
	background: linear-gradient(180deg, #fff 36.06%, #f9ba33 45.67%, #fbe8c1 74.04%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	z-index: 1;
}

#spin-btn::before {
	content: attr(data-text);
	position: absolute;
	-webkit-text-stroke: 5px #421608;
	pointer-events: none;
}

@keyframes pulseScale {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}

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

#spin-btn.disabled {
	filter: grayscale(100%) brightness(1.2);
	cursor: not-allowed;
	animation-play-state: paused;
}

#spin-btn.blocked {
	cursor: not-allowed;
	animation-play-state: paused;
}

[data-overlay][data-visible="false"],
[data-final-popup][data-visible="false"] {
	display: none !important;
}

#overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	background: rgba(19, 1, 33, 0.6);
	z-index: 100;
}

[data-start-popup] {
	position: fixed;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	z-index: 1000;
	width: 365px;
	height: 666px;
	background: url("/landers/lp8-book-of-the-dead-2/images/20.png") no-repeat center top 10%;
	background-size: 100%;
	transition: transform 0.3s ease-out, opacity 0.3s ease-out;
	pointer-events: none;
}

[data-start-popup][data-open="true"] {
	opacity: 1;
	transform: scale(1);
	pointer-events: all;
	transition: none;
	display: flex;
}

[data-start-popup][data-open="false"] {
	opacity: 0;
	display: none;
	transform: scale(0);
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-start-pop {
	position: relative;
	width: 230px;
	margin-top: -100px;
	margin-bottom: 110px;
}

.start-pop-text {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;

	width: 230px;
	color: #ffffff;
	text-shadow: -2px -2px 0 #693d0a, 2px -2px 0 #693d0a, -2px 2px 0 #693d0a, 2px 2px 0 #693d0a, 0 -2px 0 #693d0a, 0 2px 0 #693d0a, -2px 0 0 #693d0a, 2px 0 0 #693d0a, 0 6px 1px rgba(0, 0, 0, 0.5);
	text-transform: uppercase;
}

.first-pop-text {
	font-size: 74px;
	line-height: 0.9;
}

.second-pop-text {
	font-size: 32px;
	line-height: 0.8;
	margin-bottom: 20px;
}

.pop-text-gold {
	font-size: 38px;
	line-height: 0.9;
	display: inline-block;
	color: #fefa13;
	text-shadow: -2px -2px 0 #351703, 2px -2px 0 #351703, -2px 2px 0 #351703, 2px 2px 0 #351703, 0 -2px 0 #351703, 0 2px 0 #351703, -2px 0 0 #351703, 2px 0 0 #351703, 0 6px 1px rgba(0, 0, 0, 0.4);
	margin-bottom: 20px;
}

.close-pop {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: left;
	gap: 5px;
	font-size: 20px;
	line-height: 0.8;
	margin-bottom: 40px;
	text-transform: none;
}

.close-pop img {
	width: 60px;
}

#activate-btn {
	position: relative;
	border: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 270px;
	height: 100px;
	background: url("/landers/lp8-book-of-the-dead-2/images/10.png") no-repeat center;
	background-size: 100%;
	z-index: 15;
	cursor: pointer;
	overflow: hidden;
	font-size: 28px;
	animation: scaleFinalBtn 1.5s infinite ease-in-out;
	font-family: "Paytone One", sans-serif;
	will-change: transform;
}
/* #activate-btn span {
	position: absolute;
	width: 170px;
	background: linear-gradient(180deg, #fff 34.62%, #f9ba33 47.6%, #fbe8c1 70.19%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 2px #421608;
} */

#activate-btn::after {
	content: attr(data-text);
	background: linear-gradient(180deg, #fff 34.62%, #f9ba33 47.6%, #fbe8c1 70.19%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	z-index: 1;
}

#activate-btn::before {
	content: attr(data-text);
	position: absolute;
	-webkit-text-stroke: 5px #421608;
}

[data-final-popup] {
	position: fixed;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	z-index: 1001;
	width: 365px;
	height: 666px;
	background: url("/landers/lp8-book-of-the-dead-2/images/20.png") no-repeat center top 10%;
	background-size: 100%;
	transition: transform 0.3s ease-out, opacity 0.3s ease-out;
	opacity: 0;
	transform: scale(0);
	pointer-events: none;
	visibility: hidden;
}

[data-final-popup][data-open="true"] {
	opacity: 1;
	transform: scale(1);
	display: flex;
	pointer-events: auto;
	visibility: visible;
}

.logo-final-pop {
	position: relative;
	width: 230px;
	margin-bottom: 110px;
}

.final-pop-text {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;

	width: 230px;
	color: #ffffff;
	text-shadow: -2px -2px 0 #562d04, 2px -2px 0 #562d04, -2px 2px 0 #562d04,
		2px 2px 0 #562d04, 0 -2px 0 #562d04, 0 2px 0 #562d04, -2px 0 0 #562d04,
		2px 0 0 #562d04, 0 6px 1px rgba(0, 0, 0, 0.5);
	text-transform: uppercase;
}

.final-pop-text-done {
	font-size: 46px;
	line-height: 1.4;
}

.final-pop-text-won {
	font-size: 28px;
	line-height: 1.1;

	margin-bottom: 6px;
}

.final-pop-text-gold {
	font-size: 44px;
	line-height: 1;
	color: #fefa13;
	text-shadow: -2px -2px 0 #351703, 2px -2px 0 #351703, -2px 2px 0 #351703, 2px 2px 0 #351703, 0 -2px 0 #351703, 0 2px 0 #351703, -2px 0 0 #351703, 2px 0 0 #351703, 0 6px 1px rgba(0, 0, 0, 0.4);
}

.final-pop-text-free {
	font-size: 20px;
	line-height: 1;

	margin-bottom: 6px;
}

.final-pop-text-dep {
	font-size: 20px;
	line-height: 1;
	color: #fefa13;
	text-shadow: -2px -2px 0 #351703, 2px -2px 0 #351703, -2px 2px 0 #351703, 2px 2px 0 #351703, 0 -2px 0 #351703, 0 2px 0 #351703, -2px 0 0 #351703, 2px 0 0 #351703, 0 6px 1px rgba(0, 0, 0, 0.4);
	margin-bottom: 10px;
}

.done-pop {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: left;
	gap: 5px;
	width: 220px;

	font-size: 17px;
	line-height: 0.9;
	margin-bottom: 10px;
	text-transform: none;
}

.done-pop img {
	width: 50px;
}

#offer-button {
	position: relative;
	border: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 270px;
	height: 110px;
	background: url("/landers/lp8-book-of-the-dead-2/images/10.png") no-repeat center;
	background-size: 100%;
	cursor: pointer;
	text-decoration: none;
	overflow: hidden;
	text-shadow: none;
	z-index: 10;
	animation: scaleFinalBtn 1.5s infinite ease-in-out;

	font-family: "Paytone One", sans-serif;
	color: transparent;
	font-size: 2rem;
	line-height: 1.3;

	padding-top: 5px;
}

@keyframes scaleFinalBtn {

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

	50% {
		transform: scale(1);
	}
}
/* #offer-button span {
	position: absolute;
	background: linear-gradient(180deg, #fff 34.62%, #f9ba33 47.6%, #fbe8c1 70.19%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(2px 2px rgba(0, 0, 0, 0.25));
} */
#offer-button::after {
	content: attr(data-text);
	position: absolute;
	width: 170px;
	    background: linear-gradient(180deg, #fff 34.62%, #f9ba33 47.6%, #fbe8c1 70.19%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	z-index: 1;
}

#offer-button::before {
	content: attr(data-text);
	position: absolute;
	width: 170px;
	-webkit-text-stroke: 5px #421608;
}

.timer {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 150px;
	height: 110px;
	background: url("/landers/lp8-book-of-the-dead-2/images/22.png") no-repeat center;
	background-size: 100%;

	font-size: 14px;
	line-height: 1;
	color: #fff018;
	text-shadow: 1.5px 0 #3c060b, -1.5px 0 #3c060b, 0 1.5px #3c060b,
		0 -1.5px #3c060b, 1.5px 1.5px #3c060b, -1.5px 1.5px #3c060b,
		1.5px -1.5px #3c060b, -1.5px -1.5px #3c060b;
	text-transform: none;
}

#text-timer {
	position: absolute;
	top: 20px;
}

#countdown {
	position: absolute;
	top: 35px;
	left: 1.8rem;
	font-size: 40px;
	text-shadow: none;
}

#countdown::before {
	content: attr(data-text);
	position: absolute;
	-webkit-text-stroke: 2px #000;
	z-index: 1;
}

#countdown::after {
	content: attr(data-text);
	position: absolute;
	left: 0;
	background: linear-gradient(180deg, #fffdf2 39.5%, #e1da7c 49%, #fffacd 74.5%);;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	z-index: 2;
}

#time {
	position: absolute;
	top: 80px;
	font-size: 13px;
	word-spacing: 10px;
	text-transform: uppercase;
}

#text-timer-end {
	display: none;
	position: absolute;
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
	left: 24px;
	top: 35px;
	text-shadow: none;
	text-transform: uppercase;
}

#text-timer-end::before {
	content: attr(data-text);
	position: absolute;
	-webkit-text-stroke: 4px #3c060b;
	z-index: 1;
}

#text-timer-end::after {
	content: attr(data-text);
	position: absolute;
	background: linear-gradient(180deg, #fff 30.29%, #fea532 44.71%, #f6f7c7 74.04%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	z-index: 20;
}

@media (min-width: 0) and (orientation: portrait) {
	.first-pop-text {
		font-size: 4rem;
	}
	.second-pop-text {
		font-size: 2rem;
	}
	.pop-text-gold {
		font-size: 2.4rem;
	}
	#activate-btn,
	.final-pop-text-won {
		font-size: 1.7rem;
	}
	#spins-counter {
		font-size: 1.5rem;
	}
	#spin-btn,
	.final-pop-text-done {
		font-size: 2rem;
	}
	#game-banner {
		font-size: 1.25rem;
	}
	.final-pop-text-gold {
		font-size: 2.7rem;
	}
	.final-pop-text-free,
	.final-pop-text-dep {
		font-size: 1.7rem;
	}
	.done-pop {
		font-size: 0.9rem;
	}
	.done-pop img {
		width: 40px;
	}
	#game {
		height: 100%;
		padding-top: 20px;
	}
	.is--Android.has-push .top {
		position: absolute;
		width: 100%;
		left: -40px;
		bottom: 0;
		z-index: 111;
		pointer-events: none;
	}
	.is--Android.has-push #game-banner {
		left: 145px;
		bottom: 2rem;
	}
	.is--Android.has-push .game-char {
		width: 130px;
		right: 210px;
	}
	.is--Android.has-push #game-slot {
		top: 4.5rem
	}
	.is--Android.has-push #spins-counter {
		top: 22rem;
		bottom: auto;
	}
	.is--Android.has-push #spin-btn {
		top: 27.5rem;
		bottom: auto;
	}
	.is--Android.has-push .timer {
		font-size: 13px;
	}
	.is--Android.has-push #activate-btn {
		top: 2rem
	}
}
@media (min-width: 0) and (min-height: 690px) and (orientation: portrait) {
	.is--Android.has-push #game-slot {
		top: 5.5rem;
	}
	.is--Android.has-push #spins-counter {
		top: 23rem;
	}
	.is--Android.has-push #spin-btn {
		top: 29.5rem;
	}
}
@media (min-width: 0) and (min-height: 750px) and (orientation: portrait) {
	.is--Android.has-push #game-slot {
		top: 8.5rem;
	}
	.is--Android.has-push #spins-counter {
		top: 26rem;
	}
	.is--Android.has-push #spin-btn {
		top: 32.5rem;
	}
}
@media (min-width: 0) and (min-height: 800px) and (orientation: portrait) {
	.is--Android.has-push #game-slot {
		top: 9.5rem;
	}
	.is--Android.has-push #spins-counter {
		top: 27rem;
	}
	.is--Android.has-push #spin-btn {
		top: 33.5rem;
	}
}

