/* GloomBet global theme — loaded after main.css on every page */

:root {
  --gb-bg: #08080C;
  --gb-panel: #1A1D24;
  --gb-panel-elevated: #151822;
  --gb-accent: #00FF41;
  --gb-purple: #A200FF;
  --gb-text: #A8AEBC;
  --gb-text-strong: #E8EAED;
  --gb-muted: #888E9B;
  --gb-border: rgba(255, 255, 255, 0.06);
  --gb-radius-sm: 8px;
  --gb-radius-md: 12px;
  --gb-radius-lg: 16px;
  --gb-glow-green: 0 0 15px rgba(0, 255, 65, 0.6);
  --gb-glow-purple: 0 0 10px rgba(162, 0, 255, 0.6);
  --gb-font-brand: 'Outfit', 'Segoe UI', sans-serif;
  --gb-sidebar-width: 260px;
  --gb-header-safe-right: 72px;
  --gb-header-shift-desktop: 80px;
  --gb-tabbar-base: 72px;
  --gb-tabbar-safe: env(safe-area-inset-bottom, 0px);
  --gb-tabbar-height: calc(var(--gb-tabbar-base) + var(--gb-tabbar-safe));

  /* Bootstrap / legacy token remaps */
  --blue: var(--gb-purple);
  --orange: var(--gb-accent);
  --yellow: var(--gb-accent);
  --green: var(--gb-accent);
  --warning: var(--gb-accent);
  --primary: var(--gb-purple);
  --dark: var(--gb-bg);
}

html,
body {
  width: 100%;
  min-width: 0;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
  min-height: 100vh;
  position: relative;
  background-color: var(--gb-bg);
}

#app {
  width: 100%;
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

main {
  flex: 1 0 auto;
  overflow-x: hidden;
}

/* Global backgrounds */
html,
body,
body.theme--dark,
.theme--dark,
#app,
main,
.wrapper,
.main-container {
  background-color: var(--gb-bg);
  background-image: none;
}

.theme--dark,
body.theme--dark {
  background: var(--gb-bg) !important;
  color: var(--gb-text);
}

.theme--dark h1,
.theme--dark h2,
.theme--dark h3,
.theme--dark h4,
.theme--dark b,
.theme--dark strong,
.popup__title span,
.tournier__item-title,
.profile__user-name {
  color: var(--gb-text-strong);
}

/* Panel / card surfaces — top-level cards only (no nested wrappers) */
.theme--dark .sidebar__block,
.history,
.profile__user,
.profile__stat-item,
.profile__settings,
.tournier__item,
.bonus__item {
  background-color: var(--gb-panel);
  background-image: none;
}

.theme--dark .history table tbody tr td {
  background: rgba(255, 255, 255, 0.03);
}

/* Legacy blue link / hover accents → purple */
.theme--dark .header__links li a:hover,
.theme--dark .header__user-dropdown a:hover,
.theme--dark .sidebar__game:hover,
a:hover {
  color: var(--gb-purple);
}

/* Legacy yellow / orange accents → neon green */
.text-warning,
.tournier__item-label--orange,
.btn--orange,
.btn--orange span,
.header__user-status-dot,
.history table tbody tr td:nth-child(3) .history__sum span,
.history table tbody tr td:nth-child(5) .history__sum span,
.history table tbody tr td:nth-child(3) .history__sum .icon,
.history table tbody tr td:nth-child(5) .history__sum .icon {
  color: var(--gb-accent);
  fill: var(--gb-accent);
}

.btn--orange {
  background: rgba(0, 255, 65, 0.12);
  border: 1px solid rgba(0, 255, 65, 0.35);
}

/* Live wins table */
.history table thead tr td {
  color: var(--gb-purple);
  text-shadow: 0 0 10px rgba(162, 0, 255, 0.6);
}

.history__game span {
  color: var(--gb-purple);
}

/* Removed chat panel — hide legacy DOM if present */
.chat {
  display: none;
}

/* Header — same obsidian as sidebar + bright UI kit accent line */
.header,
.theme--dark .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--gb-bg) !important;
  background-image: none !important;
  border-bottom: 1px solid rgba(162, 0, 255, 0.65) !important;
  box-shadow:
    0 1px 0 rgba(162, 0, 255, 0.35),
    0 8px 28px rgba(0, 0, 0, 0.35) !important;
  z-index: 4;
}

.header__wrapper {
  flex-wrap: nowrap !important;
  align-items: center !important;
}

.header .wrapper,
.header__wrapper {
  background: transparent;
  background-color: transparent;
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 1126px) {
  .header__wrapper {
    padding-left: calc(var(--gb-sidebar-width) + 1.5rem);
    padding-right: max(8px, calc(var(--gb-header-safe-right) - var(--gb-header-shift-desktop)));
  }

  .header__user {
    margin-right: max(
      8px,
      calc(40px - max(0px, var(--gb-header-shift-desktop) - var(--gb-header-safe-right) + 8px))
    ) !important;
  }
}

.header__links {
  display: none;
}

.header__left {
  display: none !important;
}

.header__brand {
  display: none !important;
}

.header__balance-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 0 !important;
  color: var(--gb-accent);
  fill: var(--gb-accent);
  filter: drop-shadow(0 0 6px rgba(0, 255, 65, 0.45));
}

.header__user-b {
  gap: 4px;
  align-items: center;
  margin-right: 12px !important;
}

.header__right,
.header__user,
.header__user-balance,
.header__user-balance-add,
.header__user-b {
  background: transparent;
}

.header__right {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  margin-left: auto;
  justify-content: flex-end;
  gap: 20px;
}

.header__user {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  gap: 20px;
  margin-right: 40px !important;
}

.header__user-identity {
  min-width: 0;
}

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

/* === Asymmetrical games grid (lobby) === */
.games.games-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 35px;
  grid-template-columns: 1fr;
}

.games.games-grid .game-card {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--gb-border);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.games.games-grid .game-card:hover {
  border-color: rgba(162, 0, 255, 0.35);
}

.games.games-grid .game-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 140px;
  background: transparent;
  background-image: none;
  flex: 1 1 auto;
}

.games.games-grid .game-card--wide .game-card__media {
  aspect-ratio: 32 / 10;
  min-height: 160px;
}

.games.games-grid .games__item-text {
  position: relative;
  z-index: 1;
  padding: 16px 20px 18px;
  margin-top: auto;
}

.games.games-grid .games__item-text span {
  color: var(--gb-text-strong);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.games.games-grid .games__item-text p {
  color: var(--gb-muted);
  margin: 4px 0 0;
}

/* Strip legacy thumbnails, gradients, and decorative layers */
.games.games-grid .games__item,
.games.games-grid .games__item[class*="games__item--"] {
  background: var(--gb-panel);
  background-image: none;
}

.games.games-grid .games__item::before,
.games.games-grid [class*="games__item-bg"] {
  display: none;
  background: none;
  background-image: none;
}

@media (min-width: 768px) {
  .games.games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .games.games-grid .game-card--wide {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .games.games-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .games.games-grid .game-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .games.games-grid .game-card--wide {
    grid-column: span 1;
  }

  .games.games-grid .game-card--wide .game-card__media {
    aspect-ratio: 16 / 10;
    min-height: 140px;
  }
}

/* === GloomBet sidebar navigation === */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--gb-sidebar-width);
  height: 100%;
  z-index: 5;
  padding: 28px 0 24px;
  background-color: var(--gb-bg);
  background-image: none;
  border-right: 1px solid var(--gb-border);
  box-sizing: border-box;
}

.sidebar__inner,
.sidebar__inner--nav {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.sidebar__inner--nav {
  padding: 0 16px;
}

.sidebar__top {
  flex: 0 0 auto;
}

.sidebar__logotype.sidebar__logotype--gloombet,
.sidebar__logotype--gloombet {
  width: auto;
  height: auto;
  min-height: 0;
  margin-right: 0;
}

.sidebar__top .sidebar__logotype--gloombet {
  margin: 0 0 28px;
}

.sidebar__logotype.sidebar__logotype--gloombet::before,
.sidebar__logotype--gloombet::before {
  display: none;
  content: none;
}

.sidebar__brand {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 12px;
  width: auto !important;
  height: auto !important;
  text-decoration: none;
  background: none !important;
  background-image: none !important;
}

.sidebar__logotype--gloombet .sidebar__brand {
  position: relative;
}

.sidebar__brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  flex-shrink: 0;
  object-fit: contain;
  mix-blend-mode: screen;
}

.sidebar__brand-text,
.gb-brand-wordmark {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  font-family: var(--gb-font-brand);
  font-size: 28.6px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
  text-transform: none;
}

.sidebar__brand-gloom {
  color: var(--gb-text-strong, #e8eaed);
}

.sidebar__brand-bet {
  color: var(--gb-accent, #00ff41);
}

/* Branded page heroes (Gloom Markets, GloomBet Profile, etc.) */
.gb-brand-page-title {
  font-family: var(--gb-font-brand);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f2f4f8;
  text-shadow:
    0 0 14px rgba(162, 0, 255, 0.45),
    0 0 26px rgba(162, 0, 255, 0.22),
    0 0 18px rgba(0, 255, 65, 0.12);
}

.sidebar__brand-logo--header {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.sidebar__brand-logo--mobile {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

.sidebar__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar__nav-list li {
  position: relative;
}

.sidebar__nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  margin-right: -16px;
  padding-right: 18px;
  border-radius: 12px 0 0 12px;
  color: var(--gb-muted);
  text-decoration: none;
  font-family: 'Gotham Pro', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  border-right: 3px solid transparent;
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.sidebar__nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.sidebar__nav-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gb-purple);
  color: var(--gb-purple);
  filter: drop-shadow(0 0 6px rgba(162, 0, 255, 0.55));
  transition: filter 0.2s ease, stroke 0.2s ease;
}

.sidebar__nav-label {
  white-space: nowrap;
}

.sidebar__nav-item:hover {
  color: var(--gb-text);
  background: rgba(162, 0, 255, 0.08);
}

.sidebar__nav-item:hover .sidebar__nav-icon svg {
  filter: drop-shadow(0 0 8px rgba(162, 0, 255, 0.75));
}

.sidebar__nav-item.sidebar__nav-item--active {
  color: var(--gb-text-strong);
  font-weight: 600;
  background: linear-gradient(90deg, rgba(162, 0, 255, 0.22) 0%, rgba(162, 0, 255, 0.06) 100%);
  border-right-color: var(--gb-purple);
  box-shadow: inset -4px 0 16px rgba(162, 0, 255, 0.18);
}

.sidebar__nav-item.sidebar__nav-item--active .sidebar__nav-icon svg {
  filter:
    drop-shadow(0 0 8px rgba(162, 0, 255, 0.95))
    drop-shadow(0 0 16px rgba(162, 0, 255, 0.55));
}

/* Branded Referral panel — GloomBet affiliate mini card */
.sidebar__nav-referral-wrap {
  margin: 4px 0 8px;
}

.sidebar__nav-item--referral {
  position: relative;
  margin-right: -12px;
  padding: 13px 14px 13px 12px;
  border-radius: 12px 0 0 12px;
  border: 1px solid rgba(162, 0, 255, 0.35);
  border-right: 2px solid rgba(0, 255, 65, 0.55);
  background: linear-gradient(
    135deg,
    rgba(18, 20, 28, 0.98) 0%,
    rgba(26, 16, 40, 0.92) 55%,
    rgba(12, 28, 18, 0.88) 100%
  );
  color: var(--gb-text-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(0, 255, 65, 0.08),
    0 4px 18px rgba(0, 0, 0, 0.35),
    0 0 22px rgba(162, 0, 255, 0.18);
  overflow: hidden;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.sidebar__nav-item--referral::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(162, 0, 255, 0.12) 0%,
    transparent 45%,
    rgba(0, 255, 65, 0.1) 100%
  );
  opacity: 0.85;
  pointer-events: none;
}

.sidebar__nav-item--referral .sidebar__nav-icon,
.sidebar__nav-item--referral .sidebar__nav-label,
.sidebar__nav-item--referral .sidebar__nav-referral-badge {
  position: relative;
  z-index: 1;
}

.sidebar__nav-icon--referral svg {
  stroke: var(--gb-accent);
  color: var(--gb-accent);
  filter:
    drop-shadow(0 0 6px rgba(0, 255, 65, 0.75))
    drop-shadow(0 0 12px rgba(0, 255, 65, 0.35));
}

.sidebar__nav-referral-badge {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gb-accent);
  background: rgba(0, 255, 65, 0.12);
  border: 1px solid rgba(0, 255, 65, 0.35);
  border-radius: 999px;
  padding: 3px 8px;
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.25);
}

.sidebar__nav-item--referral:hover {
  color: #fff;
  border-color: rgba(162, 0, 255, 0.55);
  border-right-color: var(--gb-accent);
  background: linear-gradient(
    135deg,
    rgba(22, 24, 34, 0.98) 0%,
    rgba(36, 18, 52, 0.95) 50%,
    rgba(14, 36, 22, 0.92) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(0, 255, 65, 0.18),
    0 6px 24px rgba(0, 0, 0, 0.4),
    0 0 28px rgba(162, 0, 255, 0.28),
    0 0 18px rgba(0, 255, 65, 0.22);
  transform: translateX(2px);
}

.sidebar__nav-item--referral:hover .sidebar__nav-icon--referral svg {
  filter:
    drop-shadow(0 0 10px rgba(0, 255, 65, 0.95))
    drop-shadow(0 0 18px rgba(0, 255, 65, 0.5));
}

.sidebar__nav-item--referral:hover .sidebar__nav-referral-badge {
  background: rgba(0, 255, 65, 0.2);
  box-shadow: 0 0 16px rgba(0, 255, 65, 0.45);
}

.sidebar__nav-item--referral.sidebar__nav-item--active {
  border-right-color: var(--gb-accent);
  border-color: rgba(162, 0, 255, 0.6);
  background: linear-gradient(
    90deg,
    rgba(162, 0, 255, 0.24) 0%,
    rgba(18, 20, 28, 0.96) 45%,
    rgba(0, 255, 65, 0.12) 100%
  );
  box-shadow:
    inset -4px 0 20px rgba(162, 0, 255, 0.22),
    0 0 24px rgba(0, 255, 65, 0.2);
}

.sidebar__nav-item--referral.sidebar__nav-item--active .sidebar__nav-icon--referral svg {
  filter:
    drop-shadow(0 0 10px rgba(0, 255, 65, 1))
    drop-shadow(0 0 20px rgba(0, 255, 65, 0.55));
}

@media (max-width: 1125px) {
  .sidebar__nav-referral-wrap {
    margin: 6px 0 10px;
  }

  .sidebar__nav-item--referral {
    margin-right: 0;
    border-radius: 12px;
    border-right: 1px solid rgba(162, 0, 255, 0.35);
  }

  .sidebar__nav-item--referral:hover {
    transform: none;
  }

  .sidebar__nav-referral-badge {
    font-size: 9px;
    padding: 2px 7px;
  }
}

.sidebar__bottom {
  flex: 0 0 auto;
  padding-top: 0;
  margin-top: auto;
  border-top: none;
}

.header__mobile-brand {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  min-width: 0;
}

.header__mobile-brand .sidebar__brand {
  align-items: center;
  min-width: 0;
}

.header__mobile-brand .sidebar__brand-logo,
.header__mobile-brand .sidebar__brand-logo--mobile {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

.header__mobile-brand .sidebar__brand-text {
  font-size: 22.1px;
  letter-spacing: 0.01em;
}

.theme--dark .sidebar__logotype a,
.theme--dark .sidebar__brand {
  display: inline-flex !important;
  flex-direction: row !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  background-image: none !important;
}

.theme--dark {
  background: var(--gb-bg) !important;
  color: var(--gb-text) !important;
}

.theme--dark .header {
  background: var(--gb-bg) !important;
  background-color: var(--gb-bg) !important;
  border-bottom-color: rgba(162, 0, 255, 0.65) !important;
}

.theme--dark .history table thead tr td {
  color: var(--gb-purple) !important;
  text-shadow: var(--gb-glow-purple);
}

.theme--dark .preloader {
  background: var(--gb-bg) !important;
}

/* GloomBet loading screen */
.preloader__lift {
  width: auto;
  height: auto;
  animation: none !important;
}

.preloader__lift-container {
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}

.preloader__loader {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  opacity: 1;
  animation: gbPreloaderGlow 1.4s ease-in-out infinite alternate !important;
  animation-delay: 0s !important;
}

.preloader__logo {
  display: block;
  width: 256px;
  height: 256px;
  max-width: min(256px, 72vw);
  max-height: min(256px, 72vw);
  object-fit: contain;
}

@keyframes gbPreloaderGlow {
  0% {
    opacity: 0.45;
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.16));
  }

  100% {
    opacity: 1;
    filter: drop-shadow(0 0 32px rgba(255, 255, 255, 0.42));
  }
}

.preloader.preloader-remove {
  pointer-events: none !important;
  visibility: hidden;
}

/* Layout shell */
main,
.main-container,
.preloader,
.theme--dark .preloader {
  background-color: var(--gb-bg) !important;
  background-image: none !important;
}

main .wrapper,
.footer .wrapper,
.gb-site-footer .wrapper {
  max-width: min(1600px, 100%);
}

@media (min-width: 1600px) {
  main .wrapper,
  .footer .wrapper,
  .gb-site-footer .wrapper,
  main > .wrapper,
  .gb-casino-lobby,
  .gb-welcome.wrapper {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.footer,
.theme--dark .footer {
  background: transparent !important;
  border-top: 1px solid var(--gb-border);
}

.footer__link a,
.theme--dark .footer__link a {
  color: var(--gb-muted) !important;
}

.footer__link a:hover {
  color: var(--gb-purple) !important;
}

.footer__text,
.theme--dark .footer__text {
  color: rgba(136, 142, 155, 0.55) !important;
}

.chat {
  display: none !important;
}

.history--live-bets {
  display: none !important;
}

/* Standalone panel cards */
.gb-panel,
.history,
.tournier__item,
.bonus__item,
.profile__user,
.profile__stat-item,
.profile__settings {
  background-color: var(--gb-panel) !important;
  background-image: none !important;
  border: 1px solid var(--gb-border);
  border-radius: var(--gb-radius-md);
}

.history {
  padding: 16px 20px 20px;
  box-shadow: var(--gb-shadow-panel);
}

.history::before,
.theme--dark .history::before {
  display: none !important;
}

.theme--dark .history table tbody tr td,
.history table tbody tr td {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--gb-text) !important;
  border-radius: var(--gb-radius-sm);
}

.history table tbody tr td:nth-child(3) .history__sum span,
.history table tbody tr td:nth-child(5) .history__sum span,
.history table tbody tr td:nth-child(3) .history__sum .icon,
.history table tbody tr td:nth-child(5) .history__sum .icon {
  color: var(--gb-accent) !important;
  fill: var(--gb-accent) !important;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.45);
}

