:root {
  --babu88-yellow: #f3c300;
  --babu88-dark: #2f3136;
  --babu88-bg: #e6e6e6;
  --babu88-text: #1c1d20;
  --babu88-muted: #7a7d83;
  --babu88-border: #d1d3d7;
}

body {
  background: var(--babu88-bg) !important;
  color: var(--babu88-text);
  font-family: "Noto Sans", "Noto Sans Bengali", "Noto Sans Arabic", "Segoe UI", sans-serif !important;
}

.babu88-page,
.babu88-home,
.babu88-games,
.babu88-deposit {
  padding-top: 116px;
}

.babu88-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9999;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.babu88-header .topbar {
  background: #efefef;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.babu88-header .brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.babu88-header .brand img.logo {
  height: 36px;
  width: auto;
}

.babu88-header .brand .brand-sep {
  width: 1px;
  height: 28px;
  background: #9a9da3;
}

.babu88-header .brand img.badge {
  height: 44px;
  width: auto;
}

.babu88-header .actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.babu88-btn {
  border: 0;
  border-radius: 10px;
  height: 42px;
  min-width: 104px;
  padding: 0 18px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.babu88-btn--login {
  background: var(--babu88-yellow);
  color: #111;
}

.babu88-btn--join {
  background: #1e88e5;
  color: #fff;
}

.babu88-flag-btn {
  min-width: 74px;
  height: 44px;
  border-radius: 22px;
  border: 0;
  background: #cfd1d5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  color: #424750;
}

.babu88-flag-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ebedf1;
}

.babu88-flag-icon.is-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.babu88-flag-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: block;
}

.babu88-flag-circle.flag-in {
  background: linear-gradient(to bottom, #ff9933 0 33%, #fff 33% 66%, #138808 66% 100%);
}

.babu88-flag-circle.flag-np {
  background: linear-gradient(145deg, #dc143c 0 55%, #1b51a6 55% 100%);
}

.babu88-flag-circle.flag-pk {
  background: linear-gradient(to right, #fff 0 25%, #01411c 25% 100%);
}

.babu88-locale-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  background: rgba(9, 11, 14, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.babu88-locale-modal {
  position: fixed;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -48%);
  width: min(96vw, 520px);
  max-height: min(80vh, 660px);
  overflow-y: auto;
  background: #efefef;
  border-radius: 4px;
  z-index: 10021;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.babu88-locale-open .babu88-locale-overlay {
  opacity: 1;
  pointer-events: all;
}

.babu88-locale-open .babu88-locale-modal {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%);
}

.babu88-locale-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #ceced1;
  margin-bottom: 12px;
}

.babu88-locale-head h4 {
  margin: 0;
  color: #33373f;
  font-size: 34px;
  font-weight: 800;
}

.babu88-locale-head button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #5a5f68;
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.babu88-locale-body {
  display: grid;
  gap: 8px;
}

.babu88-locale-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #dddddf;
  padding-bottom: 8px;
}

.babu88-locale-row:last-child {
  border-bottom: 0;
}

.babu88-currency-btn {
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid #d2d3d7;
  background: #f8f8f8;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  text-decoration: none;
  color: #7f848d;
  font-size: 24px;
  font-weight: 700;
}

.babu88-currency-btn.is-active {
  border-color: #e5d7a0;
  background: #f1e8c2;
  color: #8f8b7a;
}

.babu88-currency-flag {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.babu88-currency-flag.is-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.babu88-currency-code {
  white-space: nowrap;
}

.babu88-locale-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

.babu88-lang-btn {
  min-height: 46px;
  border-radius: 4px;
  border: 1px solid #d1d3d7;
  background: #f4f4f5;
  color: #a4a7ac;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.babu88-lang-btn.is-active {
  background: #efe4b2;
  border-color: #dbc980;
  color: #d2ab00;
}

.babu88-lang-btn.is-disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.babu88-header .menubar {
  background: #2f3136;
  padding: 0 16px;
}

.babu88-header .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  white-space: nowrap;
}

.babu88-header .menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  display: block;
  padding: 14px 14px 12px;
  border-bottom: 4px solid transparent;
}

.babu88-header .menu li a.active,
.babu88-header .menu li a:hover {
  border-bottom-color: var(--babu88-yellow);
  color: var(--babu88-yellow);
}

.babu88-mobile-head,
.babu88-mobile-overlay,
.babu88-mobile-drawer {
  display: none;
}

