/* ==========================================================================
   BONZAAU MOBILE STYLES - 1:1 REPLICA
   ========================================================================== */

:root {
  --primary-blue: #0088ff;
  --cyan-glow: #00d2ff;
  --bg-dark: #000c1e;
  --card-bg: #011432;
  --gold-text: #ffb400;
  --gold-jackpot: #ffcc00;
  --text-white: #ffffff;
  --text-dim: #9bbad9;
  --border-neon: #0066cc;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: #030811;
  color: var(--text-white);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

/* App Container - Centered max-width 390px, 100% on phone */
.app-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #000918;
  position: relative;
  box-shadow: 0 0 35px rgba(0, 100, 255, 0.25);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ==========================================================================
   1. HEADER SECTION
   ========================================================================== */
.app-header {
  width: 100%;
  height: 48px;
  background: url('assets/header_bg.png') no-repeat center center;
  background-size: 100% 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
}

/* Header Left: Menu button */
.header-left {
  flex: 0 0 36px;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 3px;
}

.menu-badge {
  position: absolute;
  top: -8px;
  left: 4px;
  background: #00cf49;
  color: #ffffff;
  font-size: 8px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 207, 73, 0.8);
  letter-spacing: 0.2px;
  pointer-events: none;
}

.hamburger-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 19px;
  height: 14px;
  padding: 0;
}

.hamburger-btn .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.8);
}

/* Header Center: Logo */
.header-center {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 4px;
}

.header-logo {
  height: 28px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(0, 150, 255, 0.4));
}

/* Header Right: Partner badge */
.header-right {
  flex: 0 0 68px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
}

.header-partner {
  height: 25px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
}

/* ==========================================================================
   2. ANNOUNCEMENT MARQUEE
   ========================================================================== */
.announcement-bar {
  background-color: #00122e;
  border-bottom: 1px solid rgba(0, 136, 255, 0.3);
  overflow: hidden;
  height: 25px;
  display: flex;
  align-items: center;
}

.announcement-content {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 11px;
  min-width: 0;
}

.announcement-title {
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
  padding: 0 8px 0 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
  background-color: #00122e;
  flex: 0 0 auto;
}

.marquee-wrapper {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  padding-left: 100%;
  animation: marqueeScroll 22s linear infinite;
  color: #ffda6a;
  font-weight: 500;
  letter-spacing: 0.3px;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   MAIN CONTENT WRAPPER
   ========================================================================== */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 0 20px 0;
}

/* ==========================================================================
   3. BANNER SLIDER SECTION
   ========================================================================== */
.banner-slider-section {
  width: 100%;
  position: relative;
  background: #000;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1000 / 600;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dots indicator */
.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-dots .dot.active {
  background-color: #ffffff;
  width: 8px;
  height: 8px;
  box-shadow: 0 0 6px #fff;
}

/* Accent yellow line at bottom-left */
.slider-accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 65px;
  height: 3px;
  background: #ffcc00;
  box-shadow: 0 0 6px #ffcc00;
  z-index: 5;
}

/* ==========================================================================
   4. BELOW BANNER SECTION (PAYMENT METHOD)
   ========================================================================== */
.below-banner-section {
  padding: 0 6px;
}

.payment-card {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 140, 255, 0.25);
}

.payment-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ==========================================================================
   5. PROGRESSIVE JACKPOT SECTION
   ========================================================================== */
.jackpot-section {
  padding: 0 6px;
}

.jackpot-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 170, 255, 0.3);
}

.jackpot-bg-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Right Side Animated Counter */
.jackpot-counter {
  position: absolute;
  right: 2.5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 1px;
  z-index: 5;
}

.digit-box {
  background: #ffffff;
  border: 1.5px solid #ffcc00;
  border-radius: 3px;
  color: #000000;
  font-family: 'Roboto', 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: 11.5px;
  width: 12px;
  min-width: 12px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 0 3px rgba(255, 204, 0, 0.6);
  transition: transform 0.15s ease, background 0.15s ease;
}

.digit-box.bump {
  transform: scale(1.15);
  background: #fff8d6;
}

.jackpot-counter .symbol {
  color: #ffcc00;
  font-family: 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  margin: 0 0.5px;
  text-shadow: 0 0 3px rgba(255, 204, 0, 0.8);
}