.history__x span,
.history__x-bg,
.theme--dark .history__x span {
  color: var(--gb-purple) !important;
  text-shadow: var(--gb-glow-purple);
}

.history__user span {
  color: var(--gb-text-strong);
}

/* Buttons */
.btn {
  border-radius: var(--gb-radius-md);
  font-weight: 600;
  transition: box-shadow 0.2s ease, transform 0.15s ease, background 0.2s ease;
}

.btn--deposit {
  background: var(--gb-accent) !important;
  color: var(--gb-bg) !important;
  font-weight: 700;
  box-shadow: var(--gb-glow-green);
  border: none;
  border-radius: var(--gb-radius-md);
  min-height: 44px;
  padding: 0 20px;
}

.btn--deposit:hover {
  box-shadow: 0 0 22px rgba(0, 255, 65, 0.75);
}

.btn--blue,
.btn--purple {
  background: linear-gradient(135deg, rgba(162, 0, 255, 0.95) 0%, rgba(120, 0, 200, 0.95) 100%) !important;
  border: 1px solid rgba(162, 0, 255, 0.45) !important;
  box-shadow: 0 0 16px rgba(162, 0, 255, 0.35);
}

.btn--blue span,
.btn--purple span {
  color: var(--gb-text-strong) !important;
}

.btn--blue:hover,
.btn--purple:hover {
  box-shadow: 0 0 22px rgba(162, 0, 255, 0.5);
}

.btn--green {
  background: rgba(0, 255, 65, 0.14) !important;
  border: 1px solid rgba(0, 255, 65, 0.4) !important;
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.2);
}

.btn--green span {
  color: var(--gb-accent) !important;
}

.btn--red {
  background: rgba(255, 80, 80, 0.12) !important;
  border: 1px solid rgba(255, 80, 80, 0.35) !important;
}

.btn--red span {
  color: #ff8a8a !important;
}

.btn--gray-border {
  background: transparent !important;
  border: 1px solid var(--gb-border) !important;
  color: var(--gb-text) !important;
}

.btn--gray-border:hover {
  border-color: rgba(162, 0, 255, 0.35) !important;
  color: var(--gb-text-strong) !important;
}

.btn.disabled {
  opacity: 0.45;
}

/* Header user block */
.header__user-identity {
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.header__user-menu-toggle {
  border: 0;
  background: transparent;
  color: var(--gb-text);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 4px;
  padding: 0;
  cursor: pointer;
  border-radius: var(--gb-radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.header__user-menu-toggle:hover {
  color: var(--gb-text-strong);
  background: rgba(255, 255, 255, 0.06);
}

.header__user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.header__user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gb-text-strong);
  max-width: 96px;
}

.header__user-status {
  font-size: 11px;
  color: var(--gb-text);
  gap: 5px;
}

.header__user-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gb-accent);
  box-shadow: 0 0 8px rgba(0, 255, 65, 0.7);
}

#balance,
.theme--dark #balance {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 10px 6px 8px;
  margin-left: 6px;
  border: 1px solid transparent;
  border-radius: var(--gb-radius-sm);
  background:
    linear-gradient(rgba(22, 25, 32, 0.82), rgba(22, 25, 32, 0.82)) padding-box,
    linear-gradient(135deg, rgba(0, 255, 65, 0.55), rgba(162, 0, 255, 0.42) 52%, rgba(0, 255, 65, 0.38)) border-box;
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 10px rgba(0, 255, 65, 0.14),
    0 0 18px rgba(162, 0, 255, 0.1);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.header__balance-usdt {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.header__balance-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header__balance-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 2px;
  opacity: 0.72;
  color: #fff;
}

#balance.header__balance-chip--in-game {
  cursor: default;
  pointer-events: none;
}

#balance.header__balance-chip--in-game .header__balance-value {
  max-width: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

#balance:hover {
  background:
    linear-gradient(rgba(26, 29, 36, 0.92), rgba(26, 29, 36, 0.92)) padding-box,
    linear-gradient(135deg, rgba(0, 255, 65, 0.72), rgba(162, 0, 255, 0.58) 52%, rgba(0, 255, 65, 0.52)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 14px rgba(0, 255, 65, 0.22),
    0 0 24px rgba(162, 0, 255, 0.16);
}

.theme--dark .header__user-profile {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: auto;
  height: auto;
  padding: 0;
}

.theme--dark .header__user-profile::before,
.theme--dark .header__user-profile:before {
  display: none !important;
  content: none !important;
}

.theme--dark .header__user-profile.dropdown {
  background: var(--gb-panel-elevated) !important;
  border: 1px solid var(--gb-border) !important;
  border-radius: var(--gb-radius-md) var(--gb-radius-md) 0 0 !important;
  padding: 8px 12px 0;
}

.theme--dark .header__user-dropdown {
  background: var(--gb-panel-elevated) !important;
  border: 1px solid var(--gb-border) !important;
  border-top: none !important;
  border-radius: 0 0 var(--gb-radius-md) var(--gb-radius-md) !important;
}

.theme--dark .header__user-dropdown a {
  color: var(--gb-text) !important;
}

.theme--dark .header__user-dropdown a:hover {
  color: var(--gb-purple) !important;
  background: rgba(162, 0, 255, 0.08) !important;
}

/* Inputs */
.theme--dark .bx-input__input input,
.theme--dark .bx-input__input textarea,
.bx-input__input input,
.bx-input__input textarea {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: var(--gb-text-strong) !important;
  box-shadow: none !important;
}

.theme--dark .bx-input,
.bx-input {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.theme--dark .bx-input__input,
.bx-input__input {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid var(--gb-border) !important;
  border-radius: var(--gb-radius-sm) !important;
  box-shadow: none !important;
}

.theme--dark .bx-input__input:focus-within,
.bx-input__input:focus-within {
  border-color: rgba(162, 0, 255, 0.45) !important;
  box-shadow: 0 0 0 2px rgba(162, 0, 255, 0.12);
}

.theme--dark .bx-input__input label,
.bx-input__input label {
  color: var(--gb-muted) !important;
}

/* Popups — single outer frame, flat inner layout */
.overlayed {
  background: rgba(8, 8, 12, 0.82) !important;
}

.popup {
  background: var(--gb-panel) !important;
  border: 1px solid rgba(162, 0, 255, 0.28) !important;
  border-radius: var(--gb-radius-lg) !important;
  box-shadow: var(--gb-shadow-panel), 0 0 32px rgba(162, 0, 255, 0.1) !important;
  overflow: hidden;
}

.popup__title {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--gb-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.popup__title::before {
  display: none !important;
}

.popup__content,
.popup .wallet,
.wallet__content,
.wallet__content-top,
.wallet__content-bottom,
.wallet__order,
.wallet__txt,
.wallet__scroll,
.wallet__block {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.popup__tabs {
  background: transparent !important;
  border: none !important;
}

.popup__tab {
  color: var(--gb-muted);
  background: transparent !important;
  border: none !important;
  border-radius: var(--gb-radius-sm);
}

.popup__tab:hover {
  color: var(--gb-text);
}

.popup__tab--active,
.popup__tab.popup__tab--active {
  color: var(--gb-purple) !important;
  text-shadow: var(--gb-glow-purple);
}

.popup__tab--active .icon {
  color: var(--gb-purple) !important;
  fill: var(--gb-purple) !important;
  filter: drop-shadow(0 0 6px rgba(162, 0, 255, 0.55));
}

.wallet__methods {
  background: rgba(0, 0, 0, 0.18) !important;
  border: none !important;
  border-radius: var(--gb-radius-md) !important;
  box-shadow: none !important;
}

.wallet__method {
  background: rgba(255, 255, 255, 0.04) !important;
  border: none !important;
  border-left: 3px solid transparent !important;
  border-radius: var(--gb-radius-sm) !important;
  box-shadow: none !important;
}

.wallet__method:hover {
  background: rgba(255, 255, 255, 0.07) !important;
}

.wallet__method--active,
.wallet__method.wallet__method--active {
  background: rgba(162, 0, 255, 0.12) !important;
  border: none !important;
  border-left: 3px solid var(--gb-purple) !important;
  box-shadow: none !important;
}

.popup .bx-input,
.theme--dark .popup .bx-input {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.popup .bx-input__input,
.theme--dark .popup .bx-input__input {
  background: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid var(--gb-border) !important;
  border-radius: var(--gb-radius-sm) !important;
  box-shadow: none !important;
}

.popup .bx-input__input:focus-within {
  border-color: rgba(162, 0, 255, 0.45) !important;
  box-shadow: 0 0 0 2px rgba(162, 0, 255, 0.12);
}

.popup .bx-input__text,
.popup .wallet__txt,
.popup .wallet__txt span {
  color: var(--gb-text) !important;
  background: transparent !important;
  border: none !important;
}

.popup .x30__bet-placed a,
.popup .payments a {
  background: rgba(255, 255, 255, 0.06) !important;
  border: none !important;
  border-radius: var(--gb-radius-sm) !important;
  color: var(--gb-text) !important;
  box-shadow: none !important;
}

.popup .x30__bet-placed a:hover,
.popup .payments a:hover {
  background: rgba(162, 0, 255, 0.14) !important;
  color: var(--gb-purple) !important;
}

.popup .close,
.popup__close {
  color: var(--gb-muted);
  background: transparent !important;
  border: none !important;
}

.popup .close:hover {
  color: var(--gb-text-strong);
}

/* Homepage tournaments banner */
.tournier {
  position: relative;
  margin-top: 20px;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  padding: 0;
}

.tournier__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  margin-bottom: 18px;
  padding: 14px 20px;
  text-decoration: none;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(162, 0, 255, 0.16) 0%, rgba(162, 0, 255, 0.05) 38%, transparent 72%),
    var(--gb-panel) !important;
  background-color: var(--gb-panel) !important;
  border: 1px solid rgba(162, 0, 255, 0.28) !important;
  border-left: 3px solid var(--gb-purple) !important;
  border-radius: var(--gb-radius-md);
  box-shadow: 0 0 18px rgba(162, 0, 255, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tournier__link::before,
.tournier__link::after {
  display: none !important;
  content: none !important;
}

.tournier__link:hover {
  border-color: rgba(162, 0, 255, 0.45) !important;
  box-shadow: 0 0 24px rgba(162, 0, 255, 0.18);
}

.tournier__link b {
  color: var(--gb-text-strong) !important;
  font-weight: 700;
  font-size: 15px;
  pointer-events: none;
}

.tournier__link .icon {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  color: var(--gb-purple) !important;
  fill: var(--gb-purple) !important;
  filter: drop-shadow(0 0 8px rgba(162, 0, 255, 0.65));
  pointer-events: none;
}

.tournier__link > span {
  color: var(--gb-accent) !important;
  fill: var(--gb-accent) !important;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.35);
  pointer-events: none;
}

.tournier__item-label--orange {
  color: var(--gb-accent) !important;
}

/* Mobile tab bar */
.mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: var(--gb-tabbar-base);
  box-sizing: border-box;
  padding: 8px 12px max(8px, env(safe-area-inset-bottom, 0px));
  background: var(--gb-bg);
  border-top: 1px solid rgba(162, 0, 255, 0.45);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  z-index: 30;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.mobile-tabbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: max(0px, calc(100vh - 100dvh));
  background: var(--gb-bg);
  pointer-events: none;
}

.mobile-tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--gb-muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  padding: 4px 2px;
  border-radius: 10px;
  transition: color 0.2s ease, filter 0.2s ease;
}

.mobile-tabbar__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.mobile-tabbar__item--active,
.mobile-tabbar__item:hover {
  color: var(--gb-purple);
}

.mobile-tabbar__item--active .mobile-tabbar__icon svg {
  filter: drop-shadow(0 0 8px rgba(162, 0, 255, 0.65));
}

/* Mobile sidebar drawer */
.mobile-sidebar-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(8, 8, 12, 0.78);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.26s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-tap-highlight-color: transparent;
}

.mobile-sidebar-backdrop.mobile-sidebar-backdrop--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sidebar__drawer-close {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--gb-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gb-text);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s ease, background 0.2s ease;
}

.sidebar__drawer-close:hover {
  color: var(--gb-text-strong);
  background: rgba(162, 0, 255, 0.14);
}

.sidebar__drawer-close svg {
  width: 18px;
  height: 18px;
}

body.mobile-sidebar-open {
  overflow: hidden;
}

/* Toasts */
#toast-container > .toast-info.toast--coming-soon,
#toast-container > div.toast-info,
.theme--dark #toast-container > div {
  background-color: var(--gb-panel-elevated) !important;
  border: 1px solid rgba(162, 0, 255, 0.35) !important;
  border-left: 4px solid var(--gb-purple) !important;
  color: var(--gb-text-strong) !important;
  box-shadow: var(--gb-shadow-panel), 0 0 24px rgba(162, 0, 255, 0.12);
  opacity: 1 !important;
}

#toast-container > div.toast-info .toast-title {
  color: var(--gb-purple) !important;
  font-weight: 600;
  text-shadow: var(--gb-glow-purple);
}

#toast-container > div.toast-info .toast-message {
  color: var(--gb-text) !important;
}

/* Legacy theme--dark game surfaces */
.theme--dark .dice__main,
.theme--dark .mines__wrapper,
.theme--dark .coinflip,
.theme--dark .keno__content,
.theme--dark .crash,
.theme--dark .x30__wrapper,
.theme--dark .x100__wrapper,
.theme--dark .jackpot__wrapper,
.theme--dark .help,
.theme--dark .wallet__tabs,
.theme--dark .wallet__history-item {
  background-color: rgba(255, 255, 255, 0.03) !important;
  background-image: none !important;
  border: 1px solid var(--gb-border) !important;
  border-radius: var(--gb-radius-sm);
}

.theme--dark .dice__select-chance a.active,
.theme--dark .wallet__tab.active,
.theme--dark .wallet__method.active {
  color: var(--gb-purple) !important;
  border-color: rgba(162, 0, 255, 0.45) !important;
  box-shadow: 0 0 12px rgba(162, 0, 255, 0.2);
}

.theme--dark .help .icon,
.theme--dark .help:hover {
  color: var(--gb-purple) !important;
  fill: var(--gb-purple) !important;
}

/* Wallet tabs / methods (outside popup context) */
.wallet__block {
  background: transparent !important;
  border: none !important;
}

.wallet__method {
  border-radius: var(--gb-radius-sm);
}

/* Auth forms in popup */
.auth-password-toggle {
  border: 0;
  background: transparent;
  color: var(--gb-muted);
  cursor: pointer;
  padding: 0;
  line-height: 0;
  flex-shrink: 0;
}

.auth-password-toggle__icon--hide {
  display: none;
}

.auth-password-toggle.auth-password-toggle--visible .auth-password-toggle__icon--show {
  display: none;
}

.auth-password-toggle.auth-password-toggle--visible .auth-password-toggle__icon--hide {
  display: inline-block;
}

.auth-input-row input {
  flex: 1;
  min-width: 0;
}

.auth-field-error,
.auth-form-error {
  color: #ff6b6b;
  font-size: 12px;
  line-height: 1.3;
  margin-top: 6px;
  min-height: 16px;
}

.auth-form-error {
  text-align: center;
}

.auth-input-row {
  gap: 8px;
}

.auth-password-toggle:hover {
  color: var(--gb-text-strong);
}

