@import url("google-fonts.css");

.none-sticky {
	position: relative !important;
	top: 0;
	height: auto;
	margin-top: 140px;
}

.jackpot-container {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(auto-fit, minmax(min(27rem, 100%), 1fr));
}
.banner-jackpot-container {
	display: grid;
	gap: 0.5rem;
}

.option-2-content .jackpot-wap {
	animation: pulse-animation 0.7s ease-in-out infinite alternate;
	will-change: transform;
}

.banner-slot-number,
.banner-slot-number * {
	background: linear-gradient(#ffffff, #f4d041, #e69b40);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: 1px;
	forced-color-adjust: none;
}

.banner-slot * {
	font-family: 'Petronas', serif;
	font-weight: 900;
}

.jackpot_banner {
	opacity: 1 !important;
	padding: 0 1rem;
	margin: 0 -1.5rem;
	height: 100% !important;
	color: white;
	position: relative;
	font-size: clamp(0.75rem, 1.82vi + 0.3rem, 1.75rem);
}

.jackpot_banner .desc-container {
	height: auto;
	min-height: 0 !important;
}

.jackpot.jackpot_banner {
	padding: 0;
}

.featured-banner.jackpot_banner video {
	min-height: 0;
	height: auto;
	top: 0;
	position: absolute;
}

.jackpot-logo img {
	height: 8rem !important;
	width: auto !important;
	margin: auto !important;
}

.jackpot_banner li {
	margin: 0;
	height: 100%;
}

.jackpot_banner .banner-bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	background-image: url(../images/wap_bg_0_a13d2a81.webp);
	background-position: center;
	background-size: cover;
}

/* .banner-bg scrolls with the banner, so the banner itself fills the offset
   under the header */
.none-sticky.jackpot-box {
	margin-top: 0;
}

.none-sticky.jackpot-box > .jackpot_banner {
	padding-top: 140px;
}

.jackpot_banner .container {
	position: relative;
	z-index: 2;
	height: 100%;
	place-content: center;
	padding: 2rem 1rem;
	box-sizing: border-box;
	margin: 0 auto;
	width: 100%;
	max-width: 1300px;
}

.jackpot_banner canvas.banner-bg {
	object-fit: initial;
}

.jackpot-wap {
	color: white;
	font-weight: 600;
	text-transform: uppercase;
	text-shadow: 0 2px 10px black;
	line-height: 1.1;
	font-size: 1.1em;
}

.jackpot-wap div {
	--text-stroke: 3px;
	font-weight: 800;
	font-size: 1.75em;
	color: red;
	text-shadow: none;
	/* the stroke is centred on the outline: half of it shows outside the glyph */
	-webkit-text-stroke: calc(var(--text-stroke) * 2) #fff;
	paint-order: stroke fill;
}

.jackpot_banner .desc-container {
	width: 920px;
	max-width: 100%;
	margin: auto;
	text-align: center;
}

.jackpot_banner .desc-container {
	min-height: calc(100vh - 310px);
	place-content: center;
}

.jackpot_banner .desc-container > * {
	margin-bottom: 1rem;
}

.banner-slot {
	position: relative;
	background: 900;
	border-radius: 10rem;
	background: linear-gradient(#ffffff, #f4d041, #e69b40);
	padding: 5px;
	color: #f4d041;
	line-height: 1;
}

.banner-slot,
.banner-slot-bg {
	/* clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%); */
	clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%);
}