/* ==========================================================================
   6. LIVE TRANSACTION SECTION (1:1 REPLICA)
   ========================================================================== */
.live-transaction-section {
  padding: 0 6px;
}

.live-table-container {
  width: 100%;
  background: #001026;
  border: 1.5px solid #0088ff;
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(0, 136, 255, 0.45);
  overflow: hidden;
}

/* Table Title Bar */
.table-main-header {
  background: #00122e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  border-bottom: 1.2px solid #0088ff;
}

.table-main-header .title-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(0, 136, 255, 0.6);
}

.live-status-badge {
  background: #ff0000;
  color: #ffffff;
  font-weight: 900;
  font-size: 9px;
  letter-spacing: 0.5px;
  padding: 1.5px 5px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.7);
}

.live-dot {
  font-size: 8px;
  color: #ffffff;
  animation: livePulse 1s infinite alternate;
}

@keyframes livePulse {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.25; transform: scale(0.7); }
}

/* Table Category Header */
.table-columns-header {
  display: flex;
  width: 100%;
  border-bottom: 1.2px solid #0077dd;
}

.col-header {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
  padding: 3.5px 6px;
}

.deposit-hdr {
  width: 44%;
  background: linear-gradient(90deg, #1822ff 0%, #5d22ff 100%);
}

.withdraw-hdr {
  width: 56%;
  background: linear-gradient(90deg, #112036 0%, #203554 100%);
  border-left: 1px solid #0088ff;
}

/* Table Rows */
.table-body {
  display: flex;
  flex-direction: column;
}

.tx-row {
  display: flex;
  width: 100%;
  border-bottom: 1px solid #005bb5;
  background-color: #00122c;
  height: 23px;
  align-items: stretch;
  transition: background-color 0.3s ease;
}

.tx-row:nth-child(even) {
  background-color: #001636;
}

.tx-cell {
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  border-right: 1px solid #0066cc;
}

.tx-cell:last-child {
  border-right: none;
}

/* Deposit Cells */
.dep-user {
  width: 23%;
  color: #e5f0ff;
  font-weight: 700;
  padding-left: 5px;
}

.dep-amt {
  width: 21%;
  color: var(--gold-text);
  font-weight: 800;
  justify-content: flex-end;
  padding-right: 5px;
  border-right: 1.2px solid #0088ff;
}

/* Withdraw Cells */
.wth-user {
  width: 23%;
  color: #e5f0ff;
  font-weight: 700;
  padding-left: 5px;
}

.wth-amt {
  width: 23%;
  color: var(--gold-text);
  font-weight: 800;
  justify-content: flex-end;
  padding-right: 4px;
}

.wth-tag {
  width: 10%;
  color: #ffffff;
  font-weight: 800;
  justify-content: flex-end;
  padding-right: 5px;
  font-size: 9.5px;
}

/* ==========================================================================
   7. LOGIN & ACCOUNT SECTION (1:1 REPLICA)
   ========================================================================== */
.login-account-section {
  padding: 0 6px;
}

.login-card-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 14px rgba(0, 140, 255, 0.35);
}

.login-card-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* Card Interactive Content Overlay */
.login-card-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 6px 8px 8px 8px;
}

/* Top Buttons: LOGIN & REGISTER */
.card-top-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  height: 29%;
  align-items: center;
  padding: 0 6px;
}

.action-btn-img {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.action-btn-img:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

.action-btn-img:active {
  transform: scale(0.96);
}

.action-btn-img img {
  width: 100%;
  max-height: 32px;
  object-fit: contain;
  display: block;
}

/* Bottom Grid: Left Balance + Right 3 Buttons */
.card-bottom-grid {
  display: flex;
  height: 71%;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 0 2px;
}

/* Left Balance Column */
.balance-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding-left: 6px;
}

