:root {
  color-scheme: dark;
  --bg: #050914;
  --surface: rgb(8 15 30 / 86%);
  --surface-strong: rgb(12 22 42 / 94%);
  --surface-soft: rgb(255 255 255 / 6%);
  --line: rgb(132 181 255 / 18%);
  --line-strong: rgb(49 196 255 / 42%);
  --text: #f8fbff;
  --muted: #9caac0;
  --faint: #647187;
  --blue: #10a7ff;
  --cyan: #31d6ff;
  --violet: #5942ff;
  --pink: #ff3f86;
  --green: #5ff1b8;
  --gold: #f7c85e;
  --gold-deep: #9b6718;
  --danger: #ff6d8c;
  --shadow: 0 20px 70px rgb(0 0 0 / 38%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% -10%, rgb(16 167 255 / 22%), transparent 28rem),
    radial-gradient(circle at 74% 2%, rgb(255 63 134 / 12%), transparent 26rem),
    radial-gradient(circle at 92% 36%, rgb(89 66 255 / 24%), transparent 31rem),
    linear-gradient(180deg, #07172d 0%, #050914 44%, #030610 100%);
  color: var(--text);
  overflow-x: hidden;
}

html.auth-modal-open,
body.auth-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: auto -12% -34% -12%;
  z-index: -1;
  height: 520px;
  background: radial-gradient(ellipse at center, rgb(16 167 255 / 13%), transparent 64%);
  pointer-events: none;
}

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

button,
input,
select {
  font: inherit;
}

.app-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 70px;
  padding: 10px clamp(14px, 3vw, 34px);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  background: rgb(4 9 20 / 84%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 900;
  letter-spacing: .26em;
}

.brand img {
  width: 46px;
  height: 46px;
}

.brand span {
  font-size: 22px;
}

.topnav {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.topnav a {
  white-space: nowrap;
}

.topnav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.topnav a:hover {
  background: rgb(255 255 255 / 7%);
  color: var(--text);
}

#home,
#jackpot,
#demo-bonus,
#games,
#account,
#history {
  scroll-margin-top: 92px;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 9px;
}

.welcome-chip {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border: 1px solid rgb(247 200 94 / 20%);
  border-radius: 999px;
  background: linear-gradient(135deg, rgb(247 200 94 / 10%), rgb(49 214 255 / 6%));
  color: #dce7f6;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  max-width: 210px;
  overflow: hidden;
}

.welcome-chip strong {
  color: #ffe2a1;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.balance-chip {
  min-height: 42px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, rgb(49 214 255 / 10%), rgb(89 66 255 / 9%));
}

.balance-chip span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.balance-chip strong,
.quick-panel strong {
  font-weight: 900;
}

.btn {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

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

.btn-primary {
  background:
    linear-gradient(135deg, rgb(255 224 142 / 16%), transparent 42%),
    linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 15px 34px rgb(16 167 255 / 20%), inset 0 1px 0 rgb(255 255 255 / 18%);
}

.btn-ghost,
.btn-outline {
  border: 1px solid rgb(255 255 255 / 14%);
  background: rgb(255 255 255 / 6%);
}

.btn-link {
  min-height: 42px;
  border: 1px solid rgb(247 200 94 / 22%);
  background:
    linear-gradient(135deg, rgb(247 200 94 / 11%), rgb(49 214 255 / 6%)),
    rgb(255 255 255 / 4%);
  color: #ffe2a1;
}

.btn-outline {
  color: #dce7f6;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: .42;
  transform: none;
  box-shadow: none;
}

main {
  padding: 14px clamp(12px, 3vw, 34px) 42px;
}

.jackpot-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(160px, .65fr) minmax(160px, .65fr);
  gap: 10px;
  margin-bottom: 12px;
}

.jackpot-card {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(247 200 94 / 12%), transparent 42%),
    rgb(255 255 255 / 5%);
}

.jackpot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 28%, rgb(255 255 255 / 10%) 42%, transparent 56% 100%);
  transform: translateX(-120%);
  animation: jackpotShine 5.8s ease-in-out infinite;
  pointer-events: none;
}

