@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

@font-face {
    font-family: "exo";
    src: url("../fonts/Exo2-Regular.ttf");
}

@font-face {
    font-family: "svn";
    src: url("../fonts/SVN-Avo.ttf");
}

@font-face {
    font-family: "stac";
    src: url("../fonts/00171-UTM-Staccato.ttf");
}

@font-face {
    font-family: "exo-bold";
    src: url("../fonts/Exo2-SemiBold.ttf");
}

@keyframes wave {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300&display=swap');

@keyframes zoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.13);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lenxuong {
    0% {
        transform: translateX(0px);
    }

    25% {
        transform: translateY(10px);
    }

    50% {
        transform: translateY(15px);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0px);
    }
}


@keyframes hihi {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        transform: scaleZ(1);
    }

    10%,
    20% {
        -webkit-transform: rotate3d(0, 0, 1, -30deg);
        -ms-transform: rotate3d(0, 0, 1, -30deg);
        transform: rotate3d(0, 0, 1, -30deg);
    }

    30%,
    50%,
    70%,
    90% {
        -webkit-transform: rotate3d(0, 0, 1, 20deg);
        -ms-transform: rotate3d(0, 0, 1, 20deg);
        transform: rotate3d(0, 0, 1, 20deg);
    }

    40%,
    60%,
    80% {
        -webkit-transform: rotate3d(0, 0, 1, -10deg);
        -ms-transform: rotate3d(0, 0, 1, -10deg);
        transform: rotate3d(0, 0, 1, -10deg);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        transform: scaleZ(1);
    }
}

@keyframes tada {
    0% {
        transform: scaleZ(1);
    }

    10%,
    20% {
        transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
    }

    20%,
    50%,
    70%,
    90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }

    40%,
    60%,
    80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }

    100% {
        transform: scaleZ(1);
    }
}

@keyframes shake {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scaleZ(1);
    }

    10%,
    20% {
        -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
    }

    30%,
    50%,
    70%,
    90% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }

    40%,
    60%,
    80% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scaleZ(1);
    }
}

@keyframes rotateAnimation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* HEADER START */
.header {
    z-index: 2;
    position: absolute;
    top: unset;
    left: 0;
    right: 0;
}

.header .header_desk {
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgb(0 0 0 / 80%);
}

.header .header_desk ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.header .header_desk ul li {
    list-style: none;
    padding: 25px 0px 20px 0px;
}

.header .header_desk ul li a {
    margin-top: -8px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-family: exo-bold;
    color: white;
    font-size: 20px;
}

.header .header_desk ul li a:hover {
    text-decoration: none;
}

.header .header_desk ul li a svg {
    /* margin: 0px 10px; */
    margin-right: 10px;
    width: 1.5vw;
}

.header .header_mobile {
    display: none;
}