.babu88-home-wrap,
.babu88-games-wrap,
.babu88-deposit-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 14px 24px;
}

.babu88-hero {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #ccc center/cover no-repeat;
}

.babu88-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.babu88-ticker {
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid #3d4047;
  background: #2f3136;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.babu88-ticker-label {
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f3c300;
  font-size: 13px;
  font-weight: 800;
}

.babu88-ticker-window {
  overflow: hidden;
  width: 100%;
}

.babu88-ticker-track {
  width: max-content;
  display: inline-block;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  animation: babu88TickerMove 24s linear infinite;
}

@keyframes babu88TickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.babu88-quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.babu88-quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid #ced1d7;
  background: #fafafb;
  text-decoration: none;
  color: #1b1d21;
  padding: 10px;
}

.babu88-quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3c300;
  color: #1b1d21;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.babu88-quick-link strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.babu88-quick-link small {
  display: block;
  color: #70737a;
  font-size: 12px;
  line-height: 1.25;
}

.babu88-home-section {
  margin-bottom: 20px;
}

.babu88-home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.babu88-home-section-head a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #166ce0;
}

.babu88-section-title {
  font-size: 34px;
  line-height: 1.1;
  margin: 0;
  font-weight: 800;
}

.babu88-hot-grid,
.babu88-games-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.babu88-hot-grid .swiper-slide,
.babu88-games-grid .swiper-slide {
  width: auto !important;
  padding: 0 !important;
}

.babu88-hot-grid .game-card-img,
.babu88-games-grid .game-card-img {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #c7c8cb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.babu88-hot-grid .game-card-img img,
.babu88-games-grid .game-card-img img {
  width: 100% !important;
  aspect-ratio: 1 / 0.9;
  object-fit: cover !important;
}

.babu88-hot-card h3 {
  margin: 7px 0 0;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.babu88-empty-state {
  margin: 0;
  grid-column: 1 / -1;
  padding: 12px;
  border-radius: 10px;
  border: 1px dashed #bbc0c8;
  color: #646972;
  text-align: center;
}

.babu88-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.babu88-promo-card {
  background: #fff;
  border: 1px solid #d3d7df;
  border-radius: 12px;
  overflow: hidden;
}

.babu88-promo-media {
  display: block;
  aspect-ratio: 16 / 8;
  overflow: hidden;
}

.babu88-promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.babu88-promo-body {
  padding: 12px;
}

.babu88-promo-body h3 {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.babu88-promo-body p {
  margin: 0;
  font-size: 13px;
  color: #5f646d;
}

.babu88-promo-btn {
  margin-top: 10px;
  border-radius: 999px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #e3b600;
  background: #f3c300;
  color: #121212;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}

.babu88-activity-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
}

.babu88-stat-cards {
  display: grid;
  gap: 10px;
}

.babu88-stat-card {
  background: #fff;
  border: 1px solid #d3d7df;
  border-radius: 12px;
  padding: 14px;
}

.babu88-stat-card span {
  display: block;
  color: #6a6f78;
  font-size: 12px;
  margin-bottom: 4px;
}

.babu88-stat-card strong {
  display: block;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
}

.babu88-winners-card {
  background: #fff;
  border: 1px solid #d3d7df;
  border-radius: 12px;
  padding: 12px;
}

.babu88-winners-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.babu88-winners-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.babu88-winners-head a {
  color: #166ce0;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.babu88-winners-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.babu88-winners-list li {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid #ebedf1;
  font-size: 13px;
  color: #2e3238;
}

.babu88-winners-list li:last-child {
  border-bottom: 0;
}

.babu88-winners-list li span:last-child {
  color: #0f7f36;
  font-weight: 800;
}

.babu88-app {
  background: linear-gradient(145deg, #f4f5f7 0%, #e9ecf1 100%);
  border: 1px solid #d0d4dc;
  border-radius: 14px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: center;
}

.babu88-app h3 {
  font-size: 38px;
  line-height: 1.08;
  margin: 0 0 10px;
  font-weight: 800;
}

.babu88-app p {
  color: #5f646d;
  font-size: 16px;
  margin: 0 0 12px;
}

.babu88-app-features {
  margin: 0 0 14px;
  padding: 0 0 0 18px;
  color: #33363d;
  font-size: 14px;
}

.babu88-app-features li + li {
  margin-top: 6px;
}

.babu88-app .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.babu88-app .download-btn {
  min-height: 42px;
  border: 1px solid #c7cbd2;
  border-radius: 999px;
  background: #fff;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 800;
  color: #2f3136;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.babu88-app .download-btn.primary {
  background: var(--babu88-yellow);
  border-color: #deb200;
  color: #1a1a1a;
}

.babu88-app-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.babu88-app-tile {
  min-height: 130px;
  border-radius: 12px;
  background: #2f3136;
  color: #fff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.babu88-app-tile--primary {
  background: linear-gradient(145deg, #f3c300 0%, #cf9f00 100%);
  color: #1a1a1a;
}

.babu88-app-tile span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.babu88-app-tile strong {
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
}

.babu88-filters {
  background: #dcdde0;
  border-radius: 10px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}

.babu88-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e4b003;
  border-radius: 999px;
  background: #f6f6f7;
  color: #3f4248;
  font-size: 14px;
  font-weight: 700;
  min-height: 42px;
  padding: 0 10px;
  text-decoration: none;
}

.babu88-chip.active {
  background: var(--babu88-yellow);
  color: #111;
}

.babu88-games-tools {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 10px 0 12px;
}

.babu88-games-count {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid #cfd3da;
  background: #f8f9fb;
  color: #4a4d53;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
}

.babu88-select,
.babu88-search {
  border: 2px solid #b8bdc5;
  border-radius: 999px;
  min-height: 46px;
  background: #f8f8f8;
  padding: 0 16px;
  font-size: 16px;
  color: #444;
}

.babu88-select {
  width: 280px;
}

.babu88-search {
  width: 280px;
}

.babu88-pagination {
  display: flex;
  justify-content: center;
  margin: 14px 0 0;
}

.babu88-pagination .pagination {
  margin: 0;
  gap: 6px;
}

.babu88-pagination .page-link {
  min-width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid #c6c8ce;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-weight: 700;
  color: #2f3136;
  padding: 0 10px;
}

.babu88-pagination .page-link:focus {
  box-shadow: none;
}

.babu88-pagination .page-item.active .page-link {
  background: #2f3136;
  color: #fff;
  border-color: #2f3136;
}

.babu88-pagination .page-item.disabled .page-link {
  color: #8b9098;
  background: #f1f2f5;
  border-color: #d9dce1;
}

.babu88-game-title {
  margin: 8px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #30343b;
}

.babu88-footer {
  background: #1f2228;
  color: #d8dbe2;
  border-top: 1px solid #3f444e;
  padding: 30px 0 0;
  margin-top: 24px;
}

.babu88-footer .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 14px;
}

.babu88-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 22px;
  align-items: start;
}

.babu88-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
}

.babu88-footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(1.1);
}