.jackpot-card--main {
  min-height: 66px;
  padding-right: 116px; /* reserve the right zone for the coin motif so text never overlaps it */
  border-color: rgb(247 200 94 / 32%);
  background:
    radial-gradient(circle at 78% 50%, rgb(247 200 94 / 24%), transparent 14rem),
    linear-gradient(135deg, rgb(247 200 94 / 18%), rgb(49 214 255 / 8%) 48%, rgb(89 66 255 / 14%)),
    rgb(255 255 255 / 5%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 12px 36px rgb(247 200 94 / 9%);
}

.jackpot-card--main::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 86px;
  height: 50px;
  background:
    radial-gradient(ellipse at 22% 70%, #fff0a8 0 8%, #d99b25 9% 29%, #795013 31% 35%, transparent 37%),
    radial-gradient(ellipse at 51% 42%, #fff0a8 0 8%, #e9b53e 9% 29%, #795013 31% 35%, transparent 37%),
    radial-gradient(ellipse at 78% 66%, #fff0a8 0 8%, #c88619 9% 29%, #69410c 31% 35%, transparent 37%);
  transform: translateY(-50%);
  opacity: .66;
  filter: drop-shadow(0 8px 12px rgb(0 0 0 / 28%));
  pointer-events: none;
}

.jackpot-card span {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jackpot-card strong {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
}

.jackpot-card--main strong {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding-right: 58px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  color: #ffe7a7;
  text-shadow: 0 0 28px rgb(247 200 94 / 30%);
}

.jackpot-card--main strong small,
.jackpot-card--main strong em {
  font: inherit;
  font-style: normal;
}

.jackpot-card--main b {
  position: relative;
  z-index: 1;
  max-width: 270px;
  color: #d7dfeb;
  font-size: 12px;
  line-height: 1.35;
}

@keyframes jackpotShine {
  0%, 45% {
    transform: translateX(-120%);
  }
  70%, 100% {
    transform: translateX(120%);
  }
}

.casino-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .72fr);
  gap: 14px;
  align-items: stretch;
}

.promo-slider,
.casino-hero__content,
.quick-panel,
.account-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow), inset 0 1px 0 rgb(255 255 255 / 7%);
}

.promo-slider {
  position: relative;
  min-height: 374px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 42%, rgb(247 200 94 / 22%), transparent 18rem),
    radial-gradient(circle at 42% 8%, rgb(49 214 255 / 16%), transparent 20rem),
    linear-gradient(135deg, #07111f 0%, #111832 52%, #080a12 100%);
}

.promo-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: inherit;
  pointer-events: none;
}

.promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s ease;
  overflow: hidden;
}

.promo-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.promo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .2;
  filter: saturate(.85) contrast(1.08) blur(.2px);
  transform: scale(1.02);
}

