/* 햄버거 버튼 기본 숨김 */
.mobile-header {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 10000;
}

/* 햄버거 버튼 디자인 */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger span {
  display: block;
  height: 4px;
  background: #fff;
  border-radius: 2px;
}

/* 미디어 쿼리: 모바일/태블릿에서 햄버거 노출 + 사이드바 숨김 */
@media (max-width: 1024px) {
  .mobile-header {
    display: block;
  }
}

/* PC에서는 항상 보이도록 기본 상태 유지 */
.header-arr {
  transition: left 0.3s ease-in-out;
}

/* 모바일/태블릿일 때 숨김 처리 */
@media (max-width: 1024px) {
  .mobile-header {
    display: block;
  }
  .header-arr {
    position: fixed;
    top: 0;
    left: -450px;
    width: 450px;
    height: 100%;
    background-color: #111;
    z-index: 10000; /* 사이드바는 최상단 */
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
  }

  .header-arr.active {
    left: 0;
  }

  .sidebar-overlay {
    position: fixed; /* ✅ 반드시 있어야 z-index 적용됨 */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 9990; /* ✅ 사이드바보다 낮게 */
    display: none;
  }

  .sub_content_arr_bg {
    padding-left: 0 !important;
    min-width: auto !important;
    width: 100% !important;
  }

  .user-info-cont {
    margin: 0 auto;
    width: 100%;
    height: 100px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #login-btn1, #join-btn1 {
    width: 350px;
    border-radius: 100px;
    height: 80px;
    line-height: 76px;
    border-radius: 100px;
    margin-right: 5px;
    font-weight: 900;
    color: #120d0d;
    text-align: center;
    z-index: 9;
    font-size: 2rem;
  }

  .fi-rr-user-unlock::before, .fi-rr-features::before {
    font-size: 35px !important;
  }

  .user-info-arr {
    z-index: 99;
    width: calc(100% - 0px) !important;
    height: 100px !important;
    position: fixed;
    top: 0px;
    background: #151515;
  }
  .noticeText marquee {
    display: none !important;
  }
  .hamburger {
    border: none;
    cursor: pointer;
    padding: 0px;
    width: 55px;
    height: 41px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 30% 0 0 75%;
    background: #000000;
  }
  .noticeText img {
    width: 29px;
    display: none;
  }
  .main-page {
    margin-top: 100px !important;
  }
  .list-menugame {
    width: 50% !important;
    padding: 10px;
    box-sizing: border-box;
    float: left;
    text-align: center;
    display: block;
    cursor: pointer;
  }
  .slotZone .rightZone {
    width: 56% !important;
  }
  .slotZone {
    padding-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    flex-wrap: wrap;
  }
  .slotZone .centerZone .upZone h2 {
    color: #5bd6bd;
    font-size: 6.1vw !important;
    margin-bottom: 20px;
  }
  .slotZone .centerZone .upZone p {
    color: var(--font03);
    line-height: 1.6;
    font-size: 1.8vw !important;
  }
  .slotZone .centerZone .downZone a {
    font-size: 24px !important;
    width: 115px !important;
  }
  .main_content_wrap .infoZone {
    width: 100%;
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap !important;
  }
  .main_content_wrap .infoZone .info01 {
    width: 100% !important;
    border: 1px solid #1f222e;
    background-color: #0f1010;
    border-radius: 10px;
    padding: 23px;
    margin-top: 25px;
    box-sizing: border-box;
    /* font-size: 18px; */
  }
  .slotZone .slotLeft {
    width: 100% !important;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  .slotZone .leftZone {
    width: 55% !important;
  }
  .main_content_wrap .infoZone .info01 .title {
    color: #828282;
    font-size: 35px !important;
    font-weight: 700;
  }
  .main_content_wrap .infoZone .info01 .list .listA .message {
    font-size: 25px !important;
  }
  .main_content_wrap .infoZone .info01 .list .listA {
    width: 100%;
    height: 60px !important;
    line-height: 60px !important;
  }
  .sns_wrap {
    display: none;
  }
  .rightZone01 {
    display: none;
  }
  .main_navigation li {
    height: 85px !important;
  }
  .main_navigation li a .txt {
    font-size: 25px !important;
  }
  .main_navigation li a {
    height: 83px;
    line-height: 80px;
  }
  .modal_content {
    width: 750px;
    height: 700px;
    top: 30%;
    left: 45%;
  }
  #userid, #passwd {
    height: 75px;
    font-size: 30px;
  }
  #login-btn, #join-btn {
    width: 100%;
    height: 75px;
    line-height: 75px;
    font-size: 29px;
    color: #fff;
  }
  .modal-close {
    font-size: 45px;
  }
  .user-info01 li {
    display: flex;
    padding: 0 5px;
    font-size: 25px !important;
  }
  .noticeText {
    display: flex;
    align-items: center;
    width: 0%;
  }
  .user-info01 li {
    display: flex;
    padding: 0 5px;
    width: 200px !important;
    font-size: 24px !important;
  }
  .sub_content_arr {
    padding-top: 90px !important;
    padding-bottom: 450px !important;
  }
  .companys li {
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
    display: inline-block;
    width: 50% !important;
    padding: 10px;
    display: flex;
    float: left;
    transition: 0.2s;
  }
  .sub_content_arr h2 {
    font-size: 33px !important;
    left: 0;
    top: 21px !important;
  }
  .cashzone_talbe_arr tr {
    height: 100px;
  }
  
  .cash_zone_table th {
      font-size: 25px !important;
  }
  .cash_zone_table input {
      border: 1px solid #444;
      background: #111;
      color: #fff;
      font-size: 20px !important;
      padding: 2px 5px;
      line-height: 33px;
      height: 33px;
      transition: 0.2s;
      vertical-align: middle;
      border-radius: 5px;
  }
  .ui_btn_sm_green {
    width: 150px !important;
    height: 45px !important;
    font-size: 17px !important;
  }
  .ui_btn_sm_yellow {
    width: 150px !important;
    height: 45px !important;
    transition: 0.2s;
    font-size: 16px !important;
  }
  .ui-button_red {
    width: 150px !important;
    height: 45px !important;
    transition: 0.2s;
    font-size: 16px !important;
  }
  .topth th {
    height: 40px;
    font-weight: 500;
    font-size: 25px !important;
  }
  .cash-list0021 td {
    font-size: 25px !important;
  }
  .cash_notice_zone ul {
    padding: 15px 20px;
    font-size: 13.5px !important;
  }

  .cashzone_talbe_arr span {
    font-size: 25px !important;
    font-weight: normal;
  }
  .bank-time-table th {
    font-size: 20px !important;
  }
  .bank-time-table td {
    font-size: 20px !important;
  }
  #footer {
    position: fixed !important;
    bottom: 0 !important;
    z-index: 9999;
  }
  #t_calendar td {
    height: 150px !important;
    text-align: center;
    position: relative;
    border: 1px solid #444 !important;
  }
  .main_content {
    float: left;
    width: 100%;
    padding-bottom: 450px !important;
  }
  .submenu li {
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
    display: inline-block;
    width: 30.5% !important;
    margin: 0.5%;
    padding: 5px 5px;
    transition: 0.2s;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 2px 4px 5px 1px rgb(0 0 0 / 10%), inset 0 0 6px 1px #fff;
  }
}

/* 오버레이 처리 */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}