.isjackpot .isjackpot-overlay.active{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: hsl(0deg 0% 0% / 60%);
    z-index: 99;
}
.isjackpot .jackpot-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 99997;
    transition: transform 0.5s ease-out;
}

.isjackpot .jackpot-popup.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    animation: shake 0.8s ease-in-out 0.5s 2;
}

@keyframes shake {
    0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    25% { transform: translate(-50%, -50%) scale(1.05) rotate(3deg); }
    50% { transform: translate(-50%, -50%) scale(1.05) rotate(-3deg); }
    75% { transform: translate(-50%, -50%) scale(1.05) rotate(2deg); }
}

.isjackpot .jackpot-container {
    position: relative;
    display: inline-block;
}

.isjackpot .jackpot-container img.bg {
    width: 680px;
    user-select: none;
    pointer-events: none;
}
.isjackpot .jackpotinfo{
	position: absolute;
    top: 520px;
    left: 52%;
}
.isjackpot .jackpot-logo {
    transform: translateX(-50%);
    width: 114px;
    height: 60px;
    object-fit: contain;
    object-position: center;
}

.isjackpot .jackpot-name {
    transform: translateX(-50%);
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    width: max-content;
    text-align: center;
    line-height: 50px;
    top: 53px;
    position: absolute;
    background-image: url(images/game-name-bg.png);
    background-size: 100% 100%;
    background-position: center;
    padding: 0 10px;
    min-width: 340px;
}
.isjackpot #open-game-jackpot, .isjackpot #open-game-jackpot-banner {
    top: 114px;
    position: absolute;
    background-image: url(images/playnow-bg.png);
    background-size: contain;
    background-position: center;
    color: #fff;
    left: 0;
    padding: 20px 36px 22px 36px;
    background-color: transparent;
    background-repeat: no-repeat;
    width: max-content;
    border: none;
    text-transform: uppercase;
    font-size: 22px;
    line-height: 22px;
    transform: translateX(-50%);
    font-weight: 700;
    text-shadow: 0 2px 3px #00000070;
}

.isjackpot .close-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: #000000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 51px;
    height: 51px;
    font-size: 35px;
    display: flex;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1.2;
    align-items: center;
    justify-content: center;
    padding-top: 8px;
}

.isjackpot .close-btn:hover {
    background: #ff6666;
}
.isjackpot .log {
    font-size: 13px;
    color: #aaa;
    position: fixed;
    bottom: 10px;
}
/************Banner************/
.isjackpot .jackpot-banner
{
	position: fixed;
    top: 100px;
    left: 50%;
    z-index: 9999;
    transform: translateX(-50%);
    width: 100%;
    max-width: 740px;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    padding: 0;
}
.isjackpot .jackpot-banner .jackpot-container
{
    width: 100%;
    display: block;
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}
.isjackpot .jackpot-banner .jackpot-logo
{
    transform: perspective(0px);
    display: block;
    margin: auto;
}
.isjackpot .jackpot-banner .jackpot-name
{
    background: none;
    position: relative;
    top: unset;
    padding: 0;
    min-width: unset;
    transform: none;
    font-size: 23px;
    line-height: initial;
    margin-bottom: 5px;
    width: auto;
    margin-top: 5px;
}
.isjackpot .jackpot-banner .jackpot-jackpot
{
    font-size: 32px;
    color: #fff;
    font-weight: 900;
    position: relative;
    background: linear-gradient(180deg, #FFF8BC, #F6BA36);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 32px;
    text-align: center;
    margin-top: 7px;
}
.isjackpot .jackpot-banner .btnopengame
{
	
}
.isjackpot .jackpot-banner .jackpot-container .jackpot-inner-border{
    background: linear-gradient(269deg, #FFFF7E, #F0C255,#FFFDA6,#FFF9E6,#FFE176,#FFF6B5,#FFF59F,#FFF9E8,#FFF373);
    border-radius: 16px;
    padding: 1px;
    width: 100%;
    height: 100%;
}
.isjackpot .jackpot-banner .jackpot-container .jackpot-outer-border {
    position: absolute;
    right: 0;
    top: 0;
    width: 90%;
    height: 100%;
    border-radius: 18px;
    background: linear-gradient( 269deg, #FF9C1C, #FFEF6C,#FF9818,#FFEF6C,#FF9A18,#FFE361,#FF9A1A);
    box-shadow: 0 0 10px #00000040;
    padding: 3px;
}
.isjackpot .jackpot-banner .jackpot-container .jackpot-inner-bg {
    background: linear-gradient(268deg,#650101,#910301,#B20501,#F20801);
    border-radius: 15px;
    width: 100%;
    height: 100%;
}
.isjackpot .jackpot-banner .jackpot-container .jackpot-inner-god {
    background-image: url(images/than-tai.png);
    position: absolute;
    width: 180px;
    aspect-ratio: 150/165;
    background-size: contain;
    left: 0;
    top:50%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
}
.isjackpot .jackpot-banner .jackpot-container .jackpot-banner-body{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 5px 15px 180px;
}
.isjackpot .jackpot-banner .jackpot-container .jackpot-banner-body .col-end{
    padding:0 24px
}
.isjackpot .jackpot-banner #open-game-jackpot-banner{
    position: relative;
    transform: none;
    left: unset;
    top: unset;
    font-size: 16px;
    margin: auto;
    display: block;
}
.isjackpot .jackpot-banner .close-btn{
    top: -15px;
    right: -15px;
    z-index: 1;
    width: 32px;
    height: 32px;
    background: #000000cc;
    padding-top: 0px;
}
.isjackpot .jackpot-banner.active{
    opacity: 1;
    visibility: visible;
}
.isjackpot .jackpot-banner.active .jackpot-container{
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
@media (max-width: 767px) {
	.isjackpot .jackpot-container img.bg {
	    width: 375px;
	   
	}
	.isjackpot .jackpotinfo
	{
		top: 278px;
	}
	.isjackpot .jackpot-name {
        font-size: 26px;
        line-height: 47px;
	}
    .isjackpot .close-btn {
        top: -15%;
    }
    .isjackpot .jackpot-banner{
        padding-right: 5px;
    }
    .isjackpot .jackpot-banner .jackpot-container .jackpot-banner-body{
        padding: 7px 5px 7px 120px;
    }
    .isjackpot .jackpot-banner .jackpot-name{
        font-size: 13px;
        line-height: initial;
    }
    .isjackpot .jackpot-banner .jackpot-container .jackpot-banner-body .col-end {
        padding: 0 5px;
    }
    .isjackpot .jackpot-banner .jackpot-jackpot {
        font-size: 20px;
        line-height: 24px;
    }
    .isjackpot .jackpot-banner #open-game-jackpot-banner {
        font-size: 9px;
        line-height: 0px;
    }
    .isjackpot .jackpot-banner .close-btn {
        top: -32px;
        right: 0px;
    }
    .isjackpot .jackpot-banner .jackpot-container .jackpot-inner-god{
        width: 130px;
    }
}