.btn--deposit__mobile {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.btn--deposit__mobile svg {
  width: 18px;
  height: 18px;
}

.header__user-menu-toggle svg {
  width: 16px;
  height: 16px;
}

.header__user-meta {
  gap: 2px;
  line-height: 1.2;
}

.header__user-balance {
  flex: 0 1 auto;
  min-width: 0;
  gap: 10px;
}

.header__user-balance-add {
  flex-shrink: 0;
}

.header__user-profile {
  flex: 0 0 auto;
  margin-left: 4px;
}

.header__user-identity {
  min-width: 0;
  max-width: 100%;
}

.auth-email-status {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.auth-email-status.auth-email-status--success {
  display: inline-flex;
  color: var(--gb-accent);
}

.auth-email-status.auth-email-status--error {
  display: inline-flex;
  color: #ff6b6b;
}

.auth-email-status.auth-email-status--loading {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

/* Responsive — tablet & mobile shell (sidebar hidden below 1125px in main.css) */
@media (max-width: 1125px) {
  .sidebar {
    display: flex !important;
    flex-direction: column;
    transform: translate3d(-105%, 0, 0);
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 45;
    max-width: min(var(--gb-sidebar-width), 88vw);
    box-shadow: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar.sidebar--drawer-open {
    transform: translate3d(0, 0, 0);
    box-shadow: 12px 0 48px rgba(0, 0, 0, 0.55);
  }

  .sidebar__drawer-close {
    display: flex;
  }

  .sidebar__logotype--drawer-header {
    width: 100%;
    height: auto;
    gap: 12px;
    margin-bottom: 28px;
  }

  .sidebar__logotype--drawer-header .sidebar__brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  main,
  .header,
  .footer,
  .gb-site-footer,
  #app {
    max-width: 100%;
    overflow-x: clip;
  }

  main,
  .header,
  .footer,
  .gb-site-footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  #app {
    height: auto !important;
    min-height: 100dvh;
  }

  main {
    margin-top: 56px !important;
    padding-bottom: 24px !important;
    overscroll-behavior-y: none;
  }

  #crash-app,
  #mines-app,
  #dice-app {
    width: 100%;
    max-width: 100%;
    overscroll-behavior: contain;
  }

  #crash-app .crash-shell,
  #mines-app .mines-shell,
  #dice-app .dice-shell {
    overscroll-behavior: contain;
    touch-action: pan-y;
  }

  body.slot-advanced-active main {
    padding-bottom: 72px !important;
  }

  .header {
    height: 56px;
    overflow: hidden;
  }

  .header .wrapper,
  .header__wrapper {
    height: 100%;
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    justify-content: space-between !important;
    gap: 8px;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .header__mobile-brand {
    display: flex;
    position: static;
    transform: none;
    pointer-events: auto;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 42%;
  }

  .header__right {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    justify-content: flex-end !important;
    margin-left: auto;
    flex-wrap: nowrap !important;
  }

  .header__user {
    width: auto !important;
    max-width: 100%;
    justify-content: flex-end !important;
    margin-right: 0 !important;
    gap: 8px;
    flex-wrap: nowrap !important;
  }

  .header__user-balance {
    min-width: 0;
    flex-shrink: 1;
    justify-content: flex-end;
  }

  .header__user-b span,
  .header__balance-value,
  #balance {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 96px;
  }

  #balance {
    max-width: none;
    overflow: visible;
  }

  .footer {
    padding-bottom: calc(var(--gb-tabbar-height) + 24px) !important;
  }

  .gb-site-footer,
  .footer {
    display: block !important;
    visibility: visible !important;
    flex: 0 0 auto !important;
    opacity: 1 !important;
    overflow: visible !important;
  }

  .gb-site-footer {
    padding-bottom: calc(var(--gb-tabbar-height) + 24px) !important;
  }

  main .wrapper,
  .footer .wrapper,
  .gb-site-footer .wrapper {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .mobile-tabbar {
    display: flex !important;
  }

  .mobile-menu,
  .mobile-navbar {
    display: none !important;
  }

  .games.games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .games.games-grid .game-card--wide {
    grid-column: span 2;
  }

  .tournier__link {
    flex-wrap: wrap;
    gap: 8px;
    min-height: auto;
    padding: 12px 16px;
  }

  .tournier__link b {
    font-size: 14px;
  }

  .popup {
    width: calc(100vw - 24px) !important;
    max-width: 560px !important;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }

  .popup__title {
    padding: 14px 16px !important;
    gap: 8px;
  }

  .popup__tab {
    padding: 10px 12px !important;
    font-size: 12px;
  }

  .popup__content {
    padding: 16px !important;
  }

  .popup .wallet,
  .wallet--refill,
  .wallet--withdraw {
    flex-direction: column !important;
  }

  .wallet__methods {
    width: 100% !important;
    height: auto !important;
    max-height: 200px;
    margin-bottom: 12px;
  }

  .wallet__content {
    width: 100% !important;
    padding-left: 0 !important;
  }

  .wallet__order {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px;
  }

  .wallet__order .btn {
    width: 100%;
    justify-content: center;
  }

  .profile {
    flex-direction: column !important;
  }

  .profile__user {
    width: 100% !important;
    max-width: 100%;
  }

  .profile__stats {
    width: 100% !important;
    padding-left: 0 !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .profile__settings {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px;
  }

  .profile__settings-check {
    width: 100% !important;
  }

  .bonus__items {
    grid-template-columns: 1fr !important;
  }

  .bonus__content .bx-input__input {
    width: 100% !important;
  }

  .overlayed {
    padding: 16px 12px !important;
    padding-top: calc(56px + 12px) !important;
    align-items: flex-start !important;
  }

  .overlayed.active {
    align-items: flex-start !important;
  }

  .header__user {
    margin-right: 0 !important;
  }

  .header__user-b {
    margin-right: 0 !important;
    min-width: 0;
  }

  .header__user-balance {
    min-width: 0;
    flex-shrink: 1;
  }

  .header__user-b span,
  .header__balance-value,
  #balance {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 96px;
  }

  #balance {
    max-width: none;
    overflow: visible;
  }

  .header__balance-icon {
    display: inline-flex !important;
  }

  .footer__links {
    width: 100%;
    justify-content: center;
    gap: 8px 16px;
  }

  .footer__text {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }

  .games__item-text span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 1280px) {
  .header__user-name {
    max-width: 72px;
  }

  .btn--deposit {
    padding: 0 12px;
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .header__wrapper {
    min-height: 56px;
    height: 56px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .header__mobile-brand .sidebar__brand {
    gap: 6px;
  }

  .header__mobile-brand .sidebar__brand-logo,
  .header__mobile-brand .sidebar__brand-logo--mobile {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .header__mobile-brand .sidebar__brand-text {
    font-size: 18px;
    letter-spacing: 0.01em;
  }

  .header__balance-icon {
    display: none;
  }

  .header__balance-value {
    max-width: 72px;
  }

  #balance.header__balance-chip--in-game .header__balance-value {
    max-width: none;
    font-size: 11px;
  }

  #balance {
    font-size: 16px;
    min-height: 34px;
    padding: 5px 9px 5px 7px;
    margin-left: 4px;
    gap: 6px;
  }

  .header__balance-usdt {
    width: 16px;
    height: 16px;
  }

  .btn--deposit__text {
    display: none;
  }

  .btn--deposit__mobile {
    display: flex;
  }

  .btn--deposit {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
  }

  .header__user-meta {
    display: none !important;
  }

  .header__user-avatar {
    width: 32px;
    height: 32px;
  }

  .header__user-balance {
    gap: 8px;
  }

  .games.games-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .games.games-grid .game-card--wide {
    grid-column: span 1 !important;
  }

  .games__item {
    height: auto;
  }

  .header__user-balance {
    gap: 8px;
  }

  .profile__stats {
    grid-template-columns: 1fr !important;
  }

  .profile__stat-item span {
    font-size: 20px;
  }

  .popup__tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .popup__tabs::-webkit-scrollbar {
    display: none;
  }

  .popup__tab span {
    white-space: nowrap;
  }

  .popup .x30__bet-placed,
  .popup .payments {
    flex-wrap: wrap;
    gap: 8px;
  }

  .popup .x30__bet-placed a,
  .popup .payments a {
    flex: 1 1 calc(33.333% - 8px);
    min-width: 56px;
    text-align: center;
    justify-content: center;
  }

  .history {
    padding: 12px !important;
    overflow-x: auto;
  }

  .history table {
    display: table !important;
    min-width: 520px;
  }
}

@media (max-width: 475px) {
  .toast-top-right {
    margin-top: 60px !important;
  }

  .mobile-tabbar__label {
    font-size: 9px;
  }

  .tournier__link > span {
    font-size: 11px;
  }
}

/* === Legacy overrides — kill nested frames from main.css === */
.theme--dark .wallet__methods {
  box-shadow: none !important;
}

.theme--dark .popup__tab,
.popup__tab {
  border: none !important;
}

.theme--dark .popup__tab--active,
.popup__tab--active {
  border: none !important;
  box-shadow: none !important;
}

.theme--dark .popup .close,
.popup .close {
  background: transparent !important;
  box-shadow: none !important;
}

.theme--dark .popup__title::before,
.theme--dark .popup__title:before {
  display: none !important;
  content: none !important;
  background: none !important;
  height: 0 !important;
}

/* Flatten nested wrappers inside panel cards */
.bonus__item .bonus__item-title,
.bonus__item .bx-input,
.profile__user .profile__top,
.profile__user .profile__avatar,
.profile__user .profile__username,
.profile__user .profile__balance,
.profile__settings .bx-input,
.popup--auth .bx-input,
.popup .wallet__order,
.popup .wallet__txt {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.bonus__item .bx-input__input,
.profile__settings .bx-input__input,
.popup--auth .bx-input__input {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid var(--gb-border) !important;
  box-shadow: none !important;
}

.auth-referral-input-wrap {
  border-color: rgba(162, 0, 255, 0.28) !important;
  background: linear-gradient(135deg, rgba(10, 10, 16, 0.95) 0%, rgba(18, 14, 28, 0.9) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 14px rgba(162, 0, 255, 0.12) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-referral-input-wrap:focus-within {
  border-color: rgba(0, 255, 65, 0.45) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 18px rgba(0, 255, 65, 0.18),
    0 0 12px rgba(162, 0, 255, 0.2) !important;
}

.auth-referral-input {
  flex: 1;
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--gb-text-strong) !important;
  font-family: 'Gotham Pro', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-referral-input::placeholder {
  color: var(--gb-muted);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.auth-referral-input__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 10px;
  color: var(--gb-accent);
  filter: drop-shadow(0 0 6px rgba(0, 255, 65, 0.55));
}

.auth-referral-field .auth-field-error {
  margin-top: 4px;
}

/* Active wallet method keeps brand stripe from colors_systems (left only) */
.wallet__method--active.wallet__method[class*="_DEPOSIT"],
.wallet__method--active.wallet__method[class*="_WITHDRAW"] {
  border: none !important;
  border-left-width: 3px !important;
  border-left-style: solid !important;
}

/* === Module maintenance / SOON page === */
.gb-soon {
  position: relative;
  margin-top: 20px;
  min-height: min(560px, calc(100dvh - 220px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  border-radius: var(--gb-radius-lg);
  border: 1px solid rgba(162, 0, 255, 0.28);
  background: var(--gb-panel);
  overflow: hidden;
  box-shadow: var(--gb-shadow-panel), inset 0 0 80px rgba(162, 0, 255, 0.06);
}

.gb-soon__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.gb-soon__grid {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(162, 0, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(162, 0, 255, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(480px) rotateX(58deg) translateY(-8%);
  transform-origin: center top;
  animation: gb-soon-grid-drift 18s linear infinite;
}

.gb-soon__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: gb-soon-orb-pulse 6s ease-in-out infinite alternate;
}

.gb-soon__orb--purple {
  width: 280px;
  height: 280px;
  top: -80px;
  left: -60px;
  background: rgba(162, 0, 255, 0.45);
}

.gb-soon__orb--green {
  width: 220px;
  height: 220px;
  right: -40px;
  bottom: -60px;
  background: rgba(0, 255, 65, 0.28);
  animation-delay: 1.5s;
}

.gb-soon__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.12) 3px,
    rgba(0, 0, 0, 0.12) 4px
  );
  opacity: 0.35;
  mix-blend-mode: overlay;
}

.gb-soon__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.gb-soon__badge {
  display: inline-flex;
  gap: 8px;
  margin: 0 auto 28px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(162, 0, 255, 0.35);
  background: rgba(8, 8, 12, 0.55);
  box-shadow: 0 0 18px rgba(162, 0, 255, 0.15);
}

.gb-soon__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gb-accent);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.85);
  animation: gb-soon-dot-blink 1.8s ease-in-out infinite;
}

.gb-soon__badge-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gb-purple);
  text-shadow: var(--gb-glow-purple);
}

.gb-soon__title-wrap {
  position: relative;
  margin: 0 auto 16px;
  line-height: 0.9;
}

.gb-soon__title {
  display: block;
  font-family: 'Gotham Pro', 'Montserrat', sans-serif;
  font-size: clamp(4rem, 16vw, 7.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 0.92;
}

.gb-soon__title--ghost {
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(162, 0, 255, 0.35);
  text-shadow: none;
  transform: translate(3px, 3px);
  opacity: 0.7;
}

.gb-soon__title--main {
  position: relative;
  background: linear-gradient(
    135deg,
    #e8c4ff 0%,
    var(--gb-purple) 28%,
    #7b00ff 52%,
    var(--gb-accent) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(162, 0, 255, 0.65)) drop-shadow(0 0 40px rgba(0, 255, 65, 0.25));
  animation: gb-soon-title-glow 4s ease-in-out infinite alternate;
}

.gb-soon__status {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(168, 174, 188, 0.75);
}

.gb-soon__message {
  margin: 0 auto 32px;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--gb-text);
}

.gb-soon__actions {
  justify-content: center;
  gap: 12px;
}

.gb-soon__cta {
  min-width: 160px;
  min-height: 48px;
}

.gb-soon__cta-secondary {
  min-width: 140px;
  min-height: 48px;
}

@keyframes gb-soon-grid-drift {
  from { transform: perspective(480px) rotateX(58deg) translateY(-8%) translateX(0); }
  to { transform: perspective(480px) rotateX(58deg) translateY(-8%) translateX(42px); }
}

@keyframes gb-soon-orb-pulse {
  from { opacity: 0.35; transform: scale(0.92); }
  to { opacity: 0.65; transform: scale(1.08); }
}

@keyframes gb-soon-dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes gb-soon-title-glow {
  from { filter: drop-shadow(0 0 18px rgba(162, 0, 255, 0.5)) drop-shadow(0 0 32px rgba(0, 255, 65, 0.15)); }
  to { filter: drop-shadow(0 0 28px rgba(162, 0, 255, 0.85)) drop-shadow(0 0 48px rgba(0, 255, 65, 0.35)); }
}

@media (max-width: 767px) {
  .gb-soon {
    min-height: min(480px, calc(100dvh - 180px));
    padding: 36px 16px;
    margin-top: 12px;
  }

  .gb-soon__badge {
    margin-bottom: 22px;
  }

  .gb-soon__message {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .gb-soon__actions {
    flex-direction: column;
    width: 100%;
  }

  .gb-soon__cta,
  .gb-soon__cta-secondary {
    width: 100%;
    max-width: 280px;
  }
}

/* === Welcome dashboard (RealBet-style hero) === */
.gb-welcome {
  padding-bottom: 0;
  background: #08080c;
}

.gb-home-games {
  margin-bottom: 0;
}

.gb-home-games__section--slots-tail {
  margin-bottom: 0;
  overflow: visible;
}

.gb-home-games__section--slots-tail .gb-home-games__slots-preview,
.gb-home-games__section--slots-tail .gb-home-games__slots-stage {
  overflow: visible;
}

.gb-home-games__section--slots-tail .gb-home-games__slots-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 12, 0) 0%,
    rgba(8, 8, 12, 0.55) 42%,
    #08080c 100%
  );
  pointer-events: none;
  z-index: 2;
}

.gb-home-games__section--slots-tail .gb-home-games__slots-fade-overlay {
  height: 52%;
  min-height: 128px;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 12, 0) 0%,
    rgba(8, 8, 12, 0.62) 48%,
    rgba(8, 8, 12, 0.94) 100%
  );
}

main:has(.gb-welcome) + .gb-site-footer {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

main:has(.gb-welcome) + .gb-site-footer .gb-site-footer__inner {
  padding-top: 12px;
}

@media (min-width: 768px) {
  main:has(.gb-welcome) + .gb-site-footer .gb-site-footer__inner {
    padding-top: 16px;
  }

  .gb-home-games__section--slots-tail .gb-home-games__slots-stage::after {
    height: 140px;
  }
}

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

.gb-home-games__section-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8eaed;
}

.gb-home-games__view-all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(162, 0, 255, 0.42);
  border-radius: 8px;
  background: transparent;
  color: #e8eaed;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.gb-home-games__view-all:hover {
  border-color: rgba(0, 255, 65, 0.45);
  color: var(--gb-accent);
  box-shadow: 0 0 14px rgba(0, 255, 65, 0.12);
}

.gb-home-games__empty {
  margin: 0;
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1a1d24;
  font-size: 13px;
  color: #888e9b;
}

.gb-home-games__carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.gb-home-games__carousel--slots {
  gap: 8px;
  flex-wrap: nowrap;
}

.gb-home-games__carousel--markets {
  gap: 12px;
  flex-wrap: nowrap;
}

.gb-home-games__carousel--slots .gb-casino-lobby__game-card--home-carousel {
  flex: 0 0 calc((100% - 16px) / 3);
  width: calc((100% - 16px) / 3);
  max-width: 132px;
  min-width: 104px;
  scroll-snap-align: start;
  border: 0;
}

.gb-home-games__carousel--slots .gb-casino-lobby__game-card-media {
  border-radius: 14px;
}

@media (min-width: 768px) {
  .gb-home-games__carousel--slots .gb-casino-lobby__game-card--home-carousel {
    flex: 0 0 136px;
    width: 136px;
    min-width: 136px;
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .gb-home-games__carousel--slots .gb-casino-lobby__game-card--home-carousel {
    flex: 0 0 148px;
    width: 148px;
    min-width: 148px;
  }
}

@media (min-width: 1800px) {
  .gb-home-games__carousel--slots .gb-casino-lobby__game-card--home-carousel {
    flex: 0 0 172px;
    width: 172px;
    min-width: 172px;
  }
}

.gb-home-games__carousel--markets .gb-market-preview-card {
  flex: 0 0 min(88vw, 300px);
  width: min(88vw, 300px);
  min-width: 260px;
  max-width: 300px;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .gb-home-games__carousel--markets .gb-market-preview-card {
    flex: 0 0 300px;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
  }
}

.gb-home-games__carousel::-webkit-scrollbar {
  display: none;
}

.gb-home-games__slots-mobile {
  display: block;
}

.gb-home-games__slots-desktop {
  display: none;
}

.gb-home-games__slots-preview {
  width: 100%;
  container-type: inline-size;
  container-name: home-slots;
}

.gb-home-games__slots-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 65, 0.5);
  background: #00ff41;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #08080c;
  box-shadow: 0 0 18px rgba(0, 255, 65, 0.55);
  transition: filter 0.3s ease, box-shadow 0.3s ease;
}

.gb-home-games__slots-cta:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 28px rgba(0, 255, 65, 0.65);
}

/* Slot cards — shared with /slots catalog */
.gb-home-games .slots-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(22, 24, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.gb-home-games .slots-card:hover {
  border-color: rgba(162, 0, 255, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 24px rgba(162, 0, 255, 0.12);
  transform: translateY(-2px);
}

.gb-home-games .slots-card--carousel {
  flex: 0 0 132px;
  width: 132px;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .gb-home-games__section-title {
    font-size: 17px;
  }

  .gb-home-games__view-all--mobile {
    display: none;
  }

  .gb-home-games .slots-card--carousel {
    flex-basis: 148px;
    width: 148px;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .gb-home-games .slots-card--carousel {
    flex-basis: 148px;
    width: 148px;
  }
}

.gb-home-games .slots-card__cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(28, 10, 38, 0.9) 0%, rgba(14, 16, 22, 0.95) 100%);
}

.gb-home-games .slots-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gb-home-games .slots-card:hover .slots-card__cover {
  transform: scale(1.05);
}

.gb-home-games .slots-card__cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: rgba(0, 255, 65, 0.35);
  letter-spacing: 0.08em;
}

.gb-home-games .slots-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 6, 10, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gb-home-games .slots-card:hover .slots-card__play {
  opacity: 1;
}

.gb-home-games .slots-card__play-btn {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0, 255, 65, 0.92);
  color: #041008;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gb-home-games .slots-card__body {
  padding: 10px 10px 12px;
}

.gb-home-games .slots-card__body--compact {
  padding: 8px 10px 10px;
}

.gb-home-games .slots-card__name {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #e8eaed;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gb-home-games .slots-card__body--compact .slots-card__name {
  margin: 0;
  -webkit-line-clamp: 1;
}

