@media (max-width: 999px) {
  .live-stream .row{
    flex-wrap: wrap;
  }
  .sidebarpanel_from_wrap {
    display: block;
  }

  .afterlogin-sidepanel {
    min-width: 0;
  }

  .download-row {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
  }

  .download-loader {
    max-width: 100%;
  }

  .restore-wallet-container {
    justify-content: space-between;
  }
  #game-list .col-3{
    display: none;
  }
  .games-container{
    grid-template-columns: repeat(4, 1fr);
  }
  .game-desc span{
  display: none;
  }
  .step-to-win{
    padding: 10px 0
  }
  .step-to-win img{
   display: none;
  }
 .step-to-win .col{
  width: 30%;
 }
 .step-text p{
margin: 0;
 }
}

@media (max-width: 768px) {
  .games-container .game-item .game-label {
    font-size: 10px;
    text-wrap: nowrap;
    padding: 10px 5px;
  }

  .point-container {
    min-height: 66px;
    min-width: auto;
  }

  .home-bar {
    display: block;
  }

  .contact_wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-row .download-loader {
    max-width: 100%;
  }

  .btn-download {
    left: 23%;
  }

  .download-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 95px;
  }

  .download-sec {
    display: none;
  }

  .m-download-sec {
    display: block;
    padding-bottom: 50px;
  }

  .t-header {
    display: none;
  }

  .m-header {
    display: block;
    padding: 10px 0;
  }

  .m-login-btn-group {
    display: block;
  }

  .step-to-win {
    display: none;
  }

  .ann-sec {
    padding: 10px 0;
    border-bottom: 1px solid #feaf16;
  }

  .game-box {
    display: none;
  }

  .live-stream {
    margin-top: 15px;
  }

  .live-stream video {
    height: 220px;
  }

  .recommended-game {
    display: none;
  }

  .live-stream .row {
    display: block;
  }

  .game-sec {
    display: block;
  }

  .side-contact-us {
    display: none;
  }

  .desktop-iframe {
    display: none;
  }

  .m-recommend-game {
    display: block;
  }

  .games-container {
    display: block;
  }

  .games-container .game-item .img-wrapper {
    height: 80px;
  }

  .footer-top {
    display: none;
  }

  .m-footer-top {
    display: block;
  }

  .footer-logo {
    display: none;
  }

  .copyright {
    color: #abaeb8;
    font-size: 11px;
  }

  .t-footer {
    padding-bottom: 80px;
    background: #181f2d;
  }

  .t-body {
    padding-top: 70px;
  }

  .footer-bottom {
    background: #181f2d;
  }

  .lobby-sec {
    display: none;
  }

  .m-footer-menu {
    display: block;
  }

  .m-footer-license {
    display: block;
  }

  .vip-sec {
    display: none;
  }

  .m-vip-sec {
    display: block;
  }

  .m-vip-sec .vip-min-deposit {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: none;
    padding: 0;
  }

  .m-vip-sec .vip-min-deposit .col {
    padding: 5px;
  }

  .m-vip-sec .vip-min-deposit img {
    max-width: 55px;
  }

  .m-tabs {
    display: flex;
    overflow-x: auto !important;
    flex-wrap: nowrap;
    background: none !important;
    grid-gap: 15px;
  }

  .d-tabs {
    display: none;
  }

  .register_form_wrap {
    display: flex;
    flex-direction: column-reverse;
    padding-top: 0;
  }

  .step-nav {
    justify-content: space-evenly;
    width: 100%;
  }

  .promotion-card .card-footer .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    margin: 0;
  }

  .promotion-card .card-footer .row div {
    padding: 0;
  }

  .header-welcome-account img {
    max-width: 30px;
    margin-right: 10px;
  }

  .header-welcome-account .header-welcome-account-detail span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
  }

  .afterlogin-bg .py-5 {
    padding: 0 !important;
    justify-content: center;
  }

  .afterlogin-bg .container {
    /* padding: 0; */
    border-radius: 0;
  }

  .account-content {
    border-radius: 0;
    /* background: none; */
  }

  .sidebarpanel_from_wrap {
    display: block;
  }

  .account-form {
    padding: 10px;
  }

  .account-bg .nav-tabs .nav-item:last-child {
    margin-right: 0;
  }

  .account-bg .nav-tabs {
    justify-content: space-between;
    padding: 0px 15px;
    grid-gap: 10px;
  }

  .account-bg .nav-tabs .nav-item {
    width: 48%;
    margin: 0;
  }

  .account-bg .nav-tabs .nav-link {
    width: 100%;
    border-radius: 10px;
  }

  .afterlogin-sidepanel {
    display: none;
  }

  .sidebarpanel_from_wrap label {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .account-header {
    background: #000;
    border-radius: 0;
  }

  .account-header .account-dashboard-bottom {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
  }

  .m-af-wallet {
    display: flex;
    flex-direction: row-reverse;
  }

  .account-bg {
    padding: 10px;
    background: #f3f3f3;
  }

  .d-f-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    margin: 10px 0;
  }

  .desktop-af-wallet {
    display: none;
  }

  .account-header .balance-container .balance span {
    display: block;
  }

  .account-header .balance-container {
    justify-content: center;
  }

  .functional-bar {
    display: block;
    min-height: 108px;
  }

  .transfer-list-group {
    grid-template-columns: repeat(3, 1fr);
  }

  .transfer-list-group .row {
    display: block;
    text-align: center;
  }

  .provider-image-container {
    width: 65%;
    margin: 0 auto;
  }

  .transfer-list-group .list-group-item {
    padding: 12px;
  }

  .transfer-list-group .provider-name-text {
    font-size: 14px;
    line-height: 1;
  }

  .transfer-list-group .provider-balance-text {
    font-size: 13px;
    line-height: 1;
  }

  ul.deposit_bank_pro {
    background: none;
  }

  .transaction-type-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-nav {
    overflow-x: auto;
  }

  .info-nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .info-center {
    margin-top: 15px;
  }

  .info-nav ul li {
    margin: 0;
  }

  .info-nav ul li a {
    padding: 5px;
  }

  .inbox_table_wrap thead tr td {
    padding: 5px;
  }

  .inbox_table_wrap tbody tr td {
    padding: 5px;
    text-overflow: ellipsis;
    text-wrap: wrap;
  }

  .m-ann {
    display: block;
  }

  .register_bg .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
  }

  .register_bottom {
    padding: 0;
  }

  .mobile-rg-banner {
    display: block;
  }

  .desktop-rg-banner {
    display: none;
  }

  .r-header {
    display: none;
  }

  .register-image-desc {
    font-family: "Tahoma", Helvetica, Arial, serif;
    position: absolute;
    top: 3%;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  .register-image-desc ul {
    font-size: 13px;
    padding-left: 0;
    max-width: 80%;
  }

  .r-body {
    padding-top: 0;
  }

  .register_bg {
    padding-top: 0;
  }

  .register-banner {
    border-radius: 0;
  }

  .register-image-desc h4 {
    font-size: 20px;
  }

  .register-image-desc ul li {
    font-size: 16px;
  }

  .register-image-desc .col-xs-6 {
    max-width: 50%;
  }

  .register-image-desc .justify-content-center {
    justify-content: start;
  }

  .step-nav a:nth-child(1)::before,
  .step-nav a:nth-child(2)::before {
    width: 200px;
  }

  .m-refresh-icon {
    display: block;
  }

  .m-refresh-icon img {
    max-width: 60px;
  }

  .mobile-end {
    justify-content: start;
    grid-gap: 10px;
    align-items: center;
  }

  .account-header .balance-container .balance {
    padding: 10px;
  }

  .m-game-dropdown {
    display: block;
  }

  .vip_modal .modal-body {
    padding: 1rem;
  }
}