.babu88-footer-desc {
  margin: 0 0 12px;
  max-width: 460px;
  font-size: 14px;
  line-height: 1.65;
  color: #afb4be;
}

.babu88-footer-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.babu88-footer-trust span {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #464b56;
  background: #2a2d33;
  color: #e2e4e9;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
}

.babu88-footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.babu88-footer-nav h5,
.babu88-footer-card h5 {
  margin: 0 0 10px;
  color: var(--babu88-yellow);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.babu88-footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.babu88-footer-nav li + li {
  margin-top: 6px;
}

.babu88-footer-nav a {
  color: #d1d4db;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.45;
}

.babu88-footer-nav a:hover {
  color: #fff;
}

.babu88-footer-meta {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #3b404a;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
}

.babu88-footer-card {
  background: #2a2d33;
  border: 1px solid #3f444e;
  border-radius: 12px;
  padding: 12px;
}

.babu88-footer-card img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  opacity: 0.92;
}

.babu88-footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.babu88-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #4a4f59;
  background: #343943;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
}

.babu88-footer-social a:hover {
  background: var(--babu88-yellow);
  border-color: var(--babu88-yellow);
  color: #151515;
}

.babu88-footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #343942;
  background: #171a1f;
  padding: 14px 0;
}

.babu88-footer-bottom .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.babu88-footer-bottom p {
  margin: 0;
  color: #aab0ba;
  font-size: 13px;
  line-height: 1.45;
}

.babu88-deposit-shell {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 14px;
}

.babu88-panel {
  background: #fff;
  border: 1px solid #cfd2d7;
  border-radius: 14px;
  padding: 14px;
}

