:root {
  color-scheme: dark;
  --bg: #0d0b10;
  --surface: #18131b;
  --surface-2: #241c27;
  --border: #3c2d40;
  --text: #fff8f1;
  --muted: #b4a8ad;
  --accent: #f4a340;
  --accent-hover: #ffbc61;
  --accent-berry: #df4762;
  --success: #5fd29f;
  --danger: #f47a79;
  --warn: #f4bd62;
  --radius: 10px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
}

body.has-modal-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.casino-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, #171017 0, #0d0b10 34rem, #0a090c 100%),
    #0d0b10;
}

.casino-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 235, 216, 0.1);
  background: rgba(15, 11, 16, 0.88);
  backdrop-filter: blur(20px) saturate(130%);
}

.casino-header-inner {
  width: 100%;
  min-height: 4.5rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(3rem, 1fr) auto minmax(3rem, 1fr);
  gap: 1rem;
  align-items: center;
}

.casino-header-right {
  display: flex;
  justify-content: flex-end;
}

.casino-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: center;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(255, 212, 145, 0.62);
  border-radius: 50%;
  background: #e3a141;
  box-shadow: 0 0 0 4px rgba(227, 161, 65, 0.12), 0 9px 26px rgba(0, 0, 0, 0.32);
  color: #1d1012;
  font-size: 0.8rem;
  font-weight: 900;
}

.brand-lockup {
  display: grid;
  gap: 0.02rem;
  line-height: 0.95;
}

.brand-lockup small {
  color: var(--accent);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.btn {
  min-height: 2.65rem;
  border: none;
  border-radius: 9px;
  padding: 0.55rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(244, 163, 64, 0.16);
  color: #24140f;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
}

.btn-ghost {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
}

.btn-block {
  width: 100%;
}

.deposit-cta {
  box-shadow: 0 8px 24px rgba(244, 163, 64, 0.22);
}

.side-menu-trigger,
.balance-header-widget,
.game-search-field,
.game-providers-btn,
.game-category-nav,
.platform-info-card {
  border-color: rgba(255, 236, 215, 0.12);
  background: rgba(28, 21, 31, 0.82);
  backdrop-filter: blur(16px);
}

.side-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 2.65rem;
  padding: 0 0.95rem 0 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: var(--text);
}

.side-menu-trigger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 1.1rem;
  height: 1rem;
}

.side-menu-trigger-icon span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.side-menu-trigger-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.side-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 6, 10, 0.62);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.side-menu-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.side-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  width: min(300px, 88vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #151b26 0%, #0c0f14 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 12px 0 48px rgba(0, 0, 0, 0.45);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.side-menu-drawer.is-open {
  transform: translateX(0);
}

.side-menu-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 1.15rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.side-menu-drawer-kicker {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.side-menu-drawer-user {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.side-menu-close {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.35rem;
}

.side-menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0.65rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.side-menu-group-label {
  margin: 0.85rem 0 0.35rem 0.55rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-menu-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  text-align: left;
}

.side-menu-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.side-menu-link.active {
  background: rgba(91, 141, 239, 0.14);
  color: #fff;
}

.side-menu-link.is-disabled {
  color: var(--muted);
  opacity: 0.65;
}

.side-menu-link-icon {
  width: 1.65rem;
  text-align: center;
}

.balance-header-widget {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.65rem;
  border: 1px solid rgba(91, 141, 239, 0.35);
  border-radius: 12px;
  padding: 0.35rem 0.65rem 0.35rem 0.5rem;
  background:
    linear-gradient(135deg, rgba(91, 141, 239, 0.14) 0%, rgba(21, 27, 38, 0.95) 55%),
    rgba(21, 27, 38, 0.92);
  color: inherit;
}

.balance-header-icon {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(62, 207, 142, 0.25), rgba(91, 141, 239, 0.2));
  color: #8ee8b8;
}

.balance-header-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  min-width: 5.5rem;
  line-height: 1.1;
}

.balance-header-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.balance-header-list {
  display: grid;
  gap: 0.12rem;
}

.balance-header-amount-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.balance-header-amount {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.balance-header-currency {
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
}

.balance-header-demo {
  border-radius: 999px;
  padding: 0.06rem 0.32rem;
  background: rgba(230, 180, 80, 0.14);
  color: var(--warn);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.balance-header-amount-row.is-demo .balance-header-amount {
  color: rgba(238, 242, 248, 0.78);
}

.balance-header-amount-row.is-pending {
  align-items: center;
}

.balance-header-amount-row.is-pending .balance-header-amount {
  color: rgba(238, 242, 248, 0.78);
  font-size: 0.78rem;
}

.ui-chevron {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  color: rgba(238, 242, 248, 0.72);
  transition: transform 0.18s ease, color 0.18s ease;
}

.ui-chevron svg {
  width: 100%;
  height: 100%;
}

.ui-chevron path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.balance-header-widget:hover .ui-chevron,
.profile-avatar-button:hover .ui-chevron,
.profile-wallet-row:hover .ui-chevron,
.profile-drawer-group-title:hover .ui-chevron {
  color: #fff;
}

.profile-avatar-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.65rem;
  border: 0;
  border-radius: 999px;
  padding: 0.2rem 0.45rem 0.2rem 0.2rem;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.55), transparent 0.34rem),
    linear-gradient(135deg, #f43f5e, #f59e0b 52%, #3b82f6);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.24);
  font-size: 0.74rem;
  font-weight: 900;
}

.profile-avatar-chevron {
  color: rgba(255, 255, 255, 0.68);
}

