* {
  box-sizing: border-box;
}

:root {
  --bg-main: #062815;
  --panel-main: #0f4527;
  --panel-soft: #152118;
  --panel-card: #191a1f;
  --text-gold: #f2dc58;
  --text-soft: #d8e3d9;
  --line-soft: #325741;
  --grad-green: linear-gradient(180deg, #2fe06f 0%, #0f963f 100%);
  --grad-shell: linear-gradient(180deg, #0f4527 0%, #0b3e24 40%, #072e1a 100%);
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: 'Hind Siliguri', sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(33, 121, 74, 0.35), transparent 42%),
    radial-gradient(circle at 90% 5%, rgba(56, 158, 94, 0.3), transparent 35%),
    #05160d;
  color: #fff;
}

.page-bg {
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.app-shell {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background: var(--grad-shell);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  overflow: visible;
}

.section-shell {
  position: relative;
}

.download-strip {
  background: linear-gradient(180deg, #0d2a1b 0%, #112f1f 100%);
  border-bottom: 1px solid #18412c;
}

.download-btn {
  border: 0;
  border-radius: 999px;
  color: #ecffef;
  background: var(--grad-green);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.top-control-bar {
  background: linear-gradient(180deg, #0d4b2b 0%, #0f472b 100%);
  overflow: hidden;
}

.app-home .top-control-bar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 54px;
  width: 100%;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 5;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 350ms ease;
}

.slider-item {
  flex: 0 0 100%;
  height: 100%;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  color: #fff;
  background: rgba(6, 22, 13, 0.6);
  font-size: 12px;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: transparent;
}

.slider-dot.is-active {
  background: #fff;
}

.notice-strip {
  background: #143025;
  border-top: 1px solid #1b4d34;
  border-bottom: 1px solid #1b4d34;
}

.quick-actions {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.2fr;
  gap: 6px;
  align-items: center;
}
.quick-actions2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 6px;
  align-items: center;
}

.pill-btn {
  display: block;
  text-align: center;
  border-radius: 999px;
  color: #ebfce8;
  background: var(--grad-green);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  padding: 8px 10px;
}
.pill-btn-index {
  display: block;
  text-align: center;
  border-radius: 999px;
  color: #ebfce8;
  background: var(--grad-green);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.2;
  padding: 4px 5px;
}

.quick-icon-item {
  display: block;
  text-align: center;
  color: var(--text-gold);
  text-decoration: none;
  font-size: 19px;
  line-height: 1.1;
}

.quick-icon-item i {
  display: block;
  font-size: 30px;
  margin-bottom: 4px;
}

.game-area {
  display: flex;
  gap: 2px;
}

.category-rail {
  width: 96px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-pill {
  width: 100%;
  border: none;
  background: linear-gradient(180deg, #139755 0%, #0e6039 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #33aa6f;
  gap: 2px;
  padding: 6px 4px;
}

.category-pill img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.category-pill span {
  font-size: 18px;
  line-height: 1.2;
}

.category-pill.is-active {
  box-shadow: inset 0 0 0 2px #36d88a;
  color: #6be2a2;
}

.app-home .game-area {
  gap: 0;
  align-items: flex-start;
}

.app-home .category-rail {
  width: 88px;
  gap: 9px;
  background: transparent;
  border-right: 0;
  padding-left: 5px;
  padding-right: 5px;
  position: sticky;
  top: 54px;
  align-self: flex-start;
  z-index: 30;
}


.app-home .category-pill.is-active {
  background: linear-gradient(180deg, #1ed873 0%, #10a351 100%);
  color: #f2fff8;
  box-shadow: inset 0 0 0 2px #77f8b5, 0 4px 10px rgba(19, 145, 79, 0.3);
}

.jackpot-card {
  position: relative;
}

.jackpot-amount {
  position: absolute;
  top: 54%;
  left: 54%;
  transform: translate(-50%, -50%);
  font-family: 'Teko', sans-serif;
  letter-spacing: 2px;
  font-size: 54px;
  line-height: 1;
  color: #ffe859;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.5);
  margin: 0;
}

.game-card {
  border-radius: 10px;
  overflow: hidden;
  background: #0c572f;
  box-shadow: inset 0 0 0 1px rgba(49, 212, 132, 0.35);
}

.game-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.game-card h3 {
  margin: 0;
  text-align: center;
  background: var(--grad-green);
  color: #d8ffe4;
  font-weight: 500;
  font-size: 23px;
  line-height: 1.25;
  padding: 2px 4px;
}

.download-panel {
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: end;
  gap: 10px;
  background: linear-gradient(180deg, #0f5f37 0%, #084729 100%);
}

.app-home .app-download-panel {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  border-radius: 8px;
  padding: 10px 12px;
  align-items: center;
  background: linear-gradient(180deg, #107040 0%, #17a257 52%, #0f6e3f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.app-home .app-download-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 43, 25, 0.42) 0%, rgba(7, 43, 25, 0) 42%);
}

.app-home .app-download-panel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 52, 29, 0) 0%, rgba(6, 52, 29, 0.55) 100%);
}

.app-home .app-download-content {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
  max-width: 60%;
}

.app-home .app-download-title {
  margin: 0 0 6px;
  color: #f8da4f;
  font-size: 34px;
  font-weight: 700;
  line-height: 0.92;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.32);
}

.app-home .app-download-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-home .app-download-btn {
  min-width: 84px;
  min-height: 44px;
  border-radius: 4px;
  padding: 3px 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(180deg, #33db7f 0%, #1abd61 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.app-home .app-download-btn i {
  font-size: 13px;
  line-height: 1;
}

.app-home .app-download-btn span {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

.app-home .app-download-phone {
  position: absolute;
  z-index: 1;
  right: -14px;
  bottom: -30px;
  width: 164px;
  max-width: 52%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  flex-shrink: 0;
}

.floating-social {
  position: fixed;
  right: max(calc((100vw - 480px) / 2 + 10px), 10px);
  bottom: 110px;
  z-index: 28;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.floating-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1ace68;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 8px 6px 10px;
  background: linear-gradient(180deg, #2cd484 0% 0%, #0b813e 50%, #000000 100%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #eef8ee;
  gap: 2px;
}

.bottom-nav-item img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.bottom-nav-item .nav-fa-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}

.bottom-nav-item span {
  font-size: 17px;
  line-height: 1.2;
}

.bottom-nav-item.is-current {
  color: #ffffff;
}

.bottom-nav-dashboard {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 8px 6px 10px;
  background: linear-gradient(180deg, #2cd484 0% 0%, #0b813e 50%, #000000 100%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
}

.bottom-nav-dashboard-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #eef8ee;
  gap: 2px;
}

.bottom-nav-dashboard-item img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.bottom-nav-dashboard-item .nav-fa-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}

.bottom-nav-dashboard-item span {
  font-size: 11px;
  line-height: 1.1;
  text-align: center;
}

.bottom-nav-dashboard-item.is-current {
  color: #ffffff;
}

/* Player index.php page-level overrides moved from inline style */
/* .app-home .category-pill {
  border-radius: 20px;
} */

.app-home .category-pill .cat-fa-icon {
  font-size: 26px;
  color: currentColor;
  line-height: 1;
}

.app-home .games-grid .game-card {
  cursor: pointer;
}

.app-home .games-grid .game-card h3 {
  text-transform: capitalize;
}

.app-home .game-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.app-home .game-page-link {
  min-width: 34px;
  height: 30px;
  border-radius: 8px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  background: #213c2d;
  color: #eaf8ea;
  border: 1px solid rgba(108, 182, 130, 0.45);
}

.app-home .game-page-link.is-active {
  background: linear-gradient(180deg, #2fe06f 0%, #0f963f 100%);
  color: #082010;
  border-color: #4df592;
}

.app-home .games-badge {
  font-size: 11px;
  color: #f2dc58;
  border: 1px solid #2f6f4b;
  border-radius: 999px;
  padding: 4px 10px;
  line-height: 1;
  background: rgba(8, 35, 20, 0.5);
}

.app-home .provider-control-box {
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(77, 170, 111, 0.4);
  background: linear-gradient(180deg, rgba(11, 75, 45, 0.88) 0%, rgba(6, 52, 30, 0.88) 100%);
}

.app-home .provider-mode-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.app-home .provider-mode-btn {
  border: 1px solid #0b7f4d;
  border-radius: 8px;
  height: 25px;
  font-size: 12px;
  color: #cef6dc;
  background: linear-gradient(180deg, #178f5a 0%, #0e6a40 100%);
}

.app-home .provider-mode-btn.is-active {
  color: #fff79c;
  border-color: #46de8a;
  box-shadow: inset 0 0 0 1px rgba(255, 245, 163, 0.28);
}

.app-home .provider-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.app-home .provider-strip::-webkit-scrollbar {
  display: none;
}

.app-home .provider-launch-dot {
  width: 25px;
  height: 25px;
  border-radius: 999px;
  flex: 0 0 auto;
  border: 1px solid #6defa1;
  background: radial-gradient(circle at 35% 30%, #65f7a0 0%, #1aa55f 100%);
  color: #ffffff;
  font-size: 18px;
}

.app-home .provider-chip {
  width: 60px;
  height: 25px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid #1f6844;
  background: #123623;
  display: grid;
  place-items: center;
  padding: 4px 8px;
}

.app-home .provider-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-home .provider-chip.is-active {
  border-color: #5df6a2;
  box-shadow: 0 0 0 1px rgba(93, 246, 162, 0.45);
}

.app-home .provider-empty {
  color: #dbfce8;
  font-size: 13px;
  white-space: nowrap;
  padding: 0 6px;
}

.app-home .provider-option-select {
  width: 100%;
  height: 25px;
  border-radius: 8px;
  border: 1px solid #82a99a;
  padding: 0 10px;
  color: #2b3440;
  background: #f2f4f3;
  font-size: 12px;
  outline: none;
}

.app-home .provider-search-row {
  display: flex;
  gap: 8px;
}

.app-home .provider-search-input {
  width: 100%;
  height: 25px;
  border-radius: 8px;
  border: 1px solid #7ea699;
  padding: 0 10px;
  color: #2b3440;
  font-size: 12px;
  outline: none;
  background: #f2f4f3;
}

.app-home .provider-search-btn {
  width: 40px;
  height: 25px;
  border-radius: 8px;
  border: 1px solid #7ea699;
  background: #f2f4f3;
  color: #1f2a37;
  font-size: 12px;
  flex: 0 0 auto;
}

.app-home .bottom-nav {
  grid-template-columns: repeat(5, 1fr);
}

.app-home .bottom-nav-item i {
  font-size: 22px;
  line-height: 1;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  z-index: 44;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.sidebar-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #0a3824 0%, #0b5532 100%);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 280ms ease;
}

body.sidebar-open {
  overflow: hidden;
}

body.sidebar-open .sidebar-backdrop {
  opacity: 1;
  pointer-events: auto;
}

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

.sidebar-title-row {
  position: relative;
  min-height: 78px;
  justify-content: center;
  background: #101d23;
  border-bottom: 1px solid #2a4236;
  padding-left: 56px;
  padding-right: 56px;
}

.sidebar-title-row h2 {
  width: 100%;
  text-align: center;
  font-size: 23px;
  line-height: 1.1;
}

#closeSidebarBtn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
}

.sidebar-auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-radius: 10px;
  background: #1b1d22;
  padding: 12px;
}

.sidebar-auth-row .pill-btn {
  font-size: 21px;
  line-height: 1;
  padding-top: 12px;
  padding-bottom: 12px;
}

.sidebar-tile {
  border-radius: 10px;
  min-height: 98px;
  background: #17191f;
  color: #f0f2f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.sidebar-tile img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.sidebar-tile span {
  font-size: 15px;
  line-height: 1.15;
}

.sidebar-tile.is-active {
  background: #494a50;
  box-shadow: inset 0 -6px 0 #f2f2f2;
}

.sidebar-list {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2c2f36;
}

.sidebar-list-item {
  display: grid;
  grid-template-columns: 28px 1fr 16px;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  text-decoration: none;
  background: #17191f;
  color: #f1f5f1;
  border-bottom: 1px solid #2f333a;
  font-size: 17px;
}

.sidebar-list-item i:first-child {
  color: #f4e34f;
  font-size: 19px;
}

.sidebar-list-item:last-child {
  border-bottom: 0;
}

.sidebar-list-item i:last-child {
  color: #ffffff;
  font-size: 14px;
}

@media (max-width: 480px) {
  .sidebar-drawer {
    padding-bottom: 18px;
  }

  .sidebar-title-row {
    min-height: 72px;
    padding-left: 52px;
    padding-right: 52px;
  }

  .sidebar-title-row h2 {
    font-size: 20px;
  }

  #closeSidebarBtn {
    width: 32px;
    height: 32px;
  }

  .sidebar-auth-row .pill-btn {
    font-size: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .sidebar-tile {
    min-height: 90px;
  }

  .sidebar-tile img {
    width: 28px;
    height: 28px;
  }

  .sidebar-tile span {
    font-size: 14px;
  }

  .sidebar-list-item {
    grid-template-columns: 24px 1fr 14px;
    font-size: 15px;
    padding: 12px 12px;
  }

  .sidebar-list-item i:first-child {
    font-size: 17px;
  }
}

.auth-shell {
  background-image:
    linear-gradient(180deg, rgba(2, 6, 3, 0.95) 0%, rgba(3, 37, 19, 0.65) 30%, rgba(2, 18, 9, 0.82) 100%),
    url('../images/login background.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

.auth-top {
  background: rgba(0, 0, 0, 0.88);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid #ffe251;
}

.auth-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8da07f;
  text-decoration: none;
  font-size: 50px;
  font-weight: 600;
  line-height: 1;
  padding-bottom: 10px;
  position: relative;
}

.auth-tab.is-active {
  color: #f4dd56;
}

.auth-tab.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -9px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #ffe251;
}

.auth-panel {
  background: rgba(6, 14, 10, 0.72);
  border: 1px solid rgba(128, 175, 135, 0.25);
}

.auth-input-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #48494d;
  border: 2px solid #b7d5cf;
  border-radius: 22px;
  padding: 13px 16px;
}

.auth-input-row i {
  color: #f3f5f4;
  font-size: 32px;
  width: 32px;
  text-align: center;
}

.auth-input-row input {
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  width: 100%;
  font-size: 44px;
  line-height: 1.2;
  font-family: 'Hind Siliguri', sans-serif;
}

.auth-input-row input::placeholder {
  color: #d4d7dc;
}

.pass-toggle {
  border: 0;
  background: transparent;
  color: #f2f2f2;
  font-size: 36px;
}

.auth-submit-btn {
  width: 100%;
  border: 0;
  border-radius: 11px;
  padding: 12px;
  font-size: 57px;
  font-weight: 500;
  line-height: 1;
  color: #ecffe7;
  background: var(--grad-green);
}

.auth-link {
  color: var(--text-gold);
  text-decoration: none;
  font-size: 40px;
  line-height: 1;
}

.service-btn {
  border: 1.5px solid #e8d74a;
  background: rgba(10, 40, 20, 0.28);
  color: #f4df59;
  border-radius: 14px;
  min-width: 160px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 46px;
  line-height: 1;
  padding: 10px 16px;
}

.copyright {
  text-align: center;
  color: #f4f7f3;
  font-size: 53px;
  line-height: 1.2;
  margin: 36px 0 0;
}

/* The reference files are 870px wide screenshots of a 480px UI.
   Scaled typography keeps proportions close to the source. */
@media (max-width: 520px) {
  .auth-tab {
    font-size: 26px;
  }

  .auth-input-row i {
    font-size: 22px;
    width: 24px;
  }

  .auth-input-row input {
    font-size: 34px;
  }

  .pass-toggle {
    font-size: 25px;
  }

  .auth-submit-btn {
    font-size: 44px;
  }

  .auth-link {
    font-size: 28px;
  }

  .service-btn {
    font-size: 33px;
  }

  .copyright {
    font-size: 38px;
  }
}

@media (max-width: 480px) {
  .app-home .top-control-bar {
    min-height: 48px;
  }

  .app-home .category-rail {
    top: 48px;
  }

  .app-home .download-strip h1 {
    font-size: 13px;
    line-height: 1.08;
  }

  .app-home .download-strip .text-yellow-300 {
    font-size: 7px;
    letter-spacing: 0.2em;
  }

  .app-home .download-strip .download-btn {
    font-size: 15px;
    padding: 7px 16px;
  }

  .app-home .notice-strip marquee {
    font-size: 13px;
  }

  .app-home .quick-actions .pill-btn {
    font-size: 12px;
    padding: 4px 6px;
  }

  .app-home .quick-icon-item {
    font-size: 12px;
    line-height: 1.05;
  }

  .app-home .quick-icon-item i {
    font-size: 20px;
    margin-bottom: 2px;
  }

  .app-home .category-rail {
    width: 82px;
    padding-top: 31px;
    padding-left: 4px;
    padding-right: 4px;
    gap: 8px;
  }
  .app-home .category-pill span {
    font-size: 10px;
  }

  .app-home .category-pill img {
    width: 30px;
    height: 30px;
  }

  .app-home .jackpot-amount {
    font-size: 38px;
    letter-spacing: 1px;
  }

  .app-home .game-card h3 {
    font-size: 11px;
    line-height: 1.12;
    padding: 4px 2px;
  }

  .app-home .download-panel h2 {
    font-size: 26px;
  }

  .app-home .download-panel .download-btn {
    font-size: 14px;
    padding: 7px 10px;
  }

  .app-home .app-download-panel {
    min-height: 104px;
    border-radius: 9px;
    padding: 9px 10px;
  }

  .app-home .app-download-title {
    font-size: 28px;
    margin-bottom: 5px;
  }

  .app-home .app-download-btn {
    min-width: 76px;
    min-height: 41px;
    padding: 3px 7px;
  }

  .app-home .app-download-btn span {
    font-size: 11px;
  }

  .app-home .app-download-phone {
    width: 136px;
    max-width: 50%;
    right: -12px;
    bottom: -24px;
  }

  .app-home .bottom-nav-item span {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .app-home .quick-actions {
    grid-template-columns: 1fr 1fr 1.1fr;
    gap: 4px;
    border-bottom: 1px solid #17a94c78;
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .app-home .floating-social {
        right: 10px;
        border-radius: 25px;
        background: #00000060;
        padding: 7px;
  }
  .app-home .category-pill {
        height: 50px;
        width: 50px;
        border-top-left-radius: 20px;
        border-bottom-right-radius: 20px;
        background: linear-gradient(180deg, #0e5e39 0%, #19934b 100%);
        color: #39c880;
        box-shadow: inset 0 0 0 1px rgba(67, 189, 126, 0.22);
        padding: 8px 8px;
  }

  .app-home .category-pill img {
    width: 50px;
    height: 50px;
  }

  .app-home .category-pill span {
    font-size: 9px;
  }

  .app-home .quick-icon-item {
    font-size: 11px;
  }

  .app-home .quick-icon-item i {
    font-size: 17px;
  }

  .app-home .bottom-nav-item span {
    font-size: 11px;
  }

  .app-home .jackpot-amount {
    font-size: 34px;
  }

  .app-home .game-card h3 {
    font-size: 10px;
  }

  .app-home .app-download-title {
    font-size: 24px;
  }

  .app-home .app-download-actions {
    gap: 5px;
  }

  .app-home .app-download-btn {
    min-width: 70px;
    min-height: 39px;
    border-radius: 5px;
  }

  .app-home .app-download-btn span {
    font-size: 10px;
  }

  .app-home .app-download-phone {
    width: 124px;
    right: -12px;
    bottom: -20px;
  }
}

@media (min-width: 481px) {
  .app-home .download-strip h1 {
    font-size: 18px;
    line-height: 1.1;
  }

  .app-home .download-strip .text-yellow-300 {
    font-size: 12px;
    letter-spacing: 0.22em;
  }

  .app-home .download-strip .download-btn {
    font-size: 18px;
    padding: 8px 16px;
  }

  .app-home .notice-strip marquee {
    font-size: 14px;
  }

  .app-home .quick-actions .pill-btn {
    font-size: 17px;
    padding: 7px 9px;
  }

  .app-home .quick-icon-item {
    font-size: 13px;
    line-height: 1.05;
  }

  .app-home .quick-icon-item i {
    font-size: 22px;
    margin-bottom: 3px;
  }

  .app-home .category-rail {
    width: 90px;
    gap: 8px;
  }

  .app-home .category-pill {
    
    height: 60px;
    width: 60px;
  }

  .app-home .category-pill span {
    font-size: 12px;
  }

  .app-home .category-pill img {
    width: 34px;
    height: 34px;
  }

  .app-home .jackpot-amount {
    font-size: 40px;
    letter-spacing: 1px;
  }

  .app-home .game-card h3 {
    font-size: 12px;
    line-height: 1.15;
    padding: 4px 2px;
  }

  .app-home .download-panel h2 {
    font-size: 28px;
  }

  .app-home .download-panel .download-btn {
    font-size: 15px;
    padding: 7px 11px;
  }

  .app-home .app-download-panel {
    min-height: 124px;
  }

  .app-home .app-download-title {
    font-size: 36px;
  }

  .app-home .app-download-btn {
    min-width: 92px;
    min-height: 46px;
  }

  .app-home .app-download-btn span {
    font-size: 12px;
  }

  .app-home .app-download-phone {
    width: 176px;
    right: -16px;
    bottom: -34px;
  }

  .app-home .bottom-nav-item span {
    font-size: 12px;
  }
}

/* ---------------- Login Page (pixel-tuned to login.jpeg) ---------------- */
.login-shell {
  background-image: url('../images/login background.png');
  background-size: cover;
  background-position: center -34px;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.login-hero {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-logo {
  width: 184px;
  height: 184px;
}

.login-main {
  padding-top: 10px;
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  border-bottom: 2px solid #f1d94d;
}

.login-tab {
  text-decoration: none;
  color: rgba(226, 220, 95, 0.56);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  padding-bottom: 12px;
  position: relative;
}

.login-tab.is-active {
  color: #f4e055;
}

.login-tab.is-active::after {
  content: '';
  position: absolute;
  left: 22%;
  bottom: -2px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 8px solid #f1d94d;
}

.login-panel {
  margin-top: 0px;
  background: rgb(2 20 11 / 76%);
  border-radius: 0;
  border: 0;
}

.login-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  background: #404040;
  border: 1px solid #dadde1;
  border-radius: 10px;
  padding: 12px 14px;
}

.login-input-row i {
  color: #f4f8fb;
  font-size: 14px;
  width: 24px;
  text-align: center;
}

.login-input-row input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  color: #eef5fb;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 500;
}

.login-input-row input::placeholder {
  color: #d1d6dd;
}

.login-input-row .pass-toggle {
  color: #ffffff;
  font-size: 21px;
  line-height: 1;
  padding: 0;
}

.login-submit-btn {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #28d764 0%, #089846 100%);
  color: #eef9ef;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  padding: 14px 12px;
}

.login-forgot-link {
  color: #f4df55;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
}

.login-service-btn {
  border: 1.5px solid #f0db52;
  background: rgba(7, 34, 20, 0.42);
  color: #f6de4f;
  border-radius: 12px;
  min-width: 156px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  padding: 10px 16px;
}

.login-copyright {
  margin-top: 74px;
  text-align: center;
  color: #f3f7f5;
  font-size: 47px;
  line-height: 1.15;
}

@media (max-width: 480px) {
  .login-shell {
    background-image: url('../images/login background.png');
    background-position: center -28px;
    background-attachment: fixed;
  }

  .login-hero {
    height: 26vh;
    min-height: 169px;
    max-height: 174px;
  }

  .login-logo {
    width: 100px;
    height: 100px;
  }

  .login-main {
    padding-left: 22px;
    padding-right: 22px;
  }

  .login-tab {
    font-size: 17px;
  }

  .login-input-row {
    min-height: 38px;
    padding: 6px 9px;
  }

  .login-input-row input {
    font-size: 12px;
  }

  .login-submit-btn {
    font-size: 14px;
  }

  .login-forgot-link {
    font-size: 13px;
  }

  .login-service-btn {
    font-size: 16px;
  }

  .login-copyright {
    margin-top: 30px;
    font-size: 14px;
  }
}

/* ---------------- Signup Page (pixel-tuned to signup.jpeg) ---------------- */
.signup-shell {
  background-image: url('../images/login background.png');
  background-size: cover;
  background-position: center -42px;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.signup-hero {
  height: 214px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-logo {
  width: 184px;
  height: 184px;
}

.signup-main {
  padding-top: 12px;
}

.signup-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  border-bottom: 2px solid #f1d94d;
}

.signup-checkmark i {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.signup-terms-row input:checked + .signup-checkmark i {
  opacity: 1;
  transform: scale(1);
}

.signup-tab {
  text-decoration: none;
  color: rgba(186, 194, 121, 0.68);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  padding-bottom: 12px;
  position: relative;
}

.signup-tab.is-active {
  color: #f2dc51;
}

.signup-tab.is-active::after {
  content: '';
  position: absolute;
  right: 22%;
  bottom: -2px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 8px solid #ecd34a;
}

.signup-panel {
  margin-top: 0px;
  background: rgb(2 20 11 / 76%);
  border-radius: 0;
  border: 0;
}

.signup-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  background: #404040;
  border: 2px solid #dadde1;
  border-radius: 10px;
  padding: 12px 14px;
}

.signup-input-row i {
  color: #f4f8fb;
  font-size: 21px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.signup-input-row input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  color: #eef5fb;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 500;
}

.signup-input-row input::placeholder {
  color: #d1d6dd;
}

.signup-input-row .pass-toggle {
  color: #ffffff;
  font-size: 21px;
  line-height: 1;
  padding: 0;
}

.signup-flag {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.signup-country-code {
  color: #f3f6f4;
  font-size: 15px;
  line-height: 1;
  margin-right: 10px;
}

.signup-code-row {
  justify-content: space-between;
}

.signup-code-btn {
  border: 0;
  background: transparent;
  color: #f0d84d;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  padding: 0;
}

.signup-terms-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  column-gap: 10px;
  row-gap: 0;
  color: #f6f7f6;
  font-size: 15px;
  line-height: 1.38;
}

.signup-terms-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.signup-checkmark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #12b65a;
  color: #0a2a17;
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-top: 2px;
}

.signup-terms-row > span:last-child {
  grid-column: 2;
}

.signup-terms-link {
  color: #f4e055;
  text-decoration: underline;
}

.signup-submit-btn {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #28d764 0%, #089846 100%);
  color: #eef9ef;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  padding: 14px 12px;
}

.signup-login-note {
  text-align: center;
  color: #f2f6f3;
  font-size: 15px;
  line-height: 1.35;
  margin: 2px 0 0;
}

.signup-login-note a {
  color: #f4df55;
  text-decoration: underline;
}

.signup-service-btn {
  border: 1.5px solid #f0db52;
  background: rgba(7, 34, 20, 0.42);
  color: #f6de4f;
  border-radius: 12px;
  min-width: 190px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
  padding: 10px 18px;
}

.signup-copyright {
  margin-top: 54px;
  text-align: center;
  color: #f3f7f5;
  font-size: 46px;
  line-height: 1.15;
}

@media (max-width: 480px) {
  .signup-shell {
    background-image: url('../images/login background.png');
    background-position: center -36px;
    background-attachment: fixed;
  }

  .signup-hero {
    height: 26vh;
    min-height: 169px;
    max-height: 174px;
  }

  .signup-logo {
    width: 100px;
    height: 100px;
  }

  .signup-main {
    padding-left: 22px;
    padding-right: 22px;
  }

  .signup-tab {
    font-size: 14px;
  }

  .signup-input-row {
    min-height: 49px;
    padding: 6px 9px;
  }

  .signup-input-row input {
    font-size: 13px;
  }

  .signup-country-code {
    font-size: clamp(14px, 3.9vw, 22px);
  }

  .signup-code-btn {
    font-size: clamp(13px, 3.8vw, 20px);
  }

  .signup-terms-row {
    font-size: clamp(13px, 4vw, 22px);
  }

  .signup-submit-btn {
    font-size: clamp(24px, 6.2vw, 36px);
  }

  .signup-login-note {
    font-size: clamp(12px, 3.8vw, 19px);
  }

  .signup-service-btn {
    font-size: clamp(18px, 5.2vw, 30px);
  }

  .signup-copyright {
    margin-top: 30px;
    font-size: 17px;
  }
}
.customheightandwidth {
    width: 55px;
    height: 32px;
}

.pulse-glow {
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(0, 255, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
  }
}

.custom-text1 {
    font-size: 20px;
}
.custom-y-4> :not([hidden]) ~ :not([hidden]){
  margin-top: 30px;
    margin-bottom: -6px;
}
.cbaf {
    
    border: 1px solid #f8da4f;
    border-radius: 8px;
    padding: 3px;
}

#jackpotBalanceValue {
  display: inline-block;
  min-width: 10ch;
  white-space: nowrap;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}

.spin-promo-popup {
  position: fixed;
  right: 15px;
  bottom: 200px;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: visible;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.spin-promo-popup.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.spin-promo-popup.is-closing {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}

.spin-promo-popup img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.spin-promo-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 9, 14, 0.84);
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.promo-banner-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.promo-banner-popup.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.promo-banner-popup.is-closing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.promo-banner-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 14, 0.78);
}

.promo-banner-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 620px);
}

.promo-banner-image {
  width: 100%;
  max-height: 84vh;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  background: #08210d;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.44);
}

.promo-banner-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 10, 16, 0.9);
  color: #ffffff;
  font-size: 21px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.42);
}

.promo-banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.promo-banner-nav.is-prev {
  left: -54px;
}

.promo-banner-nav.is-next {
  right: -54px;
}

@media (max-width: 640px) {
  .promo-banner-dialog {
    width: min(94vw, 520px);
  }

  .promo-banner-nav.is-prev {
    left: 6px;
  }

  .promo-banner-nav.is-next {
    right: 6px;
  }

  .promo-banner-close {
    top: 6px;
    right: 6px;
  }
}

.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 17, 10, 0.95);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.page-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-preloader-image {
  width: 100vw;
  height: 100vh;
  display: block;
  object-fit: cover;
}