.babu88-wallet-card {
  background: #f2f3f5;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #e2e4e8;
}

.babu88-gateways {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0;
}

.babu88-gateway {
  border: 3px solid #b8bbc1;
  border-radius: 16px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fafafa;
}

.babu88-gateway.active {
  border-color: var(--babu88-yellow);
  background: #fffefa;
}

.babu88-gateway img {
  max-width: 70px;
  max-height: 38px;
}

.babu88-channel-list,
.babu88-amount-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 14px;
}

.babu88-pill {
  border: 2px solid #6a6f79;
  border-radius: 6px;
  min-height: 38px;
  background: #fff;
  font-weight: 800;
  color: #2f3136;
  min-width: 96px;
  padding: 0 12px;
}

.babu88-pill.active,
.babu88-amount-btn.active {
  background: var(--babu88-yellow);
  border-color: #d8ac00;
}

.babu88-amount-btn {
  border: 0;
  background: #e4e5e8;
  border-radius: 6px;
  min-height: 40px;
  min-width: 120px;
  font-weight: 800;
}

.babu88-input,
.babu88-select-input {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid #babdc5;
  background: #f9f9fa;
  padding: 0 14px;
  font-size: 26px;
  margin-bottom: 12px;
}

.babu88-select-input {
  font-size: 18px;
}

.babu88-submit {
  width: 100%;
  min-height: 50px;
  border-radius: 999px;
  border: 0;
  background: #1992f3;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.babu88-mobile-only {
  display: none;
}

.babu88-auth-page {
  min-height: 100vh;
  background: radial-gradient(circle at top right, #40434a 0, #2c2f35 42%, #1f2125 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 14px;
}

.babu88-auth-shell {
  width: 100%;
  max-width: 460px;
}

.babu88-auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.babu88-auth-brand img {
  height: 46px;
  width: auto;
}

.babu88-auth-card {
  background: #f2f3f5;
  border: 1px solid #d8dbe0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.babu88-auth-card h1 {
  font-size: 30px;
  margin: 0 0 6px;
  font-weight: 800;
}

.babu88-auth-card p {
  color: #6f747c;
  margin-bottom: 16px;
}

.babu88-auth-form {
  display: grid;
  gap: 10px;
}

.babu88-auth-form label {
  font-size: 13px;
  color: #4c5057;
  font-weight: 700;
  margin: 0;
}

.babu88-auth-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #bec2ca;
  border-radius: 10px;
  background: #fff;
  padding: 0 12px;
}

.babu88-password-wrap {
  position: relative;
}

.babu88-password-wrap input {
  padding-right: 42px;
}

.babu88-pass-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #70757d;
  font-size: 18px;
}

.babu88-auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.babu88-auth-row a {
  color: #1557d6;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.babu88-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4e535b;
  margin: 0;
}

.babu88-check input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
}

.babu88-check a {
  color: #1557d6;
  text-decoration: none;
}

.babu88-auth-submit {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--babu88-yellow);
  color: #131313;
  font-size: 16px;
  font-weight: 800;
  margin-top: 4px;
}

.babu88-auth-footer {
  margin-top: 14px;
  border-top: 1px solid #dde0e5;
  padding-top: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
}

.babu88-auth-footer a {
  font-weight: 800;
  color: #1557d6;
  text-decoration: none;
}

.babu88-user-page {
  padding-bottom: 70px;
}

.babu88-user-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.babu88-user-top-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.babu88-user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #2f3136;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.babu88-user-top h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
}

.babu88-user-top p {
  margin: 0;
  font-size: 12px;
  color: #6f737a;
}

.babu88-user-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.babu88-balance-pill {
  min-height: 42px;
  border-radius: 999px;
  background: #eaedf1;
  border: 1px solid #d3d7de;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-weight: 800;
}

.babu88-user-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.babu88-user-nav a {
  border-radius: 999px;
  border: 1px solid #d0d3da;
  background: #f5f6f8;
  color: #2b2d31;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
}

.babu88-user-nav a.active {
  background: var(--babu88-yellow);
  border-color: #d8ac00;
  color: #111;
}

.babu88-user-shell {
  padding-top: 116px;
  padding-bottom: 70px;
}

.babu88-user-shell-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 14px 24px;
}

.babu88-user-shell-content .container[style*="padding-top"],
.babu88-user-shell-content .container-fluid[style*="padding-top"],
.babu88-user-shell-content .promotion-page-wrapper,
.babu88-user-shell-content .category-wrapper {
  padding-top: 10px !important;
}

