@media (max-width: 575.98px) {
    [class*="col-"] {
        padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
        padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
    }
    .menu-logo {
        font-size: 24px;
    }

    /* ul.feature li:nth-child(1) a img {
        width: 17.68px;
        height: 20px;
    }

    ul.feature li:nth-child(2) a img {
        width: 17.09px;
        height: 20px;
    } */

    ul.feature li:nth-child(1) a img {
        width: 21.15px;
        height: 20px;
    }

    /* ul.feature li:nth-child(4) a img {
        width: 19.65px;
        height: 20px;
    } */

    .game-block li.item {
        width: calc(100% / 3 - 10px);
        float: left;
        margin-right: 15px;
        margin-bottom: 15px;
        max-width: 100%;
    }
    .game-block li.item .game-img {
        height: auto;
    }

    .game-block li.item:nth-child(4n + 4) {
        /* display: none; */
        margin-right: 15px;
    }
    .game-block li.item:nth-child(3n + 3) {
        margin-right: 0px !important;
    }

    .setting {
        padding-top: 0px;
    }
    .setting-block ul li {
        float: none;
        width: 100%;
        border-bottom: 1px solid #e6e6e6;
    }

    .setting-block ul li a {
        width: 100%;
        padding: unset;
        background: unset;
    }
    .setting-header h3 {
        font-family: "Inter";
        font-style: normal;
        font-weight: 600;
        font-size: 20px;
        line-height: 24px;
    }

    .login {
        padding: 20px 0;
    }

    .policy span {
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 17px;
        color: #000000;
        text-align: left;
    }

    .btn-login,
    .logo-out-block button {
        width: 100%;
    }
    .btn-login {
        margin-bottom: 10px;
    }

    .pack-data-block .pack-data-item {
        width: 100%;
        margin-bottom: 15px;
    }

    .account-policy p {
        text-align: left;
    }

    /* check zoom in-out */
    .modal.show .modal-dialog {
        transform: none;
        min-width: calc(100vw - var(--bs-modal-margin)* 2);
    }

    #intro-mb-slider-block .item {
        width: calc(100vw - var(--bs-modal-margin)* 2);
    }
    #intro-mb-slider-block .item  img {
        max-width: calc(100vw - var(--bs-modal-margin)* 2);
    }

    .pack-data-block .pack-data-item h4 {
        font-weight: 600;
        font-size: 16px;
        line-height: 19px;
        height: auto;
    }
    .pack-data-block .pack-data-item .pack-info {
        font-weight: 400;
        font-size: 14px;
        line-height: 17px;
        height: auto;
    }
    .pack-data-block .pack-data-item .pack-syntax span:last-child {
        font-size: 16px;
    }
    .break-line {
        display: none;
    }
    .pack-data-block .pack-data-item .pack-syntax {
        font-weight: 600;
        font-size: 16px;
        line-height: 19px;
    }

    .manager-info .introduce {
        font-weight: 400;
        font-size: 14px;
        line-height: 17px;
    }
     .manager-info .mail {
           font-weight: 400;
        font-size: 14px;
        line-height: 17px;
     }
    .manager-info .hotline {
        font-weight: 600;
        font-size: 16px;
        line-height: 19px;
    }


    .game-block li.item .play a:nth-child(1) {
        width: 76px;
        height: 24px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 12px;
        line-height: 15px;
    }

    .search-history {
        margin: 20px 0px;
    }

    .game-block li.item .play a:nth-child(2) {
        width: unset;
        height: unset;
        background: unset;
        display: block;
    }

    .game-block li.item .play {
        justify-content: space-between;
    }

    .game-block .item .block-info span img {
        display: none;
    }

    .header-game .header-game__left h3 {
        font-weight: 600;
        font-size: 16px;
        line-height: 19px;
    }
    .header-game .header-game__right .view-more {
        font-size: 12px;
        line-height: 15px;
    }

    .game-block li.item .block-info span:nth-child(1) {
        font-weight: 400;
        font-size: 14px;
        line-height: 17px;
        text-align: center;
    }
    .input-form-otp input {
        font-size: 16px !important;
    }

    .game-block li.item .block-info {
        margin: 10px 0px;
        justify-content: center;
        align-items: flex-start;
    }

    .game-block li.item .play a:nth-child(1).inactive {
        background: #a5a5a5;
    }
    .pack-fee p {
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        font-size: 10px;
        line-height: 12px;
        text-align: center;
        color: #8c8c8c;
    }

    .pack-fee {
        padding-bottom: 0px;
    }

    .leaderboard #nav-tab-header {
        height: 40px;
        border-radius: 0px;
    }

    .leaderboard #nav-tab-header .nav-link {
        font-weight: 600;
        font-size: 16px;
        line-height: 19px;
        border-radius: 10px 10px 0px 0px;
        margin-bottom: 0px;
        background: rgba(255, 69, 0, 0.8);
    }

    .leaderboard #nav-tab-header .nav-link.active {
        font-weight: 600;
        font-size: 16px;
        line-height: 19px;
        border-radius: 10px 10px 0px 0px;
    }

    .select-time-header #nav-tab-header-time .nav-link {
        font-weight: 600;
        font-size: 14px;
        line-height: 17px;
    }
    .select-time-header nav,
    .select-time-header .previous-next-week {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .top-user-block {
        background: rgba(255, 69, 0, 0.3);
        border-radius: 0px;
        padding: 0px 0px 5px 0px;
    }
    .row-top-user .top {
        width: 14%;
    }
    .row-top-user .play {
        width: 47%;
        padding-left: 0px;
    }

    .row-top-user .gift {
        width: 30%;
    }

    .row-top-user .level {
        width: 21%;
    }
    .top-user {
        width: 100%;
        max-width: 100%;
        padding: 0px 15px;
    }

    .select-time-header .previous-next-week span {
        font-weight: 400;
        font-size: 14px;
        line-height: 17px;
    }

    .row-top-user.row-top-user__header .play {
        padding-left: 10%;
    }
    .list-game {
        padding: 0px;
    }

    #slider-games .owl-prev,
    #slider-games .owl-next {
        display: none;
    }

    .row-top-user {
        font-weight: 600;
        font-size: 14px;
        line-height: 17px;
        margin-bottom: 5px !important;
    }

    .header-game {
        margin-bottom: 15px;
    }

    .top-user-body .row-top-user .player-info span,
    .top-user-body .row-top-user .level,
    .top-user-body .row-top-user .gift {
        font-weight: 400;
        font-size: 12px;
        line-height: 15px;
        color: #303032;
    }
    .owl-theme .owl-dots .owl-dot.active span,
    .owl-theme .owl-dots .owl-dot:hover span {
        background: #ff4500;
    }

    section.banner {
        margin-top: 0px;
    }
    /* .banner-main:not(.owl-item.active.center img) {
        height: 150px !important;
    } */

    section.banner .owl-carousel .owl-item img {
        /* border-radius: 20px; */
    }
    /* section.banner-main .owl-carousel .owl-item img
    {
        max-height: 120px;
    }

    section.banner-main  .owl-carousel .owl-item.active.center img {
        max-height: 140px;
    } */
    section.banner-main .owl-carousel .owl-stage {
        display: flex;
        align-items: center;
    }

    section.game-list {
        margin-top: 15px;
    }

    .list-game-pc {
        display: none;
    }
    .list-game-mb {
        display: block;
    }

    .footer-title h3 {
        font-size: 30px;
    }

    .menu-footer ul li a {
        font-weight: 400;
        font-size: 14px;
        line-height: 17px;
    }
    .footer-address p {
        font-size: 12px;
    }

    .list-games {
        display: flex;
        overflow: auto;
        overflow-y: hidden;
        -ms-overflow-y: hidden;
        white-space: nowrap;
        /* padding-bottom: 1rem; */
    }
    .form-otp {
        margin-top: 30px;
    }

    .forget-password-block,
    .register-block {
        padding-bottom: 30vh;
    }
    .time-block {
        padding-top: 10px;
    }
    span.break-hidden-mb {
        display: none;
    }
    modal-intro-mb .modal-header {
        display: block;
    }
    .intro-game-scroll {
        max-height: calc(100vh - 19.8rem);
        overflow: auto;
    }

    .row-top-user__header {
        padding-top: 0px;
        padding-bottom: 3px;
    }

    #banner-slider .owl-dots {
        position: relative;
    }
    .list-games .item {
        /* min-width: calc(100vw / 4 - 0.6rem); */
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        width: calc(100vw / 4);
    }

    #list-game-sp .owl-nav button.owl-prev {
        position: absolute;
        /* left: -5px; */
        left: 0px;
        top: calc(100% / 2 - 30px);
        /* transform: translateY(- calc(100% / 2 - 30px)); */
    }

    #list-game-sp .owl-nav button.owl-next {
        position: absolute;
        /* right: -2px; */
        right: 0px;
        top: calc(100% / 2 - 30px);
        /* transform: translateY(- calc(100% / 2 - 30px)); */
    }
    .list-games .item:nth-child(1) {
        margin-left: -5px;
    }
    .list-games .item p {
        height: 30px;
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 15px;
        text-align: center;
        color: #24313c;
        word-wrap: normal;
        white-space: pre-line;
        padding: 0px 2px;
        margin-top: 5px;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .game-block.game-html li.item .block-info span:nth-child(1) {
        /* padding: 0px 15px; */
    }

    .best-choice h3 {
        font-weight: 600;
        font-size: 16px;
        line-height: 19px;
    }
    .best-choice-block-pc {
        display: none;
    }

    .game-html {
        padding: 20px 0;
    }

    .best-choice-block .best-choice-item {
        width: auto;
        height: auto;
        background: unset;
        padding: 0px;
        /* min-width: calc(100vw / 4 - .85rem); */
        min-width: calc((100vw - 3.5rem) / 4);
    }
    .best-choice-block .best-choice-item:nth-child(1) {
        margin-left: -15px;
    }

    .best-choice-block.best-choice-block-mb {
        display: flex;
        overflow: auto;
        overflow-y: hidden;
        -ms-overflow-y: hidden;
        white-space: nowrap;
        align-items: flex-start;
    }
    .search .game-block li.item:nth-child(4n + 4),
    .view-more .game-block li.item:nth-child(4n + 4) {
        display: block;
    }
    .search .game-block li.item:nth-child(4n + 4),
    .view-more .game-block li.item:nth-child(4n + 4) {
        margin-right: 15px;
    }

    .best-choice-block .best-choice-item span {
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 15px;
        text-align: center;
        color: #24313c;
        text-wrap: wrap;
        margin-top: 5px;
        word-wrap: break-word;
        white-space: pre-wrap;
    }

    .best-choice-block .best-choice-item:nth-child(1) span {
        width: 52px;
        height: 30px;
    }

    .best-choice-block .best-choice-item:nth-child(2) span {
        width: 60px;
        height: 30px;
    }

    .best-choice-block .best-choice-item:nth-child(3) span {
        width: 35px;
        height: 30px;
    }

    .best-choice-block .best-choice-item .logo {
    }
    .best-choice-block.best-choice-block-mb::-webkit-scrollbar {
        display: none;
    }
    .list-games::-webkit-scrollbar {
        display: none;
    }
    .top-user-body-content {
        padding-right: 5px;
    }

    .top-user-body-content::-webkit-scrollbar {
        width: 5px;
    }

    /* Track */
    .top-user-body-content::-webkit-scrollbar-track {
        box-shadow: inset 0 0 5px #f8f8f8;

        border-radius: 5px;
    }

    /* Handle */
    .top-user-body-content::-webkit-scrollbar-thumb {
        background: #cd0000;
        border-radius: 10px;
    }

    /* Handle on hover */
    .top-user-body-content::-webkit-scrollbar-thumb:hover {
        background: #cd0000;
    }

    .list-games .item p.active {
        color: #ff4500;
        font-weight: bold;
    }

    .leaderboard {
        margin-top: 0px;
    }

    .list-games .item .logo {
        width: 100%;
        display: flex;
        justify-content: center;
        border-radius: 20px;
    }

    .list-games .item .logo img {
        width: 42px;
        display: block;
    }
    .popup-lucky {
        display: block;
        position: fixed;
        right: 10px;
        bottom: 1vh;
        z-index: 999;
        width: 79px;
        height: 79px;
    }

    .popup-lucky a {
        position: relative;
        display: block;
        width: 79px;
        height: 79px;
    }

    .popup-lucky a span {
        position: absolute;
        top: 7px;
        right: 7px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: "Inter";
        font-style: normal;
        font-weight: 600;
        font-size: 12px;
        line-height: 15px;
        color: #ffffff;
        background: #ff0000;
        width: 18px;
        height: 18px;
        border-radius: 50%;
    }

    .modal-spin-lucky,
    .modal-gift {
        position: fixed;
        height: 100vh;
        width: 100vw;
        top: 0px;
        left: 0px;
        bottom: 0px;
        z-index: 9999;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.7);
        -webkit-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
    }
    .modal-spin-lucky-block {
        position: relative;
    }

    .spin-header {
        margin-left: 20px;
        text-align: center;
        z-index: 9999;
        position: relative;
    }
    .spin-header a img {
        position: absolute;
        top: 2.7rem;
        right: 2.5rem;
    }
    .spin-action {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .top-user-body-content {
        max-height: 147px;
        overflow: auto;
    }
    .spin-number p {
        font-family: "Inter";
        font-style: normal;
        font-weight: 600;
        font-size: 16px;
        line-height: 19px;
        text-align: center;
        color: #f8f8f8;
    }

    .modal-gift-content {
        width: 264px;
        background: #f8f8f8;
        max-width: 100%;
        border-radius: 20px;
        position: relative;
        padding-top: 6rem;
        padding-bottom: 25px;
    }

    .gift-icon {
        position: absolute;
        top: -4.2rem;
        left: 50%;
        transform: translateX(-50%);
    }
    .gift-icon.play-icon {
        top: -2.4rem !important;
    }

    .modal-gift.react-smile .gift-icon {
        top: 1rem;
    }

    .modal-gift.react-smile .modal-gift-content {
        padding-bottom: 25px;
        padding-top: 6rem;
    }
    .gift-content {
        padding-left: 15px;
        padding-right: 15px;
        margin-top: 20px;
    }
    .gift-content p {
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 17px;
        text-align: center;
        color: #303032;
    }
    .gift-action {
        display: flex;
        justify-content: center;
        margin-top: 25px;
        margin-bottom: 8px;
    }
    .gift-action a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 140px;
        height: 40px;
        background: #ff4500;
        border-radius: 24px;
        font-family: "Inter";
        font-style: normal;
        font-weight: 600;
        font-size: 16px;
        line-height: 19px;
        text-align: center;
        color: #ffffff;
    }
    #modal-intro {
        display: none;
    }

    a.gift-close {
        position: absolute;
        top: 8px;
        right: 15px;
        width: 12px;
        height: 12px;
        display: flex;
        z-index: 9999;
    }

    #modal-intro-mb .modal-header {
        border-bottom: none;
        display: block;
    }
    #modal-intro-mb .modal-body {
        padding-top: 0px;
    }
     #modal-intro-mb .btn-close {
            position: absolute;
    right: 15px;
     }
    #modal-intro-mb .game-logo {
        width: 105px;
        height: 105px;
        margin: 0 auto;
        margin-top:20px;
    }
     #modal-intro-mb .game-logo img {
        max-width: 100%;
        width: 100%;
        border-radius: 30px;
     }
    #modal-intro-mb .title {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    #modal-intro-mb .title h3 {
        font-family: "Inter";
        font-style: normal;
        font-weight: 600;
        font-size: 20px;
        line-height: 24px;
        color: #303032;
        text-align: center;
    }

    #modal-intro-mb .modal-content {
        border-radius: 24px;
        height: 100vh;
    }

    #modal-intro-mb .store {
        display: flex;
        justify-content: center;
    }
    #modal-intro-mb .store a:nth-child(1) {
        margin-right: 10px;
    }

    #modal-intro-mb .content {
        padding: 20px 0px;
    }

    #modal-intro-mb .content p {
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 17px;
        color: #000000;
    }

    #modal-intro-mb .slider {
        display: flex;
        justify-content: center;
        padding-bottom: 20px;
    }

    .rank-top-banner img {
        width: 100%;
        max-width: 100%;
    }
    .rank-top-games {
        display: flex;
        justify-content: space-between;
        margin: 15px 0px;
    }

    .rank-top-games .item {
        width: calc(100vw / 3);
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .rank-top-games .item p {
        width: 100%;
        text-align: center;
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 15px;
        text-align: center;
        color: #24313c;
        margin-top: 5px;
    }
    .rule-game h3 {
        font-family: "Inter";
        font-style: normal;
        font-weight: 600;
        font-size: 14px;
        line-height: 17px;
        color: #000000;
    }
    .rule-game ul li {
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 17px;
        color: #000000;
        margin-bottom: 15px;
    }
    .rule-game ul li strong {
        font-weight: bold;
    }
    .rule-game ul li ul {
        padding-left: 20px;
    }
    .rule-game ul li ul li {
        margin-bottom: 0px;
        list-style: disc;
    }

    .rule-game ul li ul li img {
        margin-bottom: -10px;
    }
    .rule-game .table thead {
        background: #ff4500;
    }
    .rule-game .table thead th {
        font-family: "Inter";
        font-style: normal;
        font-weight: 600;
        font-size: 12px;
        line-height: 15px;
        height: 40px;
        text-align: center;
        color: #ffffff;
        padding-top: 0.75rem;
    }
    .rule-game table.table-bordered > thead > tr > th {
        border: 1px solid white;
    }

    .rule-game table.table-bordered > tbody > tr > td {
        border: 1px solid#D9D9D9;
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 15px;
        text-align: center;
        color: #000000;
    }
    .rule-game .sub-title {
        margin-top: 15px;
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 17px;
        text-align: center;
        color: #000000;
    }

    #modal-rank-top .modal-dialog-scrollable .modal-content {
        border-radius: 20px;
    }
    #modal-rank-top .modal-header {
        border-bottom: 0px;
        background: #f8f8f8;
    }

    #modal-rank-top .modal-body {
        background: #f8f8f8;
        padding: 0px;
    }

    #modal-rank-top .rank-top-body {
        padding-left: 24px;
        padding-right: 24px;
    }

    #modal-rank-top .modal-footer {
        background: #f8f8f8;
        border-top: 0px;
    }

    #modal-rank-top .modal-footer p {
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 17px;
        text-align: center;
        color: #000000;
        width: 100%;
    }
    #modal-rank-top .modal-footer p span.red {
        font-weight: 800;
        color: #ff4500;
    }
    #modal-rank-top-vinaphone .modal-dialog-scrollable .modal-content {
        border-radius: 20px;
    }
    #modal-rank-top-vinaphone .modal-header {
        border-bottom: 0px;
        background: #f8f8f8;
    }

    #modal-rank-top-vinaphone .modal-body {
        background: #f8f8f8;
        padding: 0px;
    }

    #modal-rank-top-vinaphone .rank-top-body {
        padding-left: 24px;
        padding-right: 24px;
    }

    #modal-rank-top-vinaphone .modal-footer {
        background: #f8f8f8;
        border-top: 0px;
    }

    #modal-rank-top-vinaphone .modal-footer p {
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 17px;
        text-align: center;
        color: #000000;
        width: 100%;
    }
    #modal-rank-top-vinaphone .modal-footer p span.red {
        font-weight: 800;
        color: #ff4500;
    }

    .rank-pack-action {
        margin: 0px;
        width: 100%;
        margin: 20px 0px 10px 0px;
    }
    .rank-pack-action a {
        height: 48px;
        background: #ff4500;
        border-radius: 24px;
        font-family: "Inter";
        font-style: normal;
        font-weight: 600;
        font-size: 16px;
        line-height: 19px;
        text-align: center;
        color: #ffffff;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .rank-fee {
        width: 100%;
    }
    .rank-fee span {
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        font-size: 10px;
        line-height: 12px;
        text-align: center;
        color: #8c8c8c;
        width: 100%;
        display: block;
    }

    #modal-rank-top .modal {
        background: rgba(0, 0, 0, 0.7);
    }
    #modal-rank-top-vinaphone .modal {
        background: rgba(0, 0, 0, 0.7);
    }

    /* wheel lucky */
    .spin-block {
        background: url(../images/spin_new.png);
        width: 350px;
        background-size: cover;
        background-repeat: no-repeat;
        display: flex;
        justify-content: center;
        padding-bottom: 20px;
        position: relative;
    }

    canvas#spinSP {
        margin-top: 5.9rem;
    }
    .spin-icon {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -10%);
    }
    .spin-icon img {
        width: 44px;
    }
}