.profile-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.profile-drawer-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.profile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1002;
  width: min(390px, 92vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 20% 0%, rgba(244, 63, 94, 0.1), transparent 12rem),
    linear-gradient(180deg, #111827 0%, #090d13 100%);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.52);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-drawer.is-open {
  transform: translateX(0);
}

.profile-drawer-head,
.profile-drawer-user {
  display: flex;
  align-items: center;
}

.profile-drawer-head {
  justify-content: space-between;
  gap: 1rem;
}

.profile-drawer-user {
  min-width: 0;
  gap: 0.8rem;
}

.profile-drawer-avatar {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f43f5e, #f59e0b 52%, #3b82f6);
  color: #fff;
  font-weight: 900;
}

.profile-drawer-user strong,
.profile-drawer-user span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-drawer-user strong {
  color: #fff;
  font-size: 1.02rem;
}

.profile-drawer-user span {
  color: rgba(238, 242, 248, 0.62);
  font-size: 0.84rem;
  font-weight: 700;
}

.profile-drawer-close {
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.35rem;
}

.profile-drawer-wallets {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.8rem;
  gap: 0.55rem;
}

.profile-balance-picker {
  position: relative;
  min-width: 0;
}

.profile-wallet-row {
  width: 100%;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
}

.profile-wallet-row.is-open .ui-chevron {
  transform: rotate(180deg);
}

.profile-wallet-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-wallet-row--demo {
  border-color: rgba(230, 180, 80, 0.2);
  background:
    linear-gradient(135deg, rgba(230, 180, 80, 0.12), rgba(91, 141, 239, 0.06)),
    rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.84);
  opacity: 1;
}

.profile-wallet-icon,
.profile-menu-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(91, 141, 239, 0.2);
  color: #bfdbfe;
  font-size: 0.68rem;
  font-weight: 900;
}

.profile-wallet-icon--demo {
  background: rgba(230, 180, 80, 0.16);
  color: #f7c76f;
}

.profile-wallet-icon {
  width: 1.7rem;
  height: 1.7rem;
}

.profile-menu-icon {
  width: 1.85rem;
  height: 1.85rem;
}

.profile-menu-icon svg {
  width: 1.08rem;
  height: 1.08rem;
}

.profile-menu-icon path,
.profile-menu-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-balance-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 0.5rem);
  z-index: 2;
  width: min(290px, calc(92vw - 2.2rem));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.9rem;
  background:
    radial-gradient(circle at 8% 0%, rgba(91, 141, 239, 0.1), transparent 10rem),
    #0d1511;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
}

.profile-balance-menu > strong {
  display: block;
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 0.92rem;
}

.profile-balance-currency-list {
  display: grid;
  gap: 0.25rem;
}

.profile-currency-row {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.25rem;
  border: 0;
  border-radius: 10px;
  padding: 0.3rem 0.35rem;
  background: transparent;
  color: rgba(238, 242, 248, 0.82);
  text-align: left;
  font-weight: 800;
}

.profile-currency-row:hover,
.profile-currency-row.is-selected {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.profile-currency-icon {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #3b82f6, #38bdf8);
  color: #fff;
  font-size: 0.56rem;
  font-weight: 900;
}

.profile-currency-row strong {
  color: rgba(238, 242, 248, 0.64);
  font-variant-numeric: tabular-nums;
}

.profile-currency-row.is-selected strong {
  color: #f7c76f;
}

.profile-drawer-deposit,
.profile-drawer-withdraw {
  min-height: 3rem;
}

.profile-drawer-withdraw {
  border-color: rgba(91, 141, 239, 0.24);
  background: rgba(21, 27, 38, 0.92);
}

.profile-drawer-nav {
  display: grid;
  gap: 0.55rem;
  min-height: 0;
  overflow-y: auto;
}

.profile-drawer-group {
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.profile-drawer-group.is-open {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.065);
}

.profile-drawer-group.is-open .profile-drawer-group-title .ui-chevron {
  transform: rotate(180deg);
}

.profile-drawer-group-title,
.profile-drawer-link {
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(238, 242, 248, 0.78);
  text-align: left;
  font-weight: 800;
}

.profile-drawer-group-title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.35rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
}

.profile-drawer-group-title {
  color: #fff;
}

.profile-drawer-group.is-open .profile-drawer-group-title {
  border-radius: 14px 14px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-drawer-link {
  position: relative;
  padding: 0.72rem 1rem 0.72rem 3.55rem;
}

.profile-drawer-link::before {
  content: "";
  position: absolute;
  left: 2.2rem;
  top: 50%;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(-50%);
}

.profile-drawer-link:hover {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.profile-drawer-link.is-disabled {
  color: rgba(238, 242, 248, 0.58);
  cursor: not-allowed;
}

.profile-drawer-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  margin-top: auto;
  border: 0;
  background: transparent;
  color: rgba(238, 242, 248, 0.72);
  font-weight: 800;
}

.casino-main {
  flex: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.page-view {
  display: none;
}

.page-view.active {
  display: block;
}

.page-header-block {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 2.5vw, 2.5rem) 0.75rem;
}

.page-header-block h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.account-page-shell {
  width: 100%;
  max-width: 1440px;
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(0, 1fr);
  gap: 1rem;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 2.5vw, 2.5rem) 2rem;
}

.promo-carousel {
  position: relative;
  width: 100%;
  height: clamp(430px, 60vh, 650px);
  overflow: hidden;
  border-bottom: 3px solid #2b1c2a;
  background: #07090d;
  box-shadow: 0 1px 0 rgba(244, 163, 64, 0.45), 0 1.35rem 2.6rem rgba(0, 0, 0, 0.26);
}