.babu88-user-shell-content .login-header {
  display: none !important;
}

.babu88-user-layout {
  display: grid;
  grid-template-columns: 250px 1fr 260px;
  gap: 12px;
}

.babu88-user-left h3,
.babu88-user-right h3,
.babu88-account-menu h3 {
  font-size: 21px;
  margin: 0 0 10px;
  font-weight: 800;
}

.babu88-wallet-card .amount {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 800;
}

.babu88-user-side-link {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  border-radius: 999px;
  text-decoration: none;
  color: #101010;
  background: var(--babu88-yellow);
  font-weight: 800;
}

.babu88-carousel-inner img {
  border-radius: 10px;
  max-height: 310px;
  object-fit: cover;
}

.babu88-user-actions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin: 10px 0 8px;
}

.babu88-user-actions a {
  border-radius: 999px;
  border: 1px solid #d2d5dc;
  padding: 7px 14px;
  background: #fff;
  color: #2c2f33;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.babu88-user-actions a.active {
  background: var(--babu88-yellow);
  border-color: #d1a700;
}

.babu88-user-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 16px;
}

.babu88-user-stat {
  background: #fff;
  border: 1px solid #d4d8df;
  border-radius: 10px;
  padding: 12px;
}

.babu88-user-stat span {
  display: block;
  color: #767b84;
  font-size: 12px;
  margin-bottom: 4px;
}

.babu88-user-stat strong {
  font-size: 17px;
}

.babu88-user-right ol {
  padding-left: 18px;
  margin: 0;
  color: #40444b;
  font-size: 13px;
  line-height: 1.45;
}

.babu88-account-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 12px;
}

.babu88-account-summary {
  text-align: center;
}

.babu88-account-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #2f3136;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.babu88-account-summary h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.babu88-account-summary p {
  color: #727780;
  margin-bottom: 10px;
}

.babu88-account-actions {
  display: flex;
  gap: 8px;
}

.babu88-account-actions .babu88-btn {
  flex: 1;
  min-width: 0;
}

.babu88-account-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.babu88-account-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid #d2d6de;
  border-radius: 10px;
  text-decoration: none;
  color: #30343b;
  font-weight: 700;
  padding: 0 10px;
}

.babu88-account-links a i:last-child {
  margin-left: auto;
  color: #8b9098;
}

.babu88-mobile-bottom-nav {
  display: none;
}