.gb-home-games .slots-card__provider {
  margin: 0;
  font-size: 11px;
  color: #888e9b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Slots grid — home preview (1.5 rows mobile / 2.5 rows desktop) */
.gb-home-games__slots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.gb-home-games__slots-stage {
  position: relative;
}

.gb-home-games__slots-fade {
  position: relative;
  overflow: hidden;
  max-height: 252px;
  max-height: calc(((100cqw - 16px) / 3) * 1.333333 * 1.5 + 8px);
}

@media (min-width: 768px) {
  .gb-home-games__slots-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .gb-home-games__slots-fade {
    max-height: 520px;
    max-height: calc(((100cqw - 42px) / 4) * 1.333333 * 2.5 + 28px);
  }
}

@media (min-width: 1024px) {
  .gb-home-games__slots-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }

  .gb-home-games__slots-fade {
    max-height: 580px;
    max-height: calc(((100cqw - 80px) / 6) * 1.333333 * 2.5 + 28px);
  }
}

@media (min-width: 1800px) {
  .gb-home-games__slots-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 16px;
  }

  .gb-home-games__slots-fade {
    max-height: calc(((100cqw - 112px) / 8) * 1.333333 * 2.5 + 28px);
  }
}

.gb-home-games__slots-fade-overlay {
  height: 42%;
  min-height: 112px;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 12, 0) 0%,
    rgba(8, 8, 12, 0.72) 52%,
    rgba(8, 8, 12, 0.96) 100%
  );
}

@media (min-width: 768px) {
  .gb-home-games__slots-fade-overlay {
    min-height: 140px;
  }
}

.gb-home-games__slots-grid .gb-casino-lobby__game-card--grid {
  border: 0;
}

.gb-home-games__slots-grid .gb-casino-lobby__game-card-media {
  border-radius: 14px;
}

/* GloomBet Originals cards */
.gb-original-card {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #08080c;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gb-original-card__inner {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  background: #08080c;
}

.gb-original-card__inner img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gb-original-card__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gb-original-card:hover {
  transform: translateY(-2px);
}

.gb-original-card:hover .gb-original-card__inner img {
  transform: scale(1.06);
}

.gb-original-card--purple:hover {
  border-color: rgba(162, 0, 255, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 18px rgba(162, 0, 255, 0.24);
}

.gb-original-card--green:hover {
  border-color: rgba(0, 255, 65, 0.42);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 18px rgba(0, 255, 65, 0.2);
}

/* Two-step launch guard — blur + Play before opening a game */
.gb-game-launch-card__shield {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 6, 10, 0.52);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.gb-game-launch-card__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(162, 0, 255, 0.55);
  background: linear-gradient(135deg, rgba(122, 0, 204, 0.95) 0%, rgba(162, 0, 255, 0.95) 55%, rgba(192, 38, 255, 0.95) 100%);
  box-shadow: 0 0 18px rgba(162, 0, 255, 0.35);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: auto;
}

.gb-original-card--green .gb-game-launch-card__play,
.gb-casino-lobby__game-card--green .gb-game-launch-card__play {
  border-color: rgba(0, 255, 65, 0.55);
  background: linear-gradient(135deg, rgba(0, 168, 40, 0.95) 0%, rgba(0, 255, 65, 0.92) 55%, rgba(0, 224, 64, 0.95) 100%);
  box-shadow: 0 0 18px rgba(0, 255, 65, 0.28);
  color: #041008;
}

@media (hover: hover) and (pointer: fine) {
  .gb-game-launch-card:hover .gb-game-launch-card__shield {
    opacity: 1;
    pointer-events: auto;
  }
}

.gb-game-launch-card.is-armed .gb-game-launch-card__shield {
  opacity: 1;
  pointer-events: auto;
}

.gb-game-launch-card.is-armed .gb-original-card__inner img,
.gb-game-launch-card.is-armed .gb-casino-lobby__game-card-image {
  transform: scale(1.04);
}

/* Gloom Markets — home preview cards */
.gb-market-preview-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 118px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(155deg, #1a1d24 0%, #08080c 100%);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.gb-market-preview-card:hover {
  transform: translateY(-2px);
  border-color: rgba(162, 0, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(162, 0, 255, 0.12);
}

.gb-market-preview-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(162, 0, 255, 0.35);
  background: rgba(162, 0, 255, 0.1);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c77dff;
}

.gb-market-preview-card__question {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #e8eaed;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gb-market-preview-card__outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.gb-market-preview-card__odd {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 700;
}

.gb-market-preview-card__odd-name {
  color: #a8aebc;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gb-market-preview-card__odd-value {
  font-weight: 800;
}

.gb-market-preview-card__odd--green {
  border-color: rgba(0, 255, 65, 0.35);
  background: rgba(0, 255, 65, 0.08);
}

.gb-market-preview-card__odd--green .gb-market-preview-card__odd-value {
  color: #00ff41;
  text-shadow: 0 0 12px rgba(0, 255, 65, 0.35);
}

.gb-market-preview-card__odd--purple {
  border-color: rgba(162, 0, 255, 0.35);
  background: rgba(162, 0, 255, 0.08);
}

.gb-market-preview-card__odd--purple .gb-market-preview-card__odd-value {
  color: #a200ff;
  text-shadow: 0 0 12px rgba(162, 0, 255, 0.35);
}

@media (min-width: 768px) {
  .gb-market-preview-card {
    min-height: 132px;
    padding: 16px;
  }

  .gb-market-preview-card__question {
    font-size: 14px;
  }
}

.gb-dashboard {
  position: relative;
  margin: 0 0 20px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--gb-radius-lg);
  border: 1px solid var(--gb-border);
  min-height: 260px;
}

.gb-dashboard.gb-dashboard--hero {
  min-height: 280px;
}

/* === Gloom Live marquee === */
.gb-big-wins {
  --gb-big-win-gap: 10px;
  --gb-big-win-card-w: 156px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 24px;
  overflow: hidden;
  box-sizing: border-box;
}

.gb-big-wins__head {
  margin-bottom: 12px;
}

.gb-big-wins__title {
  margin: 0 0 0 15px;
  padding: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--gb-text-strong, #e8eaed);
}

.gb-big-wins__viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  padding-left: 15px;
  padding-right: 12px;
  box-sizing: border-box;
  position: relative;
  touch-action: pan-y pinch-zoom;
}

.gb-big-wins__viewport::before,
.gb-big-wins__viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18px;
  z-index: 2;
  pointer-events: none;
}

.gb-big-wins__viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--gb-bg, #0b0b0c) 0%, transparent 100%);
}

.gb-big-wins__viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--gb-bg, #0b0b0c) 0%, transparent 100%);
}

.gb-big-wins__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: var(--gb-big-win-gap);
  width: max-content;
  min-width: max-content;
  max-width: none;
  flex-shrink: 0;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  --gb-big-win-shift: -50%;
  -webkit-animation: gb-big-wins-marquee var(--gb-big-win-duration, 32s) linear infinite;
  animation: gb-big-wins-marquee var(--gb-big-win-duration, 32s) linear infinite;
}

.gb-big-wins__track.is-js-marquee {
  animation: none !important;
  -webkit-animation: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .gb-big-wins__track:hover {
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
  }
}

@-webkit-keyframes gb-big-wins-marquee {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(var(--gb-big-win-shift, -50%), 0, 0);
  }
}

@keyframes gb-big-wins-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(var(--gb-big-win-shift, -50%), 0, 0);
  }
}

.gb-big-win-card {
  flex: 0 0 var(--gb-big-win-card-w);
  width: var(--gb-big-win-card-w);
  min-width: var(--gb-big-win-card-w);
  max-width: var(--gb-big-win-card-w);
  flex-shrink: 0;
  padding: 8px;
  border-radius: 10px;
  background: #12121a;
  border: 1px solid #1e1e28;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  box-sizing: border-box;
}

.gb-big-win-card--big {
  border-color: rgba(0, 255, 65, 0.62);
  background:
    linear-gradient(135deg, rgba(0, 255, 65, 0.12) 0%, rgba(18, 18, 26, 0.98) 58%, #12121a 100%);
  box-shadow:
    0 0 22px rgba(0, 255, 65, 0.42),
    0 0 36px rgba(0, 255, 65, 0.22),
    inset 0 0 14px rgba(0, 255, 65, 0.08);
}

.gb-big-win-card--big .gb-big-win-card__thumb {
  border-color: rgba(0, 255, 65, 0.35);
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.28);
}

