* {
    margin: 0 auto;
    padding: 0 auto;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
    text-decoration: none !important;
}

body {
    background-color: #470000 !important;
    overflow: visible !important;

}

.head-mobile, .mb-wrap-big-banner, .mb-btn-register-contact, .mb-btn-register, .mb-btn-contact, .mb-news-marquee, .mb-nav-footer, .mb-nav-icon, .mb-nav-icon-reg , .wrap-mb-nav-icon , .circle-mb-nav-icon-reg, .mb-wrap-game-item, .mb-game-icon, .mb-game-icon-footer, .wrap-mb-toast-loop, .mb-toast-loop, .wrap-mb-toast-loop-2, .wrap-mb-toast-loop-3, .mb-toast-loop-2 , .mb-toast-loop-3, .wrap-mb-toast-loop-4, .mb-toast-loop-4, .wrap-mb-toast-loop-5, .mb-toast-loop-5, .wrap-mb-toast-loop-6, .mb-toast-loop-6  {
    display: none;
}


.wrap-qr-code {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.qr-code1, .qr-code2 {
    display: flex;
    flex-direction: column;
}

.qr-code1 {
    margin-right: 4em;
}

.qr-code2 {
    margin-left: 4em;
}

.modal-content {
    background:-webkit-linear-gradient(110deg, #2e0000 60%, #800000 60%) !important;
}

.modal-footer {
    border-top: #f1bf2d solid 2px !important;
}

.modal-game-btn {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;

}
header {
    background-color: #f1bf2d !important;
}

.navbar {
    display: flex !important;
    position: relative;
}

.btn-navbar {
    display: flex !important;
    flex-direction: row !important;
}

.dropdown:hover>.dropdown-menu {
    display: block;
    position: absolute;
  }
  
  .dropdown>.dropdown-toggle:active {
      pointer-events: none;
  }

.wrap-nav {
    background-color: #a47c1b !important;
    width: 100%;
    height: 2em;
    display: flex;
    align-items: center;

}

.wrap-nav-btn {
    width: 45%;
    display: flex;
    align-items: center;
}

.btn-navbar-below {
    border-left: aliceblue 1px solid;
    padding-left: 30px;
    color: aliceblue; font-weight: bold;
}

.wrap-news {
    background-color: #1d1500 !important;
    width: 100%;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrap-news-icon-marquee {
    width: 55%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrap-news-left {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    
}

.wrap-news-icon {
    width: 25px;
    margin-right: 20px;
}
.wrap-news-right {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.thanh_mua_the img {
  position: absolute; top: 200px; left: 0px;z-index:500;
 
}

.wrap-big-banner {
    width: 100%;
    margin-top: 1.5em;
}

.wrap-big-slider-banner {
    width: 80%;
}

.big-wrap-winner-carousel {
    width: 100%;
}

.smaller-wrap-winner-carousel {
    width: 80%;
}

.wrap-winner {
    margin-top: 1em;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.winner-items {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.winner-item-detail {
    display: flex;
    flex-direction: row;
    margin-right: 0.7em;
}

.winner-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

.jackpot {
    font-size: xx-large;

    background: linear-gradient(180deg, #FFC109 0%, #FFF300 25.52%, #FDC009 45.83%, #FFF300 75.52%, #FFB400 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #FFC109;
font-weight: bolder;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF300;

}
 
.wrap-jackpot {
    display: flex;
    flex-direction: row;
    align-items: center;
    
}
.big-wrap-game-content-h2 {
color: #f6c24e; z-index: 100; font-size: x-large; font-weight: 700; margin-top: 0.8em;}

.big-wrap-game-content {
    margin-top: 10px;
    background-color: #0d0900ad;
    width: 100%;
    height: 15em;
    display: flex;
    
    flex-direction: column;
}

.wrap-game-content {
    width: 85% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.small-wrap-game-content {
    width: 80% !important;
}


.wrap-game-item {
    width: 100%;
display: flex;
flex-direction: row;
}

.game-item {
    margin-right: 1.5em;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.prev-btn-game {
    margin-right: 1em;
    
}

.next-btn-game {
    margin-left: -1em;
}

.wrap-G-policy {
    border-top: #0e0e0e 1.5px solid;
    width: 100%;
    display: block;
    text-align: center;
    bottom: 0;
    margin-top: 1em;
}

.wrap-G-policy span {
    color: #ffffff;
    padding-right: 3.5em;
    padding-left: 3.5em;
    cursor: pointer;
    font-weight: 500;
}

/*other desktop*/

@media screen and (max-width: 1400px) {

    .wrap-nav-btn {
        width: 55%;
    }   

    .small-wrap-game-content {
        width: 50%;
    }
    .wrap-game-item {
        width: 100% !important;
    }
   .modal-body iframe {
    width: 750px !important;
    height: 400px !important;
    }
    .btn-navbar-below {
        font-size: large;
    }
    }

@media screen and (max-width: 1366px) {
        .btn-navbar-below {
            border-left: aliceblue 1px solid;
            padding-left: 30px;
            font-size: small;
        }
        .wrap-big-banner {
            width: 85%;
            margin-top: 3px;
        }
        .wrap-winner {
            margin-top: 3px;
            width: 100%;
        }
        .big-wrap-game-content {
            margin-top: 3px;
        }
        .wrap-game-content {
            margin-top: -10px;
        }
        .big-wrap-game-content-h2 {
            margin-top: 5px;
        }
    }

    @media screen and (max-width: 1280px) {
        body {
            overflow: visible !important;
            height: fit-content;

        }
        .btn-navbar-below {
            font-size: small;
        }
        .wrap-big-banner {
            width: 100%;
            margin-top: 0.7em;
        }
        .wrap-winner {
            margin-top: 0.7em;
            width: 100%;
        }
        .big-wrap-game-content-h2 {
            margin-top: 5px;
        }
        .big-wrap-game-content {
            margin-top: 0.7em;
        }
        
        .wrap-game-content {
            margin-top: 0.5em;
            width: 100% !important;
        }
       
        .game-item img {
            width: 80% !important;
        }
        .prev-btn-game span, .next-btn-game span {
            font-size: 3rem !important;
        }
        .modal-body iframe {
            width: 450px !important;
            height: 300px !important;
            }
        .wrap-qr-code img {
            width: 140px !important;
        }
    }

    


/*Mobile*/
@media screen and (max-width: 1000px) {
	.thanh_mua_the img, .thanh_mua_the {
        display: none;
    }
}

@media screen and (max-width: 884px) {
    .wrap-G-policy, .wrap-qr-code, .qr-code1, .qr-code2, .modal-content, .modal-footer, .modal-game-btn, header, .navbar, .btn-navbar, .dropdown, .wrap-nav, .wrap-nav-btn, .btn-navbar-below, .wrap-news, .wrap-news-icon-marquee, .wrap-news-left, .wrap-news-icon, .wrap-news-right, .wrap-big-banner, .wrap-big-slider-banner, .big-wrap-winner-carousel, .smaller-wrap-winner-carousel, .wrap-winner, .winner-items, .winner-item-detail, .winner-text, .big-wrap-game-content, .wrap-game-content, .small-wrap-game-content, .wrap-game-item, .game-item, .prev-btn-game, .next-btn-game, .thanh_mua_the img, .thanh_mua_the, .jackpot, .wrap-jackpot {
        display: none;
    }
    body {
        background-color: #0e0e0e !important;
        overflow: visible;
    }
    .head-mobile {
        background-color: #1d2025;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mb-wrap-big-banner {
        margin-top: 5px;
        margin-bottom: 5px;
        display: block;
    }

    .mb-btn-register-contact {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 5px;
    }
    .mb-btn-register {
        background-color: #c8261b;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        width: 50%;
        text-align: center;
    }
    .mb-btn-contact {
        background-color: #f5c243;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        width: 50%;
        text-align: center;
    }

    .mb-news-marquee {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #1d2025;
        padding-top: 2px;
        padding-bottom: 2px;
    }
    
    .wrap-mb-toast-loop {
        background: -webkit-linear-gradient(110deg, #dba10e 60%, #f5c243 40%) ;
        display: flex;
        right: 0;
        bottom: -0.5em;
        position: fixed;
        z-index: 1000;
        opacity: 1;
        transition: opacity 0.5s;
        animation: slideIn 5s linear 2s;
        
    }
    .wrap-mb-toast-loop-2 {
        background: -webkit-linear-gradient(110deg, #dba10e 60%, #f5c243 40%) ;
        display: flex;
        right: 0;
        bottom: -0.5em;
        position: fixed;
        z-index: 1000;
        opacity: 1;
        transition: opacity 0.5s;
        animation: slideIn 5s linear 9s;
        
    }
    .wrap-mb-toast-loop-3 {
        background: -webkit-linear-gradient(110deg, #dba10e 60%, #f5c243 40%) ;
        display: flex;
        right: 0;
        bottom: -0.5em;
        position: fixed;
        z-index: 1000;
        opacity: 1;
        transition: opacity 0.5s;
        animation: slideIn 5s linear 17s;
        
    }
    .wrap-mb-toast-loop-4 {
        background: -webkit-linear-gradient(110deg, #dba10e 60%, #f5c243 40%) ;
        display: flex;
        right: 0;
        bottom: -0.5em;
        position: fixed;
        z-index: 1000;
        opacity: 1;
        transition: opacity 0.5s;
        animation: slideIn 5s linear 24s;
        
    }

    .wrap-mb-toast-loop-5 {
        background: -webkit-linear-gradient(110deg, #dba10e 60%, #f5c243 40%) ;
        display: flex;
        right: 0;
        bottom: -0.5em;
        position: fixed;
        z-index: 1000;
        opacity: 1;
        transition: opacity 0.5s;
        animation: slideIn 5s linear 60s;
        
    }
    .wrap-mb-toast-loop-6 {
        background: -webkit-linear-gradient(110deg, #dba10e 60%, #f5c243 40%) ;
        display: flex;
        right: 0;
        bottom: -0.5em;
        position: fixed;
        z-index: 1000;
        opacity: 1;
        transition: opacity 0.5s;
        animation: slideIn 5s linear 90s;
        
    }

    .mb-toast-loop, .mb-toast-loop-2, .mb-toast-loop-3, .mb-toast-loop-4, .mb-toast-loop-5, .mb-toast-loop-6 {
        display: flex;
        padding: 5px;
        justify-content: center;
        align-items: center;
    }

@keyframes slideIn {
        0% {
            bottom: -0.5em;
        }
        5% {
            bottom: 0.5em;
        }
        10% {
            bottom: 2em;
        }
        15% {
            bottom: 3em;
        }
        20% {
            bottom: 3em;
        }
        25% {
            bottom: 3em;
        }
        30% {
            bottom: 3em;
        }
        50% {
            bottom: 3em;
        }
        65% {
            bottom: 3em;
        }
        70% {
            bottom: 3em;
        }
        75% {
            bottom: 3em;
        }
        85% {
            bottom: 1em;
        }
        90% {
            bottom: 0.5em;
        }
        100% {
            bottom: -0.5em;
        }
    }
    

    .mb-nav-footer, .wrap-mb-nav-icon {
        background-color: #0e0e0e;
        width: 100%;
        position: fixed;
        bottom: 0;
        display: flex;
        flex-direction: row;
        align-items: end;
        z-index: 3000;
    }

    .mb-nav-icon {
        display: flex;
        flex-direction: column;
        padding-bottom: 7px;
        z-index: 3000;
    }
    .mb-nav-icon-reg {
        display: flex;
        flex-direction: column;
        padding-bottom: 7px;
        margin-bottom: -1em;
        z-index: 3000;
    }
    .circle-mb-nav-icon-reg {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color:  #c8261b;
        box-shadow: 0 0 2em #c8261b;
        width: 63px;
        height: 63px;
        border-radius: 50%;
        z-index: 2999;
        
    }
    .mb-wrap-game-item {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(4, 1fr);
    }
    .mb-game-icon, .mb-game-icon-footer {
        display: grid;
        width: 70%;
        margin-top: 1em;
    }
    .mb-game-icon-footer {
        margin-bottom: 5em;
    }
    .offcanvas {
        background-color: #470000 !important;
    }

    .custom-header-text-modal {
        display: flex;
        flex-direction: row;
        justify-content:stretch;
    }

    .offcanvas-mb-icon {
        display: flex;
        flex-direction: column;
        padding: 1em;
    }
    .offcanvas-header {
        display: flex;
        flex-direction: column;
    }
    .offcanvas-x {
        font-size: larger;
        color: #ffffff;
        display: block;
        right: 0;
        margin-right: 1em;
        position: fixed;
    
    }

    .modal-body iframe {
        width: 420px !important;
        height: 660px !important;
    }
}

@media screen and (max-width: 540px) {
    .wrap-G-policy, .wrap-qr-code, .qr-code1, .qr-code2, .modal-content, .modal-footer, .modal-game-btn, header, .navbar, .btn-navbar, .dropdown, .wrap-nav, .wrap-nav-btn, .btn-navbar-below, .wrap-news, .wrap-news-icon-marquee, .wrap-news-left, .wrap-news-icon, .wrap-news-right, .wrap-big-banner, .wrap-big-slider-banner, .big-wrap-winner-carousel, .smaller-wrap-winner-carousel, .wrap-winner, .winner-items, .winner-item-detail, .winner-text, .big-wrap-game-content, .wrap-game-content, .small-wrap-game-content, .wrap-game-item, .game-item, .prev-btn-game, .next-btn-game, .thanh_mua_the, .thanh_mua_the img, .jackpot, .wrap-jackpot {
        display: none;
    }
    body {
        background-color: #0e0e0e !important;
        overflow: visible;
    }
    .head-mobile {
        background-color: #1d2025;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mb-wrap-big-banner {
        margin-top: 5px;
        margin-bottom: 5px;
        display: block;
    }

    .mb-btn-register-contact {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 5px;
    }
    .mb-btn-register {
        background-color: #c8261b;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        width: 50%;
        text-align: center;
    }
    .mb-btn-contact {
        background-color: #f5c243;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        width: 50%;
        text-align: center;
    }

    .mb-news-marquee {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #1d2025;
        padding-top: 2px;
        padding-bottom: 2px;
    }
    
    .wrap-mb-toast-loop {
        background: -webkit-linear-gradient(110deg, #dba10e 60%, #f5c243 40%) ;
        display: flex;
        right: 0;
        bottom: -0.5em;
        position: fixed;
        z-index: 1000;
        opacity: 1;
        transition: opacity 0.5s;
        animation: slideIn 5s linear 2s;
        
    }
    .wrap-mb-toast-loop-2 {
        background: -webkit-linear-gradient(110deg, #dba10e 60%, #f5c243 40%) ;
        display: flex;
        right: 0;
        bottom: -0.5em;
        position: fixed;
        z-index: 1000;
        opacity: 1;
        transition: opacity 0.5s;
        animation: slideIn 5s linear 9s;
        
    }
    .wrap-mb-toast-loop-3 {
        background: -webkit-linear-gradient(110deg, #dba10e 60%, #f5c243 40%) ;
        display: flex;
        right: 0;
        bottom: -0.5em;
        position: fixed;
        z-index: 1000;
        opacity: 1;
        transition: opacity 0.5s;
        animation: slideIn 5s linear 17s;
        
    }
    .wrap-mb-toast-loop-4 {
        background: -webkit-linear-gradient(110deg, #dba10e 60%, #f5c243 40%) ;
        display: flex;
        right: 0;
        bottom: -0.5em;
        position: fixed;
        z-index: 1000;
        opacity: 1;
        transition: opacity 0.5s;
        animation: slideIn 5s linear 24s;
        
    }

    .wrap-mb-toast-loop-5 {
        background: -webkit-linear-gradient(110deg, #dba10e 60%, #f5c243 40%) ;
        display: flex;
        right: 0;
        bottom: -0.5em;
        position: fixed;
        z-index: 1000;
        opacity: 1;
        transition: opacity 0.5s;
        animation: slideIn 5s linear 60s;
        
    }
    .wrap-mb-toast-loop-6 {
        background: -webkit-linear-gradient(110deg, #dba10e 60%, #f5c243 40%) ;
        display: flex;
        right: 0;
        bottom: -0.5em;
        position: fixed;
        z-index: 1000;
        opacity: 1;
        transition: opacity 0.5s;
        animation: slideIn 5s linear 90s;
        
    }

    .mb-toast-loop, .mb-toast-loop-2, .mb-toast-loop-3, .mb-toast-loop-4, .mb-toast-loop-5, .mb-toast-loop-6 {
        display: flex;
        padding: 5px;
        justify-content: center;
        align-items: center;
    }

@keyframes slideIn {
        0% {
            bottom: -0.5em;
        }
        5% {
            bottom: 0.5em;
        }
        10% {
            bottom: 2em;
        }
        15% {
            bottom: 3em;
        }
        20% {
            bottom: 3em;
        }
        25% {
            bottom: 3em;
        }
        30% {
            bottom: 3em;
        }
        50% {
            bottom: 3em;
        }
        65% {
            bottom: 3em;
        }
        70% {
            bottom: 3em;
        }
        75% {
            bottom: 3em;
        }
        85% {
            bottom: 1em;
        }
        90% {
            bottom: 0.5em;
        }
        100% {
            bottom: -0.5em;
        }
    }
    

    .mb-nav-footer, .wrap-mb-nav-icon {
        background-color: #0e0e0e;
        width: 100%;
        position: fixed;
        bottom: 0;
        display: flex;
        flex-direction: row;
        align-items: end;
        z-index: 3000;
    }

    .mb-nav-icon {
        display: flex;
        flex-direction: column;
        padding-bottom: 7px;
        z-index: 3000;
    }
    .mb-nav-icon-reg {
        display: flex;
        flex-direction: column;
        padding-bottom: 7px;
        margin-bottom: -1em;
        z-index: 3000;
    }
    .circle-mb-nav-icon-reg {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color:  #c8261b;
        box-shadow: 0 0 2em #c8261b;
        width: 63px;
        height: 63px;
        border-radius: 50%;
        z-index: 2999;
        
    }
    .mb-wrap-game-item {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }
    .mb-game-icon, .mb-game-icon-footer {
        display: grid;
        width: 70%;
        margin-top: 1em;
    }
    .mb-game-icon-footer {
        margin-bottom: 5em;
    }
    .offcanvas {
        background-color: #470000 !important;
    }

    .custom-header-text-modal {
        display: flex;
        flex-direction: row;
        justify-content:stretch;
    }

    .offcanvas-mb-icon {
        display: flex;
        flex-direction: column;
        padding: 1em;
    }
    .offcanvas-header {
        display: flex;
        flex-direction: column;
    }
    .offcanvas-x {
        font-size: larger;
        color: #ffffff;
        display: block;
        right: 0;
        margin-right: 1em;
        position: fixed;
    
    }

    .modal-body iframe {
        width: 230px !important;
        height: 460px !important;
    }
}