.info-label {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.info-balance {
  font-size: 19px;
  font-weight: 900;
  color: var(--gold-text);
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(255, 180, 0, 0.5);
  margin: 1px 0 2px 0;
  transition: transform 0.3s ease;
}

.info-rule {
  font-size: 10px;
  font-weight: 500;
  color: #ffffff;
  opacity: 0.95;
  letter-spacing: 0.2px;
  line-height: 1.3;
}

/* Right Actions Stack Column */
.actions-stack-col {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  align-items: flex-end;
  padding-right: 4px;
}

.stack-btn-img {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 100%;
  max-width: 120px;
  display: flex;
  justify-content: flex-end;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.stack-btn-img:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

.stack-btn-img:active {
  transform: scale(0.96);
}

.stack-btn-img img {
  width: 100%;
  max-height: 27px;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   8. SHARE SECTION (1:1 REPLICA)
   ========================================================================== */
.share-section {
  padding: 0 6px;
}

.share-card-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 14px rgba(0, 140, 255, 0.35);
}

.share-card-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* 4 Buttons Grid (2x2) positioned at bottom of share card */
.share-buttons-grid {
  position: absolute;
  bottom: 4.5%;
  left: 4.5%;
  right: 4.5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
  z-index: 5;
}

.share-grid-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.share-grid-btn:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

.share-grid-btn:active {
  transform: scale(0.96);
}

.share-grid-btn img {
  width: 100%;
  max-height: 31px;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   9. PARTNERSHIP SECTION (1:1 REPLICA)
   ========================================================================== */
.partnership-section {
  padding: 0 6px;
}

.partnership-card-wrapper {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 14px rgba(0, 140, 255, 0.3);
}

.partnership-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* ==========================================================================
   10. GAME CATEGORY TABS (1:1 REPLICA)
   ========================================================================== */
.game-categories-section {
  padding: 8px 6px 4px 6px;
}

.tabs-nav-container {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  position: relative;
}

.cat-nav-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2b313a;
  color: #c4dcfa;
  border: 1px solid #444d5c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  transition: background 0.15s, transform 0.1s;
}

.cat-nav-btn:hover {
  background: #3b4452;
  color: #ffffff;
}

.cat-nav-btn:active {
  transform: scale(0.92);
}

.tabs-track-wrapper {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  gap: 3px;
  align-items: center;
}

.tabs-track-wrapper::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex: 1 0 calc(25% - 3px);
  max-width: 80px;
  cursor: pointer;
  transition: transform 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-tab:hover {
  transform: translateY(-1px);
}

.category-tab:active {
  transform: scale(0.96);
}

.category-tab img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.category-bottom-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0088ff 0%, #00d2ff 50%, #0088ff 100%);
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.7);
  margin-top: 6px;
}

/* ==========================================================================
   11. GAME CARDS GRID (1:1 REPLICA)
   ========================================================================== */
.games-grid-section {
  padding: 8px 6px 14px 6px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 6px;
  width: 100%;
}

.game-card {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.2s ease, filter 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.12);
}

.game-card:active {
  transform: scale(0.95);
}

.game-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

/* ==========================================================================
   11.5 PROMOTIONS (SWIPER CAROUSEL)
   ========================================================================== */
.promotions-section {
  width: 100%;
  padding: 0 10px 15px 10px;
  box-sizing: border-box;
}

.swiper {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.linear-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
  height: auto !important;
}

.swiper-slide {
  height: auto !important;
  flex-shrink: 0;
}

.game-banners2 {
  position: relative;
  display: flex;
}

.game-banner2 {
  position: relative;
  z-index: 1;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.game-banner2 img {
  width: 100%;
  display: block;
}

.game-banner2-buttonGroup {
  margin-top: -10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: linear-gradient(to bottom, #101010, #2f2f2f);
  display: flex;
  padding: 10% 0% 5% 0%;
  align-content: center;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.game-banner2-buttonGroup img {
  width: 50%;
}

/* ==========================================================================
   11.6 FLOATING ACTION ICONS (1:1 MATCH TO USER SCREENSHOT)
   ========================================================================== */
.icon-container,
.icon-container2 {
  animation: movemove 20s infinite ease-in-out;
  z-index: 9999;
}

.icon-container {
  position: fixed;
  right: 0px;
  bottom: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.icon-container a {
  display: block;
  margin-bottom: 12px;
  text-decoration: none;
}

.icon-container2 {
  position: fixed;
  left: 0px;
  bottom: 190px;
}

.icon-container2 a {
  display: block;
  text-decoration: none;
}

@keyframes movemove {
  0% {
    transform: translateY(40px);
  }
  50% {
    transform: translateY(-40px);
  }
  100% {
    transform: translateY(40px);
  }
}

.icon-container .icon-bonza {
  width: 82px;
  height: auto;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7));
}

.icon-container .icon-slotuna {
  width: 86px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
}

.icon-container2 .icon-plinko {
  width: 78px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
}

@media (min-width: 480px) {
  .icon-container {
    right: calc(50% - 240px);
  }
  .icon-container2 {
    left: calc(50% - 240px);
  }
}

/* ==========================================================================
   12. FOOTER SECTION (1:1 PIXEL-PERFECT MATCH TO USER SCREENSHOT)
   ========================================================================== */
#home .footer {
  width: 92%;
  margin: 30px auto 0 auto;
  padding-top: 25px;
  position: relative;
  border-top: 1px solid #ffffff;
  color: #ffffff;
}

#home .footer p {
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  white-space: nowrap;
  font-family: 'Roboto', sans-serif;
}

