/*************** CSS for Desktop ***************/
@keyframes pulse_old {
	0% {
		transform: scale(0.95);
	}

	70% {
		transform: scale(1);
	}

	100% {
		transform: scale(0.95);
	}
}
@-webkit-keyframes pulse {
    0% {
        transform: scale(1.2);
        -webkit-filter: brightness(1.6);
        filter: brightness(1.6);
    }

    50% {
        transform: scale(1);
        -webkit-filter: brightness(1);
        filter: brightness(1);
    }

    100% {
        transform: scale(1.2);
        -webkit-filter: brightness(1.6);
        filter: brightness(1.6);
    }
}
@-webkit-keyframes zoom {
    0% {
        transform: scale(1.1);
        -webkit-filter: brightness(1.6);
        filter: brightness(1.6);
    }

    50% {
        transform: scale(1);
        -webkit-filter: brightness(1);
        filter: brightness(1);
    }

    100% {
        transform: scale(1.1);
        -webkit-filter: brightness(1.6);
        filter: brightness(1.6);
    }
}
@-webkit-keyframes blink {
    0% {
        filter: hue-rotate(180deg);
        -webkit-filter: brightness(1.6);
        filter: brightness(1.6);
    }

    50% {
        filter: none;
        -webkit-filter: brightness(1);
        filter: brightness(1);
    }

    100% {
        filter: hue-rotate(180deg);
        -webkit-filter: brightness(1.6);
        filter: brightness(1.6);
    }
}
@keyframes swing { 
    20% { transform: rotate(30deg); } 
    40% { transform: rotate(-20deg); } 
    60% { transform: rotate(10deg); } 
    80% { transform: rotate(-10deg); } 
    100% { transform: rotate(0deg); } 
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}
@keyframes slidebg {
    to {
      background-position:20vw;
    }
}
/* width */
::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #3e3e3e;
    border-radius: 10px;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
