*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}


html{
    scroll-behavior: smooth;
}

.wrapper {
    background-image: url('../img/bg_pc3.webp');
    height: auto;
    /* height: 4000px; */
    background-repeat: no-repeat;
    background-size: 100%;
    background-color:#3c0c00;
    width: 100%;
    float: left;
    text-align: right;
}
 

.header{
    padding: 1vw 0;
    /* border: 1px solid #fff; */
}

.logo img{
    width: 20vw;
}

.logo-mobile{
   display: none;
}

.menu li a img:hover{
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.content-s1{
    position: relative;
    /* top: 5%;  */
    /* border: 1px solid red; */
    height: 55vw;
}

.btn-play{
    position: absolute;
    top: 30%;
    left: 15%;
    transform: translate(-50%, -50%);
}

.btn-play img{
    animation: infinite 2s infinite;
}

.cum-tienich{
    position: absolute; 
    background-image: url('../img/bg_tienich.png');
    background-size: 100%;
    background-repeat: no-repeat;
    bottom: -2%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 25px; 
}

.cum-tienich-item img:hover{
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.content-s2{
    position: relative;
    /* border: 1px solid blue; */
    height: 50vw;
}

.btn-dangky{
    position: absolute;
    bottom: -5%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-dangky img{
    width: 15vw;
    animation: infinite 2s infinite;
}

.btn-dangky p{
    font-size: 2vw;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-top: 10px;
}

/* s3 */
.content-s3{
    position: relative;
    /* border: 1px solid green; */
    height: 75vw;
}

.danh-sach-mon-phai{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}
 
.ten-mon-phai{
    margin-top: -120px;
}

.ten-mon-phai ul li{ 
    width: 120px;
    height: 120px;
    cursor: pointer;
    ;
}

/* s4 */
.content-s4{
    position: relative;
    /* border: 1px solid yellow; */
    height: 55vw; 
    margin: 0 auto; 
}
 
/* căn giữa theo chiều dọc */
.s4-slider{
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* s4-slider-swipper */
.s4-swiper {
    width: 100%;
    height: 100%;
    padding: 20px 0 60px 0;
}

.s4-swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0.5;
    transform: scale(0.7);
}

.s4-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1.15);
    z-index: 10;
}

.swiper-slide.swiper-slide-active {
    transform: scale(1.5);
}

.s4-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

.s4-swiper .swiper-button-next,
.s4-swiper .swiper-button-prev {
    width: 100px;
    height: 100px;
    color: transparent;
    background: url('../img/arrow_right.png') center center no-repeat;
    background-size: 100%;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-top: -50px;
}

.s4-swiper .swiper-button-prev {
    background: url('../img/arrow_left.png') center center no-repeat;
    background-size: 100%;
}

.s4-swiper .swiper-button-next:hover,
.s4-swiper .swiper-button-prev:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.s4-swiper .swiper-button-next::after,
.s4-swiper .swiper-button-prev::after {
    display: none;
}

.s4-swiper .swiper-pagination {
    bottom: 0;
}

.s4-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: url('../img/pagination.svg') center center no-repeat;
    background-size: contain;
    opacity: 1;
    border: none;
}

.s4-swiper .swiper-pagination-bullet-active {
    background: url('../img/paginationActive.svg') center center no-repeat;
    background-size: contain;
    opacity: 1;
    border: none;
}

/* menu float */
.menu-float {
    background-image: url('../img/bg_float_tienich.png');
    background-size: 100%;
    background-repeat: no-repeat;
    position: fixed;
    bottom: 10vh;
    right: 0px;
    width: 200px;
    z-index: 111;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 50px 35px 50px 35px;
}
 