/* Row 1: License + Description & Copyright */
.footer-row-license {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

#home .footer .license {
  flex: 0 0 92px;
  display: flex;
  flex-direction: column;
}

#home .footer .license .license-img {
  width: 70px;
  height: auto;
  margin-top: 6px;
  display: block;
}

#home .game {
  flex: 1;
  text-align: left;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.game-text {
  font-size: 8.8px;
  line-height: 1.35;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.1px;
}

#home .copyright {
  text-align: left;
  font-size: 8.8px;
  color: #ffffff;
  font-weight: 600;
  margin-top: 5px;
  letter-spacing: 0.1px;
}

/* Row 2: Certifications */
#home .footer .certification {
  width: 100%;
  margin-bottom: 22px;
}

#home .footer .certification .cert-img {
  width: 62%;
  max-width: 220px;
  height: auto;
  margin-top: 6px;
  display: block;
}

/* Row 3: Payment Methods & Responsible Gaming */
.footer-row-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 35px;
}

#home .footer .payment {
  flex: 1.1;
  display: flex;
  flex-direction: column;
}

.cimg {
  display: flex;
  flex-direction: row;
  gap: 5px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 4px;
}

#home .footer .payment img {
  width: 25px;
  height: 25px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}

#home .footer .responsible {
  flex: 0.9;
  display: flex;
  flex-direction: column;
}

#home .footer .responsible .resp-img {
  height: 22px;
  width: auto;
  max-width: 110px;
  margin-top: 6px;
  display: block;
  object-fit: contain;
}

/* ==========================================================================
   13. FIXED BOTTOM NAVIGATION BAR (1:1 REPLICA)
   ========================================================================== */
.bottom-nav-spacer {
  height: 60px;
  width: 100%;
}

.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 54px;
  background: url('assets/bottom_nav/bottom_bg.png') no-repeat center center;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 950;
  box-shadow: 0 -2px 14px rgba(0, 136, 255, 0.4);
  border-top: 1px solid rgba(0, 180, 255, 0.4);
}

.bottom-nav-item {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  padding-bottom: 2px;
}

.bottom-nav-item:hover, .bottom-nav-item.active {
  filter: brightness(1.2) drop-shadow(0 0 5px rgba(0, 210, 255, 0.8));
}

.bottom-nav-item:active {
  transform: scale(0.92);
}

.bottom-nav-item img {
  height: 44px;
  width: auto;
  max-width: 88%;
  object-fit: contain;
}

.bottom-nav-item .nav-bonus-img {
  height: 48px;
  width: auto;
  max-width: 95%;
  object-fit: contain;
}

.nav-badge {
  position: absolute;
  top: 3px;
  right: 20%;
  background: #ff0000;
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 900;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 6px rgba(255, 0, 0, 0.8);
  pointer-events: none;
  z-index: 2;
  animation: badgePulse 1.5s infinite alternate;
}

@keyframes badgePulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); box-shadow: 0 0 8px #ff0000; }
}

/* ==========================================================================
   14. OFFICIAL SIDENAV STYLES (USER SPECIFIED)
   ========================================================================== */
:root {
  --text-color: #ffffff;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidenav {
  height: 100%;
  width: 250px;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: -250px;
  background: #002e60;
  overflow-x: hidden;
  overflow-y: auto;
  transition: left 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding-top: 12px;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.6);
}

.sidenav.active {
  left: 0 !important;
}

.mybox {
  color: var(--text-color);
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  flex-direction: column;
}