.banner-slot-curve {
	filter: url(#round);
	height: 100%;
}

.banner-slot .banner-slot-bg {
	background-color: black;
	height: 100%;
	border-radius: 10rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	/* gap: 2rem; */
	padding: 1em;
}

.banner-slot-number-container {
	position: relative;
	padding-left: 1rem;
	margin-left: auto;
	margin-right: 0.5rem;
	display: flex;
	align-items: center;
	gap: 10px;
}

.number-sign {
	left: 0;
	top: 0.5em;
	/* font-size: 1.75em; */
	font-size: 1.35em;
	background: linear-gradient(#ffffff, #f4d041, #e69b40);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.banner-slot .banner-slot-number {
	text-align: center;
	flex: 1;
	font-size: 1.65em;
	/* margin-right: 8rem; */
}

.banner-slot .odometer-numbers * {
	letter-spacing: 2px;
}

.banner-slot .jackpot-img {
	height: 2.5em;
	width: auto;
	position: absolute;
}

.desc-container .banner-slot-bg {
	padding-left: 1.25em 1em;
}

.feaured-banner {
	position: relative;
}

.feaured-banner .desc-container {
	position: absolute;
	z-index: 1;
	width: 50%;
	right: 0;
	top: 50%;
	transform: translate(0, -50%);
	padding: 2rem;
	text-align: center;
}

.jackpot-disclaimer {
	margin: 0;
	color: #2d1006;
	margin-top: 10px;
	text-align: center;
	line-height: 1.35;
	font-size: clamp(12px, 3vw, 16px);
	font-weight: 600;
}

.slot {
	display: flex;
	overflow: hidden;
	font-variant-numeric: tabular-nums;
}
.slot-digit {
	display: inline-block;
	height: 1em;
	overflow: hidden;
	vertical-align: top;
}

.slot-digit.seperator span,
.slot-reel span {
	display: block;
	height: 1em;
	line-height: 1em;
}

.slot-reel {
	display: flex;
	flex-direction: column;
	will-change: transform;
	transform: translate3d(0, calc(var(--d, 0) * -1em), 0);
	transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: calc(var(--i, 0) * 60ms);
}

.slot-reel.snap,
.jackpot-paused .slot-reel {
	transition: none;
}

@media (prefers-reduced-motion: reduce) {
	.slot-reel {
		transition: none;
	}
}

@keyframes pulse-animation {
	0% {
		transform: scale(0.92);
	}

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

.coin-cointainer {
	position: relative;
	min-height: inherit;
	position: absolute;
	width: 100%;
	top: 0;
	height: 100%;
	container-type: size;
}

/* no container units: fall a fixed distance instead of the banner height */
@supports not (height: 1cqh) {
	.coin-cointainer {
		--fall: 120vh;
		--rest: 80vh;
	}
}

.landing-gaming .coin-cointainer {
	height: 100%;
}

.coin-cointainer.offset {
	display: none;
}

.coin-group {
	min-height: inherit;
	position: absolute;
	left: 0;
	right: 0;
	width: 40%;
	height: 100%;
}

.landing-gaming .coin-group {
	height: 100%;
}

.coin-group.right {
	right: 0;
	left: auto;
	transform: scaleX(-1);
}
.coin {
	position: absolute;
	top: 0;
	left: calc(var(--x, 50) * 1%);
	width: calc(var(--s, 1) * 3.5rem);
	will-change: transform;
	animation: coin_fall calc(var(--t, 1) * 2.2s) linear infinite;
	animation-delay: calc(var(--t, 1) * var(--p, 0) * -2.2s);
	animation-play-state: var(--coins, running);
}

.coin-group .coin:nth-child(even) {
	--spin: -360deg;
}

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

@keyframes coin_fall {
	0% {
		transform: translate3d(0, -100%, 0) rotate(0);
	}

	100% {
		transform: translate3d(0, var(--fall, 100cqh), 0)
			rotate(var(--spin, 360deg));
	}
}

@media only screen and (min-width: 1024px) {
	.coin {
		width: calc(var(--s, 1) * 6rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.coin {
		animation: none;
		transform: translateY(calc(var(--p, 0) * var(--rest, 80cqh)));
	}
}

@media only screen and (min-width: 375px) {
	.banner-slot .jackpot-img {
		height: 3em;
	}

	.banner-slot .banner-slot-number {
		font-size: 2.25em;
	}

	.number-sign {
		font-size: 1.5em;
	}
}

@media only screen and (min-width: 550px) {
	.banner-slot .banner-slot-number {
		font-size: 2.75em;
	}

	.jackpot-lastupdated {
		top: 70px;
	}

	.jackpot_banner {
		margin: 0;
		padding: 0;
	}

	.banner-slot-number-container {
		margin-right: 0.5rem;
	}

	.banner-slot .jackpot-img {
		height: 3.5em;
	}
}

@media only screen and (min-width: 768px) {
	.banner-slot-curve:nth-child(odd):last-child {
		grid-column: 1 / span 2;
	}

	.banner-slot-curve:last-child:nth-child(odd) .banner-slot {
		max-width: calc(50% - 1rem);
		margin: 0 auto;
	}

	.banner-jackpot-container .banner-slot-curve:nth-child(odd):last-child {
		grid-column: 1 / span 1;
	}

	.banner-jackpot-container
		.banner-slot-curve:last-child:nth-child(odd)
		.banner-slot {
		max-width: none;
	}

	.number-sign {
		font-size: 1.15em;
	}

	.jackpot_banner .desc-container {
		width: 25em;
	}

	.banner-slot .banner-slot-number {
		font-size: 1.45em;
	}

	.desc-container .banner-slot-number {
		font-size: 2em;
	}

	.banner-slot .jackpot-img {
		height: 2.25em;
	}
}

@media only screen and (min-width: 1024px) {
	.jackpot-balance {
		padding-left: 1.5rem;
	}

	.jackpot_banner .container {
		padding: 2rem;
	}

	.jackpot_banner .desc-container {
		width: 28em;
	}

	.banner-slot .banner-slot-number {
		font-size: 1.5em;
	}

	.desc-container .banner-slot-number {
		font-size: 2.5em;
	}

	.banner-slot {
	}

	.banner-slot-number-container {
		padding-left: 1.5rem;
		margin-right: 1rem;
	}

	.number-sign {
		font-size: 1.5em;
	}
}

@media only screen and (min-width: 1300px) {
	.banner-slot .banner-slot-number {
		font-size: 1.85em;
	}

	.desc-container .banner-slot-number {
		font-size: 2.5em;
	}
}
