@media (min-width: 1025px) {
  .maincontainer { width: 100%; padding-right: 0px; padding-left: 0px; margin-right: auto; margin-left: auto; display: flex; }
  .maincontainer .left-container { width: calc(100% - 300px); position: relative; }
  .maincontainer .right-container { }
  .sidebar-menu { right: 0px; }
  .inner_body .sidebar-menu { right: -300px; }
  .footer_mobile { display: none; }
  .inner_body .right-nav { display: flex; }
  .inner_body .rightbtn { gap: 14px; }
  .inner_body .sidebar-menu.active { right: 0px; }
  .inner_body .cancel_sidebar { display: flex; }
  body.inner_body::after { content: ""; position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transition: opacity 0.3s; z-index: 999; }
  body.inner_body.menu-open::after { opacity: 1; visibility: visible; }
  body.inner_body.menu-open { overflow: hidden; }
  .innercontainer_product { padding-left: 90px; }
  #carouselExampleControlsmb{
    display: none;
  }
  .innercontainer_afterlogin {
    padding-left: 240px;
    min-height: calc(100vh - 232px); /* 70px header + 60px footer = 130px */
  }
  .afterlogin_footer_wrap{
    padding-left: 240px;
  }
  .wallet-sidebar { left: 0px; } 
  .wallet-sidebar.active { left: 0px; } 
  .wallet-sidebar-toggle{
    display: none;
  }

}
@media (max-width: 1024px) {
  .point-btm ul .bonus_box_dep{
    width: 100%;
  }
  .point-btm ul li{
    width: 100%;
  }
  .deposit-container-inboxcus{
    padding: 0;
  }
  .inbox-container{
    flex-direction: column;
  }
  .inbox-sidebar{
    width: 100%;
    border-right: none;
    margin-bottom: 30px;
  }
  .inbox-content{
    padding: 15px;
    background: #026135;
    border-radius: 0px 0px 15px 15px;
  }
  .table_form_top{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: end;
    grid-gap: 15px;
    margin-bottom: 25px;
  }
  .afterlogin_title{
    font-size: 24px;
    padding: 5px 0;
  }
  .deposit-container{
    /* margin-top: 70px; */
  }
  .afterlogin_wrapper_inner{
    margin-top: 54px;
  }
  .wallet-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    z-index: 1000;
    /* transition: left 0.3s ease; */
  }
  .wallet-sidebar.active {left: 0px;transition: left 0.3s ease;} 

  .qr-area{
    width: 100%;
  }
  .qr-info{
    width: 100%;
  }
  .amt-qr {
    flex-direction: column;
  }
  .amount-options,
  .payment-methods {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .product_footer_winnergrid { display: grid; grid-template-columns: repeat(1, 1fr); }
  .inner_pagesidebarmenu { display: none; }
  .body_inner_bg {padding-bottom: 50px;background-size: auto;background-position: top center;}
  .page_product_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cancel_sidebar { display: flex; }
  body::after { content: ""; position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transition: opacity 0.3s; z-index: 999; }
  body.menu-open::after { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
  .right-nav { display: flex; }
  .sidebar-menu.active { right: 0px; }
  .header-wrap .main-header { padding: 0px 10px; }
  .header-wrap { position: fixed; width: 100%; }
  .bonus_description {
    font-size: 11px;
    margin-bottom: 20px;
    text-overflow: ellipsis;
    /* white-space: nowrap; */
    /* overflow: hidden; */
    /* width: 74%; */
  }
  .promo-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 10px;
  }
  #carouselExampleControls{
    display: none;
  }
  #carouselExampleControlsmb{
    display: block;
  }

  .daily-bg ul {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    position: relative;
}
.mission-bg ul {
    grid-template-columns: repeat(3, 1fr);
}
.play2earn-wrapper {
    grid-template-columns: repeat(1,1fr);
}