.promo-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.promo-carousel-track::-webkit-scrollbar {
  display: none;
}

.promo-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  overflow: hidden;
}

.promo-slide-bg {
  position: absolute;
  inset: 0;
}

.promo-slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(13, 11, 16, 0.92) 100%);
}

.promo-slide--games .promo-slide-bg {
  background:
    linear-gradient(90deg, rgba(14, 10, 15, 0.98), rgba(14, 10, 15, 0.5) 58%, rgba(14, 10, 15, 0.83)),
    linear-gradient(135deg, #3b1723, #16101a 54%, #0e0b10);
}

.promo-slide--deposit .promo-slide-bg {
  background:
    linear-gradient(90deg, rgba(14, 10, 15, 0.98), rgba(14, 10, 15, 0.5) 62%, rgba(14, 10, 15, 0.83)),
    linear-gradient(135deg, #312112, #19131a 54%, #0e0b10);
}

.promo-slide--notifications .promo-slide-bg {
  background:
    linear-gradient(90deg, rgba(14, 10, 15, 0.98), rgba(14, 10, 15, 0.5) 58%, rgba(14, 10, 15, 0.83)),
    linear-gradient(135deg, #351627, #1a121a 56%, #0e0b10);
}

.promo-slide-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(20rem, 1fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.promo-slide-visual {
  order: 2;
  display: grid;
  place-items: center;
  min-height: 20rem;
}

.promo-hero-art {
  width: min(25rem, 35vw);
  aspect-ratio: 0.7;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255, 244, 232, 0.18);
  border-radius: 1.2rem;
  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.48);
}

.promo-slide-visual--roulette .promo-hero-art {
  transform: rotate(5deg);
}

.promo-slide-visual--chips .promo-hero-art {
  transform: rotate(-4deg);
}

.promo-slide-visual--cards .promo-hero-art {
  transform: rotate(3deg);
}

.promo-slide-copy {
  order: 1;
}

.promo-slide-kicker {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.promo-slide-title {
  max-width: 10ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.8rem, 7vw, 6.1rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.promo-slide-accent {
  color: var(--accent);
}

.promo-slide-subtitle {
  max-width: 36rem;
  margin: 1.1rem 0 0;
  color: rgba(248, 250, 252, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.promo-slide-actions {
  margin-top: 1.4rem;
}

.promo-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(35, 26, 37, 0.78);
  color: #fff;
  font-size: 1.6rem;
  backdrop-filter: blur(14px);
  transform: translateY(-50%);
}

.promo-carousel-arrow--prev {
  left: 1rem;
}

.promo-carousel-arrow--next {
  right: 1rem;
}

.promo-carousel-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 1.4rem;
  display: flex;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.45rem;
  background: rgba(35, 26, 37, 0.74);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.promo-carousel-dots button {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.34);
}

.promo-carousel-dots button.active {
  width: 1.5rem;
  background: var(--accent);
}

.lobby-intro {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(2.2rem, 4vw, 4.4rem) clamp(1rem, 2.5vw, 2.5rem) 1.45rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.lobby-kicker,
.placeholder-kicker {
  margin: 0 0 0.25rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lobby-intro h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.lobby-copy {
  max-width: 36rem;
  margin: 0.65rem 0 0;
  color: rgba(238, 242, 248, 0.72);
}

.lobby-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(5.5rem, 1fr));
  gap: 0.5rem;
  min-width: min(31rem, 100%);
}

.lobby-stats span {
  display: flex;
  min-height: 4.25rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  border: 1px solid rgba(255, 236, 215, 0.12);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: rgba(31, 23, 33, 0.8);
  color: rgba(255, 248, 241, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lobby-stats strong {
  color: var(--accent);
  font-size: 1.28rem;
  line-height: 1;
}

.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;
}

.home-games-toolbar,
.home-games-sections,
.client-workspace {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 2.5vw, 2.5rem);
  padding-right: clamp(1rem, 2.5vw, 2.5rem);
}

.home-games-toolbar {
  padding-bottom: 0.5rem;
}

.game-catalog-toolbar {
  border: 1px solid rgba(255, 236, 215, 0.11);
  border-radius: 14px;
  padding: 0.75rem;
  background: rgba(24, 18, 26, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1rem 2.5rem rgba(0, 0, 0, 0.16);
}

.game-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.game-search-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  border: 1px solid rgba(255, 236, 215, 0.13);
  border-radius: 10px;
  padding: 0 0.85rem;
}

.game-search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
}

.game-search-clear {
  width: 1.8rem;
  height: 1.8rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.game-providers-btn {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 236, 215, 0.13);
  border-radius: 10px;
  padding: 0 0.95rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  outline: none;
  max-width: min(34vw, 18rem);
}

.game-category-nav {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  margin-top: 0.75rem;
  border: 0;
  border-radius: 0;
  padding: 0.45rem;
  background: transparent;
}

.game-category-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.45rem;
  border: 0;
  border: 1px solid rgba(255, 236, 215, 0.1);
  border-radius: 999px;
  padding: 0 0.85rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.game-category-nav-item.active {
  border-color: transparent;
  background: var(--accent);
  color: #25160f;
}

.home-games-sections {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding-top: 0.5rem;
  padding-bottom: 2rem;
}

.game-category-section {
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: clamp(0.65rem, 1.2vw, 1rem) 0;
  background: transparent;
}

.game-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.game-category-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.game-category-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid rgba(244, 163, 64, 0.42);
  border-radius: 50%;
  background: rgba(244, 163, 64, 0.09);
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 900;
}

.game-category-title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.game-category-count {
  margin: 0.15rem 0 0;
  color: rgba(238, 242, 248, 0.55);
  font-size: 0.78rem;
}

.game-card-track {
  display: flex;
  gap: clamp(0.8rem, 1.3vw, 1.1rem);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.1rem 0 0.95rem;
  scrollbar-width: thin;
}

.game-catalog-empty {
  width: 100%;
  min-height: 13rem;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.game-catalog-empty--preview {
  min-width: min(100%, 48rem);
  grid-row: 1 / -1;
}

.game-catalog-empty--error {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.18);
}

.game-card {
  position: relative;
  flex: 0 0 clamp(158px, 12vw, 196px);
  width: clamp(158px, 12vw, 196px);
  overflow: hidden;
  border: 1px solid rgba(255, 237, 215, 0.12);
  border-radius: 12px;
  background: #171118;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0.8rem 1.8rem rgba(0, 0, 0, 0.19);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.game-card:hover {
  z-index: 2;
  border-color: rgba(244, 163, 64, 0.75);
  transform: translateY(-0.35rem);
  box-shadow: 0 1.35rem 3rem rgba(0, 0, 0, 0.42);
}

.game-card-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.28;
  overflow: hidden;
  background: linear-gradient(145deg, #1f2937, #05070b);
}

.game-card-art::before,
.game-card-art::after {
  content: none;
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(2px);
}

.game-card-art::before {
  width: 7.5rem;
  height: 7.5rem;
  top: -2.2rem;
  right: -2.4rem;
}

.game-card-art::after {
  width: 5.8rem;
  height: 5.8rem;
  left: -2.2rem;
  bottom: 2.6rem;
  opacity: 0.45;
}

.game-card-symbol {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: 900;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.game-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.game-card:hover .game-card-image {
  transform: scale(1.045);
}

.game-card--gold .game-card-art {
  background: linear-gradient(145deg, #fbbf24 0%, #b45309 50%, #241205 100%);
}

.game-card--ocean .game-card-art {
  background: linear-gradient(145deg, #38bdf8 0%, #2563eb 48%, #061527 100%);
}

.game-card--berry .game-card-art {
  background: linear-gradient(145deg, #fb7185 0%, #be185d 48%, #210713 100%);
}

.game-card--crimson .game-card-art {
  background: linear-gradient(145deg, #fb7185 0%, #dc2626 48%, #210713 100%);
}

.game-card--steel .game-card-art {
  background: linear-gradient(145deg, #94a3b8 0%, #334155 48%, #0f172a 100%);
}

.game-card--emerald .game-card-art {
  background: linear-gradient(145deg, #34d399 0%, #047857 48%, #052e1d 100%);
}

.game-card--sunset .game-card-art {
  background: linear-gradient(145deg, #f97316 0%, #be123c 48%, #1f0a12 100%);
}

.game-card-topline {
  position: absolute;
  inset: 0.7rem 0.7rem auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}

.game-card-badge,
.game-card-fav {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 9, 13, 0.72);
  backdrop-filter: blur(12px);
}

.game-card-badge {
  border-radius: 999px;
  padding: 0.22rem 0.45rem;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

.game-card-fav {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #fff;
  pointer-events: auto;
}

.game-card-provider-mark {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  bottom: 4.95rem;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(7, 9, 13, 0.58);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.game-card-meta {
  min-height: 5.8rem;
  padding: 1.95rem 0.7rem 0.7rem;
  background: #171118;
}

.game-card-title {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
}

.game-card-provider {
  margin: 0.12rem 0 0.65rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.68rem;
}

.game-card-play {
  width: 100%;
  min-height: 2.2rem;
  border: 0;
  border-radius: 8px;
  background: rgba(244, 163, 64, 0.95);
  color: #25160f;
  font-weight: 800;
}

.game-card-play:disabled {
  cursor: wait;
  opacity: 0.72;
}

.game-card-play.is-disabled {
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(238, 242, 248, 0.52);
}

.game-card-more {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.45rem;
  border-style: dashed;
  padding: 1rem;
  text-align: left;
  color: #fff;
  background: #241822;
}

.game-card-more:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.46);
}

.game-card-more-kicker {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-card-more strong {
  font-size: 1.15rem;
  line-height: 1.05;
}

.game-card-more span:last-child {
  color: rgba(238, 242, 248, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
}

.all-games-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.all-games-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 12, 0.78);
  backdrop-filter: blur(10px);
}

.all-games-panel {
  position: relative;
  width: min(1180px, 100%);
  max-height: min(86vh, 920px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(23, 30, 43, 0.96), rgba(8, 10, 15, 0.98)),
    #0b0f16;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.65);
}

.all-games-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem clamp(1rem, 2.4vw, 1.6rem);
}

.all-games-header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1;
}

.all-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: clamp(0.75rem, 1.3vw, 1rem);
  overflow: auto;
  padding: clamp(1rem, 2.4vw, 1.6rem);
}

.game-card--modal .game-card-art {
  aspect-ratio: 1.18;
}

.deposit-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 3vw, 2.6rem);
}

.deposit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.deposit-modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 920px);
  width: min(1260px, 100%);
  height: min(850px, 92vh);
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 18px;
  background: #090d13;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.72);
}

.deposit-modal-sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.05rem 0.75rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(244, 63, 94, 0.12), transparent 11rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 34%),
    #111827;
}