.promo-slide::before,
.promo-slide::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.promo-slide::before {
  width: clamp(230px, 34vw, 520px);
  aspect-ratio: 1;
  right: clamp(18px, 5vw, 90px);
  top: 50%;
  transform: translateY(-48%) rotate(-18deg);
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 64%, #ffe89b 0 7%, #d4951c 8% 21%, transparent 22%),
    radial-gradient(circle at 54% 36%, #fff0a8 0 7%, #e2a72a 8% 22%, transparent 23%),
    radial-gradient(circle at 74% 68%, #ffdf75 0 7%, #b97712 8% 21%, transparent 22%);
  box-shadow:
    0 0 0 1px rgb(247 200 94 / 28%),
    0 28px 80px rgb(247 200 94 / 24%),
    inset 0 0 42px rgb(0 0 0 / 48%);
  opacity: .9;
}

.promo-slide::after {
  width: clamp(150px, 22vw, 310px);
  height: clamp(96px, 14vw, 190px);
  right: clamp(40px, 9vw, 180px);
  bottom: clamp(22px, 5vw, 72px);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 82%), rgb(225 236 255 / 36)),
    linear-gradient(135deg, #ffffff, #a9bad2);
  transform: rotate(11deg);
  box-shadow:
    -34px -18px 0 -4px rgb(10 15 29 / 92%),
    -34px -18px 0 -2px rgb(247 200 94 / 60%),
    0 22px 52px rgb(0 0 0 / 42%);
  opacity: .7;
}

.promo-slide[data-slide-kind="live"]::before {
  background:
    radial-gradient(circle at 28% 64%, #b9f1ff 0 7%, #198cc8 8% 21%, transparent 22%),
    radial-gradient(circle at 54% 36%, #e4fbff 0 7%, #36b7e8 8% 22%, transparent 23%),
    radial-gradient(circle at 74% 68%, #d9baff 0 7%, #6546d9 8% 21%, transparent 22%);
}

.promo-slide[data-slide-kind="bonus"]::before {
  background:
    radial-gradient(circle at 28% 64%, #ffe89b 0 7%, #d4951c 8% 21%, transparent 22%),
    radial-gradient(circle at 54% 36%, #fff0a8 0 7%, #e2a72a 8% 22%, transparent 23%),
    radial-gradient(circle at 74% 68%, #ffdf75 0 7%, #b97712 8% 21%, transparent 22%);
}

.promo-slide__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 76% 42%, rgb(247 200 94 / 13%), transparent 20rem),
    radial-gradient(circle at 58% 10%, rgb(49 214 255 / 10%), transparent 18rem),
    linear-gradient(90deg, rgb(5 9 20 / 98%) 0%, rgb(5 9 20 / 86%) 39%, rgb(5 9 20 / 32%) 100%),
    linear-gradient(0deg, rgb(5 9 20 / 64%), transparent 54%);
}

.promo-slide__content {
  position: absolute;
  left: clamp(18px, 4vw, 44px);
  bottom: 72px;
  z-index: 3;
  width: min(520px, calc(100% - 36px));
}

.promo-slide__content h1,
.promo-slide__content h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: .98;
  letter-spacing: 0;
}

.promo-slide__content p {
  max-width: 430px;
  margin-bottom: 0;
  color: #b7c2d2;
  font-size: 15px;
  line-height: 1.5;
}

.promo-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 13px;
  padding: 0 12px;
  border: 1px solid rgb(247 200 94 / 44%);
  border-radius: 999px;
  background: linear-gradient(135deg, rgb(247 200 94 / 19%), rgb(49 214 255 / 11%));
  color: #ffe2a1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.promo-badge--green {
  border-color: rgb(49 214 255 / 46%);
  background: rgb(49 214 255 / 13%);
  color: #9cecff;
}

.promo-badge--gold {
  border-color: rgb(247 200 94 / 52%);
  background: rgb(247 200 94 / 15%);
  color: #ffe1a0;
}

.promo-badge--pink {
  border-color: rgb(255 63 134 / 42%);
  background: rgb(255 63 134 / 14%);
  color: #ff91b5;
}

.slider-controls {
  position: absolute;
  left: clamp(18px, 4vw, 44px);
  bottom: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 999px;
  background: rgb(3 8 18 / 72%);
  backdrop-filter: blur(14px);
}

.slider-controls button {
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 10%);
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.slider-dots {
  display: flex;
  gap: 6px;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgb(255 255 255 / 25%);
}

.slider-dots button.is-active {
  width: 24px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.casino-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  background:
    radial-gradient(circle at 100% 10%, rgb(247 200 94 / 16%), transparent 12rem),
    radial-gradient(circle at 0% 70%, rgb(49 214 255 / 12%), transparent 14rem),
    linear-gradient(150deg, rgb(255 255 255 / 5%), transparent 38%),
    var(--surface-strong);
}

.casino-hero__content h2 {
  margin: 0 0 10px;
  font-size: clamp(25px, 2.7vw, 38px);
  line-height: 1.02;
}

.hero-note {
  margin-bottom: 14px;
}

.wallet-card {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgb(49 214 255 / 26%);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgb(49 214 255 / 13%), rgb(89 66 255 / 10%)),
    rgb(255 255 255 / 5%);
}

.wallet-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.wallet-card span,
.wallet-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wallet-card strong {
  font-size: 28px;
  font-weight: 900;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 4px 0 14px;
}

.hero-stats div {
  min-height: 64px;
  padding: 10px 9px;
  border: 1px solid rgb(247 200 94 / 16%);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgb(247 200 94 / 9%), rgb(49 214 255 / 5%)),
    rgb(255 255 255 / 4%);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 20px;
  line-height: 1.1;
  color: #ffe2a1;
}

.hero-stats span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.welcome-bonus-card {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 12px 14px;
  margin: 0 0 14px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgb(247 200 94 / 28%);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 22%, rgb(255 218 119 / 22%), transparent 36%),
    linear-gradient(135deg, rgb(130 27 24 / 78%), rgb(14 21 45 / 86) 48%, rgb(27 42 82 / 88));
  box-shadow:
    0 18px 36px rgb(0 0 0 / 26%),
    inset 0 1px 0 rgb(255 255 255 / 10%);
}

.welcome-bonus-card[hidden] {
  display: none;
}

.welcome-bonus-card__visual {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 214 117 / 38%);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 30%, rgb(255 230 160 / 45%), transparent 44%),
    linear-gradient(160deg, rgb(118 10 9 / 82%), rgb(201 42 31 / 74%));
}

.welcome-bonus-card__visual img {
  width: 72px;
  max-width: 100%;
  filter: drop-shadow(0 12px 18px rgb(0 0 0 / 34%));
}