@media(max-width:767px) {
    .header .header_mobile {
        display: block;
    }

    .header .header_desk {
        display: none;
    }

    .header .header_mobile .menu_set {
        background-color: #27282A;
        padding: 10px 0px;
    }

    .header_mobile .menu_set .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 5px !important;
    }

    .header .header_mobile .container .link_download {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header .header_mobile .container .link_download a img {
        width: 28vw;
        margin: 0 5px;
    }

    .header .header_mobile .container .link_download a img.android {
        width: 22vw;
        margin: 0 5px;
    }

    .header_mobile .container .logo {
        margin-left: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header .header_mobile .logo .img_logo img {
        width: 11vw;
        border-radius: 13px
    }

    .header .header_mobile .logo .name_game p {
        font-weight: 700;
        color: white;
        font-family: 'exo';
        font-size: 3.2vw;
        margin-left: 7px;
        margin-bottom: 0;
    }

    .header .header_mobile .btn_menu_mobile .item_menu {
        background-color: white;
        width: 35px;
        height: 5px;
        margin: 5px 0px;
        border-radius: 15px;
    }

    .header .header_mobile .btn_menu_mobile {
        margin-right: 10px;
    }

    .header .header_mobile .btn_menu_mobile.active {
        position: relative;
        top: 10px;
        width: 35px;
        height: 35px;
    }

    .header .header_mobile .btn_menu_mobile.active .top {
        position: absolute;
        transform: rotate(45deg);
        transition: 0.8s ease-in-out;
    }

    .header .header_mobile .btn_menu_mobile.active .center {
        display: none;
    }

    .header .header_mobile .btn_menu_mobile.active .bottom {
        position: absolute;
        transform: rotate(134deg);
        transition: 0.8s ease-in-out;
    }

    .header .header_mobile .menu_move {
        background-color: black;
        padding: 10px;
        width: 140px;
        height: 150px;
        position: fixed;
        right: 0;
        z-index: 999;
        opacity: 0;
        border: 1px solid white;
        transform: translateX(130px);
        transition: 0.8s ease-in-out;
        border-radius: 10px;
    }

    .header .header_mobile .menu_move.active {
        transform: translateX(0);
        opacity: 1;
        transition: 0.8s ease-in-out;
    }

    .header .header_mobile .menu_move ul li {
        list-style: none;
    }

    .header .header_mobile .menu_move ul li a {
        font-weight: 700;
        text-decoration: none;
        font-size: 14px;
        color: white;
    }

    .header .header_mobile .menu_move ul li a svg {
        margin: 0px 5px;
        width: 15px;
    }

    .header .header_mobile .menu_move hr {
        background-color: white;
        margin: 1vw 0px;
    }
}

/* HEADER END */

/* Footer start */


.footer {
    position: relative;
    text-align: center;
    background-color: #000;
    color: white;
    padding: 15px 0px;
}

.footer p,
.footer a {
    font-family: "exo";
    margin: 0;
    font-size: 0.8vw;
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0px;
    flex-wrap: wrap;
}

.footer .logo {
    width: 10vw;
}

.footer a {
    text-decoration: none;
    color: white;
}

.footer .warring_desk {
    width: 3.5vw;
}

.footer .warring_mobile {
    display: none;
}

@media (max-width:767px) {

    .footer p,
    .footer a {
        font-size: 2.3vw;
    }

    .footer .warring_mobile {
        display: block;
        margin-left: 10px;
    }

    .footer .logo {
        margin: 15px 0px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer .logo {
        width: 100%;
    }

    .footer .warring_desk {
        display: none;
    }
}

/* FOOTER END */


/* LOADING  */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #D21E21;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading .spinner {
    position: relative;
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-top: 8px solid #FFF;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    animation: spin 1s linear infinite;
}

.loading .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* LOADING END  */

/* GENERAL SETTINGS */
body.active {
    overflow: hidden !important;
}

.landing {
    background-image: url("../images/background-desk.png");
    background-position: top;
    background-size: 100%;
    background-repeat: no-repeat;
    position: relative;
}

@media (max-width:767px) {
    .landing {
        background-image: url("../images/background-mobi.png");
        background-position: top;
        background-size: cover;
        margin-top: -2vw;
    }
}

::-webkit-scrollbar {
    display: none;
}

video.desk {
    display: block;
}

video.mob {
    display: none;
}

@media (max-width:767px) {
    video.desk {
        display: none;
    }

    video.mob {
        display: block;
    }
}

img.desk {
    display: block;
}

img.mob {
    display: none;
}

@media (max-width:767px) {
    img.desk {
        display: none !important;
    }

    img.mob {
        display: block;
    }
}

.desk {
    display: block;
}

.mob {
    display: none;
}

@media (max-width:767px) {
    .desk {
        display: none !important;
    }

    .mob {
        display: block;
    }
}

.title {
    margin: auto;
}

/* END GENERAL SETTINGS */
#my-bg{
    display: none;
}
@media(max-width:1200px){
    #my-bg{
        display: block;
        
        
        -webkit-transform: none;
    }
    #my-bg img{
        position: fixed;
        width: 150%;
        height: 150%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        object-fit: cover;
    }
}

body {
    background-size: cover !important;
}

#content {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#content .content-desk {
    width: 100vw;
    height: 100vh;
    background-image: url(../images/background-desk.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #e6e6dc;
    padding-top: 20px;
    overflow: hidden;
    position: relative;
}

#content .background-container div[id] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 0;
    pointer-events: none;
}

#content .background-container div[id].active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

#content .left-bg {
    width: 33%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#content .right-bg {
    width: 29%;
    position: absolute;
    top: 3%;
    right: 3%;
    z-index: 1;
}

#content .qr-bg {
    width: 12%;
    position: absolute;
    bottom: 0%;
    right: 0%;
    z-index: 3;
}

#content .art-left {
    width: 31%;
    position: absolute;
    bottom: 0%;
    left: 0%;
    z-index: 2;
}

#content .art-right {
    width: 43%;
    height: 90%;
    position: absolute;
    bottom: 0%;
    right: 0%;
    z-index: 2;
}

#content #bg-green .art-right {
    width: 41%;
    height: unset;
    position: absolute;
    bottom: 0%;
    right: 0%;
    z-index: 2;
}