@media (max-width: 500px) {
  .amt-qr{
    flex-direction: column;
  }
  .qr-area,.qr-info{
    width: 100%;
  }
  .seo-section{
    padding: 10px 0;
  }
  .seo-section h1{
    font-size: 16px;
  }
  .home-bar .home-bar-bg .seperate-line {
    width: 100%;
    border: none;
    justify-content: space-between;
    flex: auto;
    padding: 0;
  }

  .marquee-text-content {
    animation: marquee-text-animation 15s linear infinite;
  }

  .btn_reset,
  .btn_submit {
    font-size: 15px;
  }

  .download-row {
    grid-template-columns: repeat(2, 1fr);
    padding: 0px 15px;
  }

  .btn-download {
    left: 20%;
  }

  .step-nav a:nth-child(1)::before,
  .step-nav a:nth-child(2)::before {
    width: 91px;
  }

  .register-image-desc h4 {
    font-size: 15px;
  }

  .register-image-desc ul li {
    font-size: 13px;
    line-height: 1.2;
  }
}

@media (max-width: 375px) {
  .account-header .balance-container .balance {
    padding: 2px;
  }

  .transaction-bar-container img {
    max-width: 50%;
  }

  .transaction-bar .col {
    padding: 3px;
  }

  .game-wallet {
    font-size: 9px;
  }

  .m-refresh-icon img {
    max-width: 42px;
  }

  .restore-btn {
    min-width: auto;
    padding: 0px 10px;
  }

  .inbox_table_wrap tbody tr td {
    font-size: 10px;
  }

  .m-dep-button {
    width: 100%;
  }

  .home-bar .home-bar-bg .seperate-line {
    border-right: none;
  }

  .register-image-desc h4 {
    font-size: 12px;
  }

  .register-image-desc ul li {
    font-size: 11px;
  }

  .register-image-desc {
    padding: 0px 15px;
  }

  .inbox_table_wrap thead tr td {
    font-size: 11px;
  }
}