/*************** 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;
    }
}
.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;
    padding: 3% 0 !important;
    position: relative;
}
body {
    background-image: url(../img/bg-v2.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/dish_close.webp);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100%;
    padding-top: 74%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.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: 34%;
    height: 45%;
    top: 8%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.j-xiu {
    right: 0;
}
.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-cuoc {
    position: absolute;
    display: block;
    width: 70%;
    top: 125%;
    left: 50%;
    left: 15%;
	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: 87%;
    padding-top: 24%;
    background-image: linear-gradient(-145deg, transparent, transparent, #fff, transparent, transparent);
    animation: slidebg 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -63%);
    border-radius: 10px;
    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/50K.webp);
    padding-top: 99%;
    filter: grayscale(1);
}
.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;
}
/*************** 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) {
    html, body, #main, #wrapper, .j-section, .j-video {
        height: 100dvh;
        min-height: auto !important;
    }
    .j-section {
        max-width: 70%;
    }
    .j-tai, .j-xiu {
        font-size: 1.3em;
    }
    .j-price {
        font-size: 1em;
    }
}
@media (min-width: 750px) and (orientation: portrait) {
    .j-section {
        min-height: 0 !important;
        max-width: 65%;
    }
    .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) {
    body {
        background-image: url(../img/bg-mb.webp);
    }
    .j-section {
        max-width: 100%;
    }
    .j-section .section-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    .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) {

}