.gb-big-win-card__media {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.gb-big-win-card__thumb {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #08080c;
}

.gb-big-win-card__thumb--placeholder {
  display: inline-block;
  background:
    linear-gradient(135deg, rgba(162, 0, 255, 0.24) 0%, rgba(0, 255, 65, 0.14) 100%);
}

.gb-big-win-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.gb-big-win-card__game {
  display: block;
  max-width: calc(var(--gb-big-win-card-w) - 54px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: #d1d5db;
}

.gb-big-win-card__amount {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.gb-big-win-card__amount-value {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  color: #00ff41;
  white-space: nowrap;
}

.gb-big-win-card--big .gb-big-win-card__amount-value {
  color: #8fffb0;
  text-shadow:
    0 0 8px rgba(0, 255, 65, 0.75),
    0 0 18px rgba(0, 255, 65, 0.45);
}

.gb-big-win-card__usdt {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

@media (max-width: 575px) {
  .gb-big-wins {
    --gb-big-win-gap: 8px;
    --gb-big-win-card-w: 128px;
  }

  .gb-big-wins__title {
    margin-left: 12px;
    font-size: 15px;
  }

  .gb-big-wins__viewport {
    padding-left: 12px;
    padding-right: 10px;
  }

  .gb-big-wins__viewport::before,
  .gb-big-wins__viewport::after {
    width: 12px;
  }

  .gb-big-win-card {
    padding: 7px;
    border-radius: 9px;
  }

  .gb-big-win-card__media {
    gap: 7px;
  }

  .gb-big-win-card__thumb {
    width: 34px;
    height: 34px;
    border-radius: 7px;
  }

  .gb-big-win-card__game {
    font-size: 11px;
  }

  .gb-big-win-card__amount-value {
    font-size: 12px;
  }

  .gb-big-win-card__usdt {
    width: 12px;
    height: 12px;
  }

  .gb-big-wins__track {
    --gb-big-win-duration: 24s;
  }
}

@media (max-width: 390px) {
  .gb-big-wins {
    --gb-big-win-card-w: 118px;
  }

  .gb-big-win-card__thumb {
    width: 32px;
    height: 32px;
  }

  .gb-big-win-card__amount-value {
    font-size: 11px;
  }
}

@media (min-width: 768px) {
  .gb-big-wins {
    --gb-big-win-card-w: 160px;
  }
}

@media (min-width: 1200px) {
  .gb-big-wins {
    --gb-big-win-card-w: 164px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gb-big-wins__track {
    --gb-big-win-duration: 48s;
  }
}

.gb-dashboard--hero .gb-dashboard__bg {
  --gb-hero-zoom: 0.92;
  position: absolute;
  top: 50%;
  right: 0;
  left: auto;
  width: calc(100% / var(--gb-hero-zoom));
  height: calc(100% / var(--gb-hero-zoom));
  z-index: 0;
  pointer-events: none;
  background-color: var(--gb-bg);
  background-image: url('/images/gloombet-hero-vespera.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
  transform: translateY(-50%) scale(var(--gb-hero-zoom));
  transform-origin: 100% 50%;
}

@media (min-width: 768px) {
  .gb-dashboard--hero .gb-dashboard__bg {
    --gb-hero-zoom: 0.86;
  }
}

@media (min-width: 1200px) {
  .gb-dashboard--hero .gb-dashboard__bg {
    --gb-hero-zoom: 0.8;
  }
}

@media (min-width: 1400px) {
  .gb-dashboard.gb-dashboard--hero {
    min-height: 440px;
  }

  .gb-dashboard--hero .gb-dashboard__bg {
    inset: 0;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    transform: none;
    background-size: cover;
    background-position: 72% 42%;
  }

  .gb-dashboard--hero .gb-dashboard__overlay {
    background:
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.74) 24%,
        rgba(0, 0, 0, 0.34) 42%,
        rgba(0, 0, 0, 0.08) 52%,
        transparent 62%
      ),
      linear-gradient(180deg, rgba(8, 8, 12, 0.22) 0%, rgba(8, 8, 12, 0.04) 100%);
  }

  .gb-dashboard__inner {
    padding: 40px 0 18px;
  }
}

@media (min-width: 1600px) {
  .gb-dashboard--hero .gb-dashboard__bg {
    background-position: 74% 40%;
  }
}

.gb-dashboard--hero .gb-dashboard__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.72) 22%,
      rgba(0, 0, 0, 0.38) 38%,
      rgba(0, 0, 0, 0.12) 48%,
      transparent 56%
    ),
    linear-gradient(180deg, rgba(8, 8, 12, 0.3) 0%, rgba(8, 8, 12, 0.08) 100%);
}

.gb-dashboard__inner {
  position: relative;
  z-index: 2;
  max-width: min(380px, 100%);
  margin: 0 auto 0 0;
  padding: 20px 16px 8px;
}

.gb-dashboard__dots {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding-bottom: 16px;
}

.gb-dashboard__dot {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.gb-dashboard__dot--active {
  width: 48px;
  background: var(--gb-purple);
  box-shadow: var(--gb-glow-purple);
}

.gb-deposit-card {
  position: relative;
  z-index: 1;
  background: rgba(26, 29, 36, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--gb-radius-lg);
  padding: 18px 16px 16px;
  box-shadow: var(--gb-shadow-panel);
}

.gb-deposit-stack {
  position: relative;
  z-index: 2;
  width: 100%;
}

.gb-deposit-stack__promo-mini {
  display: none;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 4px 10px;
  border: 1px solid rgba(0, 255, 65, 0.22);
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gb-deposit-stack__promo-mini-icon {
  flex-shrink: 0;
  font-size: 11px;
  line-height: 1;
}

.gb-deposit-stack__promo-mini-text {
  color: #e5e7eb;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.gb-deposit-card__summary,
.gb-deposit-card__head {
  display: none;
}

.gb-deposit-card__summary {
  appearance: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  align-items: center;
  gap: 10px;
}

.gb-deposit-card__summary-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 255, 65, 0.12);
  border: 1px solid rgba(0, 255, 65, 0.28);
  color: var(--gb-accent);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.gb-deposit-card__summary-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gb-deposit-card__summary-title {
  color: var(--gb-text-strong);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.gb-deposit-card__summary-amount {
  color: var(--gb-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.gb-deposit-card__summary-hint {
  flex: 0 0 auto;
  color: rgba(209, 213, 219, 0.72);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.gb-deposit-card__summary-chevron,
.gb-deposit-card__collapse-icon {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gb-deposit-card__summary-chevron::before,
.gb-deposit-card__collapse-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(255, 255, 255, 0.82);
  border-bottom: 2px solid rgba(255, 255, 255, 0.82);
  transform: translate(-50%, -35%) rotate(-135deg);
}

.gb-deposit-card__collapse-icon::before {
  transform: translate(-50%, -65%) rotate(45deg);
}

.gb-deposit-card__head {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.gb-deposit-card__head-title {
  color: var(--gb-text-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gb-deposit-card__collapse {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.gb-deposit-card__promo-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 255, 65, 0.16);
  border-radius: var(--gb-radius-sm);
  background: rgba(0, 255, 65, 0.04);
}

.gb-deposit-card__promo-hint-icon {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
}

.gb-deposit-card__promo-hint-text {
  color: #d1d5db;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.gb-deposit-card__row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
  overflow: visible;
}

.gb-deposit-card__amount {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  background: rgba(8, 8, 12, 0.55);
  border: 1px solid var(--gb-border);
  border-radius: var(--gb-radius-sm);
  padding: 0 14px;
  min-height: 48px;
}

.gb-deposit-card__amount input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--gb-text-strong);
  font-size: 18px;
  font-weight: 700;
  outline: none;
  padding: 12px 0;
}

.gb-deposit-card__currency {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: 8px 14px;
  background: rgba(8, 8, 12, 0.55);
  border: 1px solid var(--gb-border);
  border-radius: var(--gb-radius-sm);
  color: var(--gb-text-strong);
  white-space: nowrap;
}

.gb-deposit-card__currency-main {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--gb-accent);
}

.gb-deposit-card__currency-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gb-muted);
  line-height: 1.1;
}

.gb-usdt-network {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
}

.gb-usdt-network__static,
.gb-usdt-network__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: inherit;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  box-sizing: border-box;
}

.gb-usdt-network__static {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  cursor: default;
}

.gb-usdt-network__trigger {
  cursor: pointer;
}

.gb-usdt-network__trigger-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-width: 0;
}

.gb-usdt-network__trigger-main,
.gb-usdt-network__static-main {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}

.gb-usdt-network__trigger-label,
.gb-usdt-network__static .gb-usdt-network__trigger-label {
  color: #6b7280;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}

.gb-usdt-network__chevron {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 1px;
  border-right: 1.5px solid #6b7280;
  border-bottom: 1.5px solid #6b7280;
  transform: rotate(45deg);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.gb-usdt-network.is-open .gb-usdt-network__chevron {
  margin-top: 4px;
  transform: rotate(-135deg);
  border-color: #00ff41;
}

.gb-usdt-network--card:not(.gb-usdt-network--single):hover {
  border-color: rgba(162, 0, 255, 0.55);
}

.gb-usdt-network--wallet:not(.gb-usdt-network--single) .gb-usdt-network__trigger:hover .gb-usdt-network__trigger-label,
.gb-usdt-network--card:not(.gb-usdt-network--single) .gb-usdt-network__trigger:hover .gb-usdt-network__trigger-label {
  color: #00ff41;
}

.gb-usdt-network__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 120;
  min-width: 132px;
  padding: 4px;
  border: 1px solid #2a2a35;
  border-radius: 10px;
  background: #12121a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.gb-usdt-network__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.gb-usdt-network__option:hover,
.gb-usdt-network__option:focus-visible {
  background: rgba(0, 255, 65, 0.08);
}

.gb-usdt-network__option.is-selected {
  background: rgba(0, 255, 65, 0.12);
}

.gb-usdt-network__option-label {
  font-size: 12px;
  font-weight: 700;
}

.gb-usdt-network__option-chain {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

.gb-usdt-network--card {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0;
  background: rgba(8, 8, 12, 0.55);
  border: 1px solid var(--gb-border);
  border-radius: var(--gb-radius-sm);
  overflow: visible;
}

.gb-usdt-network--card .gb-usdt-network__trigger {
  min-height: 48px;
  padding: 8px 12px;
}

.gb-usdt-network--card .gb-usdt-network__trigger-main,
.gb-usdt-network--card .gb-usdt-network__static-main {
  color: var(--gb-accent);
}

.gb-usdt-network--card .gb-usdt-network__menu {
  left: auto;
  right: 0;
}

.gb-usdt-network--wallet {
  flex: 1;
  min-width: 72px;
  align-self: center;
}

.gb-usdt-network--wallet .gb-usdt-network__trigger,
.gb-usdt-network--wallet .gb-usdt-network__static {
  min-height: 0;
  height: auto;
  padding: 0 8px 0 0;
}

.gb-usdt-network--wallet .gb-usdt-network__chevron {
  align-self: center;
  margin-top: 0;
}

.gb-usdt-network--wallet.is-open .gb-usdt-network__chevron {
  margin-top: 0;
}

.popup--wallet .gb-wallet-amount__currency .gb-usdt-network--wallet {
  padding-right: 0;
}

.gb-deposit-card__presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.gb-deposit-card__preset {
  appearance: none;
  border: 1px solid var(--gb-border);
  background: rgba(8, 8, 12, 0.45);
  color: var(--gb-text);
  border-radius: var(--gb-radius-sm);
  min-height: 40px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.gb-deposit-card__preset:hover,
.gb-deposit-card__preset:focus-visible {
  border-color: rgba(162, 0, 255, 0.45);
  color: var(--gb-text-strong);
}

.gb-deposit-card__method-single {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(162, 0, 255, 0.35);
  border-radius: var(--gb-radius-sm);
  background: rgba(8, 8, 12, 0.45);
  color: var(--gb-text-strong);
  font-size: 13px;
  font-weight: 600;
}

.gb-deposit-card__method-single img,
.gb-deposit-card__method-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.gb-deposit-card__methods {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.gb-deposit-card__methods::-webkit-scrollbar {
  display: none;
}

.gb-deposit-card__method {
  appearance: none;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--gb-border);
  background: rgba(8, 8, 12, 0.45);
  border-radius: var(--gb-radius-sm);
  padding: 8px 12px;
  color: var(--gb-text);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gb-deposit-card__method img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.gb-deposit-card__method span {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.gb-deposit-card__method--active,
.gb-deposit-card__method:hover {
  border-color: rgba(162, 0, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(162, 0, 255, 0.15);
  color: var(--gb-text-strong);
}

.gb-deposit-card__cta {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: var(--gb-radius-sm) !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #00a828 0%, var(--gb-accent) 48%, #00e040 100%) !important;
  border: 1px solid rgba(0, 255, 65, 0.55) !important;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--gb-bg) !important;
}

.gb-deposit-card__cta span {
  color: var(--gb-bg) !important;
}

.gb-deposit-card__cta:hover,
.gb-deposit-card__cta:focus-visible {
  filter: brightness(1.06);
  box-shadow: 0 0 28px rgba(0, 255, 65, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.gb-deposit-card__payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0.65;
}

.gb-deposit-card__payments img {
  height: 18px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  filter: grayscale(0.2);
}

.popup--wallet .wallet--usdt-only .wallet__methods {
  display: none !important;
}

.popup--wallet .wallet--usdt-only > .wallet__content {
  width: 100% !important;
  padding-left: 0 !important;
}

.gb-games-hub {
  position: relative;
}

.gb-games-mobile {
  display: none;
}

@media (min-width: 1126px) {
  .gb-dashboard {
    min-height: 320px;
    margin-bottom: 36px;
  }

  .gb-dashboard.gb-dashboard--hero {
    min-height: 340px;
  }

  .gb-dashboard__inner {
    margin: 0 0 0 72px;
    max-width: 360px;
    padding: 32px 0 12px;
  }
}

@media (min-width: 1400px) {
  .gb-dashboard__inner {
    margin-left: 96px;
    max-width: 380px;
  }
}

@media (min-width: 1600px) {
  .gb-dashboard.gb-dashboard--hero {
    min-height: 540px;
  }

  .gb-dashboard__inner {
    max-width: 420px;
    padding: 48px 0 20px;
  }

  .gb-deposit-card {
    padding: 22px 20px 20px;
  }

  .gb-deposit-card__promo-hint {
    margin-bottom: 14px;
    padding: 10px 12px;
  }

  .gb-deposit-card__promo-hint-text {
    font-size: 12px;
  }

  .gb-deposit-card__row {
    margin-bottom: 14px;
  }

  .gb-deposit-card__amount,
  .gb-deposit-card__currency {
    min-height: 52px;
  }

  .gb-deposit-card__amount input {
    font-size: 20px;
  }

  .gb-deposit-card__preset {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .gb-deposit-card__cta {
    min-height: 50px;
    font-size: 14px;
  }

  .gb-dashboard__dots {
    margin-top: 16px;
    padding-bottom: 20px;
  }
}

@media (min-width: 1920px) {
  .gb-dashboard.gb-dashboard--hero {
    min-height: 620px;
  }

  .gb-dashboard--hero .gb-dashboard__bg {
    background-position: 76% 38%;
  }

  .gb-dashboard__inner {
    max-width: 440px;
    margin-left: 112px;
    padding: 54px 0 22px;
  }

  .gb-deposit-card {
    padding: 24px 22px 22px;
  }

  .gb-deposit-card__amount,
  .gb-deposit-card__currency {
    min-height: 54px;
  }

  .gb-deposit-card__amount input {
    font-size: 21px;
  }

  .gb-deposit-card__cta {
    min-height: 52px;
  }
}

@media (max-width: 1125px) {
  .gb-games-desktop {
    display: none !important;
  }

  .gb-games-mobile {
    display: block;
  }

  .gb-dashboard {
    margin-left: -4px;
    margin-right: -4px;
    min-height: 300px;
  }

  .gb-dashboard.gb-dashboard--hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
  }

  /* Mobile hero: no desktop zoom/anchor; face centered on all phone sizes + landscape */
  .gb-dashboard--hero .gb-dashboard__bg {
    --gb-hero-zoom: 1;
    inset: 0;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    transform: none;
    background-size: cover;
    background-position: 55% center;
  }

  .gb-dashboard--hero .gb-dashboard__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(8, 8, 12, 0.15) 0%,
        rgba(8, 8, 12, 0.35) 55%,
        rgba(8, 8, 12, 0.82) 100%
      );
  }

  .gb-dashboard__inner {
    max-width: min(340px, calc(100% - 24px));
    margin: 0 auto;
    padding: 8px 14px 10px;
  }

  .gb-deposit-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .gb-dashboard--hero .gb-deposit-stack {
    transform-origin: 50% 100%;
    will-change: transform, opacity;
  }

  .gb-dashboard--hero .gb-deposit-stack:not(.gb-deposit-stack--enter) {
    opacity: 0;
    pointer-events: none;
  }

  .gb-dashboard--hero .gb-deposit-stack.gb-deposit-stack--enter {
    pointer-events: auto;
    animation: gb-deposit-stack-unfold 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .gb-deposit-stack--collapsed .gb-deposit-stack__promo-mini {
    display: inline-flex;
  }

  .gb-deposit-card--collapsed {
    width: 100%;
    padding: 10px 12px;
  }

  .gb-deposit-card--collapsed .gb-deposit-card__summary {
    display: flex;
  }

  .gb-deposit-card--collapsed .gb-deposit-card__head,
  .gb-deposit-card--collapsed .gb-deposit-card__body {
    display: none;
  }

  .gb-deposit-card:not(.gb-deposit-card--collapsed) .gb-deposit-card__head {
    display: flex;
  }

  .gb-deposit-card:not(.gb-deposit-card--collapsed) {
    padding: 14px 14px 12px;
  }
}

/* Phones only — deposit card layout (hero bg is in max-width: 1125px block above) */
@media (max-width: 767px) {
  .gb-dashboard.gb-dashboard--hero {
    min-height: 300px;
  }

  .gb-dashboard__inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 8px 12px 10px;
    box-sizing: border-box;
  }

  .gb-deposit-stack {
    width: 100%;
    max-width: 100%;
    align-items: stretch;
  }

  .gb-deposit-stack__promo-mini {
    align-self: center;
    max-width: calc(100% - 16px);
  }

  .gb-deposit-stack__promo-mini-text {
    white-space: normal;
    text-align: center;
  }

  .gb-deposit-card--collapsed {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .gb-deposit-card__summary {
    gap: 8px;
    min-width: 0;
  }

  .gb-deposit-card__summary-hint {
    display: none;
  }

  .gb-deposit-card__summary-copy {
    min-width: 0;
  }

  .gb-dashboard__dots {
    margin-top: 10px;
    padding-bottom: 12px;
  }
}

@media (max-width: 390px) {
  .gb-deposit-card__summary-title {
    font-size: 12px;
  }

  .gb-deposit-card__summary-amount {
    font-size: 11px;
  }

  .gb-deposit-card__summary-mark {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

@keyframes gb-deposit-stack-unfold {
  from {
    opacity: 0;
    transform: translateY(16px) scaleY(0.58);
    filter: blur(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    filter: blur(0);
  }
}

@media (min-width: 1126px) {
  .gb-deposit-card.gb-deposit-card--collapsed {
    padding: 18px 16px 16px;
  }

  .gb-deposit-card.gb-deposit-card--collapsed .gb-deposit-card__body {
    display: block;
  }
}

/* === Mobile games rows (horizontal scroll) === */
.gb-games-row {
  margin-bottom: 28px;
}

.gb-games-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.gb-games-row__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gb-text-strong);
}

.gb-games-row__controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gb-games-row__nav {
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--gb-border);
  background: rgba(26, 29, 36, 0.8);
  color: var(--gb-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.gb-games-row__nav svg {
  width: 16px;
  height: 16px;
}

.gb-games-row__nav:hover {
  border-color: rgba(162, 0, 255, 0.35);
  color: var(--gb-text-strong);
}

.gb-games-row__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-right: -2px;
}

.gb-games-row__track::-webkit-scrollbar {
  display: none;
}

.gb-game-tile {
  flex: 0 0 calc((100% - 24px) / 2.35);
  max-width: 156px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}

.gb-game-tile__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gb-border);
  background: var(--gb-panel);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gb-game-tile__media img {
  width: 72%;
  height: auto;
  max-height: 72%;
  object-fit: contain;
}

.gb-game-tile--roulette .gb-game-tile__media {
  background: linear-gradient(145deg, rgba(162, 0, 255, 0.25), rgba(8, 8, 12, 0.9));
}

.gb-game-tile--crash .gb-game-tile__media {
  background: linear-gradient(145deg, rgba(255, 80, 80, 0.2), rgba(8, 8, 12, 0.9));
}

.gb-game-tile--dice .gb-game-tile__media,
.gb-game-tile--coin .gb-game-tile__media {
  background: linear-gradient(145deg, rgba(0, 255, 65, 0.12), rgba(8, 8, 12, 0.9));
}

.gb-game-tile--mines .gb-game-tile__media,
.gb-game-tile--keno .gb-game-tile__media {
  background: linear-gradient(145deg, rgba(100, 120, 255, 0.18), rgba(8, 8, 12, 0.9));
}

.gb-game-tile--slots .gb-game-tile__media {
  background: linear-gradient(145deg, rgba(255, 180, 0, 0.16), rgba(8, 8, 12, 0.9));
}

.gb-game-tile--boomcity .gb-game-tile__media {
  background: linear-gradient(145deg, rgba(162, 0, 255, 0.15), rgba(8, 8, 12, 0.9));
}

.gb-game-tile__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 193, 7, 0.92);
  color: #111;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gb-game-tile__title {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gb-text-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .gb-home-games {
    padding-left: 12px;
    padding-right: 12px;
  }

  .gb-home-games__section-head {
    margin-bottom: 10px;
  }

  .gb-home-games__carousel--bleed {
    margin-right: -12px;
    padding-right: 12px;
    scroll-padding-inline: 12px;
  }

  .gb-original-card__title {
    font-size: 10px;
    padding: 12px 4px 6px;
  }

  .gb-big-wins {
    margin-bottom: 18px;
  }

  .gb-big-wins__title {
    margin-left: 12px;
    font-size: 15px;
  }

  .gb-big-wins__viewport {
    padding-left: 12px;
    padding-right: 10px;
  }

  .gb-deposit-card:not(.gb-deposit-card--collapsed) {
    padding: 16px 14px 14px;
  }

  .gb-deposit-card__amount input {
    font-size: 17px;
  }

  .gb-game-tile {
    flex-basis: calc((100% - 12px) / 2.15);
    max-width: 148px;
  }
}

/* Modal open: blur page content behind popups */
body.active > #app {
  -webkit-filter: blur(2px) !important;
  filter: blur(2px) !important;
}

.popup--auth .auth-modal__body {
  contain: layout style paint;
}

.popup--auth .auth-input-row input {
  transform: translateZ(0);
}

/* Fast, smooth auth/popup animations (override main.css) */
body.active > #app {
  filter: none !important;
  -webkit-filter: none !important;
}

body.active {
  overflow: hidden;
}

#_ajax_content_ {
  transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

#_ajax_content_.gb-spa-swapping {
  opacity: 0.42;
  pointer-events: none;
}

.overlayed {
  transition: opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.24s cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.overlayed:not(.active) {
  pointer-events: none !important;
}

.overlayed.active {
  background: rgba(8, 8, 12, 0.88) !important;
}

@media (min-width: 1126px) {
  #app > .sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100dvh !important;
    z-index: 6;
  }
}

/* Only the explicitly active popup is visible — never all popups at once */
.overlayed .popup:not(.active) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.overlayed .popup.active,
body.active .popup.active {
  display: block !important;
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  position: relative;
  z-index: 2;
  width: min(600px, calc(100vw - 32px));
  max-height: calc(100dvh - 120px);
  overflow: auto;
}

.overlayed.animation-closed .popup.active {
  animation: gbPopupSlideDown 0.22s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

@keyframes gbPopupSlideUp {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes gbPopupSlideDown {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.985);
  }
}

.popup--auth .auth-panel,
.popup--wallet .popup__content .wallet {
  display: none;
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1), transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.popup--auth .auth-panel.auth-panel--active,
.popup--wallet .popup__content .wallet.wallet-panel--active {
  display: block;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.popup--wallet .popup__content {
  position: relative;
}

.popup--wallet .popup__tab {
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

/* ── Auth modal — GloomBet cyberpunk ── */
.popup--auth {
  position: relative;
  max-width: 420px !important;
  background: #08080c !important;
  border: 1px solid rgba(162, 0, 255, 0.35) !important;
  border-radius: 18px !important;
  box-shadow:
    0 0 40px rgba(162, 0, 255, 0.18),
    0 0 80px rgba(0, 255, 65, 0.06),
    0 24px 56px rgba(0, 0, 0, 0.55) !important;
  overflow: hidden;
}

.popup--auth .auth-modal__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.popup--auth .auth-modal__grid {
  position: absolute;
  inset: -40%;
  background-image:
    linear-gradient(rgba(162, 0, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(162, 0, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  transform: perspective(420px) rotateX(52deg) translateY(-6%);
  transform-origin: center top;
  opacity: 0.85;
}

.popup--auth .auth-modal__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
}

.popup--auth .auth-modal__glow--purple {
  width: 220px;
  height: 220px;
  top: -80px;
  right: -60px;
  background: rgba(162, 0, 255, 0.45);
}

.popup--auth .auth-modal__glow--green {
  width: 160px;
  height: 160px;
  bottom: 40px;
  left: -40px;
  background: rgba(0, 255, 65, 0.22);
}

.popup--auth .auth-modal__hero,
.popup--auth .auth-modal__tabs-bar,
.popup--auth .auth-modal__body,
.popup--auth .auth-modal__footer {
  position: relative;
  z-index: 1;
}

.popup--auth .auth-modal__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(162, 0, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(162, 0, 255, 0.1) 0%, rgba(8, 8, 12, 0) 100%),
    rgba(18, 18, 26, 0.65);
}

.popup--auth .auth-modal__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.popup--auth .auth-modal__brand--lockup {
  gap: 12px;
}

.popup--auth .auth-modal__brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  background: transparent !important;
  mix-blend-mode: normal;
  filter: drop-shadow(0 0 10px rgba(162, 0, 255, 0.35));
}

.auth-page-standalone .auth-modal__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.auth-resend-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed !important;
  filter: grayscale(0.15);
}

.auth-success-card__notice {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.45;
}

.auth-success-card__notice--success {
  color: var(--gb-accent, #00FF41);
}

.auth-success-card__notice--error {
  color: #f87171;
}

.popup--auth .auth-modal__wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--gb-font-brand);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 0 24px rgba(162, 0, 255, 0.2);
}

.popup--auth .auth-modal__tagline {
  margin: 0;
  max-width: 280px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(168, 174, 188, 0.85);
  text-shadow: 0 0 14px rgba(162, 0, 255, 0.25);
}

.popup--auth .auth-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(162, 0, 255, 0.28) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--gb-muted);
  transition: border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.popup--auth .auth-modal__close:hover {
  color: var(--gb-text-strong) !important;
  border-color: rgba(162, 0, 255, 0.55) !important;
  background: rgba(162, 0, 255, 0.1) !important;
  box-shadow: 0 0 14px rgba(162, 0, 255, 0.25);
}

.popup--auth .auth-modal__tabs-bar {
  background: #0e0e14 !important;
  border-bottom: 1px solid #1e1e28 !important;
  padding: 0 16px !important;
  min-height: 0 !important;
}

.popup--auth .auth-modal__tabs {
  width: 100%;
  gap: 0 !important;
}

.popup--auth .auth-modal__tabs .popup__tab {
  flex: 1;
  justify-content: center;
  margin: 0 !important;
  padding: 14px 12px !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  color: #6b7280 !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent !important;
  transition: color 0.18s ease, border-color 0.18s ease, text-shadow 0.18s ease;
}

.popup--auth .auth-modal__tabs .popup__tab:hover {
  color: #fff !important;
}

.popup--auth .auth-modal__tabs .popup__tab--active,
.popup--auth .auth-modal__tabs .popup__tab.popup__tab--active {
  color: #fff !important;
  border-bottom-color: var(--gb-purple) !important;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.22);
  background: transparent !important;
}

