:root {
  --nav-top-height: 58px;
  --nav-bottom-height: 63px;
  --gap-default: 8px;
  --primary-1: #4ea37d;
  --primary-2: #245e43;
  --secondary-1: #ebd282;
  --secondary-2: #b58d52;
  --primary: linear-gradient(270deg, var(--primary-1) 0%, var(--primary-2) 100%);
  --secondary: linear-gradient(90deg, var(--secondary-1) 0%, var(--secondary-2) 100%);
  --icon-gradient-1: #ebd282;
  --icon-gradient-2: #4ea37d;
  --form-border: rgba(78, 163, 125, 0.25);
  --form-background: #133628;
  --form-background-light: #1a4735;
  --out-line-primary: #b58d52;
  --out-line-background-primary: #081c15;
  --border-primary: #ebd282;
  --text: #ffffff;
  --text-secondary: #ffffff;
  --light-purple: #a8c7b8;
  --text-secondary-2: var(--light-purple);
  --text-primary: #ffffff;
  --highlight-text: #ebd282;
  --text-primary-2: var(--highlight-text);
  --line: #154231;
  --outline-text-color: #ffffff;
  --grey-outline: var(--light-purple);
  --text-section: var(--light-purple);
  --background-primary-color-1: #061510;
  --background-primary-color-2: #1e4e3a;
  --background-primary-color-3: #143829;
  --background-primary-color-4: #0b2219;
  --background-primary-color-5: #061510;
  --background-primary: linear-gradient(
    180deg,
    var(--background-primary-color-1) 0%,
    var(--background-primary-color-2) 160px,
    var(--background-primary-color-3) 36%,
    var(--background-primary-color-4) 70%,
    var(--background-primary-color-5) 100%
  );
  --background-navigation: linear-gradient(360deg, #071912 4%, #1b4d38 96%);
  --box-border: #05110c;
  --box-page-1: #061510;
  --box-page-2: #0d2b1f;
  --box-page-background: #081c15;
  --menu-text: var(--light-purple);
  --menu-item-background: var(--form-background);
  --menu-item-background-hover: var(--form-background-light);
  --box-gray-purple: rgba(255, 255, 255, 0.08);
  --pink-red: #ebd282;
  --wallet-label: #ebd282;
  --active-nav: #ebd282;
  --inactive-nav: #ffffff;
  --highlight-text-bottom: #ebd282;
  --inactive-nav-bottom: #e8f5ee;
  --hover-primary-menu: var(--menu-item-background-hover);
  --item-game-background: linear-gradient(360deg, rgba(36, 94, 67, 0.85) 0%, rgba(16, 48, 35, 0.14) 90%);
  --nav-play-game: linear-gradient(180deg, #fff4b8 0%, #f7d668 28%, #e5b23a 68%, #c28818 100%);
  --shadow-nav-play-game: rgba(235, 210, 130, 0.65);
  --swal2-background: #0b291e;
  --bg-html: #061510;
  --text-category-active: var(--text);
  --text-category-inactive: var(--text-secondary);
  --icon-active: #c5dfd2;
  --icon-focused: #ffffff;
  --icon-chevron: var(--light-purple);
  --text-third: var(--text);
  --background-announcement: linear-gradient(90deg, #1b4b37 0%, #2a6a4f 50%, #1b4b37 100%);
  --text-announcement: #fff8dc;
  --icon-close: var(--text-secondary);
  --hover-highlight-menu: var(--hover-primary-menu);
  --hover-highlight-text: var(--highlight-text);
  --row-highlight: rgba(0, 0, 0, 0.16);
  --swiper-pagination-bullet: rgba(0, 0, 0, 0.35);
  --game-play-btn: #17210d;
  --footer-policy-link: var(--text-section);
  --footer-policy-link-active: var(--active-nav);
  --table-border-line: rgba(255, 255, 255, 0.12);
  --text-danger: #f87171;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-anchor: none;
  scroll-padding-top: 98px;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: var(--bg-html);
  color: var(--text);
  font-family: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

#app {
  min-height: 100vh;
  background: var(--background-primary);
  display: flex;
  flex-direction: column;
}

/* -------------------------------------------------------------------------- */
/* Top Announcement Bar                                                        */
/* -------------------------------------------------------------------------- */
.top-bar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 30;
}

.text-slider {
  align-items: center;
  background: var(--background-announcement);
  display: flex;
  font-size: 12px;
  font-weight: 400;
  height: 34px;
  overflow: hidden;
  width: 100%;
}

.text-slider .text-slider-icon {
  align-items: center;
  display: flex;
  padding: 0 11px;
  flex-shrink: 0;
}

.marquee-wrapper {
  align-items: center;
  display: flex;
  flex-grow: 1;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-wrapper .marquee-text {
  animation: slideText 38s linear infinite;
  color: var(--text-announcement);
  position: absolute;
  right: 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.65);
  transform: translateX(100%);
  white-space: nowrap;
}

@keyframes slideText {
  0% {
    right: 0;
    transform: translateX(100%);
  }
  100% {
    right: 100%;
    transform: translateX(0);
  }
}

/* -------------------------------------------------------------------------- */
/* Main Mobile-First Column Container                                          */
/* -------------------------------------------------------------------------- */
.page-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  max-width: 576px;
  width: 100%;
  margin: 0 auto;
}

#header {
  display: flex;
  align-items: center;
  min-height: 58px;
  max-height: 72px;
  padding: 8px 16px;
  position: sticky;
  top: 34px;
  z-index: 25;
}