.mybox-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 4px 6px 4px;
}

.myboxTopLogo {
  height: 34px;
  margin: 0;
  object-fit: contain;
}

.sidenav .closebtn {
  color: var(--text-color);
  font-size: 28px;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  padding: 0 6px;
  transition: color 0.2s;
}

.sidenav .closebtn:hover {
  color: #62a1d6;
}

.sidenav a,
.dropdown-btn,
.nav-btn {
  text-decoration: none;
  font-size: 13px;
  color: var(--text-color);
  display: flex;
  gap: 10px;
  flex-direction: row;
  align-items: center;
  font-family: sans-serif;
  font-weight: 700;
  font-style: normal;
  padding: 5px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.myboxlogo {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

.sidenav a:hover {
  color: #002e60;
  background-color: #e6f7ff;
  border-radius: 8px;
}

.hr-style {
  border: none;
  border-top: 1px solid #62a1d6;
  margin: 8px 0;
  opacity: 0.5;
}

.MiniGame span {
  font-size: 7px;
  position: absolute;
  right: 15px;
  background: #70e000;
  padding: 2px;
  border-radius: 6px;
  color: black;
  animation: bounce 1s infinite;
}

/* ==========================================================================
   9. MODALS (LOGIN / REGISTER)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #011530;
  border: 2px solid var(--primary-blue);
  border-radius: 12px;
  width: 100%;
  max-width: 380px;
  padding: 20px;
  box-shadow: 0 0 25px rgba(0, 136, 255, 0.5);
  transform: scale(0.92);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 136, 255, 0.3);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.modal-header h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.modal-close {
  background: transparent;
  border: none;
  color: #9bbad9;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  color: #bcd5f5;
  font-weight: 600;
}

.form-group input {
  background: #000c1e;
  border: 1px solid #004488;
  border-radius: 6px;
  padding: 10px 12px;
  color: #fff;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--cyan-glow);
  box-shadow: 0 0 6px rgba(0, 210, 255, 0.3);
}

.phone-input-group {
  display: flex;
  align-items: center;
  background: #000c1e;
  border: 1px solid #004488;
  border-radius: 6px;
  overflow: hidden;
}

.phone-prefix {
  padding: 10px 12px;
  background: #001e44;
  color: var(--gold-text);
  font-weight: 700;
  font-size: 13px;
  border-right: 1px solid #004488;
}

.phone-input-group input {
  border: none;
  background: transparent;
  flex: 1;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: #9bbad9;
}

.form-options a {
  color: var(--cyan-glow);
  text-decoration: none;
}

.modal-submit-btn {
  background: linear-gradient(90deg, #0066cc, #0099ff);
  border: none;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 0;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(0, 136, 255, 0.5);
  transition: opacity 0.2s;
}

.modal-submit-btn:hover {
  opacity: 0.9;
}

.modal-submit-btn.register-submit {
  background: linear-gradient(90deg, #e65100, #ff8f00);
  box-shadow: 0 0 10px rgba(255, 143, 0, 0.5);
}

/* Downline stats modal styles */
.downline-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.stat-card {
  background: #000c1e;
  border: 1px solid #004488;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.stat-num {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.stat-num.gold {
  color: var(--gold-text);
}

.stat-lbl {
  font-size: 10.5px;
  color: #9bbad9;
  margin-top: 4px;
}

.downline-tier-info {
  background: #000e24;
  border: 1px solid rgba(0, 136, 255, 0.25);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 11.5px;
}

.tier-row {
  display: flex;
  justify-content: space-between;
  color: #c4dcfa;
}

.tier-row strong {
  color: #ffcc00;
}

/* ==========================================================================
   10. TOAST NOTIFICATION
   ========================================================================== */
.toast-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: #001f4d;
  color: #ffcc00;
  border: 1px solid #0088ff;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(0, 136, 255, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 2000;
}

.toast-popup.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive adjustment for extra-small phone screens */
@media (max-width: 360px) {
  .digit-box {
    min-width: 13px;
    height: 20px;
    font-size: 11.5px;
    border-width: 1.5px;
  }
  .jackpot-counter .symbol {
    font-size: 13px;
  }
  .info-balance {
    font-size: 19px;
  }
  .info-rule {
    font-size: 10px;
  }
}