.deposit-user-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0 0.45rem 0.9rem;
}

.deposit-user-avatar {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.55), transparent 0.32rem),
    linear-gradient(135deg, #f43f5e, #f59e0b 52%, #3b82f6);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

.deposit-user-card strong,
.deposit-user-card span {
  display: block;
}

.deposit-user-card strong {
  color: #fff;
  font-size: 1rem;
}

.deposit-user-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  font-weight: 700;
}

.deposit-wallet-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.4rem;
  gap: 0.5rem;
}

.deposit-wallet-row {
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
}

.deposit-wallet-row:first-child::after {
  content: "Deposit";
  display: grid;
  place-items: center;
  min-height: 3rem;
  min-width: 7.4rem;
  margin: -0.65rem -7.95rem -0.65rem 0.4rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #f43f5e, #f59e0b);
  color: #fff;
  font-weight: 900;
}

.deposit-wallet-row--muted {
  grid-column: 1 / -1;
  opacity: 0.75;
}

.deposit-wallet-icon {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  flex: 0 0 1.6rem;
  border-radius: 999px;
  background: rgba(91, 141, 239, 0.22);
  border: 1px solid rgba(147, 197, 253, 0.26);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.deposit-wallet-row--muted .deposit-wallet-icon {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(251, 191, 36, 0.28);
  color: #fbbf24;
}

.deposit-modal-nav {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.deposit-modal-nav-group {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.deposit-modal-nav-title,
.deposit-modal-nav-link {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  font-weight: 800;
}

.deposit-modal-nav-title {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 1rem;
  color: #fff;
}

.deposit-modal-nav-link {
  padding: 0.82rem 1rem;
}

.deposit-modal-nav-link--muted {
  opacity: 0.72;
}

.deposit-modal-nav-group .deposit-modal-nav-link {
  padding-left: 1.55rem;
}

.deposit-modal-nav-link.active {
  color: #fbbf24;
}

.deposit-modal-nav-link.active::before {
  content: "-";
  margin-right: 0.45rem;
}

.deposit-modal-main {
  display: grid;
  grid-template-rows: 4rem minmax(0, 1fr) auto;
  min-width: 0;
  background:
    radial-gradient(circle at 78% 38%, rgba(245, 158, 11, 0.13), transparent 19rem),
    radial-gradient(circle at 58% 62%, rgba(59, 130, 246, 0.12), transparent 22rem),
    linear-gradient(145deg, #0d111a, #07090d);
}

.deposit-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0 1.45rem;
}

.deposit-modal-header h2 {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
}

.deposit-modal-close {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.deposit-modal-content {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(300px, 1fr);
  gap: 1.25rem;
  overflow: hidden;
  padding: 1.55rem 1.45rem 0.25rem;
}

.deposit-methods-panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.deposit-modal-label {
  margin: 0 0 3.3rem;
  color: #fff;
  font-weight: 900;
}

.deposit-method-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  overflow: auto;
  padding-right: 0.6rem;
}

.deposit-method-card {
  position: relative;
  min-height: 126px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.7rem;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 1.1rem 0.85rem 0.9rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    rgba(17, 24, 39, 0.72);
  color: #fff;
  text-align: center;
}

.deposit-method-card.active,
.deposit-method-card:hover {
  border-color: rgba(245, 158, 11, 0.72);
  background:
    radial-gradient(circle at 80% 18%, rgba(245, 158, 11, 0.16), transparent 5rem),
    rgba(30, 41, 59, 0.82);
}

.deposit-method-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  border-radius: 999px;
  padding: 0.18rem 0.45rem;
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.deposit-method-card strong {
  margin-top: 0.55rem;
  font-size: 1.28rem;
  line-height: 1;
}

.deposit-method-card span:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
}

.withdraw-method-card strong {
  color: #fbbf24;
  font-size: 1.55rem;
}

.deposit-detail-panel {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(150px, 1fr) auto auto;
  align-items: end;
  gap: 1rem;
  border-left: 5px solid rgba(255, 255, 255, 0.24);
  padding-left: clamp(1rem, 3vw, 2.6rem);
}

.withdraw-detail-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-left: 5px solid rgba(255, 255, 255, 0.24);
  padding-left: clamp(1rem, 3vw, 2.6rem);
  padding-top: 1.5rem;
}

.deposit-illustration {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  opacity: 0.18;
}

.deposit-coin {
  display: grid;
  place-items: center;
  width: clamp(12rem, 23vw, 20rem);
  height: clamp(12rem, 23vw, 20rem);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
}

.deposit-arrow {
  position: absolute;
  right: 8%;
  top: 28%;
  display: grid;
  place-items: center;
  width: clamp(7rem, 14vw, 11rem);
  height: clamp(7rem, 14vw, 11rem);
  border-radius: 0 0 45% 45%;
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.9), rgba(245, 158, 11, 0.9));
  color: transparent;
  clip-path: polygon(30% 0, 70% 0, 70% 50%, 100% 50%, 50% 100%, 0 50%, 30% 50%);
}