#header.is-scrolled .bg-header {
  opacity: 1;
}

#header .bg-header {
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  background: color-mix(in srgb, var(--box-page-background) 88%, transparent 12%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.2s ease;
  width: 100%;
  z-index: -1;
}

.appbar-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-equal {
  flex: 1;
  display: flex;
  align-items: center;
}

.header-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
}

.header-center-title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-link img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-actions {
  justify-content: flex-end;
  gap: 8px;
}

.dropdown-lang {
  position: relative;
}

.dropdown-lang-toggle {
  align-items: center;
  background: linear-gradient(180deg, #1b4b38 0%, #103224 100%);
  border: 1px solid rgba(235, 210, 130, 0.25);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  font-size: 12px;
  font-weight: 500;
  gap: 6px;
  height: 33px;
  padding: 6px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 6px rgba(0, 0, 0, 0.28);
  transition: filter 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.dropdown-lang-toggle:hover {
  filter: brightness(1.08);
  border-color: rgba(235, 210, 130, 0.48);
}

.dropdown-lang .icon-lang {
  border-radius: 100%;
  height: 20px;
  width: 20px;
  object-fit: cover;
  display: block;
}

.dropdown-lang-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--form-background);
  border-radius: 8px;
  min-width: 96px;
  overflow: hidden;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.dropdown-lang-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
}

.dropdown-lang-item:hover,
.dropdown-lang-item.active {
  background: rgba(255, 255, 255, 0.08);
}

.contact-item {
  position: relative;
  display: flex;
  align-items: center;
}

.contact-logo {
  width: 33px;
  height: 33px;
  border-radius: 7px;
  display: block;
  object-fit: cover;
}

/* Central Deep Emerald Container */
.box-page {
  background: var(--box-page-background);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  max-width: 576px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 12px 84px;
}

@media (max-width: 575.98px) {
  .box-page {
    padding: 8px 8px 84px;
  }
}

/* -------------------------------------------------------------------------- */
/* Hero Banner Carousel                                                        */
/* -------------------------------------------------------------------------- */
.slide-banner {
  position: relative;
  width: 100%;
  padding-top: 4px;
}

.banner-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #061510;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.36);
}

.banner-track {
  display: flex;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.banner-slide {
  flex: 0 0 100%;
  min-width: 100%;
  position: relative;
}

.banner-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1152 / 404;
  object-fit: cover;
  border-radius: 14px;
}

@media (max-width: 576px) {
  .banner-slide img {
    aspect-ratio: 824 / 401;
  }
}

.swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: absolute;
  bottom: 9px;
  left: 0;
  right: 0;
  z-index: 3;
}

.swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.swiper-pagination-bullet-active {
  background: var(--highlight-text) !important;
  border-color: var(--highlight-text);
  width: 16px;
  border-radius: 999px;
}

/* -------------------------------------------------------------------------- */
/* Sticky Action Bar (Seamless on .box-page)                                   */
/* -------------------------------------------------------------------------- */
.sticky-profile-container {
  background: var(--box-page-background);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 10px;
  position: sticky;
  top: 91px;
  z-index: 20;
}

.auth-btn-row {
  display: flex;
  gap: var(--gap-default);
  position: relative;
  z-index: 2;
}

.item-equal {
  flex: 1;
  min-width: 0;
}

.btn {
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: filter 0.18s ease, transform 0.1s ease, box-shadow 0.18s ease;
  border: none;
}

.btn:active:not(:disabled) {
  transform: translateY(1px) scale(0.985);
}