.popup--auth .auth-modal__body {
  padding: 22px 20px 18px !important;
  background: #08080c !important;
}

.popup--auth .auth-modal__body .bx-input {
  margin-bottom: 12px !important;
}

.popup--auth .auth-modal__body .bx-input__input,
.popup--auth .bx-input__input.auth-input-row {
  min-height: 48px;
  padding: 0 14px !important;
  background: linear-gradient(135deg, rgba(10, 10, 16, 0.95) 0%, rgba(18, 14, 28, 0.88) 100%) !important;
  border: 1px solid rgba(162, 0, 255, 0.22) !important;
  border-radius: 12px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 12px rgba(162, 0, 255, 0.06) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.popup--auth .auth-modal__body .bx-input__input:focus-within,
.popup--auth .bx-input__input.auth-input-row:focus-within {
  border-color: rgba(0, 255, 65, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 18px rgba(0, 255, 65, 0.14),
    0 0 12px rgba(162, 0, 255, 0.18) !important;
}

.popup--auth .auth-modal__body input {
  color: var(--gb-text-strong) !important;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.popup--auth .auth-modal__body input::placeholder {
  color: rgba(136, 142, 155, 0.75) !important;
  letter-spacing: 0.06em;
}

.popup--auth .auth-password-toggle {
  color: rgba(162, 0, 255, 0.75);
  transition: color 0.18s ease, filter 0.18s ease;
}

.popup--auth .auth-password-toggle:hover {
  color: var(--gb-accent);
  filter: drop-shadow(0 0 6px rgba(0, 255, 65, 0.45));
}

.popup--auth .auth-email-status.auth-email-status--ok {
  color: var(--gb-accent);
  filter: drop-shadow(0 0 6px rgba(0, 255, 65, 0.45));
}

.popup--auth .auth-modal__submit {
  width: 100%;
  min-height: 48px;
  margin-top: 10px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #00ff41 0%, #00cc34 100%) !important;
  border: 1px solid rgba(0, 255, 65, 0.55) !important;
  box-shadow:
    0 0 20px rgba(0, 255, 65, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.popup--auth .auth-modal__submit span {
  color: #041208 !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.popup--auth .auth-modal__submit:hover {
  box-shadow:
    0 0 28px rgba(0, 255, 65, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-1px);
}

.popup--auth .auth-modal__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(136, 142, 155, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(0, 0, 0, 0.22);
}

.popup--auth .auth-modal__footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gb-accent);
  box-shadow: 0 0 8px rgba(0, 255, 65, 0.65);
  animation: auth-modal-pulse 2.4s ease-in-out infinite;
}

@keyframes auth-modal-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 480px) {
  .popup--auth {
    max-width: calc(100vw - 24px) !important;
    border-radius: 16px !important;
  }

  .popup--auth .auth-modal__hero {
    padding: 24px 16px 16px;
  }

  .popup--auth .auth-modal__wordmark {
    font-size: 30px;
  }

  .popup--auth .auth-modal__body {
    padding: 18px 16px 14px !important;
  }
}

/* === Gloom Markets (predictions) === */
.gb-predictions__head {
  margin-bottom: 24px;
}

.gb-predictions__subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--gb-muted, #888e9b);
}

.gb-predictions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.gb-prediction-card {
  border-radius: var(--gb-radius-lg, 16px);
  border: 1px solid rgba(162, 0, 255, 0.2);
  background: linear-gradient(165deg, #1a1d24 0%, #151822 55%, #12141c 100%);
  box-shadow: 0 0 20px rgba(162, 0, 255, 0.08);
  overflow: hidden;
}

.gb-prediction-card__media {
  height: 120px;
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}

.gb-prediction-card__body {
  padding: 16px 18px 18px;
}

.gb-prediction-card__question {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gb-text-strong, #e8eaed);
}

.gb-prediction-card__desc {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--gb-muted, #888e9b);
}

.gb-prediction-card__outcomes {
  display: flex;
  gap: 10px;
}

.gb-prediction-outcome {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.gb-prediction-outcome__name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(162, 0, 255, 0.88);
}

.gb-prediction-outcome__odds {
  font-size: 14px;
  font-weight: 700;
  color: var(--gb-accent, #00ff41);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.35);
}

/* Boom City / coming-soon badge — GloomBet obsidian */
.games__item-soon--gloombet,
.gb-game-tile__badge--soon {
  background: linear-gradient(145deg, #1a1d24 0%, #12141c 55%, #0e1016 100%);
  border: 1px solid rgba(162, 0, 255, 0.42);
  box-shadow:
    0 0 14px rgba(162, 0, 255, 0.22),
    inset 0 0 10px rgba(0, 255, 65, 0.06);
  color: rgba(210, 170, 255, 0.96);
  text-shadow:
    0 0 10px rgba(162, 0, 255, 0.5),
    0 0 18px rgba(0, 255, 65, 0.18);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.games__item-soon--gloombet {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
}

.gb-game-tile__badge--soon {
  background: linear-gradient(145deg, #1a1d24 0%, #12141c 55%, #0e1016 100%);
  border: 1px solid rgba(162, 0, 255, 0.42);
  box-shadow:
    0 0 10px rgba(162, 0, 255, 0.2),
    inset 0 0 8px rgba(0, 255, 65, 0.05);
  color: rgba(210, 170, 255, 0.96);
  text-shadow: 0 0 8px rgba(162, 0, 255, 0.45);
}

/* ── Site footer ── */
.gb-site-footer {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding-left: calc(var(--gb-sidebar-width) + 25px);
  padding-right: 2rem;
  padding-bottom: 26px;
  background: #08080c;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
  z-index: 1;
}

.gb-site-footer .wrapper {
  max-width: none;
  width: 100%;
  margin: 0;
}

.gb-site-footer__inner {
  padding: 40px 0 28px;
}

.gb-site-footer__nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 48px;
  max-width: 420px;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .gb-site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 480px;
  }
}

.gb-site-footer__heading {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.gb-site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gb-site-footer__links li + li {
  margin-top: 10px;
}

.gb-site-footer__links a {
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.18s ease;
}

.gb-site-footer__links a:hover {
  color: var(--gb-accent, #00ff41);
}

.gb-site-footer__disclaimer {
  max-width: 920px;
  margin: 0 0 22px;
  font-size: 11px;
  line-height: 1.65;
  color: #4b5563;
  text-align: left;
}

.gb-site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gb-site-footer__copy {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

.gb-site-footer__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
}

/* ── Legal / policy pages ── */
.gb-legal-page {
  padding: 36px 0 56px;
}

.gb-legal-page__inner {
  max-width: 56rem;
  margin: 0 auto;
}

.gb-legal-page__head {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gb-legal-page__title {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  color: #f3f4f6;
}

.gb-legal-page__meta {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.gb-legal-page__body h2 {
  margin: 28px 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #e5e7eb;
}

.gb-legal-page__body h3 {
  margin: 20px 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #d1d5db;
}

.gb-legal-page__body p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: #9ca3af;
}

.gb-legal-page__body ul,
.gb-legal-page__body ol {
  margin: 0 0 16px;
  padding-left: 1.35rem;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.7;
}

.gb-legal-page__body li + li {
  margin-top: 6px;
}

/* ── Support / Help Center ── */
.gb-support-page {
  padding: 32px 0 56px;
}

.gb-support-page__inner {
  max-width: 52rem;
  margin: 0 auto;
}

.gb-support-page__hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  padding: 28px 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(18, 18, 26, 0.98) 0%, rgba(8, 8, 12, 0.98) 100%);
}

.gb-support-page__hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
}

.gb-support-page__hero-glow--purple {
  top: -40px;
  right: -20px;
  width: 180px;
  height: 180px;
  background: rgba(162, 0, 255, 0.22);
}

.gb-support-page__hero-glow--green {
  bottom: -50px;
  left: -30px;
  width: 160px;
  height: 160px;
  background: rgba(0, 255, 65, 0.1);
}

.gb-support-page__eyebrow {
  position: relative;
  margin: 0 0 8px;
  color: #a200ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gb-support-page__title {
  position: relative;
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
}

.gb-support-page__lead {
  position: relative;
  max-width: 42rem;
  margin: 0 0 22px;
  color: #9ca3af;
  font-size: 15px;
  line-height: 1.65;
}

.gb-support-page__contact {
  position: relative;
}

.gb-support-page__email-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(162, 0, 255, 0.35);
  border-radius: 14px;
  background: rgba(162, 0, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.gb-support-page__email-btn:hover {
  border-color: rgba(0, 255, 65, 0.35);
  background: rgba(0, 255, 65, 0.06);
  transform: translateY(-1px);
}

.gb-support-page__email-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #c4b5fd;
}

.gb-support-page__email-icon svg {
  width: 22px;
  height: 22px;
}

.gb-support-page__email-label {
  display: block;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gb-support-page__email-value {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  font-weight: 700;
}

.gb-support-page__response-time {
  margin: 12px 0 0;
  color: #6b7280;
  font-size: 12px;
}

.gb-support-page__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.gb-support-page__card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: #12121a;
}

.gb-support-page__card-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.gb-support-page__card-text {
  margin: 0;
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.55;
}

.gb-support-page__card-text strong {
  color: #e5e7eb;
}

.gb-support-page__faq-head {
  margin-bottom: 16px;
}

.gb-support-page__faq-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.gb-support-page__faq-subtitle {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

.gb-support-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gb-support-faq__item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: #12121a;
  overflow: hidden;
}

.gb-support-faq__item[open] {
  border-color: rgba(162, 0, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(162, 0, 255, 0.08);
}

.gb-support-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  color: #f3f4f6;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.gb-support-faq__question::-webkit-details-marker {
  display: none;
}

.gb-support-faq__question::after {
  content: "+";
  flex-shrink: 0;
  color: #a200ff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.gb-support-faq__item[open] .gb-support-faq__question::after {
  content: "−";
  color: #00ff41;
}

.gb-support-faq__answer {
  padding: 0 18px 16px;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.65;
}

.gb-support-faq__answer p,
.gb-support-faq__answer ul {
  margin: 0;
}

.gb-support-faq__answer p + p,
.gb-support-faq__answer ul + p {
  margin-top: 10px;
}

.gb-support-faq__answer ul {
  padding-left: 18px;
}

.gb-support-faq__answer li + li {
  margin-top: 6px;
}

.gb-support-faq__answer a {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gb-support-faq__answer a:hover {
  color: #00ff41;
}

.gb-support-page__footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gb-support-page__footer p {
  margin: 0;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.6;
}

.gb-support-page__footer p + p {
  margin-top: 8px;
}

.gb-support-page__footer a {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gb-support-page__footer-meta {
  color: #6b7280 !important;
  font-size: 11px !important;
}

@media (max-width: 768px) {
  .gb-support-page {
    padding-top: 24px;
  }

  .gb-support-page__cards {
    grid-template-columns: 1fr;
  }

  .gb-support-page__hero {
    padding: 22px 18px 20px;
  }

  .gb-support-page__email-btn {
    width: 100%;
  }
}

/* ── Casino / Slots lobby page ── */
.gb-casino-lobby {
  max-width: min(1600px, 100%);
  box-sizing: border-box;
}

@media (min-width: 1600px) {
  .gb-casino-lobby {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.gb-casino-lobby__section {
  width: 100%;
}

.gb-casino-lobby__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.gb-casino-lobby__head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.gb-casino-lobby__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #a200ff;
}

.gb-casino-lobby__icon svg {
  width: 22px;
  height: 22px;
}

.gb-casino-lobby__title {
  margin: 0;
  font-size: clamp(15px, 2.5vw, 18px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.gb-casino-lobby__count {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(162, 0, 255, 0.12);
  color: #c4b5fd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gb-casino-lobby__head-right {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}

.gb-casino-lobby__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(162, 0, 255, 0.38);
  border-radius: 8px;
  background: transparent;
  color: #e8eaed;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.gb-casino-lobby__view-all:hover {
  border-color: rgba(0, 255, 65, 0.45);
  color: #00ff41;
  box-shadow: 0 0 14px rgba(0, 255, 65, 0.12);
}

.gb-casino-lobby__nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gb-casino-lobby__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #12121a;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.gb-casino-lobby__nav-btn:hover {
  border-color: rgba(162, 0, 255, 0.45);
  color: #fff;
  background: #1a1a24;
}

.gb-casino-lobby__carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.gb-casino-lobby__carousel::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.gb-casino-lobby__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-bottom: 4px;
}

.gb-casino-lobby__expand-panel[hidden] {
  display: none !important;
}

.gb-casino-lobby__expand-panel {
  display: block;
}

.gb-casino-lobby__section.is-expanded .gb-casino-lobby__expand-panel {
  display: block;
}

.gb-casino-lobby__grid-footer {
  display: flex;
  justify-content: center;
  padding: 14px 0 6px;
}

.gb-casino-lobby__load-more {
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid rgba(162, 0, 255, 0.35);
  border-radius: 999px;
  background: rgba(162, 0, 255, 0.08);
  color: #e9d5ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.gb-casino-lobby__load-more:hover:not(:disabled) {
  border-color: rgba(162, 0, 255, 0.55);
  background: rgba(162, 0, 255, 0.14);
  transform: translateY(-1px);
}

.gb-casino-lobby__load-more:disabled {
  opacity: 0.65;
  cursor: wait;
}

.gb-casino-lobby__section.is-expanded .gb-casino-lobby__grid {
  display: grid;
}

.gb-casino-lobby__section.is-expanded .gb-casino-lobby__carousel {
  display: none;
}

.gb-casino-lobby__section.is-expanded [data-carousel-nav] {
  display: none;
}

.gb-casino-lobby__grid--page {
  display: grid;
}

.gb-casino-lobby__empty--page {
  min-width: 0;
  width: 100%;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.gb-slots-toolbar {
  position: relative;
  margin-bottom: 4px;
  overflow: visible;
}

.gb-slots-toolbar__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  overflow: visible;
}

.gb-slots-search__field-wrap {
  min-width: 0;
}

.gb-slots-search {
  position: relative;
}

.gb-slots-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gb-slots-search__field {
  position: relative;
  display: flex;
  align-items: center;
}

.gb-slots-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #6b7280;
  pointer-events: none;
}

.gb-slots-search__icon svg {
  width: 18px;
  height: 18px;
}

.gb-slots-search__input {
  width: 100%;
  min-height: 46px;
  padding: 0 42px 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #12121a;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gb-slots-search__input::placeholder {
  color: #6b7280;
}

.gb-slots-search__input:focus {
  border-color: rgba(162, 0, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(162, 0, 255, 0.12);
}

.gb-slots-search__input::-webkit-search-cancel-button,
.gb-slots-search__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.gb-slots-search__clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9ca3af;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.gb-slots-search__clear:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.gb-slots-search__suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #12121a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.gb-slots-search__suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.gb-slots-search__suggestion:hover,
.gb-slots-search__suggestion:focus {
  background: rgba(162, 0, 255, 0.12);
}

.gb-slots-search__suggestion-thumb {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.gb-slots-search__suggestion-thumb--placeholder {
  display: inline-block;
  background: linear-gradient(135deg, rgba(162, 0, 255, 0.22), rgba(0, 255, 65, 0.12));
}

.gb-slots-search__suggestion-name {
  min-width: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.gb-slots-search__suggestion-provider {
  color: #9ca3af;
  font-size: 11px;
}

@media (min-width: 640px) {
  .gb-casino-lobby__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 900px) {
  .gb-casino-lobby__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 1200px) {
  .gb-casino-lobby__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1500px) {
  .gb-casino-lobby__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1800px) {
  .gb-casino-lobby__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 16px;
  }
}

.gb-casino-lobby__game-card {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.gb-casino-lobby__game-card--grid {
  border: 0;
  border-radius: 14px;
  background: #12121a;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gb-casino-lobby__game-card--grid .gb-casino-lobby__game-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 14px;
  background: #1a1a24;
}

.gb-casino-lobby__game-card--grid .gb-casino-lobby__game-card-image,
.gb-casino-lobby__game-card--grid .gb-casino-lobby__game-card-fallback {
  display: block;
  width: 100%;
  height: 100%;
}

.gb-casino-lobby__game-card--grid .gb-casino-lobby__game-card-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.gb-casino-lobby__game-card--grid .gb-casino-lobby__game-card-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a1a24 0%, #12121a 100%);
  color: #4b5563;
  font-size: 28px;
  font-weight: 800;
}

.gb-casino-lobby__game-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 28px 6px 8px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 12, 0) 0%,
    rgba(8, 8, 12, 0.55) 42%,
    rgba(8, 8, 12, 0.92) 100%
  );
  pointer-events: none;
}

.gb-casino-lobby__game-card-title {
  margin: 0;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gb-casino-lobby__game-card-provider {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 7px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 639px) {
  .gb-casino-lobby__carousel > .gb-casino-lobby__game-card:not(.gb-casino-lobby__game-card--grid) {
    border-radius: 14px;
  }

  .gb-casino-lobby__carousel > .gb-casino-lobby__game-card:not(.gb-casino-lobby__game-card--grid) > div:first-child {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
  }
}

.gb-casino-lobby__carousel > .gb-casino-lobby__game-card--grid {
  flex: 0 0 auto;
  width: 8rem;
  max-width: 8rem;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .gb-casino-lobby__carousel > .gb-casino-lobby__game-card--grid {
    width: 12rem;
    max-width: 12rem;
  }
}

@media (min-width: 640px) {
  .gb-casino-lobby__game-card--grid {
    border-radius: 14px;
  }

  .gb-casino-lobby__game-card--grid .gb-casino-lobby__game-card-media {
    border-radius: 14px;
  }

  .gb-casino-lobby__game-card-overlay {
    padding: 34px 10px 10px;
  }

  .gb-casino-lobby__game-card-title {
    font-size: 11px;
  }

  .gb-casino-lobby__game-card-provider {
    margin-top: 4px;
    font-size: 9px;
  }
}

@media (min-width: 900px) {
  .gb-casino-lobby__game-card-overlay {
    padding: 40px 12px 12px;
  }

  .gb-casino-lobby__game-card-title {
    font-size: 12px;
  }

  .gb-casino-lobby__game-card-provider {
    font-size: 10px;
  }
}

@media (hover: hover) {
  .gb-casino-lobby__game-card--grid.gb-casino-lobby__game-card--purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(162, 0, 255, 0.18);
  }

  .gb-casino-lobby__game-card--grid.gb-casino-lobby__game-card--green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 255, 65, 0.14);
  }
}

.gb-casino-lobby__game-card--purple:hover {
  border-color: rgba(162, 0, 255, 0.35);
}

.gb-casino-lobby__game-card--green:hover {
  border-color: rgba(0, 255, 65, 0.35);
}

.gb-casino-lobby__provider-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: #1a1a24;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.gb-casino-lobby__provider-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: #1e2130;
}

.gb-casino-lobby__provider-card.is-active {
  border-color: rgba(162, 0, 255, 0.65);
  box-shadow: 0 0 0 1px rgba(162, 0, 255, 0.35);
  background: rgba(162, 0, 255, 0.08);
}

.gb-casino-lobby__provider-card-label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  width: 100%;
  text-align: center;
  font-family: var(--gb-font-brand);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--gb-text-strong);
  transition: color 0.2s ease;
}