@media (max-width: 991px) {
  .babu88-page,
  .babu88-home,
  .babu88-games,
  .babu88-deposit {
    padding-top: 66px;
    padding-bottom: 74px;
  }

  .babu88-header .topbar,
  .babu88-header .menubar {
    display: none;
  }

  .babu88-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #efefef;
    height: 66px;
    padding: 0 10px;
    border-bottom: 1px solid #d9dade;
  }

  .babu88-mobile-head .left,
  .babu88-mobile-head .right {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .babu88-mobile-head .menu-btn {
    border: 0;
    background: transparent;
    font-size: 24px;
    color: #666;
  }

  .babu88-mobile-head img.logo {
    height: 30px;
  }

  .babu88-mobile-head .icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2f3136;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
  }

  .babu88-locale-modal {
    width: min(96vw, 430px);
    padding: 14px;
  }

  .babu88-locale-head h4 {
    font-size: 22px;
  }

  .babu88-locale-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .babu88-currency-btn {
    min-height: 40px;
    font-size: 15px;
  }

  .babu88-currency-flag {
    width: 28px;
    height: 28px;
  }

  .babu88-lang-btn {
    min-height: 40px;
    font-size: 12px;
  }

  .babu88-mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
    z-index: 10000;
  }

  .babu88-mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 82%;
    max-width: 330px;
    height: 100vh;
    overflow-y: auto;
    background: #f2f2f2;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 10001;
    padding: 12px;
  }

  body.babu88-drawer-open .babu88-mobile-overlay {
    opacity: 1;
    pointer-events: all;
  }

  body.babu88-drawer-open .babu88-mobile-drawer {
    transform: translateX(0);
  }

  .babu88-mobile-drawer .menu-group-title {
    font-size: 15px;
    color: #7b7f86;
    margin: 14px 0 6px;
    font-weight: 700;
  }

  .babu88-mobile-drawer a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #414349;
    text-decoration: none;
    padding: 9px 6px;
    border-bottom: 1px solid #dcdde0;
    font-size: 14px;
    font-weight: 600;
  }

  .babu88-mobile-drawer a.active {
    color: #1f232a;
    background: rgba(243, 195, 0, 0.2);
    border-radius: 8px;
    border-bottom-color: transparent;
  }

  .babu88-mobile-drawer a.active i {
    color: #1f232a;
  }

  .babu88-mobile-drawer a i {
    color: #60636b;
  }

  .babu88-home-wrap,
  .babu88-games-wrap,
  .babu88-deposit-wrap {
    padding: 8px 6px 16px;
  }

  .babu88-hero {
    border-radius: 10px;
    margin-bottom: 8px;
  }

  .babu88-ticker {
    margin-bottom: 10px;
    padding: 8px;
  }

  .babu88-section-title {
    font-size: 26px;
  }

  .babu88-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .babu88-quick-link {
    padding: 8px;
    border-radius: 10px;
  }

  .babu88-quick-icon {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .babu88-quick-link strong {
    font-size: 13px;
  }

  .babu88-quick-link small {
    font-size: 11px;
  }

  .babu88-hot-grid,
  .babu88-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .babu88-hot-grid .game-card-img,
  .babu88-games-grid .game-card-img {
    border-radius: 8px;
  }

  .babu88-hot-card h3 {
    font-size: 11px;
  }

  .babu88-promo-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .babu88-activity-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .babu88-winners-list li {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px 0;
  }

  .babu88-app {
    grid-template-columns: 1fr;
    padding: 12px 10px;
    border-radius: 10px;
  }

  .babu88-app h3 {
    font-size: 24px;
  }

  .babu88-app p {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .babu88-app-features {
    font-size: 13px;
  }

  .babu88-app .download-btn {
    min-height: 38px;
    font-size: 13px;
    padding: 0 12px;
    border-radius: 8px;
  }

  .babu88-app-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .babu88-app-tile {
    min-height: 90px;
    padding: 8px;
    border-radius: 8px;
  }

  .babu88-app-tile strong {
    font-size: 14px;
  }

  .babu88-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
  }

  .babu88-chip {
    min-height: 36px;
    font-size: 12px;
  }

  .babu88-games-tools {
    flex-direction: column;
    gap: 8px;
  }

  .babu88-select,
  .babu88-search {
    width: 100%;
    min-height: 40px;
    font-size: 14px;
  }

  .babu88-footer {
    margin-top: 12px;
    padding-top: 18px;
  }

  .babu88-footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .babu88-footer-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .babu88-footer-meta {
    grid-template-columns: 1fr;
    margin-top: 14px;
    padding-top: 14px;
  }

  .babu88-footer-bottom .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .babu88-footer-bottom p {
    font-size: 12px;
  }

  .babu88-deposit-shell {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .babu88-gateways {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .babu88-input {
    font-size: 18px;
  }

  .babu88-submit {
    font-size: 18px;
    min-height: 44px;
  }

  .babu88-mobile-only {
    display: block;
  }

  .babu88-auth-page {
    padding: 12px;
  }

  .babu88-auth-card {
    border-radius: 12px;
    padding: 14px;
  }

  .babu88-auth-card h1 {
    font-size: 22px;
  }

  .babu88-user-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .babu88-user-top-right {
    width: 100%;
    flex-wrap: wrap;
  }

  .babu88-user-layout,
  .babu88-account-shell {
    grid-template-columns: 1fr;
  }

  .babu88-user-shell {
    padding-top: 66px;
    padding-bottom: 74px;
  }

  .babu88-user-shell-content {
    padding: 0 6px 16px;
  }

  .babu88-user-stats-grid {
    grid-template-columns: 1fr;
  }

  .babu88-account-links {
    grid-template-columns: 1fr;
  }

  .babu88-mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: #2f3136;
    border-top: 1px solid #4a4d53;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 58px;
  }

  .babu88-mobile-bottom-nav a {
    color: #cfd2d7;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
  }

  .babu88-mobile-bottom-nav a i {
    font-size: 18px;
  }

  .babu88-mobile-bottom-nav a.active {
    color: var(--babu88-yellow);
  }
}

@media (max-width: 575px) {
  .babu88-footer-nav-grid {
    grid-template-columns: 1fr;
  }

  .babu88-footer-desc {
    font-size: 13px;
  }
}