.btn-primary {
  background: linear-gradient(180deg, #3c9b72 0%, #246c4b 55%, #174c34 100%);
  border: 1px solid rgba(118, 214, 168, 0.34);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -2px 0 rgba(5, 26, 17, 0.42), 0 4px 12px rgba(5, 22, 15, 0.45);
}

.btn-primary:hover {
  filter: brightness(1.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(5, 26, 17, 0.42), 0 6px 16px rgba(36, 108, 75, 0.42);
}

.btn.button-menu {
  min-height: 44px;
}

@media (min-width: 576px) {
  .btn.button-menu {
    min-height: 48px;
  }
}

.gradient-outline-primary {
  background: linear-gradient(180deg, #f6e28f 0%, #dfb856 54%, #ba8b2e 100%);
  border: 1px solid rgba(255, 240, 180, 0.52);
  border-radius: 10px;
  color: #0b2217;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 248, 215, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), inset 0 -2px 0 rgba(122, 82, 14, 0.42), 0 4px 14px rgba(0, 0, 0, 0.36);
}

.gradient-outline-primary:hover {
  filter: brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -2px 0 rgba(122, 82, 14, 0.42), 0 6px 18px rgba(215, 172, 74, 0.32);
}

.btn-register-cta {
  background: linear-gradient(180deg, #fff4b8 0%, #f7d668 28%, #e5b23a 68%, #c28818 100%);
  border: 1.5px solid #fff7cc;
  color: #061d12;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 250, 224, 0.72);
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow, filter;
  animation: yumaGoldHeartbeat 1.65s cubic-bezier(0.25, 0.9, 0.35, 1) infinite;
}

.btn-register-cta::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -130%;
  width: 75%;
  height: 140%;
  background: linear-gradient(
    112deg,
    transparent 15%,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(255, 253, 228, 0.88) 50%,
    rgba(255, 255, 255, 0.55) 55%,
    transparent 85%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: yumaGoldSheen 1.65s ease-in-out infinite;
}

@keyframes yumaGoldHeartbeat {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow:
      inset 0 1.5px 0 rgba(255, 255, 255, 0.82),
      inset 0 -2px 0 rgba(120, 76, 8, 0.48),
      0 4px 14px rgba(245, 196, 66, 0.42),
      0 0 0 0 rgba(250, 215, 95, 0.62);
  }
  14% {
    transform: scale(1.045) translateY(-1px);
    filter: brightness(1.14);
    box-shadow:
      inset 0 1.5px 0 rgba(255, 255, 255, 0.95),
      inset 0 -2px 0 rgba(120, 76, 8, 0.48),
      0 6px 22px rgba(255, 215, 75, 0.78),
      0 0 0 5px rgba(250, 215, 95, 0.26);
  }
  26% {
    transform: scale(0.996);
    filter: brightness(1.02);
    box-shadow:
      inset 0 1.5px 0 rgba(255, 255, 255, 0.85),
      inset 0 -2px 0 rgba(120, 76, 8, 0.48),
      0 4px 16px rgba(245, 196, 66, 0.5),
      0 0 0 7px rgba(250, 215, 95, 0.08);
  }
  38% {
    transform: scale(1.06) translateY(-1.5px);
    filter: brightness(1.24);
    box-shadow:
      inset 0 1.5px 0 #ffffff,
      inset 0 -2px 0 rgba(120, 76, 8, 0.48),
      0 8px 28px rgba(255, 224, 98, 0.92),
      0 0 0 10px rgba(250, 215, 95, 0);
  }
  58% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow:
      inset 0 1.5px 0 rgba(255, 255, 255, 0.82),
      inset 0 -2px 0 rgba(120, 76, 8, 0.48),
      0 4px 14px rgba(245, 196, 66, 0.42),
      0 0 0 0 rgba(250, 215, 95, 0);
  }
}

@keyframes yumaGoldSheen {
  0%, 8% {
    left: -130%;
    opacity: 0;
  }
  18% {
    opacity: 0.95;
  }
  46% {
    left: 145%;
    opacity: 0.9;
  }
  55%, 100% {
    left: 155%;
    opacity: 0;
  }
}

.member-wallet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--form-background);
  border-radius: 10px;
  padding: 10px 12px;
}

.member-wallet-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.member-wallet-phone {
  font-size: 12px;
  color: var(--light-purple);
}

.member-wallet-balance {
  font-size: 16px;
  font-weight: 700;
  color: var(--highlight-text);
}

.member-wallet-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-sm-action {
  width: auto;
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 8px;
}

/* 6 Quick Action Tiles */
.menu-items-bar-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--gap-default);
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
  transition: transform 0.12s ease;
}

.menu-item:active {
  transform: scale(0.95);
}

.menu-item-bar {
  width: 100%;
  max-width: 68px;
  height: 54px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: linear-gradient(180deg, #1b4a36 0%, #103223 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -2px 0 rgba(0, 0, 0, 0.25), 0 4px 10px rgba(0, 0, 0, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

@media (max-width: 575.98px) {
  .menu-item-bar {
    height: 50px;
  }
  .menu-item {
    font-size: 11px;
  }
}

.menu-item:hover .menu-item-bar {
  filter: brightness(1.12);
  border-color: rgba(235, 210, 130, 0.36);
  transform: translateY(-1px);
}

.menu-item.is-highlight {
  color: #f8da70;
  font-weight: 600;
}

.menu-item.is-highlight .menu-item-bar {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, #fff4b8 0%, #f7d668 28%, #e5b23a 68%, #c28818 100%) !important;
  border: 1.5px solid #fff7cc !important;
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 0 rgba(120, 76, 8, 0.5),
    0 4px 14px rgba(245, 196, 66, 0.42) !important;
}

.menu-item.is-highlight .menu-item-bar::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -130%;
  width: 75%;
  height: 140%;
  background: linear-gradient(
    112deg,
    transparent 15%,
    rgba(255, 255, 255, 0.52) 45%,
    rgba(255, 253, 228, 0.85) 50%,
    rgba(255, 255, 255, 0.52) 55%,
    transparent 85%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: yumaGoldSheen 2.4s ease-in-out infinite;
}

.menu-item.is-highlight .menu-item-bar svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 0 rgba(255, 252, 224, 0.78));
}

.menu-item.is-highlight .menu-item-bar svg path {
  fill: #061d12 !important;
}

/* -------------------------------------------------------------------------- */
/* Latest Player Withdrawals Rail                                              */
/* -------------------------------------------------------------------------- */
.lastest-withdraw {
  margin: 14px 0 16px;
}