.p2e-amount {
    grid-template-columns: repeat(1,1fr);
}
.redemption-wrapper {
    display: flex;
    flex-direction: column;
    gap: 86px;
    }
    .rep_modal img.img-wrap {position: relative;}

    .rep_modal .congrat-text {
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        bottom: 45px;
        font-size: 14px;
    }

    .rep_modal .image-wrap {
        height: auto;
    }

    .rep_modal .modal-congrat h5 {
        font-size: 18px;
    }

    .rep_modal .close {
        right: 25px;
    }
        button.submit-btn {
        display: block;
        margin: 0px auto;
    }

     .claim-btn-wrap {
        position: absolute;
        bottom: -17%;
        left: 0;
        margin: 0px auto;
        right: 0;
    }
    .vip-wrap ul {
        flex-direction: column;
    }
    .vip-non {
        height: 160px;
    }

    .vip-1 img {
        height: 140px;
    }

    h3.vip-ttl {
        font-size: 7.3vw;
        padding: 0px 0px;
    }

    .lvl-lv ul {
        font-size: 12px;
    }

    .table_vip_responsive {
        overflow-x: scroll;
        margin-left: 45%;
        overflow-y: visible;
        padding: 0;
    }

    .table_vip_responsive tr th.headcol {
        width: 45%;
        padding: 10px;
        font-size: 10px;
        height: 47px;
    }
    .vip-ico img {
    height: 22px;
    }

    .table_vip_outwrap {
        padding: 10px;
    }

    table.vip_table tr.hr_cus_wrap {
        position: relative;
        display: none;
    }

    .headcol {
        position: absolute;
        width: 12em;
        left: 0;
        top: auto;
        border-top-width: 2px;
        margin-top: -1px;
        height: auto;
    }

    .headcol_first_mobile {
        background-color: #37393f;
        border-top-left-radius: 10px;
    }

    table.vip_table tr td span {
        font-size: 12px;
    }

    .vip_table_head.headcol_sec_mobile, table.vip_table.headcol_sec_mobile {
        border-top-left-radius: 0;
    }

    .table_vip_responsive tr th.headcol.headcol_sub {
        font-weight: 700;
        color: #fff;
        font-size: 11px;
        line-height: 1;
    }

    .fea_grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 25px;
        padding: 20px 0;
    }

    .vip_tnc_wrap {
        padding: 7%;
    }

    table.vip_table tr td {
        padding: 7px;
        font-size: 10px;
    }

    .bonus_box_custom {
        grid-template-columns: 1fr;
    }

    .bonus_right_box_top {
        grid-template-columns: repeat(2,minmax(0,1fr));
        border-top-left-radius: 0.75rem;
        border-bottom-right-radius: 0.75rem;
    }

    .trophy_m {
        display: block;
        width: 90px;
        margin: auto;
    }

    .trophy_w {
        display: none;
    }

    .bonus_right_box_bottom {
        grid-gap: 0;
        border-bottom-right-radius: 0.75rem;
        border-top-right-radius: 0.75rem;
        grid-template-columns: 110px 1fr;
        grid-template-rows: repeat(2,minmax(0,1fr));
        padding: 10px;
    }

    .bonus_right_box {
        padding: 10px;
    }

    .bonus_card_overview_inner {
        display: grid;
        justify-content: initial;
        grid-gap: 15px;
    }

    .bonus_card_item {
        width: 100%;
    }

    .bonus_content_box {
        display: grid;
    }

    .bonus_left_content_box {
        padding: 30px;
        width: 100%;
    }

    .bonus_bets_top {
        display: grid;
    }

    .bonus_bets_top_left {
        width: 100%;
        padding: 30px;
    }

    .bonus_bets_top_right {
        width: 100%;
    }

    .bonus_bets_bottom {
        display: grid;
        grid-gap: 15px;
    }

    .bonus_bets_bottom_left {
        width: 100%;
    }

    .bonus_bets_bottom_right {
        width: 100%;
    }

    .bonus_ranking_inner {
        grid-template-columns: 100%;
        grid-gap: 20px;
    }

    .bonus_footer_overview {
        display: grid;
        padding: 15px;
    }

    .bonus_footer_right {
        margin-left: 0;
    }

    .bonus_footer_left {
        margin: auto;
        padding-bottom: 20px;
    }
    .bonus_bets_number_text{
        margin-bottom: 20px;
    }
    .bonus_ques2{
        margin-left: 0;
    }
    .daily_modal .close{
      top: -11%;
    }
    .ms-ttl{
      font-size: 3vw;
    }
    .ms-amt{
      font-size: 3vw;
      margin-top: 5px;
    }
    .wheel_product.wheel-wrap {
      height: 100%;
      width: 100%;
      margin: 0px auto;
      min-height: 250px;
    }
    .wheel-all ul {
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 20px;
    }
}
@media (min-width: 768px) {
  .trending-tabs.mobile-tabs { display: none; }
}
@media (max-width: 767px) {

  .page_product_grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .game-row { grid-template-areas: "large large large" "small1 small2 small3" "card1 card2 card3" "card4 card5 card6"; }
  .game-card img { height: auto; }
  .game-card.large img { }
  .game-type { font-size: 9px; }
  .game-info { height: auto; }
  .tournaments_wrap { padding: 40px 20px; }
  .trending-section { padding: 20px; }
  .game-card.large { max-width: 100%; }
  .trending-tabs.desktop-tabs { display: none; }
  .trending-tabs.mobile-tabs { display: block; }
  .trending-tabs .tab-select {width: 100%;padding: 10px;border-radius: 5px;background-color: rgb(26, 26, 26);color: rgb(255, 255, 255);border: none;font-size: 14px;font-weight: bold;cursor: pointer;min-width: 160px;}
  .trending-tabs .tab-select option { background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); padding: 10px; }
  .btn_share_log { width: auto; max-width: 0px; font-size: 15px; padding: 0px; min-width: 48%; }
  .rightbtn .btn_share_log { width: 100%; min-width: 33%; max-width: fit-content; font-size: 12px; padding: 0px 6px; }
  .brand-logo { width: auto; padding: 12px 0px; cursor: pointer; max-width: 130px; }
  .testimonial_wrap { position: initial; width: 100%; overflow: hidden; }
  .payment-testimonial-container { height: auto; flex-direction: column; padding: 15px 0px 0px; }
  .payment-methods { width: auto; flex-wrap: wrap; justify-content: center; }
  .payment-methods img { width: auto; max-width: 68px; }
  .newest-games { padding: 20px; }
  .jack-card { max-width: 350px; margin: 33% auto auto; padding-bottom: 0px; }
  .jackpot-slider { padding: 20px 50px; }
  .game-name { text-overflow: ellipsis; white-space: nowrap; width: 95%; overflow: hidden; }
  .tournament-image { width: 100%; position: initial; transform: none; }
  .tournament-card { width: 100%; }
  .tournament_out_bg { padding: 0px 20px; }
  .tournament-next, .tournament-prev { display: none; }
  .container_foot { flex-direction: column; }
  .copyright { text-align: center; }
  .game_slot_grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    padding: 0;
  }

  .game_slot_title {
      font-size: 12px;
      padding: 8px;
  }

  .game_slot_more_btn {
      padding: 10px 30px;
      font-size: 14px;
  }
  .payment_methods_grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 15px;
  }

  .payment_method_card {
      padding: 15px;
  }

  .payment_icon {
      width: 60px;
      height: 60px;
  }

  .payment_name {
      font-size: 18px;
  }

  .limit_row {
      font-size: 12px;
  }
  .contact_methods_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px 0;
  }

  .contact_method_card {
      padding: 20px 15px;
  }

  .contact_icon {
      width: 60px;
      height: 60px;
  }

  .contact_name {
      font-size: 16px;
  }

  .bonus_card {
    /* flex-direction: column; */
    /* height: auto; */
  }

  .bonus_left, .bonus_right {
      /* width: 100%; */
  }

  .bonus_left {
  }

  .bonus_badge {
      bottom: 10px;
      left: 10px;
  }

  .bonus_percent {
      font-size: 36px;
  }

  .bonus_text {
      font-size: 24px;
  }

  .bonus_right {
      padding: 20px;
  }

  .bonus_title {
      font-size: 16px;
  }

  .bonus_subtitle {
      font-size: 13px;
  }
  .signup_container {
    padding: 20px;
  }

  .form_row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form_input {
    padding: 12px;
    font-size: 14px;
  }

  .signup_button, .login_link {
    padding: 12px;
    font-size: 16px;
  }
  .otp_container {
    padding: 20px;
  }

  .otp_inputs {
    gap: 10px;
  }

  .otp_input {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .otp_submit {
    padding: 12px 30px;
    font-size: 16px;
  }
  .transaction-cards {
    grid-template-columns: 1fr;
  }

  .transaction-card {
    margin-bottom: 15px;
  }

  .transaction-timer {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .transaction-actions-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .btn-cancel, .btn-info {
    width: 100%;
  }

}