.deposit-modal-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem;
  gap: 0.75rem;
}

.deposit-modal-form label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.deposit-modal-form input,
.deposit-modal-form select {
  min-height: 3rem;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(5, 8, 13, 0.74);
  color: #fff;
  font-weight: 900;
}

.deposit-modal-form .amount-chip-row,
.deposit-modal-form .btn {
  grid-column: 1 / -1;
}

.withdraw-method-summary {
  min-height: 3.05rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  background: rgba(17, 24, 39, 0.74);
}

.withdraw-summary-logo {
  color: #fbbf24;
  font-size: 1rem;
  font-weight: 900;
}

.withdraw-method-summary strong,
.withdraw-method-summary span {
  display: block;
}

.withdraw-method-summary strong {
  color: #fff;
}

.withdraw-method-summary span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
}

.withdraw-modal-form {
  grid-template-columns: minmax(0, 1fr) 5.5rem;
}

.withdraw-full-field,
.withdraw-save-row,
.withdraw-modal-form .btn-block {
  grid-column: 1 / -1;
}

.withdraw-save-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: none;
}

.withdraw-save-row input {
  width: 2.8rem;
  height: 1.35rem;
  min-height: 0;
  accent-color: #f59e0b;
}

.withdraw-max-button {
  min-height: 3rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 900;
}