#content #bg-purple .art-right {
    width: 48%;
    height: unset;
    position: absolute;
    bottom: 0%;
    right: 0%;
    z-index: 2;
}

#content #bg-purple .art-left {
    width: 40%;
}

#content .list-button {
    width: 5%;
    position: absolute;
    top: 50%;
    transform:
        translate(-50%, -50%);
    left: 69%;
    z-index: 4;
    border-radius: 110px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

#content .list-button ul li {
    list-style: none;
    margin: 20px 0;
    text-align: center;
    color: #FFF;
    font-size: 15px;
    cursor: pointer;
    transition: 0.35s ease-in-out;
}

#content .list-button ul li:hover {
    transform: scale(1.2);
}

#content .list-button ul li .icon svg {
    height: 30px;
    margin-top: 11px;
    color: #FFF;
}

#content .list-button ul li .text {
    color: #FFF;
    font-size: 15px;
}

/* LIST BTN  */
#content .list-btn {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 23%;
    position: absolute;
    top: 61%;
    left: 6%;
    z-index: 3;
}

#content .list-btn .item-btn {
    cursor: pointer;
    transition: 0.35s ease-in-out;
}

#content .list-btn .item-btn:hover {
    transform: scale(1.1);
}

/* LIST BTN END  */


/* SWITCH AVATAR  */
.avatar-list {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: absolute;
    top: 3%;
    right: 3%;
    z-index: 2;
}

.avatar-item {
    position: relative;
    width: 4.5rem;
    height: 4.5rem;
    cursor: pointer;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.avatar-item.active {
    width: 10.625rem;
}

.avatar-item .avatar {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 999px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.avatar-item .circle {
    width: 5rem;
    height: 5rem;
    z-index: 2;
}

.avatar-item .extended {
    width: 10rem;
    height: 4.7rem;
    z-index: 1;
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.avatar-item.active .circle {
    opacity: 0;
    transform: scale(0.9);
}

.avatar-item.active .extended {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* SWITCH AVATAR END */

/* QR  */
.qr {
    position: absolute;
    width: 8.5%;
    bottom: 5%;
    right: 2%;
    z-index: 4;
}

/* QR END  */

/* VONG QUAY  */
.vong-quay {
    width: 29%;
    position: absolute;
    top: 1.5%;
    left: 3%;
    z-index: 2;
}

.vong-quay .btn-quay {
    cursor: pointer;
    width: 20%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* VONG QUAY END  */

/* IFRAME  */
#content .iframe-bg {
    width: 26.5%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    border-radius: 25px;
}

#my-frame {
    width: 26.5%;
    height: 95%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* IFRAME END   */


/* CSS MOBILE  */
@media(max-width:1200px) {
    .content-desk {
        display: none;
    }

    #my-frame {
        width: 100%;
        height: 100%;
    }
}

@media(max-width:767px) {
    #my-frame {
        width: 100%;
        height: 100%;
    }
}

/* POPUP  */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -9995;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: 0.5s ease-in-out;
}

.popup .background-pop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -9996;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(3px);
}

.content-popup {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    margin: auto;
    /* height: 90%; */
}


.item-popup {
    position: absolute;
    z-index: 9997;
    opacity: 0;
    transform: scale(0);
    transition: 0.45s ease-in-out;
}

.popup .item-popup .content {
    position: absolute;
    top: 20%;
    max-height: 70%;
    bottom: 10%;
    left: 5%;
    right: 5%;
    color: #353252;
    text-align: left;
    overflow: auto;
    font-size: 15px;
}


/* close  */
.popup .item-popup .img-close {
    position: absolute;
    top: 3%;
    right: 4%;
    cursor: pointer;
    width: 6%;
}

/* active  */
.popup .item-popup.active {
    opacity: 1.2;
    transform: scale(1);
    transition: 0.5s ease-in-out;
}

.popup .item-popup-2.active {
    opacity: 1.2;
    transform: scale(1.2);
    transition: 0.5s ease-in-out;
}

.popup .item-popup.cap-nhat.active {
    opacity: 1.2;
    transform: scale(1);
    transition: 0.5s ease-in-out;
}

.popup.active {
    z-index: 9995;
    opacity: 1.2;
    transition: 0.5s ease-in-out;
}

.popup.active .background {
    z-index: 9996;
}