.gb-casino-lobby__provider-card:hover .gb-casino-lobby__provider-card-label {
  color: #fff;
}

.gb-casino-lobby__provider-card.is-active .gb-casino-lobby__provider-card-label {
  color: var(--gb-accent);
}

.gb-casino-lobby__providers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 768px) {
  .gb-casino-lobby__providers-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gb-casino-lobby__providers-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.gb-live-casino-page__providers {
  margin-top: 28px;
}

.gb-casino-lobby__empty {
  min-width: 220px;
  padding: 18px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #12121a;
}

@media (max-width: 1125px) {
  .gb-casino-lobby {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ── Live Casino view-more page (DUEL-style) ── */
.gb-live-casino-page {
  padding-top: 28px;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .gb-live-casino-page {
    padding-top: 36px;
  }
}

.gb-live-casino-page__shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gb-live-casino-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.gb-live-casino-page__title {
  margin: 0 0 0 30px;
  font-size: clamp(18px, 2.8vw, 22px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
}

.gb-live-casino-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.gb-live-casino-toolbar__search {
  margin-bottom: 0;
  min-width: 0;
}

.gb-live-casino-toolbar__desktop-filters {
  display: none;
  align-items: center;
  gap: 10px;
}

.gb-live-casino-toolbar__dropdown {
  position: relative;
}

.gb-live-casino-toolbar__dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #12121a;
  color: #9ca3af;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gb-live-casino-toolbar__dropdown-btn strong {
  color: #fff;
  font-weight: 700;
}

.gb-live-casino-toolbar__dropdown-btn:hover,
.gb-live-casino-toolbar__dropdown-btn[aria-expanded="true"] {
  border-color: rgba(162, 0, 255, 0.4);
  background: #171722;
  color: #fff;
}

.gb-live-casino-toolbar__dropdown-chevron {
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.gb-live-casino-toolbar__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  min-width: 220px;
  max-height: 320px;
  overflow: auto;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #12121a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.gb-live-casino-toolbar__menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #d1d5db;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.gb-live-casino-toolbar__menu-item.is-active {
  background: rgba(162, 0, 255, 0.12);
  color: #fff;
}

.gb-live-casino-toolbar__mobile-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #12121a;
  color: #fff;
  cursor: pointer;
}

.gb-live-casino-toolbar__mobile-filter svg {
  width: 20px;
  height: 20px;
}

.gb-live-casino-page__grid-host.is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.gb-live-casino-page__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.gb-live-casino-page__grid .gb-casino-lobby__game-card-title {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gb-live-casino-page__grid .gb-casino-lobby__game-card-provider {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gb-live-casino-filters {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.gb-live-casino-filters__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.gb-live-casino-filters__sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(88dvh, 720px);
  display: flex;
  flex-direction: column;
  border-radius: 18px 18px 0 0;
  background: #12121a;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}

.gb-live-casino-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 10px;
}

.gb-live-casino-filters__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.gb-live-casino-filters__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.gb-live-casino-filters__body {
  overflow: auto;
  padding: 0 18px 12px;
}

.gb-live-casino-filters__section + .gb-live-casino-filters__section {
  margin-top: 18px;
}

.gb-live-casino-filters__section-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.gb-live-casino-filters__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gb-live-casino-filters__option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 2px;
  color: #d1d5db;
  font-size: 14px;
  cursor: pointer;
}

.gb-live-casino-filters__option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #2563eb;
}

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gb-live-casino-filters__btn {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.gb-live-casino-filters__btn--reset {
  background: #242430;
  color: #fff;
}

.gb-live-casino-filters__btn--apply {
  background: #2563eb;
  color: #fff;
}

body.gb-live-casino-filters-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .gb-live-casino-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .gb-live-casino-toolbar__desktop-filters {
    display: flex;
  }

  .gb-live-casino-toolbar__mobile-filter {
    display: none;
  }

  .gb-live-casino-page__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .gb-live-casino-page__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 1280px) {
  .gb-live-casino-page__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1500px) {
  .gb-live-casino-page__grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

/* ── Promotions / Bonus Locker page ── */
.gb-promotions-page {
  padding: 32px 0 56px;
}

.gb-promotions-page__inner {
  max-width: min(1100px, 100%);
  margin: 0 auto;
}

.gb-promotions-page__head {
  margin-bottom: 28px;
}

.gb-promotions-page__eyebrow {
  margin: 0 0 8px;
  color: #a200ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gb-promotions-page__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
}

.gb-promotions-page__subtitle {
  max-width: 40rem;
  margin: 0;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
}

.gb-promotions-page__profile-link {
  margin: 10px 0 0;
  color: #9ca3af;
  font-size: 14px;
}

.gb-promotions-page__profile-link a {
  color: #c084fc;
  text-decoration: underline;
}

.gb-promotions-notice {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #d1d5db;
  font-size: 13px;
  line-height: 1.5;
}

.gb-promotions-promo {
  margin-bottom: 28px;
  padding: 20px 18px;
  border: 1px solid #1e1e28;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(162, 0, 255, 0.06) 0%, rgba(18, 18, 26, 0.95) 100%);
}

.gb-promotions-promo__title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.gb-promotions-promo__lead {
  margin: 0 0 16px;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.55;
}

.gb-promotions-promo__guest {
  margin: 0;
  color: #9ca3af;
  font-size: 14px;
}

.gb-promotions-promo__guest a {
  color: #c084fc;
  font-weight: 700;
}

.gb-promo-redeem--page .gb-promo-redeem__input {
  flex: 1 1 200px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #2a2a35;
  border-radius: 12px;
  background: #0f0f16;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  outline: none;
}

.gb-promo-redeem--page .gb-promo-redeem__input:focus {
  border-color: #a200ff;
  box-shadow: 0 0 0 2px rgba(162, 0, 255, 0.18);
}

.gb-promo-redeem--page .gb-promo-redeem__label {
  display: block;
  margin-bottom: 8px;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gb-promo-redeem--page .gb-promo-redeem__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.gb-promo-redeem--page .gb-promo-redeem__btn {
  min-width: 130px;
  min-height: 48px;
  border-radius: 12px;
}

@media (max-width: 480px) {
  .gb-promo-redeem--page .gb-promo-redeem__btn {
    width: 100%;
  }
}

.gb-promotions-notice--live {
  border-color: rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.08);
}

.gb-live-casino-page__bonus-note {
  margin: 8px 0 0;
  max-width: 720px;
  color: #fbbf24;
  font-size: 13px;
  line-height: 1.5;
}

.gb-bonus-locker {
  margin-bottom: 36px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(162, 0, 255, 0.28);
  border-radius: 16px;
  background: linear-gradient(160deg, #171722 0%, #12121a 100%);
  box-shadow: 0 0 0 1px rgba(162, 0, 255, 0.06), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.gb-bonus-locker__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.gb-bonus-locker__status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #00ff41;
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.65);
}

.gb-bonus-locker__title {
  margin: 0;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 800;
  color: #fff;
}

.gb-bonus-locker__progress-wrap {
  margin-bottom: 14px;
}

.gb-bonus-locker__progress-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: #d1d5db;
  font-size: 12px;
  font-weight: 700;
}

.gb-bonus-locker__progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.gb-bonus-locker__progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00cc34 0%, #00ff41 100%);
  box-shadow: 0 0 16px rgba(0, 255, 65, 0.45);
  transition: width 0.35s ease;
}

.gb-bonus-locker__wager-stat {
  margin: 10px 0 0;
  color: #e5e7eb;
  font-size: 14px;
}

.gb-bonus-locker__wager-stat strong {
  color: #fff;
  font-weight: 800;
}

.gb-bonus-locker__wager-mult {
  color: #9ca3af;
  font-weight: 600;
}

.gb-wallet-wager-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 65, 0.18);
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.08), rgba(0, 255, 65, 0.02));
}

.gb-wallet-wager-notice__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.gb-wallet-wager-notice__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gb-accent, #00FF41);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.55);
  flex-shrink: 0;
}

.gb-wallet-wager-notice__title {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: #f3f4f6;
}

.gb-wallet-wager-notice__percent {
  font-size: 12px;
  font-weight: 700;
  color: var(--gb-accent, #00FF41);
}

.gb-wallet-wager-notice__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 8px;
}

.gb-wallet-wager-notice__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00c834, #00FF41);
  transition: width 0.35s ease;
}

.gb-wallet-wager-notice__stat {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #9ca3af;
}

.gb-wallet-wager-notice__stat strong {
  color: #f9fafb;
  font-weight: 700;
}

.gb-bonus-locker__meta {
  margin: 0 0 18px;
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.5;
}

.gb-bonus-locker__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gb-bonus-locker__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.gb-bonus-locker__btn--claim {
  background: linear-gradient(180deg, #00ff41 0%, #00cc34 100%);
  color: #08080c;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.gb-bonus-locker__btn--claim:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.gb-bonus-locker__btn--cancel {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.gb-bonus-locker__btn--cancel:hover {
  background: rgba(239, 68, 68, 0.2);
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.18);
  transform: translateY(-1px);
}

.gb-bonus-offers__title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.gb-bonus-offers__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.gb-bonus-offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #12121a;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gb-bonus-offer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(162, 0, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(162, 0, 255, 0.12),
    0 0 24px rgba(162, 0, 255, 0.15),
    0 12px 32px rgba(0, 0, 0, 0.35);
}

.gb-bonus-offer-card--featured {
  border-color: rgba(0, 255, 65, 0.22);
}

.gb-bonus-offer-card--featured:hover {
  border-color: rgba(0, 255, 65, 0.4);
  box-shadow:
    0 0 0 1px rgba(0, 255, 65, 0.12),
    0 0 28px rgba(0, 255, 65, 0.14),
    0 12px 32px rgba(0, 0, 0, 0.35);
}

.gb-bonus-offer-card--quest {
  grid-column: 1 / -1;
  gap: 14px;
  padding: 22px;
  border-color: rgba(0, 255, 65, 0.28);
  background:
    linear-gradient(160deg, rgba(0, 255, 65, 0.06) 0%, rgba(162, 0, 255, 0.04) 48%, #12121a 100%);
  box-shadow:
    0 0 0 1px rgba(0, 255, 65, 0.1),
    0 0 32px rgba(0, 255, 65, 0.12),
    0 0 48px rgba(162, 0, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gb-bonus-offer-card--quest::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(162, 0, 255, 0.12), transparent 42%);
}

.gb-bonus-offer-card--quest:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 65, 0.45);
  box-shadow:
    0 0 0 1px rgba(0, 255, 65, 0.18),
    0 0 36px rgba(0, 255, 65, 0.2),
    0 0 56px rgba(162, 0, 255, 0.12),
    0 14px 36px rgba(0, 0, 0, 0.38);
}

.gb-bonus-offer-card--quest .gb-bonus-offer-card__name,
.gb-bonus-offer-card--quest .gb-bonus-offer-card__desc,
.gb-bonus-offer-card--quest .gb-bonus-offer-card__tags {
  position: relative;
  z-index: 1;
}

.gb-bonus-offer-card__badge {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(162, 0, 255, 0.14);
  color: #c4b5fd;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gb-bonus-offer-card__badge--special {
  position: relative;
  z-index: 1;
  padding: 4px 10px;
  border: 1px solid rgba(0, 255, 65, 0.35);
  background: linear-gradient(90deg, rgba(0, 255, 65, 0.16) 0%, rgba(162, 0, 255, 0.16) 100%);
  color: #00ff41;
  box-shadow: 0 0 16px rgba(0, 255, 65, 0.22);
}

.gb-bonus-offer-card__milestones {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
}