.section-heading {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.rail-wrapper {
  overflow: hidden;
  width: 100%;
}

.rail-track {
  display: flex;
  gap: var(--gap-default);
  width: max-content;
  animation: withdrawMarquee 42s linear infinite;
}

.rail-wrapper:hover .rail-track {
  animation-play-state: paused;
}

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

.withdraw-card {
  background: var(--form-background);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 75px;
  min-width: 200px;
  padding: 9px 10px;
  user-select: none;
}

.withdraw-card .info {
  display: flex;
  align-items: center;
}

.withdraw-card .info img {
  width: 39px;
  height: 37px;
  border-radius: 6px;
  margin-right: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.withdraw-card .acc {
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  line-height: 1.25;
}

.withdraw-card .txid {
  font-size: 12px;
  color: #cfe3d8;
  line-height: 1.25;
}

.withdraw-card .date-money {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.withdraw-card .date {
  font-size: 9px;
  color: var(--light-purple);
}

.withdraw-card .amount {
  font-size: 12px;
  font-weight: 600;
  color: var(--highlight-text);
}

/* -------------------------------------------------------------------------- */
/* Main Game Lobby Section (Sticky Left Sidebar + Horizontal Rows)             */
/* -------------------------------------------------------------------------- */
.game-container {
  display: flex;
  flex-direction: column;
}

.game-content {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.game-provider-container.game-left {
  position: sticky;
  top: 256px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
  max-height: calc(100vh - 340px);
}

.icon-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 2px;
  cursor: pointer;
}

.icon-nav svg {
  transform: rotate(90deg);
}

.icon-nav.disabled {
  opacity: 0.35;
  cursor: default;
}

.game-provider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  scrollbar-width: none;
  scroll-snap-type: y mandatory;
}

.game-provider-wrapper::-webkit-scrollbar {
  display: none;
}

.game-category-item {
  align-items: center;
  background: linear-gradient(180deg, #1a4734 0%, #0f3022 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  color: var(--icon-active);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 5px;
  height: 64px;
  width: 64px;
  justify-content: center;
  padding: 6px 4px 4px;
  scroll-snap-align: start;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 3px 8px rgba(0, 0, 0, 0.24);
  transition: filter 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  user-select: none;
}

@media (max-width: 575.98px) {
  .game-category-item {
    height: 60px;
    width: 60px;
  }
}

.game-category-item.active {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, #fff4b8 0%, #f7d668 28%, #e5b23a 68%, #c28818 100%) !important;
  border: 1.5px solid #fff7cc !important;
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 0 rgba(120, 76, 8, 0.5),
    0 4px 14px rgba(245, 196, 66, 0.45) !important;
  color: #061d12 !important;
}

.game-category-item.active::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -130%;
  width: 75%;
  height: 140%;
  background: linear-gradient(
    112deg,
    transparent 15%,
    rgba(255, 255, 255, 0.52) 45%,
    rgba(255, 253, 228, 0.85) 50%,
    rgba(255, 255, 255, 0.52) 55%,
    transparent 85%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: yumaGoldSheen 2.4s ease-in-out infinite;
}

.game-category-item:not(.active):hover {
  filter: brightness(1.12);
  border-color: rgba(235, 210, 130, 0.3);
}

.game-category-item .game-category-label {
  font-size: 11px;
  line-height: 13px;
  text-align: center;
  color: #fff;
  word-break: break-word;
  position: relative;
  z-index: 1;
}

.game-category-item.active .game-category-label {
  color: #061d12 !important;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 250, 224, 0.68);
}

.game-category-item.active svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 0 rgba(255, 252, 224, 0.78));
}

.game-category-item.active svg path {
  fill: #061d12 !important;
}

.game-center {
  min-width: 0;
  flex-grow: 1;
}

.category-row-section {
  width: 100%;
  margin-bottom: 16px;
}

.category-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.game-category-label-gradient {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.game-category-label-gradient .icon-menu-color path {
  fill: url(#lgrad-p);
}

.game-slide-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.slide-arrow-btn {
  background: linear-gradient(180deg, #1b4a37 0%, #103224 100%);
  border: 1px solid rgba(235, 210, 130, 0.24);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 6px rgba(0, 0, 0, 0.28);
  transition: filter 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.slide-arrow-btn:hover {
  filter: brightness(1.16);
  border-color: rgba(235, 210, 130, 0.45);
}

.game-row {
  display: flex;
  gap: var(--gap-default);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.game-row::-webkit-scrollbar {
  display: none;
}

.game-row-item {
  flex: 0 0 calc(33.33333% - var(--gap-default) * 2 / 3);
  min-width: 0;
}

.game-row-item:nth-child(3n + 1) {
  scroll-snap-align: start;
}

.game-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  position: relative;
  user-select: none;
  cursor: pointer;
}

.wrapper-game {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0f2c21;
}

.wrapper-game .image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.25s ease;
}

.game-item:hover .wrapper-game .image {
  transform: scale(1.04);
}

.wrapper-game .bg-gradient-game {
  background: var(--item-game-background);
  border-radius: 10px;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.16s ease-in-out;
  z-index: 1;
}

.wrapper-game .btn-play {
  background: linear-gradient(180deg, #f6e28f 0%, #dfb856 54%, #ba8b2e 100%);
  color: #0b2217;
  font-weight: 700;
  border: 1px solid rgba(255, 244, 196, 0.6);
  border-radius: 40px;
  font-size: 12px;
  padding: 6px 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76%;
  transform: translate(-50%, -50%);
  opacity: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 4px 12px rgba(0, 0, 0, 0.45);
  transition: opacity 0.16s ease-in-out, filter 0.16s ease;
  z-index: 2;
  cursor: pointer;
}

.game-item:hover .bg-gradient-game,
.game-item:hover .btn-play {
  opacity: 1;
}

.game-text {
  margin-top: 5px;
  padding: 0 2px;
}

.game-name-text {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.provider-name-text {
  color: var(--light-purple);
  font-size: 12px;
  font-weight: 400;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* -------------------------------------------------------------------------- */
/* Leaderboard Section (Top Performance)                                       */
/* -------------------------------------------------------------------------- */
.header-container {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  width: 100%;
}

.leaderboard-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.custom-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-button {
  align-items: center;
  background: linear-gradient(180deg, #1b4a36 0%, #113325 100%);
  border: 1px solid rgba(235, 210, 130, 0.26);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  min-width: 170px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: filter 0.18s ease, border-color 0.18s ease;
}

.dropdown-button:hover {
  border-color: rgba(235, 210, 130, 0.48);
  filter: brightness(1.08);
}

.dropdown-menu-custom {
  background: var(--form-background);
  border-radius: 8px;
  margin-top: 4px;
  min-width: 100%;
  overflow: hidden;
  position: absolute;
  right: 0;
  z-index: 15;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.dropdown-option-btn {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13px;
  padding: 9px 12px;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}

.dropdown-option-btn:hover {
  background: rgba(235, 210, 130, 0.16);
  color: var(--highlight-text);
}

.dropdown-option-btn.active {
  background: linear-gradient(180deg, #fff4b8 0%, #f7d668 35%, #e5b23a 78%, #c28818 100%);
  color: #061d12;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 250, 224, 0.65);
}

.table-wrapper {
  height: 530px;
  margin-top: 12px;
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent);
  mask-image: linear-gradient(180deg, #000 80%, transparent);
  overflow: hidden;
  position: relative;
  width: 100%;
  background-color: transparent;
}

.table-wrapper table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}

.table-wrapper thead th {
  font-size: 14px;
  font-weight: 700;
  padding: 8px;
  color: #fff;
  white-space: nowrap;
}

.table-wrapper thead th.text-left {
  text-align: left;
  width: 44%;
}

.table-wrapper thead th.text-center {
  text-align: center;
  width: 28%;
}

.table-wrapper thead th.text-right {
  text-align: right;
  width: 28%;
}

.table-wrapper tbody tr {
  height: 49px;
  transition: background-color 0.2s ease;
}

.table-wrapper tbody tr.lb-row-animate {
  animation: lbRowEnter 0.45s ease-out;
}

@keyframes lbRowEnter {
  0% {
    opacity: 0;
    transform: translateY(-8px);
    background: rgba(235, 210, 130, 0.16);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.table-wrapper tbody tr.is-alt {
  background: #0e2b20;
  border-radius: 8px;
}

.table-wrapper tbody td {
  font-size: 12px;
  padding: 0 8px;
  vertical-align: middle;
  color: #fff;
}

.lb-game-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.lb-game-logo {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.lb-game-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-payout {
  color: #00c853 !important;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

/* -------------------------------------------------------------------------- */
/* Clean Footer                                                                */
/* -------------------------------------------------------------------------- */
.footer-content {
  margin-top: 20px;
  padding-bottom: 18px;
}

.footer-content hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0 0 16px;
}

.policy ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.policy ul li {
  color: var(--footer-policy-link);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.policy ul li a:hover {
  color: var(--footer-policy-link-active);
}

.yuma-copyright {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11.5px;
  color: #88ad9c;
}

/* -------------------------------------------------------------------------- */
/* Fixed Curved Bottom Navigation Bar                                          */
/* -------------------------------------------------------------------------- */
#account-actions-mobile {
  position: fixed;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 63px;
  z-index: 35;
}

#account-actions-mobile .curve {
  width: 100%;
  height: 63px;
  background: var(--background-navigation);
  -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzg0MCIgaGVpZ2h0PSI3MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCAuODczczE4MTIuMzQtMS45NjQgMTg1OC41IDBjMjcuNDggMS4xNyAzNC40OSAzNC4xMjcgNjIgMzQuMTI3IDI3LjUxIDAgMzAuOTktMzMuNzggNTguNS0zNC4xMjcgNDYuMTYtLjU4MiAxODYxIDAgMTg2MSAwVjcwSDBWLjg3M1oiIGZpbGw9InVybCgjYSkiLz48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgxPSIwIiB5MT0iNDMuMjczIiB4Mj0iMzgzOS45OSIgeTI9IjQ4Ljg2MSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiM3ODEwQUYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM0MjFGODciLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48L3N2Zz4=")
    center no-repeat;
  mask: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzg0MCIgaGVpZ2h0PSI3MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCAuODczczE4MTIuMzQtMS45NjQgMTg1OC41IDBjMjcuNDggMS4xNyAzNC40OSAzNC4xMjcgNjIgMzQuMTI3IDI3LjUxIDAgMzAuOTktMzMuNzggNTguNS0zNC4xMjcgNDYuMTYtLjU4MiAxODYxIDAgMTg2MSAwVjcwSDBWLjg3M1oiIGZpbGw9InVybCgjYSkiLz48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgxPSIwIiB5MT0iNDMuMjczIiB4Mj0iMzgzOS45OSIgeTI9IjQ4Ljg2MSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiM3ODEwQUYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM0MjFGODciLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48L3N2Zz4=")
    center no-repeat;
}

.bottom-nav-inner {
  max-width: 576px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 8px 6px;
}

.items-nav-bar {
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.nav-action-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--inactive-nav-bottom);
  font-size: 11px;
  white-space: nowrap;
  user-select: none;
}

.nav-action-link.is-active {
  color: #f8da70 !important;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(248, 218, 112, 0.44);
}

.nav-action-link.is-active svg path {
  fill: #f8da70 !important;
}

.nav-action-link.is-active svg {
  filter: drop-shadow(0 2px 6px rgba(245, 196, 66, 0.48));
}

.nav-center-spacer {
  height: 22px;
}

.indicator-game {
  position: absolute;
  left: 50%;
  bottom: 25%;
  transform: translate(-50%, -40%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(180deg, #fff6c4 0%, #f8da70 28%, #e5b23a 68%, #c28818 100%);
  border: 2px solid #fff7cc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: transform, box-shadow, filter;
  animation: yumaOrbHeartbeat 1.65s cubic-bezier(0.25, 0.9, 0.35, 1) infinite;
  z-index: 5;
}

.indicator-game::after {
  content: '';
  position: absolute;
  top: -25%;
  left: -135%;
  width: 80%;
  height: 150%;
  background: linear-gradient(
    112deg,
    transparent 15%,
    rgba(255, 255, 255, 0.6) 45%,
    rgba(255, 253, 228, 0.92) 50%,
    rgba(255, 255, 255, 0.6) 55%,
    transparent 85%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: yumaGoldSheen 1.65s ease-in-out infinite;
}

.indicator-game:hover,
.indicator-game.is-active {
  filter: brightness(1.1);
}

.indicator-game img {
  width: 30px;
  height: 30px;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 0 rgba(255, 252, 224, 0.78));
}

@keyframes yumaOrbHeartbeat {
  0%, 100% {
    transform: translate(-50%, -40%) scale(1);
    filter: brightness(1);
    box-shadow:
      inset 0 2px 2px rgba(255, 255, 255, 0.85),
      inset 0 -3px 4px rgba(120, 76, 8, 0.5),
      0 4px 16px rgba(245, 196, 66, 0.5),
      0 0 0 0 rgba(250, 215, 95, 0.65);
  }
  14% {
    transform: translate(-50%, -42%) scale(1.06);
    filter: brightness(1.14);
    box-shadow:
      inset 0 2px 3px rgba(255, 255, 255, 0.95),
      inset 0 -3px 4px rgba(120, 76, 8, 0.5),
      0 6px 24px rgba(255, 215, 75, 0.82),
      0 0 0 6px rgba(250, 215, 95, 0.28);
  }
  26% {
    transform: translate(-50%, -40%) scale(0.995);
    filter: brightness(1.02);
    box-shadow:
      inset 0 2px 2px rgba(255, 255, 255, 0.85),
      inset 0 -3px 4px rgba(120, 76, 8, 0.5),
      0 4px 18px rgba(245, 196, 66, 0.55),
      0 0 0 8px rgba(250, 215, 95, 0.08);
  }
  38% {
    transform: translate(-50%, -43%) scale(1.085);
    filter: brightness(1.24);
    box-shadow:
      inset 0 2px 4px #ffffff,
      inset 0 -3px 4px rgba(120, 76, 8, 0.5),
      0 8px 30px rgba(255, 224, 98, 0.95),
      0 0 0 11px rgba(250, 215, 95, 0);
  }
  58% {
    transform: translate(-50%, -40%) scale(1);
    filter: brightness(1);
    box-shadow:
      inset 0 2px 2px rgba(255, 255, 255, 0.85),
      inset 0 -3px 4px rgba(120, 76, 8, 0.5),
      0 4px 16px rgba(245, 196, 66, 0.5),
      0 0 0 0 rgba(250, 215, 95, 0);
  }
}

/* -------------------------------------------------------------------------- */
/* SSR Notification Modal (#modal-popup-ssr)                                   */
/* -------------------------------------------------------------------------- */
.modal-backdrop-custom {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.modal-popup-dialog {
  width: 100%;
  max-width: 470px;
  background: var(--swal2-background);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.modal-image-wrap {
  position: relative;
  width: 100%;
  background: #061510;
}

.modal-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1152 / 648;
  object-fit: cover;
}

.modal-close-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.modal-close-x:hover {
  background: rgba(0, 0, 0, 0.75);
}

.pagin-badge {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  background: #050506;
  border: 0.5px solid #2b2b2b;
  border-radius: 16px;
  padding: 2px 10px;
  font-size: 12px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.pagin-badge .muted {
  color: #888;
  font-size: 11px;
}

.modal-content-body {
  padding: 18px 18px 16px;
  background: var(--swal2-background);
}

.modal-content-body h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.notification-text-scroll {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #eaf3ef;
  white-space: pre-line;
}

.notification-text-scroll a {
  color: var(--highlight-text);
  text-decoration: underline;
}

.btn-next-primary {
  background: linear-gradient(180deg, #3c9b72 0%, #246c4b 55%, #174c34 100%);
  border: 1px solid rgba(118, 214, 168, 0.34);
  color: #fff;
  border-radius: 999px;
  height: 44px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -2px 0 rgba(5, 26, 17, 0.42), 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-next-primary:hover {
  filter: brightness(1.07);
}

/* -------------------------------------------------------------------------- */
/* Category Filter Page (/th/game)                                             */
/* -------------------------------------------------------------------------- */
.top-cat-strip-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.top-cat-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}

.top-cat-strip::-webkit-scrollbar {
  display: none;
}

.search-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.search-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--form-background);
  border-radius: 8px;
  padding: 0 12px;
  height: 42px;
}

.search-input-box input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
}

.search-input-box input::placeholder {
  color: var(--light-purple);
}

.filter-sliders-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.filter-sliders-btn.is-active {
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, #fff4b8 0%, #f7d668 28%, #e5b23a 68%, #c28818 100%) !important;
  border: 1.5px solid #fff7cc !important;
  color: #061d12 !important;
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.88),
    inset 0 -2px 0 rgba(120, 76, 8, 0.48),
    0 3px 10px rgba(245, 196, 66, 0.42);
}

.filter-sliders-btn.is-active svg {
  color: #061d12 !important;
  stroke: #061d12 !important;
}

.provider-sidebar-col {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
  max-height: calc(100vh - 190px);
}

.provider-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  scrollbar-width: none;
}

.provider-sidebar-list::-webkit-scrollbar {
  display: none;
}

.game-provider-item {
  align-items: center;
  background: linear-gradient(180deg, #1a4734 0%, #0f3022 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 4px;
  height: 76px;
  width: 72px;
  justify-content: center;
  padding: 6px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 3px 8px rgba(0, 0, 0, 0.24);
  transition: filter 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

@media (max-width: 575.98px) {
  .game-provider-item {
    width: 68px;
    height: 74px;
  }
}

.game-provider-item.active {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, #fff4b8 0%, #f7d668 28%, #e5b23a 68%, #c28818 100%) !important;
  border: 1.5px solid #fff7cc !important;
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 0 rgba(120, 76, 8, 0.5),
    0 4px 14px rgba(245, 196, 66, 0.45) !important;
  color: #061d12 !important;
}

.game-provider-item.active::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -130%;
  width: 75%;
  height: 140%;
  background: linear-gradient(
    112deg,
    transparent 15%,
    rgba(255, 255, 255, 0.52) 45%,
    rgba(255, 253, 228, 0.85) 50%,
    rgba(255, 255, 255, 0.52) 55%,
    transparent 85%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: yumaGoldSheen 2.4s ease-in-out infinite;
}

.game-provider-item.active svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 0 rgba(255, 252, 224, 0.78));
}

.game-provider-item.active svg path {
  fill: #061d12 !important;
}

.game-provider-item.active .game-provider-label {
  color: #061d12 !important;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 250, 224, 0.68);
  position: relative;
  z-index: 1;
}

.game-provider-item.active img.provider-logo {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(6, 29, 18, 0.75));
}

.game-provider-item:not(.active):hover {
  filter: brightness(1.12);
  border-color: rgba(235, 210, 130, 0.3);
}

.game-provider-item img.provider-logo {
  max-width: 48px;
  max-height: 28px;
  object-fit: contain;
}

.game-provider-item .provider-tag-gif {
  position: absolute;
  top: 3px;
  right: 3px;
  height: 14px;
  width: auto;
  z-index: 2;
}

.game-provider-label {
  font-size: 11px;
  line-height: 12px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

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

/* -------------------------------------------------------------------------- */
/* Promotions Page (/th/pb-promotion)                                          */
/* -------------------------------------------------------------------------- */
.promo-filter-pill {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, #fff4b8 0%, #f7d668 28%, #e5b23a 68%, #c28818 100%);
  color: #061d12;
  border: 1.5px solid #fff7cc;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 250, 224, 0.68);
  margin-bottom: 14px;
  cursor: pointer;
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 0 rgba(120, 76, 8, 0.5),
    0 4px 12px rgba(245, 196, 66, 0.38);
  transition: filter 0.18s ease, transform 0.12s ease;
}

.promo-filter-pill::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -130%;
  width: 75%;
  height: 140%;
  background: linear-gradient(
    112deg,
    transparent 15%,
    rgba(255, 255, 255, 0.52) 45%,
    rgba(255, 253, 228, 0.85) 50%,
    rgba(255, 255, 255, 0.52) 55%,
    transparent 85%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: yumaGoldSheen 2.4s ease-in-out infinite;
}

.promo-filter-pill:hover {
  filter: brightness(1.08);
}

.promotion-card {
  width: 100%;
  padding-bottom: 24px;
}

.promotion-img {
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  height: auto;
  display: block;
}

.promotion-header {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  padding-top: 12px;
}

.promotion-description {
  color: #e6efeb;
  font-size: 14px;
  font-weight: 400;
  padding: 6px 0 14px;
}

/* -------------------------------------------------------------------------- */
/* Auth Pages (/th/login & /th/register)                                       */
/* -------------------------------------------------------------------------- */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input {
  width: 100%;
  height: 44px;
  background: var(--form-background);
  border: 1px solid var(--form-border);
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.auth-input::placeholder {
  color: var(--light-purple);
}

.auth-input:focus {
  border-color: var(--primary-1);
}

.password-eye-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--light-purple);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 4px;
}

.login-inquiry-text {
  text-align: center;
  font-size: 13px;
  color: #fff;
  margin: 4px 0 8px;
}

.login-inquiry-text a {
  font-weight: 700;
  text-decoration: underline;
  color: #fff;
}

.register-banner {
  width: 100%;
  aspect-ratio: 880 / 340;
  object-fit: contain;
  border: none;
  box-shadow: none;
  background: transparent;
  display: block;
  margin: 8px auto 4px;
}

.register-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 6px 0 2px;
}

.register-subtitle {
  text-align: center;
  font-size: 14px;
  color: var(--light-purple);
  margin: 0 0 12px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #fff;
  cursor: pointer;
}

.checkbox-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--light-purple);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-box.checked {
  border-color: var(--highlight-text);
  background: rgba(235, 210, 130, 0.14);
  color: var(--highlight-text);
}

.link-pink-red {
  color: var(--pink-red);
  text-decoration: underline;
}

.alert-banner-err {
  background: rgba(220, 53, 69, 0.18);
  border: 1px solid rgba(220, 53, 69, 0.5);
  color: #ffb8bf;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}

.alert-banner-ok {
  background: rgba(0, 190, 82, 0.16);
  border: 1px solid rgba(0, 190, 82, 0.45);
  color: #a9f5c6;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}

/* -------------------------------------------------------------------------- */
/* Quick Action & Terms Modals                                                 */
/* -------------------------------------------------------------------------- */
.quick-grid-modal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.quick-tile-card {
  background: linear-gradient(180deg, #1b4a36 0%, #103223 100%);
  border: 1px solid rgba(235, 210, 130, 0.18);
  border-radius: 12px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.28);
  transition: filter 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.quick-tile-card:hover {
  border-color: rgba(235, 210, 130, 0.42);
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.policy-card {
  background: #0f2c21;
  border-radius: 12px;
  padding: 18px;
  line-height: 1.7;
  font-size: 14px;
  color: #e6efeb;
}

.policy-card h2 {
  margin-top: 0;
  font-size: 18px;
  color: var(--highlight-text);
}

/* -------------------------------------------------------------------------- */
/* 3-Step Registration Wizard (ufafunny-inspired Yuma88 Flow)                 */
/* -------------------------------------------------------------------------- */
.reg-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 10px;
}

.reg-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(19, 54, 40, 0.72);
  border: 1px solid var(--form-border);
  color: var(--light-purple);
  font-size: 12px;
  font-weight: 500;
  transition: all 0.18s ease;
}

.reg-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reg-step-pill.is-active {
  background: rgba(235, 210, 130, 0.14);
  border-color: var(--highlight-text);
  color: var(--highlight-text);
  font-weight: 700;
}

.reg-step-pill.is-active .reg-step-num {
  background: linear-gradient(180deg, #fff4b8 0%, #e5b23a 100%);
  color: #061d12;
}

.reg-step-pill.is-done {
  background: rgba(78, 163, 125, 0.2);
  border-color: var(--primary-1);
  color: #d6f5e6;
}

.reg-step-pill.is-done .reg-step-num {
  background: var(--primary-1);
  color: #061d12;
}

.reg-step-line {
  width: 18px;
  height: 2px;
  background: rgba(168, 199, 184, 0.25);
  border-radius: 2px;
}

.reg-step-line.is-done {
  background: var(--primary-1);
}

.reg-guidance {
  background: rgba(19, 54, 40, 0.85);
  border: 1px solid rgba(78, 163, 125, 0.32);
  color: #d8f2e4;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 12px;
}

.reg-referral-badge {
  background: rgba(235, 210, 130, 0.13);
  border: 1px solid rgba(235, 210, 130, 0.4);
  color: var(--highlight-text);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  text-align: center;
  margin-bottom: 10px;
}

.reg-card {
  background: rgba(15, 44, 33, 0.88);
  border: 1px solid rgba(78, 163, 125, 0.28);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reg-section-heading {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--highlight-text);
}

.reg-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reg-field-label {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.reg-field-hint {
  font-size: 11.5px;
  color: var(--light-purple);
  line-height: 1.35;
}

.reg-phone-box {
  display: flex;
  align-items: center;
  height: 44px;
  background: var(--form-background);
  border: 1px solid var(--form-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.16s ease;
}

.reg-phone-box:focus-within {
  border-color: var(--primary-1);
}

.reg-dial-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  height: 100%;
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid var(--form-border);
  color: var(--highlight-text);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.reg-dial-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.reg-phone-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 12px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.reg-phone-input::placeholder {
  color: var(--light-purple);
}

.reg-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--highlight-text) 50%),
    linear-gradient(135deg, var(--highlight-text) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
  cursor: pointer;
}

.reg-select option {
  background: #0d2b1f;
  color: #fff;
}

.auth-input:user-invalid,
.reg-select:user-invalid {
  border-color: rgba(248, 113, 113, 0.85);
}

.auth-input:user-valid,
.reg-select:user-valid {
  border-color: rgba(78, 163, 125, 0.85);
}

.reg-country-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(19, 54, 40, 0.55);
  border: 1px solid var(--form-border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: #e6efeb;
}

.reg-country-badge {
  background: rgba(235, 210, 130, 0.15);
  color: var(--highlight-text);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
}

.reg-captcha-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reg-captcha-img-btn {
  padding: 0;
  border: 1px solid var(--form-border);
  border-radius: 8px;
  background: #ffffff;
  height: 44px;
  min-width: 118px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reg-captcha-img-btn img {
  height: 42px;
  width: auto;
  display: block;
}

.reg-step-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.reg-back-btn {
  flex: 0 0 112px;
  min-height: 44px;
  background: rgba(19, 54, 40, 0.9);
  border: 1px solid var(--form-border);
  color: #e6efeb;
  border-radius: 10px;
}

.reg-back-btn:hover {
  border-color: var(--highlight-text);
  color: #fff;
}

.reg-success-card {
  background: rgba(15, 44, 33, 0.94);
  border: 1.5px solid rgba(235, 210, 130, 0.55);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.reg-success-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(180deg, #3c9b72 0%, #174c34 100%);
  border: 2px solid var(--highlight-text);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reg-success-username {
  font-size: 24px;
  font-weight: 700;
  color: var(--highlight-text);
  letter-spacing: 0.04em;
  background: rgba(6, 21, 16, 0.72);
  border: 1px solid rgba(235, 210, 130, 0.35);
  border-radius: 10px;
  padding: 8px 18px;
}

.reg-success-detail {
  font-size: 13px;
  color: #cfe3d8;
  line-height: 1.5;
}