.pulse {
	transform: scale(1);
	animation: pulse .5s linear infinite;
}
.blink {
    filter: none;
	animation: blink .5s linear infinite;
}
.swing {
	transform: rotate(0deg);
	animation: swing .3s linear infinite;
}
html, body {
    background-color: #011008 !important;
}
#main, #wrapper {
    background-color: transparent !important;
}
html, body, #main, #wrapper, .j-section {
    height: 100%;
}
body, #main, #wrapper, .j-section {
    overflow: hidden;
}
.j-section {
    max-width: 96%;
    margin: 0 auto;
    position: relative;
}
body {
    background-image: url(../img/bg.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
.col-inner>.img:not(:last-child), .col>.img:not(:last-child), blockquote, dl, figure, form, ol, p, pre, ul {
    margin-bottom: 5px;
}
.j-video {
    width: 100%;
    height: 100%;
    position: fixed;
}
.j-show-form {
	cursor: pointer;
}
.j-bantx {
    position: relative;
}
.j-dish, .j-tai, .j-xiu, .j-price {
    display: block;
    position: absolute;
}
.j-dish {
    width: 32%;
    top: 50%;
    left: 34%;
}
.j-dish::before {
    content: "";
    display: block;
    background-image: url(../img/xingau.webp);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100%;
    padding-top: 84%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -33%);
}
.j-dish.tai::before {
    background-image: url(../img/tai.gif);
    padding-top: 108%;
}
.j-dish.xiu::before {
    background-image: url(../img/xiu.gif);
    padding-top: 108%;
}
/* .j-dish.active {
    top: 40%;
}
.j-dish.active::before {
    background-image: url(../img/dish_open.webp);
    padding-top: 108%;
} */
.j-tai, .j-xiu {
    /* font-size: 3.5em; */
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    width: 33%;
    height: 30%;
    top: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.j-xiu {
    right: 4%;
}
.j-tai span {
    background: linear-gradient(180deg, #ffc87c 0%, #fff3d1 53%, #ffc87c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
.j-xiu span {
    background: linear-gradient(180deg, #d6d6d6 0%, #e1e1e1 53%, #b9b9b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
.j-tai.disable span {
	animation: pulse .2s linear infinite;
}
/* .j-xiu.disable span {
    transform: scale(0.8);
    filter: grayscale(1);
} */
/* .j-tai.disable::before {
    content: "";
    display: block;
    background-image: url(../img/lighttai.webp);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 80%;
    padding-top: 80%;
    position: absolute;
	animation: spin .6s linear infinite;
    top: -15%;
} */
.j-noti {
    position: absolute;
    display: block;
    top: 95%;
    text-transform: uppercase;
}
.j-cuoc {
    position: absolute;
    display: block;
    width: 60%;
    top: 125%;
    left: 25%;
	animation: zoom 0.8s linear infinite;
}
.j-cuoc::before {
    content: "";
    display: block;
    background-image: url(../img/cuoc.webp);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100%;
    padding-top: 36%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.j-cuoc::after {
    content: "";
    display: block;
    width: 89%;
    padding-top: 30%;
    background-image: linear-gradient(-145deg, transparent, transparent, #fff, transparent, transparent);
    animation: slidebg 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-51%, -42%);
    border-radius: 100px;
    overflow: hidden;
    opacity: 0.4;
}
.disable {
    pointer-events: none;
}
.disable .j-cuoc {
    display: none;
}
.active .j-cuoc {
    display: block;
    width: 30%;
    left: 35%;
    top: 155%;
}
.active .j-cuoc::before {
    background-image: url(../img/coin.webp);
    padding-top: 99%;
    /* filter: grayscale(1); */
	animation: blink .5s linear infinite;
}
/* .j-tai.active .j-cuoc::before {
    filter: grayscale(0);
	animation: blink .5s linear infinite;
} */
.j-price {
    background: linear-gradient(180deg, #95ff7c 0%, #edffd1 53%, #7cff7f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    top: 91%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}
.j-nhan {
    position: absolute;
    display: none;
    width: 36%;
    padding-top: 12%;
    top: 105%;
    left: 32%;
	animation: pulse .2s linear infinite;
}
.j-nhan::before {
    content: "";
    display: block;
    background-image: url(../img/nhan.webp);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100%;
    padding-top: 33.6%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.j-nhan.active {
    display: block;
}
.j-nhan.lose::before {
    content: "";
    display: block;
    background-image: url(../img/lose.webp);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100%;
    padding-top: 33.6%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ux-lottie {
    position: absolute;
    bottom: 0;
    height: auto !important;
}
.j-ds {
    width: 90%;
    padding-top: 35.2%;
    position: absolute;
    bottom: -5%;
    left: 5%;
}
.j-ds::before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../img/j-ds.webp);
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.j-ds .col {
    position: absolute;
    top: 10%;
    left: 6%;
    height: 75%;
    width: 88%;
    overflow-y: auto;
}
.j-ds li {
    list-style-type: none;
    margin-left: 0 !important;
}
.j-ds li em {
    color: #8f8f8f;
}
.j-ds li strong {
    color: #006cff;
}

/*************** CSS for landscape Desktop ***************/
@media (max-width: 1550px) and (orientation: landscape) {
    .j-section {
        /* max-width: 90%; */
        padding: 1% 0 !important;
    }
    /*.j-tai, .j-xiu {
        font-size: 3em;
    }
    .j-price {
        font-size: 2em;
    }/**/
}
@media (max-height: 650px) and (orientation: landscape) {
    .j-section {
        max-width: 80%;
        padding: 1% 0 !important;
    }
}
/*************** CSS for Tablet ***************/
@media (max-width: 1023px) and (orientation: landscape) {
    html, body, #main, #wrapper, .j-section, .j-video {
        height: 100dvh;
        min-height: auto !important;
    }
    .j-section {
        max-width: 65%;
    }
    .j-ds {
        font-size: 8px;
    }
    /* .j-tai, .j-xiu {
        font-size: 1.3em;
    }
    .j-price {
        font-size: 1em;
    } */
    .j-noti {
        font-size: 5px;
    }
}
@media (orientation: portrait) {
    body {
        background-image: url(../img/bg-mb.webp);
    }
    .j-section {
        max-width: 86%;
        height: 100dvh;
    }
    .j-section .section-content {
        height: 100%;
    }
    .j-section .section-content > .row {
        height: 93%;
    }
    .j-ds {
    	bottom: 0;
        padding-top: 31vw;
    }
    .j-ds li {
        margin-bottom: 0 !important;
    }
    .small-col-first {
        order:-1
    }
}
@media (min-width: 750px) and (orientation: portrait) {
    .j-section {
        min-height: 0 !important;
        max-width: 60%;
    }
    .col {
        flex-basis: 100%;
        max-width: 100%;
    }
    .hide-for-small, [data-show=hide-for-small] {
        display: none !important;
    }
    .show-for-small, [data-show=show-for-small] {
        display: block !important;
    }
}

/*************** CSS for mobile ***************/
@media (max-width: 549px) {
    .j-ds {
        font-size: 12px;
        padding-top: 132px;
    }
    .j-noti {
        font-size: 0.5em;
    }
    /* .j-tai, .j-xiu {
        font-size: 1.8em;
    }
    .j-price {
        font-size: 1.3em;
    }
    .ux-lottie__player {
        width: 90%;
        margin: 0 auto;
    } */
}

/*************** CSS for mobile ***************/
@media (max-width: 390px) {

}