.deposit-modal-content--history {
  display: block;
  overflow: auto;
}

.transaction-history-panel {
  display: grid;
  gap: 1.1rem;
}

.transaction-history-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 9px;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
}

.transaction-history-tabs button {
  min-height: 2.8rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.54);
  font-weight: 900;
}

.transaction-history-tabs button.active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.transaction-completed-toggle {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 900;
}

.transaction-completed-toggle input {
  width: 2.6rem;
  height: 1.25rem;
  min-height: 0;
  accent-color: #f59e0b;
}

.transaction-history-head,
.transaction-history-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(150px, 1fr) minmax(110px, 0.5fr) 2rem;
  gap: 0.8rem;
  align-items: center;
}

.transaction-history-head {
  padding: 1.4rem 0.75rem 0.35rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 800;
}

.transaction-history-head span:last-child {
  grid-column: 3;
  text-align: right;
}

.transaction-history-list {
  display: grid;
  gap: 0.75rem;
}

.transaction-history-row {
  min-height: 4rem;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  background: rgba(17, 24, 39, 0.72);
}

.transaction-status-time,
.transaction-gateway {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
}

.transaction-status-time strong,
.transaction-gateway strong,
.transaction-gateway span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transaction-status-time strong {
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.1;
}

.transaction-status-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  border: 2px solid #9ca3af;
  border-radius: 999px;
}

.transaction-status-icon.blocked {
  border-color: #ef4444;
  background: linear-gradient(135deg, transparent 42%, #ef4444 44%, #ef4444 56%, transparent 58%);
}

.transaction-status-icon.ok {
  border-color: #3ecf8e;
  background: rgba(62, 207, 142, 0.18);
}

.transaction-status-icon.wait {
  border-color: #9ca3af;
}

.transaction-gateway {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.transaction-gateway strong {
  color: #f87171;
}

.transaction-amount {
  color: #fff;
  text-align: right;
  font-size: 1rem;
}

.transaction-more {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 900;
}

.deposit-modal-footer {
  margin: 0.75rem 1.45rem 0.8rem;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 24, 39, 0.82);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.deposit-modal-footer span {
  color: #fff;
  text-decoration: underline;
}

.client-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.client-workspace--activity {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-page-shell:has(.auth-card.hidden) {
  grid-template-columns: 1fr;
}

.account-guest-card {
  grid-column: 1 / -1;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 82% 18%, rgba(244, 63, 94, 0.14), transparent 10rem),
    linear-gradient(145deg, rgba(20, 26, 38, 0.95), rgba(9, 12, 19, 0.95));
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.28);
}

.account-guest-card h2 {
  max-width: 16ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.account-guest-card p:not(.placeholder-kicker) {
  max-width: 36rem;
  margin: 0.9rem 0 0;
  color: rgba(238, 242, 248, 0.68);
}

.account-guest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.player-dashboard-card {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  background:
    radial-gradient(circle at 82% 18%, rgba(245, 158, 11, 0.14), transparent 12rem),
    linear-gradient(145deg, rgba(18, 24, 34, 0.96), rgba(10, 13, 19, 0.96));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  background: rgba(21, 27, 38, 0.9);
}

.card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.auth-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  min-height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(244, 63, 94, 0.18), transparent 38%),
    linear-gradient(315deg, rgba(245, 158, 11, 0.16), transparent 42%),
    rgba(15, 20, 30, 0.92);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.auth-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 23px;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.13), transparent 9rem),
    radial-gradient(circle at 72% 70%, rgba(245, 158, 11, 0.15), transparent 12rem);
}

.auth-story,
.auth-form-shell {
  position: relative;
  z-index: 1;
}

.auth-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 100%;
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.auth-story-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  color: #fff;
  font-weight: 900;
}

.auth-story h2 {
  max-width: 10ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 4.5vw, 4.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.auth-story p:not(.placeholder-kicker) {
  max-width: 30rem;
  margin: 1rem 0 0;
  color: rgba(238, 242, 248, 0.74);
  font-size: 1rem;
}

.auth-benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.auth-benefit-list span {
  min-height: 4.6rem;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.8rem;
  background: rgba(7, 9, 13, 0.4);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.auth-form-shell {
  margin: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: clamp(1.1rem, 2vw, 1.65rem);
  background: rgba(9, 12, 18, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.auth-form-header {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 1.2rem;
}

.auth-form-header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.card h2 {
  margin: 0;
  font-size: 1.05rem;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(0.8rem, 3vw, 2rem);
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(244, 63, 94, 0.18), transparent 22rem),
    rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.auth-modal-panel {
  width: min(980px, 100%);
  max-height: min(760px, 92vh);
  min-height: 0;
  z-index: 1;
}

.auth-simple-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12), transparent 12rem),
    linear-gradient(145deg, rgba(18, 24, 34, 0.98), rgba(7, 10, 16, 0.98));
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.48);
}

