html,
body {
	font-family: SF Pro, sans-serif;
	/* background: radial-gradient(173.1% 58.32% at 31.6% 0%, #044A48 0%, #1A1859 100%); */
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	height: 100%;
	width: 100%;
	margin: 0;
	color: white;
}
body::before {
	content: '';
	background: radial-gradient(173.1% 58.32% at 31.6% 0%, #044a48 0%, #1a1859 100%);
	position: fixed;
	display: block;
	width: 110%;
	height: 100%;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 95%;
	padding: 0 0.2rem;
	position: fixed;
	top: -1px;
	height: 1rem;
	background: linear-gradient(to right, #054447, #063343);
	z-index: 10;
}

.logo {
	height: 0.47rem;
}

.btn-wrapper {
	display: flex;
	gap: 0.1rem;
	margin-right: 0.05rem;
}

.btn-pink,
.btn-white {
	display: flex;
	/* width: 1.4rem; */
	padding: 0.175rem 0.2rem;	
	/* height: 0.6rem; */
	border-radius: 8px;
	text-align: center;
	color: white;
	font-weight: bold;
	text-decoration: none;
	font-size: 0.25rem;
	justify-content: center;
	align-items: center;
	font-weight: 500;
}

.btn-white {
	width: 1.35rem;
	height: 0.55rem;
	border: 2px solid white;
}

.btn-pink {
	background-image: linear-gradient(100deg, #ff2700 8.65%, #ff00ba 92.07%);
}

.page-content {
	position: relative;
	padding-top: 1rem;
	padding-bottom: 0.5rem;
	font-size: 0.36rem;
}

.game-container-wrapper {
	padding: 0 0.25rem 1.2rem;
}

.live-slot-banner {
	position: relative;
	/* margin-top: -0.5rem; */
	margin-bottom: 0.4rem;
	overflow: hidden;
}

.live-slot-banner > div > img {
	max-width: 100%;
	height: auto;
}

.live-slot-banner .banner-up {
	margin-top: -0.5rem;
	position: relative;
}

.live-slot-banner .jackpot-amount {
	color: transparent;
	background: linear-gradient(180deg, #FFE196 0%, #FFF6E1 46.35%, #D2A228 49.48%, #FFE7A9 82.95%);
	-webkit-background-clip: text;
	background-clip: text;
	font-weight: bold;
	text-align: center;
	font-size: 0.8rem;
}

.live-slot-banner .banner-background {
	position: absolute;
	top: -1rem;
	left: 0;
	width: 100%;
	height: 100%;
	/* background-image: url(./img/background_1.png); */
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: 0px 0px;
}

.live-slot-banner .banner-background img {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 100%;
}

.live-slot-banner .banner-down {
	position: relative;
	z-index: 2;
	font-size: 0.23rem;
	padding: 0;
	/* margin-top: -1.5rem; */
}

.live-slot-banner .total-jackpot-container {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
} 

.live-slot-banner .total-jackpot-buttons {
	position: relative;
	display: flex;
	padding: 0 0.2rem;
    gap: 0.2rem;
}
.live-slot-banner .total-jackpot-buttons * {
	backdrop-filter: blur(10px);
}

.live-slot-banner .btn-img {
	display: block;
	width: 100%;
}

.live-slot-banner .total-jackpot-wrapper {
	position: relative; 
	background-image: url(./img/total-jackpot-bg.png);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: 0px 0px;
	display: flex;
	flex-direction: column;
	margin: 0.5rem auto;
	width: 90%;
}

.live-slot-banner .total-jackpot-content {
	display: flex;
	flex-direction: column;
	padding: 0.25rem 0rem;
}

.live-slot-banner .total-jackpot-bg {
	display: block;
	width: 100%;
}

.live-slot-banner .banner-up img,
.live-slot-banner .banner-down-bg {
	width: 100%;
	display: block;
}

.live-slot-banner .winner-jackpot-container {
	position: absolute;
	width: 98%;
	bottom: 0.2rem;
	left: 0;
	/* margin: 0.15rem 0 0.28rem 0.1rem; */
	overflow: hidden;
	margin-left: 0.2rem;
}

.live-slot-banner .jackpot-info {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	text-align: center;
	left: 4%;
	position: relative;
}

.live-slot-banner .jackpot-info .winner-date-time {
	font-size: 0.2rem;
}

.live-slot-banner .jackpot-info .winner-name {
	font-size: 0.23rem;
}

.live-slot-banner .jackpot-777 {
	width: 0.6rem;
	height: 0.6rem;
}

.live-slot-banner .amount-container {
	display: flex;
	gap: 0.05rem;
	position: relative;
	color: rgba(250, 230, 128, 1);
	font-weight: bold;
	font-size: 0.3rem;
	padding-left: 0.3rem;
	margin-right: 0.8rem;
}

.live-slot-banner .amount-container span {
	font-size: 65%;
}

.live-slot-banner .amount-container img {
	position: absolute;
	top: 50%;
	left: 0px;
	transform: translate(-50%, -50%);
	width: 0.475rem;
}

.live-slot-banner .amount-container-text {
	display: flex;
	align-items: top;
}

.live-slot-banner .amount-container-text p {
	display: inline-block;
	margin: 0;
}

.live-slot-banner .winner-swiper {
	/* height: 0; */
	height: 0.5875rem;
}

.game-container:not(:last-child) {
	margin-bottom: 0.6rem;
}

.game-container .game-title {
	font-size: 0.32rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
}

.game-container .game-list {
	display: flex;
	gap: 0.12rem;
	overflow-x: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.game-container .game-list::-webkit-scrollbar {
	display: none;
}

.game-container .game-list .game-item {
	flex: 0 0 30%;
	max-width: 30%;
}

.game-container .game-list.big .game-item {
	flex: 0 0 calc(33.333333% - 0.12rem * 2 / 3);
	max-width: calc(33.333333% - 0.12rem * 2 / 3);
}

.game-container .game-item img {
	border-radius: 0.1rem;
	max-width: 100%;
	height: auto;
}

.game-container .game-item .game-item-title {
	font-size: 0.26rem;
	padding: 0.1rem 0.1rem 0;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.game-item-wrapper {
	position: relative;
	width: fit-content;
}

.game-item-wrapper .game-jackpot-amount {
	background-image: url(./img/game_jackpot_bg.png);
	position: absolute;
	bottom: -4px;
	width: 100%;
	text-align: center;
	height: 0.8rem;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.game-item-wrapper .game-jackpot-amount span {
	color: #ffff40;
	font-size: 0.24rem;
	line-height: 0.1rem;
	font-weight: bold;
	margin-top: 7px;
	display: block;
}

footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	height: 20%;;
	width: 100%;
	/* height: 0.9rem; */
	/* background: rgba(255, 255, 255, 0.7);
	box-shadow: 0px -2px 10px #00000029;
	backdrop-filter: blur(15px); */
	overflow: hidden;
	/* border-radius: 20px 20px 0 0; */
	z-index: 100;
}

footer .footer-wrapper {
	position: relative;
	width: 100%;
}

footer .footer-bg-img {
	position: absolute;
	width: 100%;
	bottom: 0;
	left: 0;
	right: 0;
}

footer .btn-play-now {
	position: relative;
	display: block;
	width: 100%;
	z-index: 1;
}

/* footer li {
	width: 0.7rem;
	height: 0.7rem;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top left;
	list-style-type: none;
}

footer li:nth-child(1) {
	background-position: bottom left;
} */

.login__popup {
	position: fixed;
	z-index: 101;
	width: 100%;
	font-size: 0.32rem;
	height: 100%;
	top: 0;
	background-color: #00000050;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease-in-out;

	&.active {
		opacity: 1;
		visibility: visible;

		& .login__popup-wrapper {
			bottom: 0;
		}
	}

	> * {
		box-sizing: border-box;
	}
}

.login__popup-wrapper {
	position: absolute;
	background: linear-gradient(180deg, #09315C 0%, #063D47 100%);
	padding: 0.28rem 0.4rem 0.4rem;
	border-top-left-radius: 0.5rem;
	border-top-right-radius: 0.5rem;
	border: 0.02rem solid #FFFFFF20;
	bottom: 0;
	width: 100%;
	bottom: -100%;
	transition: all 0.3s ease-in-out;
}

.login__popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.login__popup__logo {
	width: 4.10rem;

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

.login__popup__close {
	width: 0.5rem;

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

.login__popup-tab-wrapper {
    padding-top: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.login__popup-tab-item {
    opacity: 0.6;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.5em;

	&:after {
		content: "";
		height: 0.08rem;
		width: 0.68rem;
		display: flex;
		background: linear-gradient(99.69deg, #FF2700 8.65%, #FF00BA 92.07%);
		opacity: 0;
		border-radius: 0.2rem;
	}

	&.active {
		opacity: 1;
		font-weight: 700;
	
		&:after {
			opacity: 1;
		}
	}
}


.login__popup-form {
    padding: 0.4rem 0.08rem 0;
}

.login__popup-form-input {
	&.error {
		border: 1px solid #ff275d !important;
	}

	&:not(.login__popup-form-input--checkbox) {
		background-color: #A5CEFF33;
		border-radius: 0.16rem;
		display: flex;
		padding: 0 0.26rem;
		backdrop-filter: blur(30px);
		box-shadow: 1px 0px 1px 0px #FFFFFF38 inset;
		font-size: 0.24rem;
		align-items: center;
		border: 1px solid transparent;

		input {
			height: 0.8rem;
			background: transparent;
			border: 0;
			appearance: none;
			font-size: 0.24rem;
			flex: 1 0 auto;
			outline: none;
			color: #fff;

			&::placeholder {
				color: rgba(255,255,255,0.6);
			}

			&::-webkit-outer-spin-button,
			&::-webkit-inner-spin-button {
				-webkit-appearance: none;
			}
		}
	}
}

.login__popup-form-input--phone {
	margin-bottom: 0.2rem;
}

.login__popup-form-input-country {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    margin-right: 8px;

	img {
		width: 0.5rem;
		height: auto;
	}
}

.login__popup-form-input-actions {
    margin-left: auto;
	display: flex;
	align-items: center;

	&:not(.login__popup-form-input-actions--otp) {
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease-in-out;

		&.active {
			opacity: 1;
			visibility: visible;
		}
	}
}

.login__popup-form-input-error {
    color: #ff275d;
    font-size: 0.24rem;
    padding-left: 0.3rem;
	height: 0;
	transition: 0.3s all ease-in-out;
	overflow: hidden;

	&.active {
		height: 0.24rem;
	}
}

.login__popup-form-item {
    display: flex;
    flex-direction: column;
}

.login__popup-form-input--verification-code {
	padding-right: 0 !important;
}

.login__popup-form-input-actions .otp-button {
    height: 0.64rem;
    margin-right: 0.08rem;
    border-radius: 0.12rem;
    border: 0;
    width: 1.525rem;
    font-size: 0.2rem;
    font-weight: 700;
}

.login__popup-form-input-actions .otp-button {
    height: 0.64rem;
    margin-right: 0.08rem;
    border-radius: 0.12rem;
    border: 0;
    width: 1.525rem;
    font-size: 0.2rem;
    font-weight: 700;

	&.countdown:disabled {
		opacity: 0.6;
		background-color: #ffffff;
		color: #ff2700;
	}
}

.login__popup-form-helper {
    padding-top: 0.16rem;
    display: flex;
}

.login__popup-form-helper .button {
    background: transparent;
    border: 0;
    appearance: none;
    color: rgba(255,255,255, 0.6);
    padding: 0;
    margin-left: auto;
    font-size: 0.24rem;
}
.login__popup-form-input-wrapper:first-child {
	margin-bottom: 0.2rem;
}

.login__popup-form-input-wrapper[data-input-type] {
	display: none;
}

.login__popup-form-input-wrapper.active[data-input-type] {
	display: block;
}

.login__popup-form-button-wrapper .button {
    width: 100%;
    height: 0.8rem;
    background: linear-gradient(99.69deg, #FF2700 8.65%, #FF00BA 92.07%);
    border-radius: 0.16rem;
    border: 0;
    font-size: 0.24rem;
    font-weight: 700;
    color: #ffffff;
}

.login__popup-form-button-wrapper {
    margin-top: 0.2rem;
}

.login__popup-form-input--checkbox {
	margin-top: 0.3rem;
    font-size: 0.22rem;
	display: flex;
	align-items: center;
    gap: 0.16rem;
	position: relative;
}

.login__popup-form-input--checkbox input {
    position: absolute;
    left: -99%;

	&:checked {
		& + span:after {
			opacity: 1;
		}
	}
}

.login__popup-form-input--checkbox > span i {
	font-style: normal;
	color: rgba(255, 255, 64, 1);
	text-decoration: underline;
}

.login__popup-form-input-checkbox > span {
	&::before {
		content: "";
		display: flex;
		width: 0.3rem;
		height: 0.3rem;
		border: 1px solid #fff;
	}

	&::after {
		content: "";
		height: 0.18rem;
		width: 0.1rem;
		color: rgba(255, 255, 64, 1);
		rotate: 45deg;
		border-bottom: 2px solid;
		border-right: 2px solid;
		position: absolute;
		left: 0.1rem;
		top: 0.01rem;
		opacity: 0;
	}
}

.login__popup-form-footer {
    padding-top: 2.76rem;
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 0.16rem;
}

.login__popup-form-footer-item {
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;

	img {
		height: 0.52rem;
		padding-inline: 0.26rem;
	}

	span {
		height: 0.325rem;
		width: 0.02rem;
		background-color: #FFFFFF66
	}
}

.login__popup-form-footer-version {
	font-size: 0.24rem;
}

.tnc__popup {
	z-index: 102;
	position: fixed;
	width: 100%;
	height: 100%;
	transition: all 0.3s ease-in-out;
	opacity: 0;
	visibility: hidden;
	top: 0;
	background-color: #00000050;

	&.active {
		opacity: 1;
		visibility: visible;

		& .tnc__popup-wrapper {
			bottom: 0;
		}
	}

	& > * {
		box-sizing: border-box;
	}
}

.tnc__popup-wrapper {
    position: absolute;
    bottom: -100%;
    background-color: rgb(5, 38, 73);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    border: 0.023rem solid rgba(255, 255, 255, 0.4);
    border-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
	transition: all 0.3s ease-in-out;
}

.tnc__popup-logo-wrapper {
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

img.tnc__popup-logo {
    height: 0.4rem;
    width: auto;
    display: flex;
}

.tnc__popup-content {
    text-align: center;
    font-size: 0.28rem;
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tnc__popup-content p {
    margin: 0;
}

.tnc__popup-content p span {
    color: rgba(255, 255, 64, 1);
    text-decoration-line: underline;
}

.tnc__popup-content-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.tnc__popup-content-buttons .button {
    height: 0.84rem;
    border: 0;
    font-weight: bold;
    outline: 0;
    min-width: 1.4rem;
    font-size: 0.28rem;
    line-height: 0.28rem;
    border-radius: 0.16rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    box-shadow: 0 0.07rem 0.141rem rgba(0, 0, 0, 0.231372549);
}

.tnc__popup-content-buttons .button--primary {
    background: linear-gradient(to right, #ff2700, #ff00ba);
    color: white;
}

.tnc__popup-notice {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, 0.5);
    z-index: 102;
    display: flex;
    justify-content: center;
    align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease-in-out;

	&.active {
		opacity: 1;
		visibility: visible;
	}
}

.tnc__popup-notice-container {
    display: flex;
    max-height: 85%;
    flex-direction: column;
    color: rgb(255, 255, 255);
    position: absolute;
    overflow: hidden;
    background-color: rgba(226, 226, 226, 0.2);
    -webkit-backdrop-filter: blur(0.703rem);
    backdrop-filter: blur(0.703rem);
    border-radius: 0.281rem;
    width: 92%;
}

h3.tnc__popup-notice-title-text {
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0.2rem 0;
    font-size: 0.4rem;
}

.tnc__popup-notice-content {
    margin-bottom: 0.3rem;
    flex-grow: 1;
    overflow: auto;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    font-size: 0.33rem;

	&.is-center {
		text-align: center;
	}
}

.tnc__popup-notice-button {
    display: flex;
    justify-content: space-evenly;
    padding: 0rem 0.2rem 0.5rem;
    row-gap: 0.2rem;
    flex-wrap: wrap;
}

.tnc__popup-notice-button button {
    border-width: 0;
    font-weight: 700;
    color: rgba(255, 255, 255, 1);
    outline-width: 0;
    min-width: 1.4rem;
    line-height: 0.28rem;
    padding: 0 0.3rem;
    background: transparent linear-gradient(110deg, #ff2700 0%, #ff00ba 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0 0.07rem 0.141rem rgba(0, 0, 0, 0.231372549);
    border-radius: 0.15rem;
    font-size: 0.28rem;
    height: 0.8rem;
    margin: 0.2rem auto;
    text-transform: capitalize;
    width: 6.5rem;
}

#register-login.hidden {
	display: none;
}

#button-home.hidden {
	display: none;
}

.header__button-home {
    font-size: 0.24rem;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0.16rem 0.26rem;
    background-color: rgba(255,255,255, 0.1);
    border-radius: 0.16rem;
}