.welcome-bonus-card__body {
  min-width: 0;
}

.welcome-bonus-card__body strong {
  display: block;
  margin: 4px 0 3px;
  color: #ffdf8d;
  font-size: clamp(20px, 1.55vw, 28px);
  font-weight: 900;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.welcome-bonus-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.welcome-bonus-card .form-message {
  grid-column: 1 / -1;
  margin: 0;
}

.welcome-bonus-card > .btn {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  white-space: normal;
}

.hero-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-promo input {
  flex: 1 1 210px;
}

.hero-promo .btn {
  flex: 0 0 auto;
}

.hero-promo .form-message {
  flex: 1 0 100%;
  margin: 0;
}

.promo-label {
  flex-basis: 100%;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 9px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.casino-hero__actions {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.casino-hero__actions--guest {
  grid-template-columns: minmax(0, 1fr) minmax(104px, .45fr);
}

.casino-hero__actions--guest .btn-link {
  grid-column: 1 / -1;
  justify-self: start;
  width: auto;
  max-width: 100%;
}

.casino-hero__actions--account {
  grid-template-columns: minmax(130px, .7fr) minmax(210px, 1.3fr);
}

.casino-hero__actions .btn {
  width: 100%;
  min-width: 0;
  padding-inline: 12px;
  white-space: nowrap;
}

.casino-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.casino-strip div {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 14px;
  background: linear-gradient(145deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 3%));
}

.casino-strip span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(49 214 255 / 32%);
  border-radius: 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.casino-strip strong {
  align-self: end;
  font-size: 14px;
}

.casino-strip small {
  align-self: start;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.quick-panel {
  display: grid;
  grid-template-columns: auto minmax(260px, 520px);
  gap: 16px;
  align-items: center;
  margin-top: 12px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgb(16 167 255 / 12%), rgb(89 66 255 / 12%)),
    var(--surface);
}

.quick-panel span,
.quick-panel small {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.quick-panel strong {
  display: block;
  font-size: 30px;
}

.account-nav {
  position: sticky;
  top: 78px;
  z-index: 18;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding: 8px;
  border: 1px solid rgb(132 181 255 / 18%);
  border-radius: 16px;
  background: rgb(4 9 20 / 78%);
  box-shadow: 0 18px 46px rgb(0 0 0 / 24%);
  backdrop-filter: blur(16px);
}

.account-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 12px;
  background: rgb(255 255 255 / 5%);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.account-nav a:hover {
  border-color: rgb(49 214 255 / 45%);
  background: rgb(49 214 255 / 11%);
}

.promo-form,
.stack-form,
.games-tools {
  display: flex;
  gap: 9px;
}

.stack-form {
  flex-direction: column;
  margin-top: 14px;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgb(132 181 255 / 20%);
  border-radius: 10px;
  padding: 0 12px;
  outline: 0;
  background: rgb(2 8 20 / 72%);
  color: var(--text);
}

input:focus,
select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgb(49 214 255 / 12%);
}

.lobby {
  margin-top: 20px;
}

.section-bar,
.card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.section-bar h2,
.card-head h2 {
  margin: 0;
  font-size: clamp(25px, 2.8vw, 38px);
}

.games-tools {
  width: min(100%, 520px);
}

.category-row {
  display: flex;
  gap: 8px;
  margin: 14px 0 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category {
  min-height: 40px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 999px;
  padding: 0 16px;
  background: rgb(255 255 255 / 5%);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

.category.is-active {
  color: var(--text);
  border-color: rgb(49 214 255 / 46%);
  background: linear-gradient(135deg, rgb(16 167 255 / 24%), rgb(89 66 255 / 18%));
}

.games-status {
  min-height: 24px;
  margin-bottom: 10px;
  color: #d9c18b;
  font-size: 13px;
  font-weight: 900;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.game-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(132 181 255 / 18%);
  border-radius: 14px;
  background: rgb(8 15 30 / 78%);
  box-shadow: 0 18px 42px rgb(0 0 0 / 22%);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: rgb(49 214 255 / 44%);
  box-shadow: 0 24px 60px rgb(0 0 0 / 32%);
}

.game-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 50% 30%, rgb(49 214 255 / 18%), transparent 55%),
    linear-gradient(135deg, rgb(16 167 255 / 16%), rgb(89 66 255 / 18%));
}

.game-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(3 8 18 / 72%), transparent 50%);
  opacity: .65;
}