.auth-modal-close {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.16s, background 0.16s;
}

.auth-modal-close:hover {
  transform: scale(1.04);
  background: rgba(255, 255, 255, 0.14);
}

.auth-form-shell--simple {
  margin: 0;
  border: 0;
  border-radius: 24px;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.auth-form-header--center {
  text-align: center;
  margin: 0 2.25rem 1.15rem;
}

.auth-form-header--center h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.auth-form-header--center p:not(.placeholder-kicker) {
  margin: 0.45rem 0 0;
  color: rgba(238, 242, 248, 0.62);
  font-size: 0.92rem;
}

.auth-method-tabs {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}

.auth-method-tabs button {
  min-height: 3rem;
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: 13px;
  background: rgba(245, 158, 11, 0.09);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  width: 100%;
  padding-right: 4.2rem;
}

.password-field button {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  transform: translateY(-50%);
  min-width: 3.1rem;
  min-height: 2.05rem;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(238, 242, 248, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.auth-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
}

.auth-checkbox input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  accent-color: #f59e0b;
}

.auth-switch-line {
  margin: 0.2rem 0 0;
  color: rgba(238, 242, 248, 0.62);
  text-align: center;
  font-size: 0.88rem;
}

.auth-switch-line button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #fbbf24;
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
}

.card-subtitle {
  max-width: 24rem;
  margin: 0.35rem 0 0;
  color: rgba(238, 242, 248, 0.64);
  font-size: 0.9rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 0.28rem;
  background: rgba(255, 255, 255, 0.04);
}

.auth-tabs .btn {
  min-height: 2.55rem;
  border-radius: 11px;
  padding: 0.45rem 0.75rem;
}

.auth-tabs .btn.active {
  background: rgba(255, 255, 255, 0.11);
  color: var(--text);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.auth-form label {
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
}

input,
select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}

.auth-form input {
  min-height: 3.15rem;
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  padding: 0.72rem 0.85rem;
  background: rgba(5, 8, 13, 0.82);
}

.auth-form input:focus {
  border-color: rgba(245, 158, 11, 0.62);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
  outline: none;
}

.auth-form .btn-primary,
.auth-form .btn-secondary {
  min-height: 3.15rem;
  border-radius: 13px;
}

.money-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  align-content: start;
  gap: 0.8rem;
}

.money-form .btn {
  grid-column: 1 / -1;
}

.money-card,
.activity-panel {
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(16, 21, 31, 0.84);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.money-card {
  position: relative;
  overflow: hidden;
}

.money-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 88% 10%, rgba(245, 158, 11, 0.16), transparent 9rem);
}

.money-card--withdraw::before {
  background: radial-gradient(circle at 88% 10%, rgba(91, 141, 239, 0.16), transparent 9rem);
}

.money-card > * {
  position: relative;
  z-index: 1;
}

.money-form label {
  gap: 0.5rem;
  color: rgba(238, 242, 248, 0.68);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.money-form input,
.money-form select {
  min-height: 3.25rem;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  padding: 0.75rem 0.9rem;
  background: rgba(5, 8, 13, 0.66);
  font-weight: 800;
}

.amount-chip-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.amount-chip-row button {
  min-height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(238, 242, 248, 0.78);
  font-size: 0.85rem;
  font-weight: 900;
}

.amount-chip-row button:hover {
  border-color: rgba(251, 191, 36, 0.46);
  color: #fff;
}

.message {
  min-height: 1.2rem;
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
}

.muted {
  color: var(--muted);
}

.balance-hero {
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(7, 10, 15, 0.88)),
    radial-gradient(circle at 84% 20%, rgba(91, 141, 239, 0.2), transparent 10rem);
}

.balance-hero-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.balance-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.balance-currency-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.balance-currency-switch select {
  min-width: 5rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.balance-value {
  margin: 0.35rem 0;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
}

.balance-sub {
  margin: 0;
}

.wallet-balance-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.wallet-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: rgba(12, 15, 20, 0.5);
}

.wallet-balance-row.is-demo {
  border-color: rgba(230, 180, 80, 0.24);
  background: rgba(230, 180, 80, 0.07);
}

.wallet-balance-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 800;
}

.wallet-balance-id,
.wallet-balance-money small {
  display: block;
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.wallet-balance-money {
  display: grid;
  justify-items: end;
  gap: 0.1rem;
  font-variant-numeric: tabular-nums;
}

.wallet-provisioning-state {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px dashed rgba(230, 180, 80, 0.45);
  border-radius: 12px;
  padding: 0.95rem;
  background: rgba(230, 180, 80, 0.08);
}

.wallet-provisioning-state strong,
.wallet-provisioning-state span {
  display: block;
}

.wallet-provisioning-state strong {
  color: var(--text);
  font-size: 0.95rem;
}

.wallet-provisioning-state span {
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.wallet-provisioning-spinner {
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
  border: 2px solid rgba(230, 180, 80, 0.22);
  border-top-color: var(--warn);
  border-radius: 999px;
  animation: wallet-provisioning-spin 0.85s linear infinite;
}

@keyframes wallet-provisioning-spin {
  to {
    transform: rotate(360deg);
  }
}

.demo-badge {
  border: 1px solid rgba(230, 180, 80, 0.45);
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  background: rgba(230, 180, 80, 0.12);
  color: var(--warn);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.action-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.045);
  color: inherit;
}

.action-title {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: capitalize;
}

.action-desc {
  color: var(--muted);
  font-size: 0.85rem;
}

.operation-box {
  margin-top: 1rem;
}

.operation-result,
.activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.85rem;
  background: rgba(7, 10, 15, 0.52);
}

