/* ========================================
   LOKALBET88 - RESPONSIVE CSS
   Versi: 2.0 Mobile Optimized
   ======================================== */

/* ==================
   BASE STYLES
   ================== */
img {
  max-width: 100%;
}
a {
  color: var(--link-color);
  -webkit-transition: all linear 0.3s;
  transition: all linear 0.3s;
}
a:hover {
  color: var(--link-color-hover);
  -webkit-transition: all linear 0.3s;
  transition: all linear 0.3s;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6,
.table {
  -webkit-text-shadow: 1px 1px 0 #000;
  text-shadow: 1px 1px 0 #000;
}

.text-heading {
  color: var(--heading-color);
  font-weight: bolder;
}
.modal {
  z-index: 999999;
}
.welcome-modal .modal-body {
  border: 1px solid var(--primary-color);
  border-radius: var(--radius);
  padding: 0;
  text-align: right;
}
.welcome-modal .modal-body img {
  border-radius: var(--radius);
}
.welcome-modal .modal-body button {
  position: absolute;
  float: none;
  background: transparent;
  border: 1px solid var(--primary-color);
  border-bottom-left-radius: var(--radius);
  color: var(--primary-color);
  font-size: 1.8rem;
  right: 0;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.25rem 0.75rem;
}
body {
  background: var(--body-background);
  color: var(--body-color);
}
header {
  background: var(--header-background);
}

/* ==================
   LOGO & HEADER
   ================== */
.logo {
  max-width: var(--logo-max-width);
}
.col-kanan {
  width: calc(100% - var(--logo-max-width));
}
.input-group-icon {
  font-size: 1.25rem;
  padding: 0 0.5rem;
}

/* ==================
   BUTTONS
   ================== */
.btn,
.btn:hover {
  -webkit-transition: all linear 0.3s;
  transition: all linear 0.3s;
}
.btn {
  -webkit-text-shadow: 1px 1px 0 #000;
  text-shadow: 1px 1px 0 #000;
}
.btn-daftar {
  background: var(--button-daftar-background);
  font-weight: bolder;
  -webkit-text-shadow: 1px 1px 0 #000;
  text-shadow: 1px 1px 0 #000;
}
.btn-masuk {
  background: var(--button-masuk-background);
  border-color: #fff;
  font-weight: bolder;
}
.btn-daftar:hover,
.btn-masuk:hover {
  background: var(--info);
}

/* ==================
   HEADER MENU
   ================== */
.header-menu {
  text-transform: uppercase;
  font-weight: bold;
}
.header-menu .nav-link {
  padding: 0.5rem 1rem;
  color: var(--header-menu-color);
}
.header-menu .nav-link:hover,
.header-menu .nav-link.active {
  color: var(--link-color-hover);
}
.btn-rightmenu i:not(.bi-member) {
  font-size: 1.8rem;
}
.rightmenu-collapse {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 100%;
  overflow-y: auto;
  visibility: hidden;
  background: var(--header-background);
  z-index: 99999999;
  transition: visibility 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out, visibility 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out, visibility 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
}
.rightmenu-collapse.open {
  visibility: visible;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
}
.rightmenu-collapse .btn {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rightmenu-collapse .btn:hover {
  background: var(--info);
}

/* ==================
   RUNNING TEXT (MARQUEE)
   ================== */
.scrolling-marquee {
  border-top: 2px solid #000;
  background: var(--running-text-background);
  color: var(--running-text-color);
}
.scrolling-container {
  position: relative;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  padding: 0.25rem;
}
.scrolling-container:before {
  font-family: bootstrap-icons !important;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  content: "\F483";
  font-size: 20px;
  padding-left: 0.5rem;
  vertical-align: -0.125em;
  background: var(--running-text-background);
}
.scrolling-text {
  display: inline-block;
  animation: marquee var(--running-text-durasi) linear infinite;
  -webkit-animation: marquee var(--running-text-durasi) linear infinite;
}

/* ==================
   GAME MENU
   ================== */
.gamemenu {
  background: var(--gamemenu-background);
  text-transform: uppercase;
  -webkit-text-shadow: 1px 1px 0 #000;
  text-shadow: 1px 1px 0 #000;
  position: relative;
}
.gamemenu .nav-link {
  color: var(--header-menu-color);
  font-weight: bolder;
  border-left: 2px inset var(--running-text-background);
}
.gamemenu .nav-item:last-child .nav-link {
  border-right: 2px outset var(--running-text-background);
}
.gamemenu .nav-link:hover,
.gamemenu .nav-link.active {
  background: rgba(0, 0, 0, 0.55);
  color: var(--link-color-hover);
}
.gamemenu .submenu {
  background: var(--running-text-background);
  width: 100%;
  min-height: 124px;
  text-align: center;
  position: absolute;
  top: 38px;
  left: 0;
  display: flex;
  opacity: 0;
  visibility: hidden;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  -webkit-transition: all linear 0.3s;
  transition: all linear 0.3s;
}
.gamemenu .nav-link:hover + .submenu,
.submenu:hover {
  opacity: 1;
  visibility: visible;
  -webkit-transition: all linear 0.3s;
  transition: all linear 0.3s;
}
.submenu img {
  height: 45px;
  margin: 0.75rem;
  -webkit-filter: drop-shadow(1px 1px 0 #000);
  filter: drop-shadow(1px 1px 0 #000);
  -webkit-transition: filter ease-in-out 0.3s;
  transition: filter ease-in-out 0.3s;
}
.submenu a:hover img {
  -webkit-filter: drop-shadow(0 0 3px var(--primary-color));
  filter: drop-shadow(0 0 3px var(--primary-color));
}

/* ==================
   STEPS CARDS
   ================== */
.steps .card {
  background: var(--steps-background);
}
.steps .card:hover {
  cursor: crosshair;
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  box-shadow: 0 0 3px 3px var(--primary-color);
  -webkit-transition: all linear 0.5s;
  transition: all linear 0.5s;
  z-index: 2;
}
.steps .card-body {
  align-content: center;
  justify-content: space-between;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  -webkit-text-shadow: 1px 1px 0 #000;
  text-shadow: 1px 1px 0 #000;
}
.steps i {
  margin-right: 0.25rem;
  color: var(--primary-color);
}

/* ==================
   CONTAINER LEFT
   ================== */
.container-left {
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-wrap: wrap;
}

/* ==================
   GAME CATEGORY BUTTONS
   ================== */
.btn-slot {
  color: #e68f25;
  border-color: #e68f25;
}
.btn-slot:hover {
  color: #fff;
  background-color: #e68f25;
  border-color: #e68f25;
}
.btn-casino {
  color: #e40e08;
  border-color: #e40e08;
}
.btn-casino:hover {
  color: #fff;
  background-color: #e40e08;
  border-color: #e40e08;
}
.btn-togel {
  color: #f1c300;
  border-color: #f1c300;
}
.btn-togel:hover {
  color: #fff;
  background-color: #f1c300;
  border-color: #f1c300;
}
.btn-sports {
  color: #ff7500;
  border-color: #ff7500;
}
.btn-sports:hover {
  color: #fff;
  background-color: #ff7500;
  border-color: #ff7500;
}
.btn-fishing {
  color: #00a1ff;
  border-color: #00a1ff;
}
.btn-fishing:hover {
  color: #fff;
  background-color: #00a1ff;
  border-color: #00a1ff;
}
.btn-sabung {
  color: #de4021;
  border-color: #de4021;
}
.btn-sabung:hover {
  color: #fff;
  background-color: #de4021;
  border-color: #de4021;
}

/* ==================
   GAME BUTTONS
   ================== */
.btn-game {
  border-radius: var(--radius);
  background: var(--btn-game-background);
  padding: 0;
  outline-offset: 4px;
  width: 165px;
  height: 160px;
  margin: 0.25rem;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.btn-game img {
  width: 100%;
  height: auto;
  -webkit-filter: drop-shadow(0 2px 2px #000);
  filter: drop-shadow(0 2px 2px #000);
}
.btn-game span {
  padding: 0 0.25rem;
  font-size: 1.2rem;
  font-weight: bolder;
  -webkit-text-shadow: 1px 2px 0 #000;
  text-shadow: 1px 2px 0 #000;
}
.btn-game:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  -webkit-transition: all linear 0.5s;
  transition: all linear 0.5s;
}

/* ==================
   HORIZONTAL MENU & TABS
   ================== */
.tab-horizontal {
  overflow-x: auto;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
  gap: 0.5rem;
  flex-wrap: nowrap;
}
.horizontal-menu,
.tab-dpwd {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  gap: 0.5rem;
  -webkit-overflow-scrolling: touch;
}
.horizontal-menu .btn,
.tab-dpwd .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==================
   PROVIDER MENU
   ================== */
.provider-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.provider-menu img {
  height: 60px;
  padding: 0.5rem;
  background: var(--provider-menu-background);
  border-radius: var(--radius);
  cursor: pointer;
  -webkit-filter: drop-shadow(1px 1px 0 #000);
  filter: drop-shadow(1px 1px 0 #000);
  -webkit-transition: all ease-in-out 0.3s;
  transition: all ease-in-out 0.3s;
}
.provider-menu img:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-filter: drop-shadow(0 0 3px var(--primary-color));
  filter: drop-shadow(0 0 3px var(--primary-color));
}

.provider,
.contact {
  position: relative;
  border: 1px inset rgba(255, 255, 255, 0.5);
  padding: 1.5rem;
  padding-bottom: 1rem;
}
.provider .h4,
.contact .h4 {
  position: absolute;
  top: -1rem;
  left: 0.5rem;
  background: var(--footer-background);
}
.contact .btn {
  margin: 0.5rem;
  font-size: 1.1rem;
  border-radius: var(--radius);
  border: 2px inset rgba(255, 255, 255, 0.5);
  -webkit-text-shadow: 1px 1px 0 #000;
  text-shadow: 1px 1px 0 #000;
  font-weight: bolder;
}
.contact .btn:hover {
  filter: hue-rotate(50deg);
}
.contact i {
  font-size: 1.3rem;
  margin-right: 3px;
}
.contact .btn:has(.bi-whatsapp) {
  background: #25d366;
  border-color: #25d366;
}
.contact .btn:has(.bi-facebook) {
  background: #4267b2;
  border-color: #4267b2;
}
.contact .btn:has(.bi-telegram) {
  background: #2aabee;
  border-color: #2aabee;
}
.contact .btn:has(.bi-line) {
  background: #06c755;
  border-color: #06c755;
}
.contact .btn:has(.bi-skype) {
  background: #009edc;
  border-color: #009edc;
}
.contact .btn:has(.bi-telephone-fill) {
  background: #a4c639;
  border-color: #a4c639;
}
.provider img {
  width: auto;
  height: 40px;
  -webkit-filter: grayscale(100%) drop-shadow(1px 1px 1px #000);
  filter: grayscale(100%) drop-shadow(1px 1px 1px #000);
  -webkit-transition: filter ease-in-out 0.3s;
  transition: filter ease-in-out 0.3s;
  margin: 0.75rem 0.5rem;
}
.provider img:hover {
  -webkit-filter: grayscale(0) drop-shadow(0 0 3px var(--primary-color));
  filter: grayscale(0) drop-shadow(0 0 3px var(--primary-color));
}

/* ==================
   RESULT BOX
   ================== */
.result-box {
  background: var(--result-box-background);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}
.result-ball {
  background: var(--result-ball-background);
  border-radius: var(--radius);
  padding: 0.5rem;
  display: inline-flex;
  margin: 0.25rem;
}

/* ==================
   TOP TEN
   ================== */
.top-ten {
  background: var(--top-ten-background);
  border-radius: var(--radius);
  padding: 1rem;
}
.top-ten table {
  width: 100%;
}

/* ==================
   METODE PEMBAYARAN
   ================== */
.metode-pembayaran {
  background: var(--metode-pembayaran-background);
  border-radius: var(--radius);
  padding: 1rem;
}
.metode-pembayaran img {
  height: 40px;
  margin: 0.5rem;
  -webkit-filter: drop-shadow(1px 1px 0 #000);
  filter: drop-shadow(1px 1px 0 #000);
}

/* ==================
   FOOTER
   ================== */
footer {
  background: var(--footer-background);
  padding: 2rem 0;
  margin-top: 2rem;
}

/* ==================
   BOTTOM BUTTON
   ================== */
.btn-bottom {
  background: var(--btn-bottom-background);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: space-around;
  padding: 0.5rem;
}

/* ==================
   PROMO CARD
   ================== */
.promo-card {
  background: var(--promo-card-background);
}

.promo-img .lihat-detail {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem;
  border-radius: 0;
  background-color: var(--body-background);
  border: 1px solid var(--body-color);
  color: var(--primary-color);
  border-top-left-radius: 0.25rem;
  font-weight: bolder;
  font-size: 0.8rem;
}

.promo-img .lihat-detail:hover {
  color: #fff;
}

.promo-detail {
  display: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* ==================
   PAGINATION
   ================== */
.pagination {
  background: var(--pagination-background);
  border-radius: var(--radius);
  padding: 0.5rem;
}

/* ==================
   BOX CONTAINER
   ================== */
.box {
  border-radius: 0.25rem;
  padding: 0.25rem;
  background: var(--promo-card-background) none repeat scroll 0% 0%;
}

/* ==================
   LOADING SPINNER
   ================== */
#game-list.loading {
  position: relative;
  opacity: 0.6;
}

#game-list.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2rem;
  border: 4px solid #ccc;
  border-top: 4px solid #28a745;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* ==================
   CUSTOM NAV
   ================== */
.nav-custom {
  padding-right: 25px !important;
}

/* ==================
   BADGE
   ================== */
.badge-coming {
  position: absolute;
  top: -2px;
  right: 5px;
  background: var(--badge);
  color: var(--color);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 5px;
  line-height: 1;
  font-weight: bold;
  z-index: 2;
}

/* ==================
   CUSTOM ICONS
   ================== */
.bi-slot:before {
  content: "";
  width: 38px;
  height: 38px;
  background: var(--primary-color);
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-mask-image: url(../img/slot.svg);
  mask-image: url(../img/slot.svg);
  line-height: 1;
  vertical-align: top;
}
.bi-casino:before {
  content: "";
  width: 38px;
  height: 38px;
  background: var(--primary-color);
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-mask-image: url(../img/casino.svg);
  mask-image: url(../img/casino.svg);
  line-height: 1;
  vertical-align: top;
}
.bi-togel:before {
  content: "";
  width: 38px;
  height: 38px;
  background: var(--primary-color);
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-mask-image: url(../img/togel.svg);
  mask-image: url(../img/togel.svg);
  line-height: 1;
  vertical-align: top;
}
.bi-fishing:before {
  content: "";
  width: 38px;
  height: 38px;
  background: var(--primary-color);
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-mask-image: url(../img/fishing.svg);
  mask-image: url(../img/fishing.svg);
  line-height: 1;
  vertical-align: top;
}
.bi-sports:before {
  content: "";
  width: 38px;
  height: 38px;
  background: var(--primary-color);
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-mask-image: url(../img/sports.svg);
  mask-image: url(../img/sports.svg);
  line-height: 1;
  vertical-align: top;
}
.bi-sabung:before {
  content: "";
  width: 38px;
  height: 38px;
  background: var(--primary-color);
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-mask-image: url(../img/sabung.svg);
  mask-image: url(../img/sabung.svg);
  line-height: 1;
  vertical-align: top;
}
.bi-handshake:before {
  content: "";
  width: 38px;
  height: 38px;
  background: var(--primary-color);
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-mask-image: url(../img/handshake.svg);
  mask-image: url(../img/handshake.svg);
  line-height: 1;
  vertical-align: top;
}
.bi-chips:before {
  content: "";
  width: 20px;
  height: 20px;
  background-image: url(../img/chips.webp);
  background-repeat: no-repeat;
  background-size: cover;
  line-height: 1;
  vertical-align: top;
}
.bi-chips-2x:before {
  width: 23px;
  height: 23px;
}
.bi-member-1:before,
.bi-member-2:before,
.bi-member-3:before,
.bi-member-4:before,
.bi-member-5:before,
.bi-member-6:before,
.bi-member-7:before,
.bi-member-8:before {
  content: "";
  width: 35px;
  height: 35px;
  background-repeat: no-repeat;
  background-size: cover;
  line-height: 1;
  vertical-align: top;
  -webkit-filter: drop-shadow(0 1px 1px #000);
  filter: drop-shadow(0 1px 1px #000);
}
.bi-member-1:before {
  background-image: url(../img/member1.svg);
}
.bi-member-2:before {
  background-image: url(../img/member2.svg);
}
.bi-member-3:before {
  background-image: url(../img/member3.svg);
}
.bi-member-4:before {
  background-image: url(../img/member4.svg);
}
.bi-member-5:before {
  background-image: url(../img/member5.svg);
}
.bi-member-6:before {
  background-image: url(../img/member6.svg);
}
.bi-member-7:before {
  background-image: url(../img/member7.svg);
}
.bi-member-8:before {
  background-image: url(../img/member8.svg);
}
.bi-member-sm:before {
  width: 30px;
  height: 30px;
  vertical-align: middle;
}
.bi-member-chosen:before {
  width: 45px;
  height: 45px;
  margin: 0.25rem;
  cursor: pointer;
}

/* ==================
   BALL NUMBERS
   ================== */
.ball {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain !important;
  -webkit-background-size: cover;
  display: inline-block;
  height: 35px;
  vertical-align: middle;
  width: 35px;
  filter: drop-shadow(1px 1px 3px #000);
  margin: 1px;
}
.ball-x {
  background-image: url(../img/x.webp);
}
.ball-0 {
  background-image: url(../img/0.webp);
}
.ball-1 {
  background-image: url(../img/1.webp);
}
.ball-2 {
  background-image: url(../img/2.webp);
}
.ball-3 {
  background-image: url(../img/3.webp);
}
.ball-4 {
  background-image: url(../img/4.webp);
}
.ball-5 {
  background-image: url(../img/5.webp);
}
.ball-6 {
  background-image: url(../img/6.webp);
}
.ball-7 {
  background-image: url(../img/7.webp);
}
.ball-8 {
  background-image: url(../img/8.webp);
}
.ball-9 {
  background-image: url(../img/9.webp);
}
.ball-row {
  margin-bottom: 0.5rem;
}

/* ==================
   HOT BADGE
   ================== */
.hot {
  display: inline-block;
  width: 30px;
  height: 20px;
  background-image: url(../img/hot.gif);
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-filter: drop-shadow(1px 1px 1px #000);
  filter: drop-shadow(1px 1px 1px #000);
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
}

/* ==================
   CHAT
   ================== */
.chat .chat-history {
  padding: 20px;
  border-bottom: 2px solid #fff;
}
.chat .chat-history ul {
  padding: 0;
}
.chat .chat-history ul li {
  list-style: none;
  margin-bottom: 30px;
}
.chat .chat-history ul li:last-child {
  margin-bottom: 0px;
}
.chat .chat-history .message-data {
  margin-bottom: 15px;
}
.chat .chat-history .message-data-time {
  color: #fff;
  padding-left: 6px;
}
.chat .chat-history .message {
  color: #444;
  padding: 18px 20px;
  line-height: 26px;
  font-size: 16px;
  border-radius: 7px;
  display: inline-block;
  position: relative;
}
.chat .chat-history .message:after {
  bottom: 100%;
  left: 7%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: #fff;
  border-width: 10px;
  margin-left: -10px;
}
.chat .chat-history .receiver-message {
  background: #efefef;
}
.chat .chat-history .receiver-message:after {
  bottom: 100%;
  left: 30px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: #efefef;
  border-width: 10px;
  margin-left: -10px;
}
.chat .chat-history .sender-message {
  background: #e8f1f3;
  text-align: right;
}
.chat .chat-history .sender-message:after {
  border-bottom-color: #e8f1f3;
  left: 93%;
}
.chat .chat-message {
  padding: 20px;
}

/* ==================
   WRAP TEXT
   ================== */
.wrap-text {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
  max-width: 100%;
}

/* ==================
   MESSAGE LIST
   ================== */
#message-list {
  overflow-y: auto;
  max-height: 500px;
}

/* ==================
   FLOATING BUTTON
   ================== */
.bottomRightFloat {
  background-color: var(--primary);
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 9999999;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

.bottomRightFloat .bi {
  font-size: 1.5rem;
  object-fit: contain;
  background-size: contain;
}

/* ==================
   COMING SOON
   ================== */
.coming_soon_provider_image {
  height: 100px !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* ==================
   ANIMATIONS
   ================== */
@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
@-webkit-keyframes marquee {
  0% {
    -webkit-transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(-100%);
  }
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ==========================================
   MEDIA QUERIES - RESPONSIVE MOBILE
   ========================================== */

/* TABLET - 768px ke bawah */
@media (max-width: 768px) {
  /* Logo */
  .logo {
    max-width: 180px;
  }

  .col-kanan {
    width: calc(100% - 180px);
  }

  /* Header Menu - Hidden by default on mobile */
  .header-menu {
    display: none;
  }

  /* Steps Cards */
  .steps .card-body {
    font-size: 1.2rem;
    padding: 0.5rem;
  }

  /* Container Left */
  .container-left {
    width: 100%;
    max-width: 100%;
  }

  /* Game Buttons */
  .btn-game {
    width: calc(50% - 0.5rem);
    height: 140px;
    margin: 0.25rem;
  }

  .btn-game span {
    font-size: 1rem;
  }

  /* Submenu */
  .submenu img {
    height: 35px;
    margin: 0.5rem;
  }

  /* Provider Menu */
  .provider-menu img {
    height: 50px;
  }

  /* Top Ten Table */
  .top-ten table {
    font-size: 0.9rem;
  }

  /* Metode Pembayaran */
  .metode-pembayaran img {
    height: 30px;
    margin: 0.25rem;
  }

  /* Ball Numbers */
  .ball {
    height: 28px;
    width: 28px;
  }

  /* Floating Button */
  .bottomRightFloat {
    width: 3.5rem;
    height: 3.5rem;
    bottom: 0.5rem;
    right: 0.5rem;
  }

  .bottomRightFloat .bi {
    font-size: 1.3rem;
  }

  /* Chat */
  .chat .chat-history {
    padding: 15px;
  }

  .chat .chat-history .message {
    padding: 12px 15px;
    font-size: 14px;
  }

  /* Message List */
  #message-list {
    max-height: 400px;
  }
}

/* MOBILE - 576px ke bawah */
@media (max-width: 576px) {
  /* Typography */
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* Logo */
  .logo {
    max-width: 150px;
  }

  .col-kanan {
    width: calc(100% - 150px);
  }

  /* Buttons */
  .btn {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }

  .btn-daftar,
  .btn-masuk {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
  }

  /* Header Menu Icons */
  .btn-rightmenu i:not(.bi-member) {
    font-size: 1.5rem;
  }

  /* Scrolling Container */
  .scrolling-container {
    font-size: 0.9rem;
  }

  .scrolling-container:before {
    font-size: 16px;
  }

  /* Steps Cards */
  .steps .card-body {
    font-size: 1rem;
    padding: 0.5rem;
    flex-direction: column;
    text-align: center;
  }

  .steps i {
    margin-right: 0;
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
  }

  /* Game Buttons */
  .btn-game {
    width: calc(50% - 0.5rem);
    height: 120px;
    padding: 0.25rem;
  }

  .btn-game span {
    font-size: 0.9rem;
    padding: 0;
  }

  /* Horizontal Menu */
  .horizontal-menu .btn,
  .tab-dpwd .btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
  }

  /* Game Menu */
  .gamemenu .nav-link {
    font-size: 0.8rem;
    padding: 0.5rem;
  }

  .gamemenu .submenu {
    min-height: 80px;
  }

  .submenu img {
    height: 30px;
    margin: 0.35rem;
  }

  /* Provider Menu */
  .provider-menu img {
    height: 40px;
    padding: 0.35rem;
  }

  /* Result Box */
  .result-box {
    padding: 0.75rem;
  }

  /* Top Ten */
  .top-ten {
    padding: 0.75rem;
  }

  .top-ten table {
    font-size: 0.8rem;
  }

  /* Metode Pembayaran */
  .metode-pembayaran {
    padding: 0.75rem;
  }

  .metode-pembayaran img {
    height: 25px;
    margin: 0.25rem;
  }

  /* Footer */
  footer {
    padding: 1.5rem 0;
    font-size: 0.9rem;
  }

  /* Bottom Button */
  .btn-bottom {
    padding: 0.35rem;
  }

  .btn-bottom .btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
  }

  /* Promo Card */
  .promo-img .lihat-detail {
    font-size: 0.7rem;
    padding: 0.2rem 0.35rem;
  }

  /* Ball Numbers */
  .ball {
    height: 25px;
    width: 25px;
  }

  /* Hot Badge */
  .hot {
    width: 25px;
    height: 16px;
  }

  /* Custom Icons - Mobile Size */
  .bi-slot:before,
  .bi-casino:before,
  .bi-togel:before,
  .bi-fishing:before,
  .bi-sports:before,
  .bi-sabung:before,
  .bi-handshake:before {
    width: 28px;
    height: 28px;
  }

  .bi-member-1:before,
  .bi-member-2:before,
  .bi-member-3:before,
  .bi-member-4:before,
  .bi-member-5:before,
  .bi-member-6:before,
  .bi-member-7:before,
  .bi-member-8:before {
    width: 28px;
    height: 28px;
  }

  /* Floating Button */
  .bottomRightFloat {
    width: 3rem;
    height: 3rem;
    bottom: 0.5rem;
    right: 0.5rem;
  }

  .bottomRightFloat .bi {
    font-size: 1.2rem;
  }

  /* Chat */
  .chat .chat-history {
    padding: 10px;
  }

  .chat .chat-history .message {
    padding: 10px 12px;
    font-size: 13px;
    line-height: 20px;
  }

  /* Message List */
  #message-list {
    max-height: 300px;
  }

  /* Pagination */
  .pagination {
    font-size: 0.85rem;
  }

  /* Box */
  .box {
    padding: 0.5rem;
  }

  /* Coming Soon Provider */
  .coming_soon_provider_image {
    height: 70px !important;
  }
}

/* EXTRA SMALL MOBILE - 400px ke bawah */
@media (max-width: 400px) {
  /* Logo */
  .logo {
    max-width: 120px;
  }

  .col-kanan {
    width: calc(100% - 120px);
  }

  /* Game Buttons */
  .btn-game {
    width: calc(50% - 0.5rem);
    height: 110px;
  }

  .btn-game span {
    font-size: 0.8rem;
  }

  /* Steps Cards - Stack vertically on very small screens */
  .steps .card-body {
    font-size: 0.9rem;
  }

  /* Buttons */
  .btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
  }

  /* Horizontal Menu */
  .horizontal-menu .btn,
  .tab-dpwd .btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
  }

  /* Game Menu */
  .gamemenu .nav-link {
    font-size: 0.75rem;
    padding: 0.4rem;
  }

  /* Provider Menu */
  .provider-menu img {
    height: 35px;
  }

  /* Ball Numbers */
  .ball {
    height: 22px;
    width: 22px;
  }

  /* Floating Button */
  .bottomRightFloat {
    width: 2.75rem;
    height: 2.75rem;
  }

  .bottomRightFloat .bi {
    font-size: 1.1rem;
  }

  /* Typography */
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }
}

/* LANDSCAPE MODE - Mobile Landscape */
@media (max-height: 500px) and (orientation: landscape) {
  /* Reduce vertical spacing in landscape */
  .steps .card {
    margin-bottom: 0.5rem;
  }

  footer {
    padding: 1rem 0;
  }

  .result-box,
  .top-ten,
  .metode-pembayaran {
    padding: 0.5rem;
  }

  #message-list {
    max-height: 200px;
  }
}