.menu-float img:hover{ 
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.btn-close-menu-float {
    display: none;
}

.cum-tienich-mobile{
    display: none!important;
}

.hide-on-mobile{
    display:  block!important;
}
/* animation infinite */
@keyframes infinite {
    0% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* mobile */
@media (max-width: 768px) {
    .wrapper{
        background-image: url('../img/bg_m3.webp')!important;
    }


    .header{
        display: flex!important; 
        align-items: center!important;
        justify-content: center!important;
        padding: 0!important;
    }

    .menu{
        width: 90%!important;
        height: 50px!important;
        display: flex!important;
        align-items: center!important;
        justify-content: center!important; 
    }

    .content-s1{
        height: 90vw!important;
    }
     
    .logo{
       display: none!important;
    }

    .btn-play{
        width: 15%!important;
    }

    .cum-tienich {
        padding: 2px 15px!important;  
         width: 70%!important;
        display: none!important;
    }
    
    .cum-tienich-item { 
        padding: 2px!important;
        gap: 0!important;
        justify-content: space-between!important;
    }

     .cum-tienich-item img{
        width: 100%!important;
        height: 100%!important;
     }

     .hide-on-mobile{
        display: none!important;
     }

     .cum-tienich-mobile{
        display: block!important;
        background-image: url('../img/bg-tienich-m.png')!important;
        background-size: 100%!important;
        padding: 25px 25px 25px 30px!important;
        width: 100%!important;
        /* height: 100px!important; */

        position: absolute;
        bottom: -8%;
        left: 50%;
        transform: translate(-50%, -50%);
     }

     

     .btn-appstore img{
        width: 100%!important;
        height: 100%!important;
     }

     .btn-appstore-mobile,
     .btn-googleplay-mobile {
        display: block;
        width: 100%;
     }

     .btn-appstore-mobile img,
     .btn-googleplay-mobile img {
        width: 100%!important;
        height: 100%!important;
     }
     
     .content-s2 { 
        height: 165vw;
    }

     .btn-dangky img{
        width: 50%!important;
     }

     .btn-dangky p{
        font-size: 3vw!important;
     }


     .danh-sach-mon-phai {
        margin-top: 10px!important;
     }

    .content-s4{
        height: 70vw!important;
    }

    /* s4-slider-swipper mobile */
    .s4-swiper {
        padding: 10px 0 50px 0;
    }

    .s4-slider {
        top: 65%;
    }

    .s4-swiper .swiper-slide {
        opacity: 0.6;
        transform: scale(0.85);
    }

    .s4-swiper .swiper-slide-active {
        opacity: 1;
        transform: scale(.7);
    }

    .s4-swiper .swiper-button-next,
    .s4-swiper .swiper-button-prev {
        width: 50px;
        height: 50px;
        background-size: 100%;
        margin-top: -25px;
    }

    .s4-swiper .swiper-pagination {
        display: none;
    }

    .s4-swiper .swiper-button-next::after,
    .s4-swiper .swiper-button-prev::after {
        display: none;
    }

    /* footer */

    .footer img{
        width: 100px!important;
    }

    .footer-text p{
        font-size: 3vw!important;
    }

    .footer-text a{
        font-size: 2.5vw!important;
    }

    /* modal video mobile */
    #modalVideo .modal-dialog {
        width: 80vw!important;
        max-width: 80vw!important;
        margin: 0 auto!important;
    }

    #modalVideo .modal-content {
        width: 100%!important;
    }

    #modalVideo iframe {
        width: 100%!important;
        height: 45vw!important;  
    }


    /* menu float mobile */
    .menu-float {
        display: none!important;
        width: 100px!important;
        padding: 15px 20px 0px 25px!important;
        top: 10vh!important;
        right: 0!important;
        height: 65vw!important;
        gap: 5px!important;
    }

    .menu-float img{
        width: 100%!important;
    }

    .btn-close-menu-float {
        display: flex!important;
        position: absolute;
        top: 5px;
        left: 0px;
        background: rgba(0, 0, 0, 0.5);
        border: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        color: #fff;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        z-index: 112;
        padding: 0;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .btn-close-menu-float:hover {
        background: rgba(255, 0, 0, 0.7);
        transform: scale(1.1);
    }

    .btn-close-menu-float span {
        display: block;
        line-height: 1;
    }

    .menu-float.hidden {
        display: none!important;
    }
     
}