.operation-result {
  flex-wrap: wrap;
}

.operation-result div {
  display: grid;
  gap: 0.1rem;
}

.operation-result span,
.activity-row span,
.ledger-delta small {
  color: var(--muted);
  font-size: 0.78rem;
}

.activity-main {
  min-width: 0;
  flex: 1;
}

.activity-main strong {
  display: block;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: capitalize;
}

.activity-main span {
  display: block;
  margin-top: 0.12rem;
}

.activity-icon {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  flex: 0 0 2.3rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
}

.activity-icon.is-in {
  background: rgba(62, 207, 142, 0.18);
  color: var(--success);
}

.activity-icon.is-out {
  background: rgba(230, 180, 80, 0.16);
  color: var(--warn);
}

.activity-icon.is-ledger {
  background: rgba(91, 141, 239, 0.16);
  color: #93c5fd;
}

.operation-result small {
  flex: 0 0 100%;
  color: var(--muted);
}

.settlement-actions {
  flex: 0 0 100%;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.activity-list {
  display: grid;
  gap: 0.55rem;
}

.ledger-delta {
  display: grid;
  justify-items: end;
  gap: 0.2rem;
}

.empty-state {
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 0.9rem;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.ok {
  border-color: rgba(62, 207, 142, 0.45);
  background: rgba(62, 207, 142, 0.12);
  color: var(--success);
}

.warn {
  border-color: rgba(230, 180, 80, 0.45);
  background: rgba(230, 180, 80, 0.12);
  color: var(--warn);
}

.danger {
  border-color: rgba(240, 113, 120, 0.45);
  background: rgba(240, 113, 120, 0.12);
  color: var(--danger);
}

@media (max-width: 860px) {
  .casino-header-inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
  }

  .casino-brand {
    justify-self: start;
  }

  .casino-header-right {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: stretch;
  }

  .header-actions,
  .header-actions--guest,
  .header-actions--user {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .deposit-cta,
  .balance-header-widget {
    grid-column: 1 / -1;
    width: 100%;
  }

  .profile-avatar-button {
    justify-self: end;
  }

  .promo-slide-inner {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .promo-slide-visual {
    display: none;
  }

  .promo-slide-copy {
    text-align: center;
  }

  .promo-slide-title,
  .promo-slide-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .lobby-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .lobby-stats,
  .account-page-shell,
  .client-workspace,
  .client-workspace--activity {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .auth-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-story {
    min-height: 340px;
  }

  .auth-benefit-list {
    grid-template-columns: 1fr;
  }

  .deposit-modal-panel {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .deposit-modal-sidebar {
    display: none;
  }

  .deposit-modal-main {
    min-height: min(820px, 92vh);
  }

  .deposit-modal-content {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .deposit-detail-panel {
    border-left: 0;
    border-top: 4px solid rgba(255, 255, 255, 0.18);
    padding: 1rem 0 0;
  }

  .withdraw-detail-panel {
    border-left: 0;
    border-top: 4px solid rgba(255, 255, 255, 0.18);
    padding: 1rem 0 0;
  }

  .deposit-illustration {
    display: none;
  }
}

@media (max-width: 560px) {
  .promo-carousel {
    height: 430px;
  }

  .promo-slide-inner {
    padding: 2rem 1.25rem 5.2rem;
  }

  .promo-carousel-dots {
    bottom: 0.85rem;
  }

  .promo-slide-title {
    font-size: clamp(2.45rem, 16vw, 4rem);
  }

  .game-search-row,
  .money-form {
    grid-template-columns: 1fr;
  }

  .game-providers-btn {
    width: 100%;
    max-width: none;
  }

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

  .auth-story,
  .auth-form-shell {
    margin: 0;
  }

  .auth-panel {
    border-radius: 18px;
  }

  .auth-form-shell {
    border-radius: 18px;
  }

  .auth-form-grid {
    grid-template-columns: 1fr;
  }

  .game-card-track {
    gap: 0.75rem;
  }

  .game-card {
    flex-basis: clamp(142px, 46vw, 190px);
    width: clamp(142px, 46vw, 190px);
  }

  .all-games-modal {
    padding: 0.75rem;
  }

  .all-games-panel {
    max-height: 92vh;
    border-radius: 18px;
  }

  .all-games-header {
    align-items: stretch;
    flex-direction: column;
  }

  .all-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    padding: 0.8rem;
  }

  .deposit-modal {
    padding: 0.55rem;
  }

  .deposit-modal-panel {
    height: 94vh;
    border-radius: 12px;
  }

  .deposit-modal-header {
    padding: 0 1rem;
  }

  .deposit-modal-content {
    padding: 1rem;
  }

  .deposit-modal-label {
    margin-bottom: 1rem;
  }

  .deposit-method-grid {
    grid-template-columns: 1fr;
    max-height: 290px;
  }

  .deposit-modal-form {
    grid-template-columns: 1fr;
  }

  .withdraw-modal-form {
    grid-template-columns: 1fr;
  }

  .transaction-history-tabs,
  .transaction-history-head,
  .transaction-history-row {
    grid-template-columns: 1fr;
  }

  .transaction-history-head {
    display: none;
  }

  .transaction-amount {
    text-align: left;
  }

  .deposit-modal-footer {
    margin: 0.5rem 1rem 0.75rem;
  }
}