.game-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 999px;
  background: rgb(3 8 18 / 72%);
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

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

.game-card__body {
  padding: 10px;
}

.game-card h3 {
  min-height: 36px;
  margin: 0 0 4px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.25;
}

.game-card p {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.game-card p span {
  min-width: 0;
  overflow: hidden;
  padding: 3px 7px;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 999px;
  background: rgb(255 255 255 / 5%);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.game-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.game-card__actions .btn {
  min-height: 34px;
  padding: 0 8px;
  border-radius: 9px;
  font-size: 12px;
}

.account-grid,
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

#games,
#account,
#top-up,
#password,
#payment-history,
#game-history,
#history {
  scroll-margin-top: 132px;
}

.account-card {
  padding: 18px;
}

.table-wrap {
  margin-top: 12px;
  overflow: auto;
}

.history-pagination {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.history-pagination[hidden] {
  display: none;
}

.history-pagination button {
  width: 38px;
  height: 38px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 8px;
  background: rgb(255 255 255 / 6%);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.history-pagination button:disabled {
  opacity: .35;
  cursor: default;
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

th,
td {
  padding: 11px 8px;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  color: var(--muted);
  text-align: left;
}

th {
  color: var(--text);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

td strong,
.win {
  color: var(--green);
}

.loss {
  color: var(--danger);
}

.auth-modal,
.game-modal {
  border: 0;
  border-radius: 22px;
  padding: 0;
  background:
    radial-gradient(circle at 12% 0%, rgb(49 214 255 / 14%), transparent 18rem),
    radial-gradient(circle at 100% 20%, rgb(247 200 94 / 15%), transparent 16rem),
    #0b0d14;
  color: var(--text);
  box-shadow: 0 34px 120px rgb(0 0 0 / 70%), inset 0 1px 0 rgb(255 255 255 / 10%);
  max-width: calc(100dvw - 20px);
  max-height: calc(100dvh - 20px);
}

.game-modal::backdrop {
  background:
    linear-gradient(rgb(0 0 0 / 58%), rgb(0 0 0 / 76%)),
    url("demo-casino-preview.png") center / cover;
}

.auth-modal::backdrop {
  background: transparent;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background:
    linear-gradient(rgb(0 0 0 / 58%), rgb(0 0 0 / 76%)),
    url("demo-casino-preview.png") center / cover;
  touch-action: none;
}

.auth-modal {
  width: min(900px, calc(100vw - 24px));
  position: fixed;
  inset: 10px;
  z-index: 9991;
  margin: auto;
  overflow: hidden;
  max-height: calc(var(--auth-viewport-height, 100dvh) - 20px);
  overscroll-behavior: contain;
  border: 1px solid rgb(247 200 94 / 28%);
  background:
    linear-gradient(135deg, rgb(255 229 150 / 8%), transparent 32%),
    radial-gradient(circle at 16% 12%, rgb(49 214 255 / 18%), transparent 16rem),
    radial-gradient(circle at 92% 16%, rgb(247 200 94 / 18%), transparent 14rem),
    radial-gradient(circle at 70% 100%, rgb(89 66 255 / 14%), transparent 16rem),
    #0b0d14;
}

.auth-modal[open] {
  display: grid;
  grid-template-columns: .86fr 1fr;
}

.auth-modal__art {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  margin: 14px;
  border: 1px solid rgb(247 200 94 / 18%);
  border-radius: 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 62% 36%, rgb(247 200 94 / 28%), transparent 13rem),
    radial-gradient(circle at 22% 18%, rgb(49 214 255 / 18%), transparent 15rem),
    linear-gradient(135deg, #080a13, #171328 56%, #090b12);
}

.auth-modal__art::after {
  display: none;
}

.auth-modal__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.auth-modal__art strong {
  position: absolute;
  z-index: 1;
  padding: 12px 16px;
  border: 1px solid rgb(247 200 94 / 32%);
  border-radius: 12px;
  background: rgb(3 8 18 / 62%);
  font-size: 26px;
  letter-spacing: .18em;
  color: #ffe2a1;
  box-shadow: 0 18px 44px rgb(0 0 0 / 30%);
}

.auth-modal__body {
  position: relative;
  isolation: isolate;
  max-height: calc(var(--auth-viewport-height, 100dvh) - 20px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 28px;
}

.auth-modal__body::before,
.auth-modal__body::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.auth-modal__body::before {
  z-index: -1;
  width: 220px;
  height: 220px;
  right: -72px;
  top: -76px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 21px, rgb(247 200 94 / 48%) 22px 25px, transparent 26px),
    radial-gradient(circle at 28% 68%, transparent 0 16px, rgb(247 200 94 / 35%) 17px 20px, transparent 21px),
    radial-gradient(circle at 74% 78%, transparent 0 13px, rgb(247 200 94 / 34%) 14px 17px, transparent 18px);
  opacity: .78;
}

.auth-modal__body::after {
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(135deg, rgb(49 214 255 / 10%), transparent 34%),
    linear-gradient(315deg, rgb(247 200 94 / 12%), transparent 42%);
}

.modal-close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  border: 1px solid rgb(247 200 94 / 28%);
  background:
    linear-gradient(135deg, rgb(247 200 94 / 18%), rgb(255 255 255 / 8%)),
    rgb(10 13 22 / 82%);
  color: var(--text);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 12px 28px rgb(0 0 0 / 30%), inset 0 1px 0 rgb(255 255 255 / 12%);
}

.auth-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 52px 22px 0;
  padding: 4px;
  border: 1px solid rgb(247 200 94 / 18%);
  border-radius: 14px;
  background: rgb(255 255 255 / 4%);
}

.auth-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.auth-tabs button.is-active {
  background:
    linear-gradient(135deg, rgb(247 200 94 / 30%), transparent 45%),
    linear-gradient(135deg, rgb(16 167 255 / 28%), rgb(89 66 255 / 22%));
  color: var(--text);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 14%), 0 10px 24px rgb(247 200 94 / 8%);
}

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

.auth-form label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
}

.auth-form h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.auth-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.auth-form input {
  margin-top: 7px;
  min-height: 54px;
  background:
    linear-gradient(135deg, rgb(247 200 94 / 5%), transparent 42%),
    rgb(18 23 38 / 94%);
  border-color: rgb(247 200 94 / 18%);
  font-size: 16px;
}

.auth-form .btn {
  width: 100%;
  min-height: 54px;
  margin-top: 10px;
}

.auth-link {
  border: 0;
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.auth-form > .auth-link {
  margin: -3px 0 12px;
  padding: 0;
}

.form-message {
  margin: -2px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgb(255 109 140 / 36%);
  border-radius: 10px;
  background: rgb(255 109 140 / 11%);
  color: #ffd5de;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.form-message[data-kind="success"] {
  border-color: rgb(95 241 184 / 38%);
  background: rgb(95 241 184 / 10%);
  color: #c9ffe9;
}

.game-modal {
  width: min(1180px, calc(100vw - 24px));
  height: min(760px, calc(100vh - 24px));
}

.game-modal__bar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.game-modal__stage {
  position: relative;
  height: calc(100% - 56px);
  overflow: hidden;
  background: #050914;
}

.game-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.game-modal__loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  background:
    radial-gradient(circle at 50% 42%, rgb(53 169 255 / 15%), transparent 18rem),
    #050914;
  color: var(--text);
}

.game-modal__loader[hidden] {
  display: none;
}

.game-modal__loader[data-kind="error"] {
  color: #ffd5de;
}

.game-modal__spinner {
  width: 46px;
  height: 46px;
  border: 3px solid rgb(255 255 255 / 16%);
  border-top-color: var(--gold);
  border-right-color: #32cfff;
  border-radius: 50%;
  animation: gameSpinner .8s linear infinite;
}

.game-modal__loader[data-kind="error"] .game-modal__spinner {
  display: none;
}

@keyframes gameSpinner {
  to { transform: rotate(360deg); }
}

.toast {
  position: fixed;
  top: 92px;
  right: 18px;
  z-index: 40;
  max-width: min(330px, calc(100vw - 28px));
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: linear-gradient(135deg, rgb(7 22 45 / 96%), rgb(16 28 62 / 96%));
  color: var(--text);
  box-shadow: 0 16px 44px rgb(0 0 0 / 30%);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.mobile-dock {
  display: none;
}

[hidden] {
  display: none !important;
}

@media (min-width: 1800px) {
  .app-shell {
    width: min(1880px, calc(100% - 72px));
  }

  .promo-slider {
    min-height: 440px;
  }

  .casino-hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(420px, .72fr);
  }

  .games-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (min-width: 2400px) {
  .app-shell {
    width: min(2160px, calc(100% - 96px));
  }

  .promo-slider {
    min-height: 500px;
  }

  .games-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .topbar {
    gap: 12px;
  }

  .topnav {
    gap: 2px;
    font-size: 12px;
  }

  .topnav a {
    padding-inline: 7px;
  }

  .casino-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  }

  .games-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .casino-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jackpot-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jackpot-card--main {
    grid-column: 1 / -1;
  }

}

@media (max-width: 900px) {
  .app-shell {
    width: min(100%, 760px);
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topnav {
    display: none;
  }

  .casino-hero,
  .quick-panel,
  .account-nav,
  .account-grid,
  .history-grid {
    grid-template-columns: 1fr;
  }

  .account-nav {
    top: 74px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .promo-slider {
    min-height: 360px;
  }

  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mobile-dock {
    position: sticky;
    bottom: 10px;
    z-index: 30;
    width: calc(100% - 20px);
    margin: 0 auto 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
    gap: 5px;
    padding: 6px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 16px;
    background: rgb(4 9 20 / 88%);
    box-shadow: 0 18px 50px rgb(0 0 0 / 38%);
    backdrop-filter: blur(16px);
  }

  .mobile-dock a,
  .mobile-dock button {
    min-height: 38px;
    border: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgb(255 255 255 / 6%);
    color: var(--text);
    padding: 0 5px;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
  }

  .mobile-dock button {
    background: linear-gradient(135deg, var(--blue), var(--violet));
  }

  .auth-modal[open] {
    grid-template-columns: 1fr;
    width: min(430px, calc(100dvw - 18px));
    height: calc(100svh - 18px);
    max-height: calc(100svh - 18px);
  }

  .auth-modal__art {
    display: none;
  }

  #games,
  #account,
  #top-up,
  #password,
  #payment-history,
  #game-history,
  #history {
    scroll-margin-top: 126px;
  }

  .auth-modal__body {
    height: 100%;
    max-height: none;
    padding: 22px;
  }

  .auth-tabs {
    margin: 50px 0 16px;
  }
}

@media (max-width: 940px) and (orientation: landscape) and (max-height: 540px) {
  .topbar {
    min-height: 58px;
  }

  main {
    padding-top: 8px;
  }

  .jackpot-bar {
    grid-template-columns: 1.35fr .7fr .7fr;
  }

  .jackpot-card,
  .jackpot-card--main {
    min-height: 50px;
    padding: 9px 12px;
  }

  .jackpot-card--main {
    grid-column: auto;
    flex-direction: row;
    align-items: center;
  }

  .jackpot-card--main strong {
    padding-right: 42px;
    font-size: 23px;
  }

  .jackpot-card--main b {
    display: none;
  }

  .jackpot-card--main::after {
    width: 46px;
    height: 46px;
  }

  .casino-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
    gap: 10px;
  }

  .promo-slider {
    min-height: 286px;
  }

  .promo-slide__content {
    bottom: 66px;
    width: min(430px, calc(100% - 34px));
  }

  .promo-slide__content h1,
  .promo-slide__content h2 {
    font-size: clamp(25px, 4vw, 34px);
  }

  .promo-slide__content p {
    max-width: 360px;
    font-size: 13px;
  }

  .casino-hero__content {
    padding: 14px;
  }

  .casino-hero__content h2 {
    font-size: 26px;
  }

  .hero-note {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 10px;
  }

  .hero-stats div {
    min-height: 56px;
  }

  .welcome-bonus-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .welcome-bonus-card__visual {
    width: 64px;
    height: 64px;
  }

  .welcome-bonus-card__visual img {
    width: 60px;
  }

  .welcome-bonus-card .btn {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
  }

  .casino-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .auth-modal[open] {
    width: min(680px, calc(100dvw - 18px));
    height: calc(100svh - 12px);
    max-height: calc(100svh - 12px);
  }

  .auth-modal__body {
    padding: 14px 16px;
  }

  .auth-tabs {
    margin: 0 48px 12px 0;
  }

  .auth-tabs button {
    min-height: 38px;
    font-size: 14px;
  }

  .auth-form label {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .auth-form input {
    min-height: 42px;
    margin-top: 5px;
  }

  .auth-form .btn {
    min-height: 44px;
    margin-top: 8px;
  }

  .auth-form > .auth-link {
    margin-bottom: 9px;
  }

  .modal-close {
    top: 13px;
    right: 13px;
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
}

@media (max-width: 720px) {
  .welcome-chip {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at 10% -8%, rgb(16 167 255 / 18%), transparent 22rem),
      radial-gradient(circle at 96% 20%, rgb(247 200 94 / 12%), transparent 18rem),
      linear-gradient(180deg, #07172d 0%, #050914 48%, #030610 100%);
  }

  .topbar {
    min-height: 62px;
    gap: 10px;
    padding: 8px 12px;
  }

  .brand {
    gap: 8px;
    letter-spacing: .18em;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand span {
    font-size: 16px;
  }

  .top-actions {
    gap: 6px;
  }

  .welcome-chip {
    min-height: 36px;
    max-width: 138px;
    padding: 6px 9px;
    font-size: 11px;
  }

  .welcome-chip strong {
    max-width: 72px;
  }

  .top-actions .btn {
    min-height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }

  .auth-modal {
    border-radius: 20px;
  }

  .auth-modal__body {
    padding: 16px;
  }

  .auth-tabs {
    gap: 5px;
    margin: 48px 0 14px;
    padding: 4px;
    border-radius: 13px;
  }

  .auth-tabs button {
    min-height: 40px;
    font-size: 15px;
  }

  .auth-form label {
    margin-bottom: 9px;
    font-size: 13px;
  }

  .auth-form input {
    min-height: 48px;
    font-size: 16px;
  }

  .auth-form .btn {
    min-height: 48px;
  }

  .modal-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .balance-chip {
    display: none;
  }

  main {
    padding: 10px 12px 92px;
  }

  .promo-slider {
    min-height: 374px;
    border-radius: 12px;
  }

  .promo-slide::before {
    width: 260px;
    right: -54px;
    top: 45%;
    opacity: .62;
  }

  .promo-slide::after {
    width: 142px;
    height: 88px;
    right: 8px;
    bottom: 34px;
    opacity: .38;
  }

  .jackpot-bar {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .jackpot-card {
    min-height: 48px;
    padding: 9px 10px;
  }

  .jackpot-card--main {
    grid-column: 1 / -1;
    min-height: 76px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 14px;
  }

  .jackpot-card--main strong {
    padding-right: 54px;
    font-size: 27px;
  }

  .jackpot-card--main b {
    max-width: 230px;
    font-size: 11px;
  }

  .jackpot-card--main::after {
    right: 10px;
    width: 58px;
    height: 58px;
  }

  .jackpot-card strong {
    font-size: 16px;
  }

  .promo-slide__content {
    left: 16px;
    right: 18px;
    bottom: 76px;
    width: min(100% - 34px, 330px);
  }

  .promo-slide__content h1,
  .promo-slide__content h2 {
    font-size: 28px;
    line-height: 1.02;
  }

  .promo-slide__content p {
    font-size: 13px;
    max-width: 280px;
  }

  .promo-badge {
    min-height: 27px;
    margin-bottom: 10px;
    padding: 0 10px;
    font-size: 10px;
  }

  .slider-controls {
    left: 16px;
    bottom: 18px;
  }

  .casino-hero__content,
  .account-card {
    padding: 14px;
  }

  .hero-stats,
  .casino-strip {
    grid-template-columns: 1fr;
  }

  .casino-strip div {
    min-height: 66px;
  }

  .hero-promo,
  .promo-form,
  .games-tools {
    flex-direction: column;
  }

  .casino-hero__actions--guest {
    grid-template-columns: minmax(0, 1fr) minmax(88px, .45fr);
  }

  .casino-hero__actions--guest .btn-link {
    grid-column: 1 / -1;
    justify-self: start;
    width: auto;
  }

  .casino-hero__actions--account {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  }

  .section-bar {
    display: block;
  }

  .games-tools {
    width: 100%;
    margin-top: 10px;
  }

  .toast {
    top: 76px;
    right: 10px;
    left: 10px;
    margin: 0 auto;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .game-card h3 {
    font-size: 13px;
  }

  .game-card__actions {
    grid-template-columns: 1fr;
  }

  .auth-modal {
    width: min(420px, calc(100dvw - 18px));
    border-radius: 20px;
  }

  .auth-modal__body {
    padding: 20px;
  }

  .auth-tabs {
    margin: 50px 0 16px;
  }

  .auth-tabs button {
    font-size: 16px;
  }
}

@media (max-width: 390px) {
  .brand span {
    font-size: 14px;
  }

  .top-actions .btn {
    padding: 0 8px;
    font-size: 12px;
  }

  .welcome-chip {
    max-width: 112px;
    padding-inline: 8px;
  }

  .welcome-chip strong {
    max-width: 54px;
  }

  .promo-slider {
    min-height: 392px;
  }

  .promo-slide__content {
    bottom: 78px;
  }

  .casino-hero__actions .btn {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .auth-modal__body {
    padding: 18px 16px;
  }

  .auth-tabs {
    margin-top: 48px;
  }
}