.gb-bonus-offer-card__milestone {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gb-bonus-offer-card__milestone-label {
  color: #a200ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gb-bonus-offer-card__milestone-text {
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.gb-bonus-offer-card__milestone-arrow {
  color: #00ff41;
  font-weight: 800;
}

.gb-bonus-offer-card__btn--quest {
  position: relative;
  z-index: 1;
  min-height: 44px;
  padding: 0 20px;
  background: linear-gradient(180deg, #b833ff 0%, #a200ff 100%);
  color: #fff;
  box-shadow: 0 0 22px rgba(162, 0, 255, 0.35);
}

.gb-bonus-offer-card__btn--quest:hover {
  box-shadow: 0 0 28px rgba(162, 0, 255, 0.55);
}

.gb-bonus-offer-card__name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.gb-bonus-offer-card__desc {
  flex: 1;
  margin: 0;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.6;
}

.gb-bonus-offer-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gb-bonus-offer-card__tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d1d5db;
  font-size: 11px;
  font-weight: 700;
}

.gb-bonus-offer-card__btn {
  align-self: flex-start;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #00ff41 0%, #00cc34 100%);
  color: #08080c;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gb-bonus-offer-card__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.35);
}

@media (min-width: 768px) {
  .gb-bonus-offers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gb-bonus-offers__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gb-promotions-page {
    padding-top: 24px;
  }

  .gb-bonus-locker {
    padding: 18px 16px;
  }

  .gb-bonus-locker__actions {
    flex-direction: column;
  }

  .gb-bonus-locker__btn {
    width: 100%;
  }
}

/* ── Deposit bonus selector ── */
.gb-deposit-bonus-selector {
  margin-bottom: 14px;
}

.gb-deposit-bonus-selector__title {
  margin: 0 0 10px;
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gb-deposit-bonus-selector__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gb-deposit-bonus-selector__option {
  display: block;
  cursor: pointer;
}

.gb-deposit-bonus-selector__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gb-deposit-bonus-selector__option-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: #12121a;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.gb-deposit-bonus-selector__option-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f3f4f6;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.gb-deposit-bonus-selector__option-icon {
  flex-shrink: 0;
  font-size: 15px;
  line-height: 1;
}

.gb-deposit-bonus-selector__option-meta {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.gb-deposit-bonus-selector__option:hover .gb-deposit-bonus-selector__option-body {
  border-color: rgba(255, 255, 255, 0.14);
}

.gb-deposit-bonus-selector__option input:checked + .gb-deposit-bonus-selector__option-body {
  border-color: #00ff41;
  box-shadow: 0 0 0 1px rgba(0, 255, 65, 0.12);
}

.gb-deposit-bonus-selector__option--hero .gb-deposit-bonus-selector__option-body {
  border-color: rgba(0, 255, 65, 0.32);
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.05) 0%, rgba(162, 0, 255, 0.04) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 255, 65, 0.08),
    0 0 18px rgba(0, 255, 65, 0.1);
}

.gb-deposit-bonus-selector__option--hero:hover .gb-deposit-bonus-selector__option-body {
  border-color: rgba(0, 255, 65, 0.48);
  box-shadow:
    0 0 0 1px rgba(0, 255, 65, 0.12),
    0 0 24px rgba(0, 255, 65, 0.16);
}

.gb-deposit-bonus-selector__option--accent input:checked + .gb-deposit-bonus-selector__option-body {
  background: rgba(0, 255, 65, 0.06);
  box-shadow:
    0 0 0 1px rgba(0, 255, 65, 0.18),
    0 0 22px rgba(0, 255, 65, 0.18);
}

.gb-deposit-bonus-selector__option--accent input:checked + .gb-deposit-bonus-selector__option-body .gb-deposit-bonus-selector__option-label {
  color: #00ff41;
}

.gb-deposit-bonus-selector__note {
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.45;
}

.wallet__content-top .gb-deposit-bonus-selector {
  margin-bottom: 12px;
}

/* ── Wallet modal — cyberpunk minimalist ── */
.popup--wallet {
  background: #08080c !important;
  border: 1px solid #1e1e28 !important;
  border-radius: 16px !important;
  box-shadow:
    0 0 30px rgba(162, 0, 255, 0.15),
    0 24px 48px rgba(0, 0, 0, 0.45) !important;
  overflow: hidden;
}

.popup--wallet .popup__title {
  background: #12121a !important;
  border-bottom: 1px solid #1e1e28 !important;
  padding: 0 16px !important;
}

.popup--wallet .popup__tabs {
  gap: 4px;
}

.popup--wallet .popup__tab {
  position: relative;
  margin: 0;
  padding: 14px 16px !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  color: #6b7280 !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent !important;
  transition: color 0.18s ease, border-color 0.18s ease, text-shadow 0.18s ease;
}

.popup--wallet .popup__tab .icon {
  color: inherit !important;
  fill: currentColor !important;
  filter: none !important;
}

.popup--wallet .popup__tab:hover {
  color: #fff !important;
}

.popup--wallet .popup__tab--active,
.popup--wallet .popup__tab.popup__tab--active {
  color: #fff !important;
  border-bottom-color: #a200ff !important;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.28);
  background: transparent !important;
}

.popup--wallet .popup__tab--active .icon,
.popup--wallet .popup__tab.popup__tab--active .icon {
  color: #fff !important;
  fill: #fff !important;
  filter: drop-shadow(0 0 8px rgba(162, 0, 255, 0.45)) !important;
}

.popup--wallet .popup__content {
  background: #08080c !important;
  padding: 20px !important;
}

.popup--wallet .close {
  position: static;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid #2a2a35 !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.popup--wallet .close:hover {
  color: #fff !important;
  border-color: rgba(162, 0, 255, 0.45) !important;
  background: rgba(162, 0, 255, 0.08) !important;
}

.popup--wallet .gb-wallet-panel__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup--wallet .gb-wallet-field-label {
  margin: 0;
  color: #d1d5db;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.popup--wallet .gb-wallet-field-label--muted {
  color: #6b7280;
}

.popup--wallet .gb-wallet-amount {
  display: flex;
  align-items: stretch;
  min-height: 54px;
  border: 1px solid #2a2a35;
  border-radius: 12px;
  background: #12121a;
  overflow: visible;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.popup--wallet .gb-wallet-amount:focus-within {
  border-color: #00ff41;
  box-shadow:
    0 0 0 1px rgba(0, 255, 65, 0.35),
    0 0 18px rgba(0, 255, 65, 0.12);
}

.popup--wallet .gb-wallet-amount__currency {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 0 12px 0 10px;
  border-right: 1px solid #2a2a35;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: visible;
}

.popup--wallet .gb-wallet-amount__currency-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0, 255, 65, 0.1);
  color: #00ff41;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.popup--wallet .gb-wallet-amount__currency-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.popup--wallet .gb-wallet-amount__currency-main {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}

.popup--wallet .gb-wallet-amount__currency-sub {
  color: #6b7280;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.popup--wallet .gb-wallet-amount__input {
  width: 100%;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  outline: none;
}

.popup--wallet .gb-wallet-amount__input::placeholder {
  color: #4b5563;
}

.popup--wallet .gb-wallet-quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.popup--wallet .gb-wallet-quick-amount {
  flex: 1 1 calc(20% - 8px);
  min-width: 56px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #2a2a35;
  border-radius: 10px;
  background: transparent;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.popup--wallet .gb-wallet-quick-amount:hover {
  border-color: #00ff41;
  background: rgba(0, 255, 65, 0.1);
  color: #fff;
  box-shadow: 0 0 14px rgba(0, 255, 65, 0.12);
}

.popup--wallet .gb-wallet-promo {
  border: 1px solid #1e1e28;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
}

.popup--wallet .gb-wallet-promo__input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #d1d5db;
  font-size: 13px;
  font-weight: 500;
  outline: none;
}

.popup--wallet .gb-wallet-promo__input::placeholder {
  color: #4b5563;
}

.popup--wallet .gb-wallet-promo:focus-within {
  border-color: rgba(162, 0, 255, 0.25);
  box-shadow: 0 0 0 1px rgba(162, 0, 255, 0.08);
}

.popup--wallet .gb-wallet-tron-box {
  margin-top: 4px;
  padding: 14px;
  border: 1px solid #1e1e28;
  border-radius: 12px;
  background: #12121a;
}

.popup--wallet .gb-wallet-tron-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.popup--wallet .gb-wallet-tron-row--qr {
  align-items: flex-start;
}

.popup--wallet .gb-wallet-tron-label {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.popup--wallet .gb-wallet-tron-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.popup--wallet .gb-wallet-tron-address {
  flex: 1 1 auto;
  min-width: 0;
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.01em;
  word-break: break-all;
}

.popup--wallet .gb-wallet-tron-address__input {
  width: 100%;
  border: 1px solid #2a2a35;
  border-radius: 8px;
  background: #13131a;
  padding: 8px 10px;
  cursor: text;
  -webkit-user-select: all;
  user-select: all;
  -webkit-touch-callout: default;
}

.popup--wallet .gb-wallet-tron-address__input:focus {
  outline: none;
  border-color: #a200ff;
  box-shadow: 0 0 0 1px rgba(162, 0, 255, 0.25);
}

.popup--wallet .gb-wallet-tron-copy {
  flex-shrink: 0;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #2a2a35;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.popup--wallet .gb-wallet-tron-copy:hover {
  border-color: #a200ff;
  background: rgba(162, 0, 255, 0.1);
}

.popup--wallet #tron_qr {
  background: #fff;
  border-radius: 10px;
  padding: 6px;
}

.popup--wallet .gb-wallet-tron-hint,
.popup--wallet .gb-wallet-fee-note {
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
}

/* Promo code redeem popup */
.popup--coupon .gb-promo-redeem__lead {
  margin: 0 0 16px;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.55;
}

.popup--coupon .gb-promo-redeem__label {
  display: block;
  margin-bottom: 8px;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.popup--coupon .gb-promo-redeem__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.popup--coupon .gb-promo-redeem {
  margin-bottom: 4px;
}

.popup--coupon .gb-promo-redeem__input {
  flex: 1 1 180px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #2a2a35;
  border-radius: 12px;
  background: #12121a;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  outline: none;
}

.popup--coupon .gb-promo-redeem__input::placeholder {
  color: #4b5563;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

.popup--coupon .gb-promo-redeem__input:focus {
  border-color: #a200ff;
  box-shadow: 0 0 0 2px rgba(162, 0, 255, 0.18);
}

.popup--coupon .gb-promo-redeem__btn {
  flex: 0 0 auto;
  min-width: 120px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
}

@media (max-width: 480px) {
  .popup--coupon .gb-promo-redeem__btn {
    width: 100%;
  }
}

.popup--wallet .gb-wallet-panel__footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #1e1e28;
}

.popup--wallet .gb-wallet-total__label {
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.popup--wallet .gb-wallet-total__value {
  margin-top: 4px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  gap: 8px;
}

.popup--wallet .gb-wallet-total__currency {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
}

.popup--wallet .gb-wallet-submit {
  min-height: 48px;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, #b833ff 0%, #a200ff 100%) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(162, 0, 255, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.popup--wallet .gb-wallet-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(162, 0, 255, 0.6);
  filter: brightness(1.05);
}

.popup--wallet .gb-wallet-submit span {
  color: #fff !important;
}

.popup--wallet .gb-deposit-bonus-selector__option-body {
  background: #12121a;
  border-color: #2a2a35;
}

@media (max-width: 640px) {
  .popup--wallet .popup__title {
    align-items: center;
    gap: 8px;
    padding: 0 12px 0 16px !important;
    min-height: 52px;
  }

  .popup--wallet .popup__tabs {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .popup--wallet .popup__tabs::-webkit-scrollbar {
    display: none;
  }

  .popup--wallet .close {
    position: static !important;
    right: auto !important;
    top: auto !important;
    margin-left: 4px;
    align-self: center;
  }

  .popup--wallet .popup__content {
    padding: 16px !important;
  }

  .popup--wallet .popup__tab {
    padding: 12px 10px !important;
    font-size: 11px;
    flex-shrink: 0;
  }

  .popup--wallet .gb-wallet-amount {
    flex-direction: column;
  }

  .popup--wallet .gb-wallet-amount__currency {
    border-right: 0;
    border-bottom: 1px solid #2a2a35;
    padding: 10px 14px;
  }

  .popup--wallet .gb-wallet-amount__input {
    min-height: 52px;
    font-size: 20px;
  }

  .popup--wallet .gb-wallet-quick-amount {
    flex: 1 1 calc(33.333% - 8px);
  }

  .popup--wallet .gb-wallet-order {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  .popup--wallet .gb-wallet-submit {
    width: 100%;
    justify-content: center;
  }
}

/* ── Wallet modal — withdraw / history panels ── */
.popup--wallet .gb-wallet-address {
  border: 1px solid #2a2a35;
  border-radius: 12px;
  background: #12121a;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.popup--wallet .gb-wallet-address:focus-within {
  border-color: #a200ff;
  box-shadow:
    0 0 0 1px rgba(162, 0, 255, 0.35),
    0 0 18px rgba(162, 0, 255, 0.12);
}

.popup--wallet .gb-wallet-address__input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  outline: none;
}

.popup--wallet .gb-wallet-address__input::placeholder {
  color: #4b5563;
  font-family: inherit;
  font-weight: 500;
}

.popup--wallet .gb-wallet-pending-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.popup--wallet .gb-wallet-pending-list__title {
  margin-bottom: 2px;
}

.popup--wallet .gb-wallet-history-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.popup--wallet .gb-wallet-history-panel__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.popup--wallet .gb-wallet-history-panel__sub {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
}

.popup--wallet .gb-wallet-history {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(162, 0, 255, 0.35) transparent;
}

.popup--wallet .gb-wallet-history::-webkit-scrollbar {
  width: 6px;
}

.popup--wallet .gb-wallet-history::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(162, 0, 255, 0.35);
}

.popup--wallet .gb-wallet-history-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 220px;
  padding: 24px 16px;
  border: 1px dashed #2a2a35;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.popup--wallet .gb-wallet-history-empty__title {
  color: #d1d5db;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.popup--wallet .gb-wallet-history-empty__text {
  max-width: 280px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.55;
}

.popup--wallet .gb-wallet-history-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid #1e1e28 !important;
  border-radius: 12px !important;
  background: #12121a !important;
}

.popup--wallet .gb-wallet-history-item__main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.popup--wallet .gb-wallet-history-item__amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.popup--wallet .gb-wallet-history-item__currency {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
}

.popup--wallet .gb-wallet-history-item__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.popup--wallet .gb-wallet-history-item__tx {
  color: #9ca3af;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
}

.popup--wallet .gb-wallet-history-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.popup--wallet .gb-wallet-history-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #2a2a35;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.popup--wallet .gb-wallet-history-link:hover {
  border-color: #00ff41;
  background: rgba(0, 255, 65, 0.08);
  color: #fff;
}

.popup--wallet .gb-wallet-history-item__status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.popup--wallet .gb-wallet-history-item__status--success {
  border: 1px solid rgba(0, 255, 65, 0.35);
  background: rgba(0, 255, 65, 0.1);
  color: #00ff41;
}

.popup--wallet .gb-wallet-history-item__status--pending {
  border: 1px solid rgba(255, 179, 71, 0.35);
  background: rgba(255, 179, 71, 0.1);
  color: #ffb347;
}

.popup--wallet .gb-wallet-history-cancel {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.popup--wallet .gb-wallet-history-cancel:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .popup--wallet .gb-wallet-history-item {
    flex-direction: column;
    align-items: stretch;
  }

  .popup--wallet .gb-wallet-history-item__status {
    align-self: flex-start;
  }
}

/* ── HOT badge on game cards ── */
.gb-game-card-hot-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 2px 7px;
  border: 1px solid rgba(255, 107, 44, 0.55);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffb347;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  pointer-events: none;
}

/* ── HOT section title ── */
.gb-home-games__section-title--hot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gb-home-games__hot-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.gb-home-games__hot-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 8px rgba(255, 107, 44, 0.45));
}

/* ── Slots provider dropdown filter ── */
.gb-slots-provider-dropdown {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .gb-slots-provider-dropdown {
    width: auto;
  }
}

.gb-slots-provider-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #12121a;
  color: #9ca3af;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.gb-slots-provider-dropdown__toggle strong {
  color: #fff;
  font-weight: 700;
}

.gb-slots-provider-dropdown__toggle-label {
  color: #9ca3af;
}

.gb-slots-provider-dropdown__toggle:hover,
.gb-slots-provider-dropdown__toggle[aria-expanded="true"] {
  border-color: rgba(162, 0, 255, 0.4);
  background: #171722;
  color: #fff;
  box-shadow: 0 0 18px rgba(162, 0, 255, 0.12);
}

.gb-slots-provider-dropdown__chevron {
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.gb-slots-provider-dropdown__toggle[aria-expanded="true"] .gb-slots-provider-dropdown__chevron {
  transform: rotate(-135deg) translateY(-2px);
}

.gb-slots-provider-dropdown__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: auto;
  z-index: 45;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #12121a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.gb-slots-provider-dropdown__panel[hidden],
.gb-live-casino-toolbar__menu[hidden],
.gb-live-casino-filters[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  .gb-slots-provider-dropdown__panel {
    left: auto;
    right: 0;
    width: 16rem;
    max-width: calc(100vw - 32px);
  }
}

.gb-slots-provider-dropdown__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex: 0 0 auto;
}

.gb-slots-provider-dropdown__panel-title {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gb-slots-provider-dropdown__reset {
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.18s ease;
}

.gb-slots-provider-dropdown__reset:hover {
  color: #00ff41;
}

.gb-slots-provider-dropdown__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 15rem;
  padding: 4px 0;
  overflow-x: hidden;
  overflow-y: auto;
  flex: 1 1 auto;
}

.gb-slots-provider-dropdown__list.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(162, 0, 255, 0.35) transparent;
}

.gb-slots-provider-dropdown__list.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.gb-slots-provider-dropdown__list.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(162, 0, 255, 0.35);
  border-radius: 999px;
}

.gb-slots-provider-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d1d5db;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.gb-slots-provider-dropdown__item:hover {
  background: #1e1e28;
  color: #fff;
}

.gb-slots-provider-dropdown__item.is-active {
  background: rgba(0, 255, 65, 0.08);
  color: #fff;
}

.gb-slots-provider-dropdown__item.is-active .gb-slots-provider-dropdown__label {
  color: #00ff41;
}

.gb-slots-provider-dropdown__label {
  min-width: 0;
  color: #e5e7eb;
  font-family: var(--gb-font-brand);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.gb-slots-provider-dropdown__actions {
  padding: 8px 12px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex: 0 0 auto;
}

.gb-slots-provider-dropdown__apply {
  width: 100%;
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #b833ff 0%, #a200ff 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(162, 0, 255, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gb-slots-provider-dropdown__apply:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(162, 0, 255, 0.45);
}

@media (max-width: 767px) {
  .gb-slots-toolbar__controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .gb-slots-provider-dropdown__toggle {
    width: 100%;
    justify-content: space-between;
  }
}

/* ── Scroll to top ── */
.gb-scroll-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 28;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #1e1e28;
  border-radius: 12px;
  background: rgba(26, 29, 36, 0.94);
  color: #9ca3af;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.gb-scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.gb-scroll-top:hover,
.gb-scroll-top:focus-visible {
  color: #fff;
  border-color: rgba(162, 0, 255, 0.45);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(162, 0, 255, 0.22);
}

.gb-scroll-top svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1125px) {
  .gb-scroll-top {
    bottom: calc(var(--gb-tabbar-height) + 12px);
  }
}

/* Footer must always render as the document scroll stopper (mobile + desktop) */
body.slot-advanced-active .gb-site-footer,
body.slot-advanced-active .footer {
  display: block !important;
  visibility: visible !important;
}

@media (max-width: 1125px) {
  html,
  body {
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    overscroll-behavior-y: none;
    overscroll-behavior-x: none;
  }

  #app {
    min-height: 100dvh;
    min-height: -webkit-fill-available;
  }

  #app > .gb-site-footer,
  #app > .footer {
    order: 999;
  }
}

/* Slots play — mobile theater mode (floating FAB) */
@media (max-width: 767px) {
  main:has(#gameContainer) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
  }

  body.game-theater-mode,
  html.game-theater-mode {
    overflow: hidden !important;
    background: #08080c !important;
  }

  body.game-theater-mode .header,
  body.game-theater-mode .mobile-tabbar,
  body.game-theater-mode footer,
  body.game-theater-mode .gb-site-footer,
  body.game-theater-mode .footer,
  body.game-theater-mode .gb-scroll-top {
    display: none !important;
  }

  body.game-theater-mode #app,
  body.game-theater-mode main,
  body.game-theater-mode #_ajax_content_ {
    padding: 0 !important;
    margin: 0 !important;
  }

  body.game-theater-mode #gameContainer {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100svh !important;
    max-height: 100svh !important;
    max-width: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    z-index: 9999;
  }
}

/* Slots play — desktop / ultrawide: fill content area */
@media (min-width: 768px) {
  main:has(#gameContainer) {
    padding-bottom: 12px;
  }

  #gameContainer {
    width: 100% !important;
    max-width: none !important;
    height: calc(100dvh - 96px) !important;
    min-height: 520px;
    max-height: none !important;
    margin: 8px 0 0 !important;
  }
}

@media (min-width: 1600px) {
  main:has(#gameContainer) {
    padding-right: 1.25rem;
  }

  #gameContainer {
    height: calc(100dvh - 88px) !important;
    min-height: 600px;
  }
}

/* Slots play — desktop similar games carousel (above footer) */
.gb-slot-play-similar {
  display: none;
}

@media (min-width: 768px) {
  .gb-slot-play-similar {
    display: block;
    margin: 20px 0 12px;
    padding: 0;
  }

  .gb-slot-play-similar .gb-casino-lobby__section {
    margin-bottom: 0;
  }

  .gb-slot-play-similar__carousel {
    padding-bottom: 4px;
  }

  main:has(#gameContainer) + .gb-scroll-top + .gb-site-footer,
  main:has(#gameContainer) ~ .gb-site-footer {
    margin-top: 0;
  }
}

/* SEO: visually hidden, accessible to crawlers and screen readers */
.gb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Standalone auth pages (/register, /login) */
.auth-page-standalone {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #050508;
  position: relative;
  overflow-x: hidden;
}

.auth-page-standalone__bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(162, 0, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 255, 65, 0.08), transparent 50%),
    #050508;
}

.auth-page-standalone__wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

.auth-page-standalone .popup--auth,
.auth-page-standalone .popup--auth-standalone {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  position: relative !important;
  margin: 0 auto;
}

.auth-page-standalone .auth-modal__tabs a.popup__tab {
  text-decoration: none;
  color: inherit;
}

.auth-success-card__body {
  text-align: center;
  padding-top: 8px !important;
}

.auth-success-card__title {
  margin: 0 0 10px;
  font-family: var(--gb-font-brand);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.auth-success-card__text {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.auth-success-card__secondary {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(162, 0, 255, 0.85);
  text-decoration: none;
}

.auth-success-card__secondary:hover {
  color: #00ff41;
}

.email-verify-modal__body {
  padding-top: 4px !important;
}

.email-verify-modal__lead {
  margin-bottom: 18px !important;
}

.email-verify-modal__email-block {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(162, 0, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}

.email-verify-modal__email-label {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(168, 174, 188, 0.75);
}

.email-verify-modal__email {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #f4f4f5;
  word-break: break-word;
  user-select: text;
}

.email-verify-modal__skip {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: rgba(168, 174, 188, 0.85);
  cursor: pointer;
  text-align: center;
  transition: color 0.18s ease;
}

.email-verify-modal__skip:hover {
  color: #00ff41;
}

.popup--email-verify {
  max-width: 420px;
}

.popup--email-verify .auth-modal__hero--modal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 20px 12px;
}

.popup--email-verify .auth-modal__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.popup--email-verify .auth-modal__brand--lockup {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.popup--email-verify .auth-modal__brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(162, 0, 255, 0.35));
}

.popup--email-verify .auth-modal__wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--gb-font-brand);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 0 24px rgba(162, 0, 255, 0.2);
}

.popup--email-verify .auth-modal__tagline {
  margin: 10px 0 0;
  max-width: 280px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(168, 174, 188, 0.85);
}

.popup--email-verify .auth-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.profile-security__email-value {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  word-break: break-word;
}

.profile-btn--verify-email {
  margin-top: 12px;
  width: 100%;
}