/* thong-bao  */
.popup .item-popup .thongbao-popup {
    margin: 1.5vw 0;
    width: 60%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.popup .item-popup .thongbao-popup p{
    font-family: 'exo';
    font-size: 1.2vw;
    color: #000;
}

/* code tan thu  */
.popup .item-popup .tanthu-popup {
    font-size: 1vw;
    width: 85%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.popup .item-popup .tanthu-popup p {
    font-family: 'exo';
    color: #000;
    font-size: 1.3vw;
}

/* code qua tang */
.popup .item-popup .quatang-popup {
    font-size: 1vw;
    width: 95%;
    max-height: 80%;
    height: 80%;
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
}

.popup .item-popup .quatang-popup .day {
    position: relative;
    width: 15%;
    cursor: pointer;
    margin-bottom: 13px;
}

.popup .item-popup .quatang-popup .day .content-day img {
    width: 45%;
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.popup .item-popup .quatang-popup .day .content-day img.special {
    top: 12%;
    width: 70%;
}

.popup .item-popup .quatang-popup .day .name-status {
    text-align: center;
    font-size: 0.7vw;
    font-family: 'exo';
    position: absolute;
    top: 80%;
    left: 0;
    right: 0;
    font-weight: 600;
    color: #734F00;
}

.popup .item-popup .quatang-popup .day .name-status.special {
    top: 77%;
    font-size: 0.65vw;
    line-height: 1.1;
}

.popup .item-popup .quatang-popup .day .name-status.special2 {
    top: 77%;
    font-size: 0.55vw;
}

/* the le  */
.popup .item-popup .thele-popup {
    font-size: 1vw;
    width: 85%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.thele-popup p {
    font-family: 'exo';
    text-align: left;
    font-size: 1vw;
    margin-bottom: 0.5rem;
    color: #000;
    line-height: 1.5;
}


/* lich su  */
.popup .item-popup .lichsu-popup {
    position: absolute;
    top: 15%;
    left: 0%;
    right: 0%;
    margin: 0 auto;
    width: 85%;
    max-height: 80%;
    height: 80%;
    text-align: center;
}

.popup .item-popup .lichsu-popup .title-lichsu {
    background-color: #005A81;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    color: black;
    font-weight: 700;
}

.popup .item-popup .lichsu-popup .title-lichsu .col-3 {
    border-right: 2px solid white;
}

.popup .item-popup .lichsu-popup .title-lichsu .col-3 button {
    padding: 5px 0;
    color: #FFF;
    border: none;
    background-color: transparent;
    width: 100%;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    outline: none;
    display: block;
    font-size: 0.7vw;
    font-family: 'exo';
}

.popup .item-popup .lichsu-popup table {
    width: 100%;
    text-align: center !important;
}

.popup .item-popup .lichsu-popup table th.out-game {
    color: white;
    background-color: #F89A2B;
}

.popup .item-popup .lichsu-popup table th {
    color: #000;
    font-family: 'exo';
    background-color: #DBC9B3;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    font-size: 1vw;
}

.popup .item-popup .lichsu-popup table td {
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    color: #000;
    background-color: #e0d9d2;
    padding: 5px 1.7vw !important;
    font-size: 1vw;
    font-family: 'exo';
}


@media(max-width:767px) {

    /* active  */
    .popup .item-popup.active {
        transform: scale(1.3);
    }

    .popup .item-popup .img-close {
        top: 1%;
    }

    /* thong-bao  */
    .popup .item-popup .thongbao-popup {
        font-size: 3vw;
        width: 70%;
        top: 40%;
        left: 5%;
        right: 0;
        margin: unset;
    }

    .popup .item-popup .thongbao2-popup {
        top: 55%;
    }

    .popup .item-popup .thongbao2-popup p {
        font-size: 3vw;
    }

    .popup .item-popup .thongbao-nhancode-popup {
        font-size: 3vw;
    }

    .popup .item-popup .thongbao-daily-popup {
        font-size: 2vw;
        margin: 1.5vw 0;
        width: 55%;
        position: absolute;
        top: 43%;
        left: 10%;
        color: #FFF;
    }

    /* the le  */
    .thele-popup p {
        font-family: 'exo';
        text-align: left;
        font-size: 2.7vw;
        margin-bottom: 0.3rem;
    }

    .thele-popup ul li {
        font-size: 2.5vw;
    }

    /* lich su  */
    .popup .item-popup .lichsu-popup {
        width: 90%;
    }

    .popup .item-popup .lichsu-popup table th {
        font-size: 2.3vw;
    }

    .popup .item-popup .lichsu-popup table td {
        font-size: 2vw;
    }

    .popup .item-popup .lichsu-popup .title-lichsu .col-3 button {
        font-size: 2vw;
    }

}