:root {
  color-scheme: dark;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
  --navy-950: #041126;
  --navy-900: #071a36;
  --navy-850: #0a2040;
  --navy-800: #0d274a;
  --navy-700: #17365e;
  --gold: #f6c453;
  --gold-soft: #ffda82;
  --emerald: #087a52;
  --emerald-bright: #20b77d;
  --orange: #f36b16;
  --cream: #fff0cf;
  --cream-70: rgba(255, 240, 207, 0.7);
  --cream-62: rgba(255, 240, 207, 0.62);
  --cream-50: rgba(255, 240, 207, 0.5);
  --cream-42: rgba(255, 240, 207, 0.42);
  --cream-28: rgba(255, 240, 207, 0.28);
  --cream-14: rgba(255, 240, 207, 0.14);
  --cream-08: rgba(255, 240, 207, 0.08);
  --danger: #ff8c76;
  --sidebar-width: 278px;
  background: var(--navy-950);
  color: var(--cream);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 55% -10%, rgba(8, 122, 82, 0.17), transparent 34rem),
    var(--navy-950);
  color: var(--cream);
}

body.is-playing {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  box-shadow: 0 0 0 3px rgba(246, 196, 83, 0.32);
}

button {
  color: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.login-landing {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: clamp(28px, 4vw, 68px);
  background:
    linear-gradient(115deg, rgba(4, 17, 38, 0.32), rgba(4, 17, 38, 0.88)),
    radial-gradient(circle at 18% 50%, rgba(246, 196, 83, 0.1), transparent 38rem),
    var(--navy-950);
}

.login-landing::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 240, 207, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 240, 207, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
}

.login-landing__glow {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  opacity: 0.13;
  filter: blur(80px);
  pointer-events: none;
}

.login-landing__glow--gold {
  top: -21rem;
  right: -9rem;
  background: var(--gold);
}

.login-landing__glow--emerald {
  bottom: -24rem;
  left: 12%;
  background: var(--emerald-bright);
}

.login-landing__layout {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1370px, 100%);
  grid-template-columns: minmax(0, 1.6fr) minmax(370px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 5vw, 82px);
}

.landing-promotions {
  min-width: 0;
}

.landing-promotions__heading {
  max-width: 660px;
  margin-bottom: clamp(18px, 2.3vw, 30px);
}

.landing-eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-promotions__heading h1 {
  margin: 0;
  color: var(--cream);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(34px, 4.3vw, 68px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.landing-promotions__heading > p:last-child {
  margin: 14px 0 0;
  color: var(--cream-50);
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1.5;
}

.landing-carousel {
  width: 100%;
}

.landing-carousel__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(246, 196, 83, 0.2);
  border-radius: clamp(14px, 1.8vw, 24px);
  background: #020812;
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.48),
    0 0 0 6px rgba(255, 240, 207, 0.022);
}

.landing-promo-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  visibility: hidden;
  transition: opacity 650ms ease, transform 900ms ease, visibility 650ms;
}

.landing-promo-card.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}

.landing-promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-carousel__controls {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 4px 0;
}

.landing-carousel__controls p {
  margin: 0;
  color: var(--cream-28);
  font-size: 9px;
  line-height: 1.45;
  text-align: right;
}

.landing-carousel__dots {
  display: flex;
  align-items: center;
  gap: 3px;
}

.landing-carousel__dots button {
  position: relative;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.landing-carousel__dots button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cream-28);
  content: "";
  transform: translate(-50%, -50%);
  transition: width 180ms ease, background 180ms ease;
}

.landing-carousel__dots button.is-active::after {
  width: 22px;
  background: var(--gold);
}

.landing-login {
  width: 100%;
  padding: clamp(28px, 3.2vw, 46px);
  border: 1px solid var(--cream-14);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(13, 39, 74, 0.92), rgba(7, 26, 54, 0.98));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
}

.landing-login__logo {
  display: block;
  width: min(315px, 88%);
  margin: 0 auto clamp(28px, 4vh, 42px);
}

.landing-login h2 {
  margin: 0;
  color: var(--cream);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}

.landing-login__intro {
  margin: 12px 0 20px;
  color: var(--cream-50);
  font-size: 12px;
  line-height: 1.55;
}

.landing-login__channels {
  border: 1px solid var(--cream-08);
}

.landing-login .stacked-form {
  margin-top: 16px;
}

.landing-login .security-note {
  margin-top: 18px;
}

.landing-login__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 16px;
  margin-top: 15px;
  color: var(--cream-28);
  font-size: 9px;
}

.landing-login__links a:hover {
  color: var(--cream-70);
}

.site-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  display: flex;
  width: var(--sidebar-width);
  flex-direction: column;
  overflow-y: auto;
  border-right: 1px solid var(--cream-08);
  background: rgba(4, 17, 38, 0.97);
}

.sidebar__logo {
  display: flex;
  min-height: 82px;
  align-items: center;
  padding: 13px 24px;
  border-bottom: 1px solid var(--cream-08);
}

.sidebar__logo img {
  width: 230px;
}

.sidebar__mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 16px 16px 8px;
  padding: 5px;
  border: 1px solid var(--cream-08);
  border-radius: 12px;
  background: var(--navy-900);
}

.mode-button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--cream-50);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.mode-button.is-active {
  border-color: rgba(246, 196, 83, 0.48);
  background: linear-gradient(180deg, rgba(246, 196, 83, 0.16), rgba(246, 196, 83, 0.07));
  color: var(--cream);
  box-shadow: inset 0 -3px var(--gold), 0 8px 20px rgba(0, 0, 0, 0.18);
}

.mode-button img,
.nav-item img,
.sidebar__footer img,
.mobile-menu-button img,
.square-button img,
.avatar-button img,
.balance-button img,
.section-heading button img,
.search-box img,
.mobile-nav img,
.drawer-panel img,
.responsible-note > img,
.dialog-close img,
.wallet-kind-tabs img,
.secure-payment-note img,
.crypto-warning img,
.real-play-note img,
.profile-popover img,
.popover img,
.game-player header button img,
.reward-card > span img,
.game-card__play img {
  width: 18px;
  height: 18px;
  filter: invert(94%) sepia(17%) saturate(439%) hue-rotate(335deg) brightness(107%);
}

.sidebar__nav {
  padding: 0 12px 24px;
}

.sidebar__nav--betting {
  padding-bottom: 18px;
}

.betting-nav-note {
  margin: 18px 10px 0;
  padding: 12px;
  border: 1px solid rgba(8, 122, 82, 0.3);
  border-radius: 9px;
  background: rgba(8, 122, 82, 0.08);
  color: var(--cream-50);
  font-size: 10px;
  line-height: 1.5;
}

.nav-label {
  margin: 18px 10px 7px;
  color: var(--cream-28);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-label--spaced {
  margin-top: 24px;
}

.nav-item {
  display: flex;
  width: 100%;
  min-height: 43px;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--cream-50);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-align: left;
  cursor: pointer;
}

.nav-item:hover,
.nav-item.is-active {
  background: rgba(255, 240, 207, 0.07);
  color: var(--cream);
}

.nav-item.is-active {
  box-shadow: inset 3px 0 var(--gold);
}

.nav-item:hover img,
.nav-item.is-active img,
.mode-button.is-active img {
  filter: invert(84%) sepia(59%) saturate(506%) hue-rotate(350deg) brightness(100%);
}

.nav-count {
  min-width: 20px;
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--cream-08);
  color: var(--cream-50);
  font-size: 9px;
  font-weight: 850;
  text-align: center;
}

.sidebar__footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding: 18px 22px 24px;
  border-top: 1px solid var(--cream-08);
}

.sidebar__footer a,
.sidebar__footer button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream-50);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.app-column {
  min-width: 0;
  margin-left: var(--sidebar-width);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  height: 70px;
  align-items: center;
  gap: 10px;
  padding: 0 clamp(18px, 3vw, 44px);
  border-bottom: 1px solid var(--cream-08);
  background: rgba(7, 26, 54, 0.92);
  backdrop-filter: blur(18px);
}

.topbar__spacer {
  flex: 1;
}

.mobile-menu-button,
.mobile-mark {
  display: none;
}

.topbar-chip {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--cream-08);
  border-radius: 8px;
  background: var(--navy-850);
  color: var(--cream-70);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.topbar-chip img {
  width: 17px;
  height: 17px;
}

.topbar-chip--rewards {
  border-color: rgba(246, 196, 83, 0.38);
}

.auth-actions,
.player-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease, background 120ms ease;
}

.button:active:not(:disabled) {
  transform: translateY(1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button--ghost {
  border: 1px solid var(--cream-14);
  background: transparent;
  color: var(--cream);
}

.button--gold {
  background: linear-gradient(145deg, var(--gold-soft), var(--gold));
  color: var(--navy-950);
  box-shadow: 0 7px 20px rgba(246, 196, 83, 0.12);
}

.button--outline {
  border: 1px solid rgba(246, 196, 83, 0.52);
  background: rgba(246, 196, 83, 0.06);
  color: var(--gold);
}

.button--wide {
  width: 100%;
  min-height: 50px;
}

.balance-button {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--cream-08);
  border-radius: 9px;
  background: var(--navy-850);
  color: var(--cream);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.balance-button img {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.square-button,
.avatar-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--cream-08);
  border-radius: 9px;
  background: var(--navy-850);
  cursor: pointer;
}

.square-button--wallet {
  border-color: rgba(246, 196, 83, 0.4);
  background: var(--gold);
}

.square-button--wallet img {
  filter: brightness(0) saturate(100%) invert(8%) sepia(27%) saturate(2545%) hue-rotate(180deg) brightness(89%);
}

.avatar-button {
  border-radius: 50%;
  background: var(--emerald);
}

.content {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  padding: 18px 26px 72px;
}

.hero-section {
  position: relative;
  margin-bottom: 15px;
}

.hero-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: hidden;
}

.hero-card {
  aspect-ratio: 16 / 9;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--cream-08);
  border-radius: 14px;
  background: var(--navy-850);
  cursor: pointer;
}

.hero-card:not(.hero-card--large) {
  aspect-ratio: 16 / 9;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.hero-card:hover img {
  transform: scale(1.015);
}

.hero-dots {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: 0;
}

.hero-dots span {
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--cream-14);
}

.hero-dots span.is-active {
  background: var(--gold);
}

.game-toolbar {
  position: sticky;
  top: 70px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 -2px 18px;
  padding: 12px 2px;
  background: rgba(4, 17, 38, 0.92);
  backdrop-filter: blur(14px);
}

.category-tabs {
  display: flex;
  min-width: 0;
  flex: 1;
  gap: 5px;
  overflow-x: auto;
  padding: 5px;
  border-radius: 9px;
  background: var(--navy-900);
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 0 15px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--cream-50);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.category-tab:hover,
.category-tab.is-active {
  background: var(--navy-800);
  color: var(--cream);
}

.category-tab.is-active {
  box-shadow: inset 0 -2px var(--gold);
}

.search-box {
  display: flex;
  width: min(256px, 27vw);
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid var(--cream-14);
  border-radius: 9px;
  background: var(--navy-900);
}

.search-box img {
  width: 17px;
  height: 17px;
  opacity: 0.55;
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cream);
  font-size: 13px;
}

.search-box input::placeholder {
  color: var(--cream-28);
}

.catalog-command {
  width: min(880px, 100%);
  margin: 4px auto 24px;
  padding: 14px;
  border: 1px solid rgba(246, 196, 83, 0.34);
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(13, 39, 74, 0.94), rgba(4, 17, 38, 0.98)),
    var(--navy-900);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

.catalog-command__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 215px;
  gap: 12px;
}

.catalog-search {
  display: flex;
  min-width: 0;
  min-height: 50px;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fff9e9;
  color: var(--navy-950);
  cursor: text;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.catalog-search:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(246, 196, 83, 0.16);
}

.catalog-search > img {
  width: 19px;
  height: 19px;
  opacity: 0.55;
  filter: invert(9%) sepia(26%) saturate(2418%) hue-rotate(176deg) brightness(90%);
}

.catalog-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy-950);
  font-size: 13px;
  font-weight: 750;
}

.catalog-search input::placeholder {
  color: rgba(4, 17, 38, 0.5);
}

.catalog-search > span {
  padding: 4px 7px;
  border: 1px solid rgba(4, 17, 38, 0.13);
  border-radius: 6px;
  color: rgba(4, 17, 38, 0.45);
  font-size: 9px;
  font-weight: 850;
}

.favorites-filter {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid rgba(246, 196, 83, 0.55);
  border-radius: 12px;
  background: rgba(4, 17, 38, 0.82);
  color: var(--cream);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.favorites-filter:hover,
.favorites-filter.is-active {
  border-color: var(--gold);
  background: rgba(246, 196, 83, 0.12);
}

.favorites-filter:active {
  transform: translateY(1px);
}

.favorites-filter > img {
  width: 22px;
  height: 22px;
  filter: invert(84%) sepia(59%) saturate(506%) hue-rotate(350deg) brightness(100%);
}

.favorites-filter > span {
  display: grid;
  gap: 1px;
  text-align: left;
}

.favorites-filter strong {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.favorites-filter small {
  color: var(--cream-42);
  font-size: 8px;
  font-weight: 650;
}

.quick-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.quick-filter {
  display: flex;
  min-width: 0;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 9px 7px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: rgba(255, 240, 207, 0.045);
  color: var(--cream-62);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.quick-filter:hover,
.quick-filter.is-active {
  border-color: rgba(246, 196, 83, 0.3);
  background: var(--navy-700);
  color: var(--cream);
}

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

.quick-filter img {
  width: 25px;
  height: 25px;
  opacity: 0.68;
  filter: invert(94%) sepia(17%) saturate(439%) hue-rotate(335deg) brightness(107%);
}

.quick-filter:hover img,
.quick-filter.is-active img {
  opacity: 1;
  filter: invert(84%) sepia(59%) saturate(506%) hue-rotate(350deg) brightness(100%);
}

.quick-filter span {
  overflow: hidden;
  max-width: 100%;
  font-size: 10px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lobby-status {
  margin: 6px 0 20px;
  padding: 11px 14px;
  border: 1px solid rgba(246, 196, 83, 0.16);
  border-radius: 9px;
  background: rgba(246, 196, 83, 0.06);
  color: var(--cream-70);
  font-size: 12px;
}

.game-section,
.promotions-section,
.providers-section {
  margin-top: 26px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.section-kicker,
.dialog-eyebrow {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--cream);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.game-section .section-kicker {
  display: none;
}

.game-section .section-heading h2 {
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.section-heading > button,
.rewards-heading > button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.section-heading button img {
  width: 15px;
  height: 15px;
  filter: invert(84%) sepia(59%) saturate(506%) hue-rotate(350deg) brightness(100%);
}

.game-row {
  display: grid;
  grid-auto-columns: 126px;
  grid-auto-flow: column;
  gap: 11px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 7px;
  scrollbar-color: rgba(246, 196, 83, 0.18) transparent;
}

.game-row .game-card {
  min-width: 126px;
  max-width: 126px;
}

.game-card {
  position: relative;
  min-width: 0;
}

.game-card__launch {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.game-card__image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 5 / 7;
  overflow: hidden;
  border: 1px solid var(--cream-08);
  border-radius: 10px;
  background: var(--navy-850);
}

.game-card__image-wrap.is-fallback {
  display: grid;
  place-items: center;
  background: var(--navy-800);
}

.game-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.game-card__image-wrap.is-fallback .game-cover {
  width: 58%;
  height: auto;
  object-fit: contain;
  opacity: 0.42;
}

.game-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  background: rgba(4, 17, 38, 0.72);
  transition: opacity 170ms ease;
}

.game-card__play img {
  width: 28px;
  height: 28px;
  filter: invert(84%) sepia(59%) saturate(506%) hue-rotate(350deg) brightness(100%);
}

.game-card__play strong {
  color: var(--gold);
  font-size: 12px;
}

.game-card__launch:hover .game-card__play {
  opacity: 1;
}

.game-card__launch:hover .game-cover {
  transform: scale(1.035);
}

.game-card__favorite {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 3;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 240, 207, 0.2);
  border-radius: 50%;
  background: rgba(4, 17, 38, 0.86);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  opacity: 0.82;
  transition: opacity 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.game-card__favorite:hover,
.game-card__favorite:focus-visible {
  border-color: var(--gold);
  background: rgba(7, 26, 54, 0.96);
  opacity: 1;
  transform: scale(1.06);
}

.game-card__favorite.is-active {
  border-color: var(--gold);
  background: var(--gold);
  opacity: 1;
  transform: scale(1.06);
}

.game-card__favorite img {
  width: 16px;
  height: 16px;
  opacity: 0.72;
  filter: invert(94%) sepia(17%) saturate(439%) hue-rotate(335deg) brightness(107%);
}

.game-card__favorite.is-active img {
  opacity: 1;
  filter: invert(10%) sepia(22%) saturate(2494%) hue-rotate(176deg) brightness(88%);
}

.game-card__name {
  display: block;
  overflow: hidden;
  margin-top: 9px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card__provider {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--cream-28);
  font-size: 10px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card__name,
.game-card__provider {
  display: none;
}

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

.promotion-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0fr);
  aspect-ratio: 16 / 9;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--cream-08);
  border-radius: 14px;
  background: var(--navy-900);
  transition: grid-template-columns 360ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease, box-shadow 220ms ease;
}

.promotion-card:hover,
.promotion-card:focus-within {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  border-color: rgba(246, 196, 83, 0.3);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.promotion-card__media {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--navy-850);
  cursor: pointer;
}

.promotion-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), object-position 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.promotion-card:hover .promotion-card__media img,
.promotion-card:focus-within .promotion-card__media img {
  object-position: left center;
  transform: translateX(-1%) scale(1.025);
}

.promotion-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transform: translateX(22px);
  visibility: hidden;
  transition: padding 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 220ms;
}

.promotion-card:hover .promotion-card__body,
.promotion-card:focus-within .promotion-card__body {
  padding: clamp(14px, 1.4vw, 22px);
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s, 100ms, 0s, 0s;
}

.promotion-tag {
  display: inline-block;
  margin-bottom: 11px;
  padding: 5px 8px;
  border: 1px solid rgba(8, 122, 82, 0.5);
  border-radius: 6px;
  background: rgba(8, 122, 82, 0.14);
  color: #9ce2c8;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promotion-card h3 {
  margin: 0;
  color: var(--cream);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 500;
  line-height: 1.05;
}

.promotion-card p {
  margin: 9px 0 12px;
  color: var(--cream-50);
  font-size: 11px;
  line-height: 1.5;
}

.promotion-card__body > button {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

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

.result-count {
  color: var(--cream-28);
  font-size: 11px;
  font-weight: 700;
}

.catalog-controls {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(220px, 1.35fr) minmax(120px, 0.65fr) auto;
  align-items: end;
  gap: 10px;
  margin: 14px 0 20px;
}

.catalog-field,
.provider-filter {
  display: grid;
  gap: 6px;
}

.catalog-field > span,
.provider-filter summary > span {
  color: var(--cream-42);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-field select,
.provider-filter summary,
.catalog-clear {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--cream-14);
  border-radius: 9px;
  background: var(--navy-850);
  color: var(--cream);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.provider-filter {
  position: relative;
}

.provider-filter summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}

.provider-filter summary::-webkit-details-marker {
  display: none;
}

.provider-filter summary strong {
  color: var(--gold);
  font-size: 11px;
}

.provider-filter[open] summary {
  border-color: rgba(246, 196, 83, 0.55);
}

.provider-filter__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 15;
  min-width: 310px;
  padding: 14px;
  border: 1px solid var(--cream-14);
  border-radius: 12px;
  background: var(--navy-950);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.provider-filter__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--cream);
  font-size: 12px;
}

.provider-filter__heading button {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  font: inherit;
  cursor: pointer;
}

.provider-filter__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 10px;
  max-height: 290px;
  overflow: auto;
}

.provider-filter__options label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 7px;
  color: var(--cream-70);
  font-size: 11px;
  cursor: pointer;
}

.provider-filter__options label:hover {
  background: var(--cream-08);
  color: var(--cream);
}

.provider-filter__options input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

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

.catalog-clear {
  width: auto;
  color: var(--cream-62);
}

.catalog-empty {
  display: flex;
  grid-column: 1 / -1;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 38px 20px;
  border: 1px dashed var(--cream-14);
  border-radius: 13px;
  background: rgba(7, 26, 54, 0.45);
  color: var(--cream-42);
  font-size: 13px;
  text-align: center;
}

.catalog-empty strong {
  color: var(--cream);
  font-size: 15px;
}

.catalog-empty span {
  max-width: 430px;
  line-height: 1.55;
}

.catalog-empty button {
  min-height: 38px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid rgba(246, 196, 83, 0.45);
  border-radius: 8px;
  background: rgba(246, 196, 83, 0.1);
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.catalog-pagination__pages {
  display: flex;
  align-items: center;
  gap: 5px;
}

.catalog-pagination button {
  min-width: 38px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--cream-14);
  border-radius: 8px;
  background: var(--navy-850);
  color: var(--cream-70);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.catalog-pagination button:hover:not(:disabled),
.catalog-pagination button.is-current {
  border-color: var(--gold);
  background: rgba(246, 196, 83, 0.12);
  color: var(--gold);
}

.catalog-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.catalog-pagination__status {
  display: none;
  color: var(--cream-42);
  font-size: 11px;
  font-weight: 700;
}

.provider-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.provider-row button {
  display: grid;
  min-height: 76px;
  place-items: center;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--cream-08);
  border-radius: 10px;
  background: var(--navy-900);
  cursor: pointer;
}

.provider-row button:hover,
.provider-row button.is-active {
  border-color: rgba(246, 196, 83, 0.55);
  background: rgba(246, 196, 83, 0.08);
}

.provider-row button strong,
.provider-row button span {
  color: var(--cream-62);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.provider-row img {
  max-width: 100px;
  max-height: 32px;
}

.responsible-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 46px;
  padding: 22px;
  border: 1px solid rgba(8, 122, 82, 0.36);
  border-radius: 12px;
  background: rgba(8, 122, 82, 0.09);
}

.responsible-note > img {
  width: 28px;
  height: 28px;
  filter: invert(58%) sepia(37%) saturate(890%) hue-rotate(104deg) brightness(97%);
}

.responsible-note h2 {
  margin: 0 0 3px;
  font-size: 15px;
}

.responsible-note p {
  margin: 0;
  color: var(--cream-50);
  font-size: 12px;
  line-height: 1.5;
}

.responsible-note a {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.betting-content {
  min-height: calc(100vh - 70px);
}

.betting-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  overflow: hidden;
  padding: clamp(28px, 4vw, 58px);
  border: 1px solid rgba(246, 196, 83, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 18%, rgba(246, 196, 83, 0.17), transparent 28rem),
    radial-gradient(circle at 16% 110%, rgba(8, 122, 82, 0.22), transparent 26rem),
    linear-gradient(135deg, var(--navy-850), var(--navy-950));
}

.betting-hero::after {
  position: absolute;
  inset: auto -75px -125px auto;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(246, 196, 83, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(246, 196, 83, 0.025), 0 0 0 84px rgba(246, 196, 83, 0.018);
  content: "";
  pointer-events: none;
}

.betting-hero h1 {
  max-width: 760px;
  margin: 6px 0 12px;
  color: var(--cream);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.betting-hero > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--cream-62);
  font-size: 14px;
  line-height: 1.6;
}

.betting-availability {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 285px;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid rgba(8, 122, 82, 0.46);
  border-radius: 10px;
  background: rgba(4, 17, 38, 0.72);
  color: var(--cream-62);
  font-size: 11px;
  line-height: 1.45;
}

.betting-availability img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  filter: invert(58%) sepia(37%) saturate(890%) hue-rotate(104deg) brightness(97%);
}

.betting-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.betting-product {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--cream-08);
  border-radius: 16px;
  background: var(--navy-900);
}

.betting-product::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 72%);
  content: "";
}

.betting-product--sportsbook::before {
  background: linear-gradient(90deg, var(--emerald), transparent 72%);
}

.betting-product__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(246, 196, 83, 0.28);
  border-radius: 12px;
  background: rgba(246, 196, 83, 0.08);
}

.betting-product--sportsbook .betting-product__icon {
  border-color: rgba(8, 122, 82, 0.42);
  background: rgba(8, 122, 82, 0.1);
}

.betting-product__icon img {
  width: 22px;
  height: 22px;
  filter: invert(84%) sepia(59%) saturate(506%) hue-rotate(350deg) brightness(100%);
}

.betting-product h2,
.prediction-workspace__header h2 {
  margin: 5px 0 9px;
  color: var(--cream);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.betting-product > p:not(.section-kicker) {
  min-height: 44px;
  margin: 0;
  color: var(--cream-50);
  font-size: 12px;
  line-height: 1.55;
}

.betting-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 22px;
}

.betting-link-grid button {
  display: flex;
  min-width: 0;
  min-height: 68px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding: 11px 13px;
  border: 1px solid var(--cream-08);
  border-radius: 10px;
  background: rgba(255, 240, 207, 0.035);
  color: var(--cream);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.betting-link-grid button:hover {
  border-color: rgba(246, 196, 83, 0.42);
  background: rgba(246, 196, 83, 0.07);
  transform: translateY(-2px);
}

.betting-link-grid button strong {
  font-size: 13px;
  font-weight: 600;
}

.betting-link-grid button span {
  overflow: hidden;
  color: var(--cream-40);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prediction-workspace {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--cream-08);
  border-radius: 16px;
  background: #10151c;
}

.prediction-workspace__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--cream-08);
  background: var(--navy-900);
}

.prediction-status {
  padding: 12px 22px;
  color: var(--cream-50);
  font-size: 11px;
}

.prediction-status:empty {
  display: none;
}

.prediction-container {
  min-height: 760px;
  background: #10151c;
}

.responsible-note--betting {
  margin-top: 20px;
}

.site-footer {
  display: grid;
  justify-items: center;
  padding: 46px clamp(20px, 4vw, 52px) 56px;
  border-top: 1px solid var(--cream-08);
  background: var(--navy-950);
  text-align: center;
}

.site-footer > img {
  width: 220px;
}

.site-footer > p {
  margin: 8px 0 20px;
  color: var(--gold);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 15px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.site-footer nav a {
  color: var(--cream-50);
  font-size: 11px;
  font-weight: 700;
}

.site-footer .site-footer__fineprint {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--cream-28);
  font-family: inherit;
  font-size: 10px;
  line-height: 1.6;
}

.mobile-nav,
.mobile-drawer {
  display: none;
}

.popover {
  position: fixed;
  top: 62px;
  right: 74px;
  z-index: 90;
  width: min(390px, calc(100vw - 24px));
  max-height: min(620px, calc(100vh - 82px));
  overflow-y: auto;
  padding: 17px;
  border: 1px solid var(--cream-14);
  border-radius: 12px;
  background: var(--navy-900);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.44);
}

.popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.popover-header p,
.popover-header h2 {
  margin: 0;
}

.popover-header p {
  color: var(--cream-28);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.popover-header h2 {
  margin-top: 3px;
  font-size: 18px;
}

.popover-header button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: var(--gold);
  cursor: pointer;
}

.popover-header button img {
  filter: brightness(0) saturate(100%) invert(8%) sepia(27%) saturate(2545%) hue-rotate(180deg) brightness(89%);
}

.popover-search {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  margin: 15px 0 10px;
  padding: 0 11px;
  border: 1px solid var(--cream-08);
  border-radius: 8px;
  background: var(--navy-950);
}

.popover-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cream);
  font-size: 12px;
}

.balance-list {
  max-height: 380px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.balance-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--cream-08);
}

.balance-list li > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.balance-list li > div:last-child {
  align-items: flex-end;
  text-align: right;
}

.balance-list strong {
  font-size: 12px;
}

.balance-list span {
  color: var(--cream-28);
  font-size: 9px;
  text-transform: capitalize;
}

.balance-list .empty-row {
  color: var(--cream-50);
  font-size: 12px;
}

.popover-link {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.profile-popover {
  right: 32px;
  width: 280px;
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 3px 3px 14px;
  border-bottom: 1px solid var(--cream-08);
}

.profile-summary > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--emerald);
}

.profile-summary > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.profile-summary strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-summary small {
  color: var(--cream-28);
  font-size: 10px;
}

.profile-popover > button,
.profile-popover > a {
  display: flex;
  width: 100%;
  min-height: 43px;
  align-items: center;
  gap: 10px;
  padding: 0 5px;
  border: 0;
  background: transparent;
  color: var(--cream-70);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.profile-popover > :nth-child(2) {
  margin-top: 8px;
}

.profile-popover .profile-signout {
  margin-top: 7px;
  border-top: 1px solid var(--cream-08);
  color: var(--danger);
}

.app-dialog {
  width: min(640px, calc(100vw - 28px));
  max-width: none;
  max-height: min(90vh, 840px);
  overflow: auto;
  padding: 0;
  border: 1px solid var(--cream-14);
  border-radius: 15px;
  outline: 0;
  background: var(--navy-900);
  color: var(--cream);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.6);
}

.app-dialog::backdrop {
  background: rgba(1, 8, 18, 0.76);
  backdrop-filter: blur(7px);
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 23px 24px 18px;
  border-bottom: 1px solid var(--cream-08);
}

.dialog-header h2 {
  margin: 0;
  color: var(--cream);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.dialog-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--cream-08);
  border-radius: 8px;
  background: var(--navy-850);
  cursor: pointer;
}

.dialog-intro {
  margin: 0 0 18px;
  color: var(--cream-50);
  font-size: 13px;
  line-height: 1.55;
}

.auth-dialog-body,
.promo-code-body,
.promotion-detail-body,
.payment-result,
.game-launch-body {
  padding: 23px 24px 26px;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  padding: 4px;
  border-radius: 9px;
  background: var(--navy-950);
}

.segmented-control button {
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--cream-50);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.segmented-control button.is-active {
  background: var(--navy-700);
  color: var(--cream);
}

.stacked-form {
  display: grid;
  gap: 15px;
  margin-top: 18px;
}

.stacked-form label,
.promo-form label,
.wallet-controls label,
.game-launch-body label {
  display: grid;
  gap: 7px;
  color: var(--cream-70);
  font-size: 11px;
  font-weight: 800;
}

.stacked-form label > span:first-child,
.promo-form label > span:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stacked-form label a {
  color: var(--gold);
  font-size: 10px;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--cream-14);
  border-radius: 8px;
  outline: 0;
  background: var(--navy-950);
  color: var(--cream);
  font-size: 13px;
}

input::placeholder {
  color: var(--cream-28);
}

input:focus,
select:focus {
  border-color: rgba(246, 196, 83, 0.55);
}

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

.password-input input {
  padding-right: 64px;
}

.password-input button {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.form-message {
  min-height: 17px;
  margin: 0;
  color: var(--danger);
  font-size: 11px;
  line-height: 1.45;
}

.auth-footnote,
.security-note {
  margin: 17px 0 0;
  color: var(--cream-50);
  font-size: 11px;
  text-align: center;
}

.auth-footnote a {
  color: var(--gold);
  font-weight: 800;
}

.security-note {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--cream-08);
  color: var(--cream-28);
  font-size: 9px;
}

.app-dialog--wallet {
  width: min(760px, calc(100vw - 28px));
}

.wallet-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 20px 0;
}

.wallet-tabs button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--cream-50);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.wallet-tabs button.is-active {
  background: var(--navy-800);
  color: var(--cream);
  box-shadow: inset 0 -2px var(--gold);
}

.wallet-controls {
  display: flex;
  justify-content: flex-end;
  padding: 11px 24px;
}

.wallet-controls label {
  width: 180px;
}

.wallet-controls select {
  min-height: 40px;
}

.wallet-summary {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1px;
  margin: 0 24px;
  overflow: hidden;
  border: 1px solid var(--cream-08);
  border-radius: 10px;
  background: var(--cream-08);
}

.wallet-summary > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
  padding: 15px;
  background: var(--navy-850);
}

.wallet-summary span,
.available-balance span {
  color: var(--cream-28);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wallet-summary strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
}

.wallet-pane {
  padding: 18px 24px 26px;
}

.wallet-kind-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 16px;
}

.wallet-kind-tabs button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border: 1px solid var(--cream-08);
  border-radius: 8px;
  background: var(--navy-950);
  color: var(--cream-50);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.wallet-kind-tabs button.is-active {
  border-color: rgba(246, 196, 83, 0.35);
  color: var(--gold);
}

.wallet-kind-tabs button.is-active img {
  filter: invert(84%) sepia(59%) saturate(506%) hue-rotate(350deg) brightness(100%);
}

.wallet-form {
  margin-top: 0;
}

#channel-extra-fields {
  display: grid;
  gap: 15px;
}

.checkbox-row {
  display: flex !important;
  align-items: flex-start;
  grid-template-columns: auto 1fr;
  gap: 9px !important;
  color: var(--cream-50) !important;
  font-weight: 650 !important;
  line-height: 1.5;
}

.checkbox-row input {
  width: 16px;
  min-height: 16px;
  flex: 0 0 auto;
  margin-top: 1px;
  padding: 0;
}

.crypto-warning,
.secure-payment-note,
.real-play-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(246, 196, 83, 0.18);
  border-radius: 8px;
  background: rgba(246, 196, 83, 0.055);
  color: var(--cream-50);
  font-size: 10px;
  line-height: 1.55;
}

.crypto-warning img,
.secure-payment-note img,
.real-play-note img {
  flex: 0 0 auto;
  filter: invert(84%) sepia(59%) saturate(506%) hue-rotate(350deg) brightness(100%);
}

.secure-payment-note {
  margin-top: 18px;
  border-color: rgba(8, 122, 82, 0.35);
  background: rgba(8, 122, 82, 0.08);
}

.secure-payment-note img {
  filter: invert(58%) sepia(37%) saturate(890%) hue-rotate(104deg) brightness(97%);
}

.wallet-inline-note {
  margin: -3px 0 14px;
  color: var(--cream-50);
  font-size: 11px;
}

.available-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--cream-08);
  border-radius: 9px;
  background: var(--navy-850);
}

.available-balance strong {
  color: var(--gold);
  font-size: 14px;
}

.address-card {
  display: grid;
  gap: 15px;
  margin-top: 13px;
  padding: 14px;
  border: 1px solid rgba(8, 122, 82, 0.38);
  border-radius: 9px;
  background: rgba(8, 122, 82, 0.08);
}

.address-card__qr {
  display: grid;
  justify-items: center;
  gap: 11px;
  padding: 16px;
  border: 1px solid rgba(255, 240, 207, 0.1);
  border-radius: 10px;
  background: rgba(4, 17, 38, 0.48);
  text-align: center;
}

.address-card__qr-frame {
  width: min(240px, 100%);
  padding: 10px;
  border-radius: 10px;
  background: #fff;
}

.address-card__qr-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  image-rendering: pixelated;
}

.address-card__qr strong,
.address-card__qr small {
  display: block;
}

.address-card__qr strong {
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
}

.address-card__qr small {
  max-width: 330px;
  margin-top: 4px;
  color: var(--cream-50);
  font-size: 10px;
  line-height: 1.5;
}

.address-card__details {
  display: grid;
  gap: 9px;
}

.address-card__details > span {
  color: var(--cream-28);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.address-card code,
.payment-result code {
  overflow-wrap: anywhere;
  color: var(--cream);
  font: 11px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.address-card__details button {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.loading-panel,
.empty-state {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--cream-50);
  font-size: 12px;
  text-align: center;
}

.loading-panel--large {
  min-height: 360px;
}

.loading-panel--large img {
  width: 120px;
  max-height: 150px;
  border-radius: 10px;
  object-fit: cover;
}

.empty-state > img {
  width: 30px;
  height: 30px;
  opacity: 0.5;
  filter: invert(94%) sepia(17%) saturate(439%) hue-rotate(335deg) brightness(107%);
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

.empty-state h3 {
  color: var(--cream);
  font-size: 15px;
}

.empty-state p {
  max-width: 390px;
  line-height: 1.55;
}

.payment-result {
  display: grid;
  gap: 15px;
}

.payment-result ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.payment-result li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-08);
  font-size: 11px;
}

.payment-result li span {
  color: var(--cream-50);
  text-transform: capitalize;
}

.payment-result li strong {
  max-width: 65%;
  overflow-wrap: anywhere;
  text-align: right;
}

.payment-result > p {
  margin: 0;
  color: var(--cream-50);
  font-size: 10px;
}

.payment-qr {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border: 10px solid white;
  border-radius: 8px;
  object-fit: contain;
}

.app-dialog--transactions {
  width: min(880px, calc(100vw - 28px));
}

.transaction-controls {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 18px 24px;
}

.transaction-controls select {
  min-height: 46px;
}

.transaction-list {
  min-height: 300px;
  padding: 0 24px 26px;
}

.transaction-table {
  display: grid;
  grid-template-columns: minmax(150px, 1.4fr) minmax(110px, 1fr) minmax(110px, 0.8fr);
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 0 12px;
  border-bottom: 1px dashed var(--cream-14);
  color: var(--cream-70);
  font-size: 11px;
}

.transaction-table strong {
  color: var(--cream);
}

.transaction-table--header {
  min-height: 42px;
  border-bottom: 0;
  background: var(--navy-850);
  color: var(--cream-28);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-badge {
  justify-self: start;
  padding: 5px 7px;
  border: 1px solid var(--cream-14);
  border-radius: 6px;
  color: var(--cream-50);
  font-size: 9px;
  font-weight: 800;
  text-transform: capitalize;
}

.status-badge[data-status="TRANSACTION_STATUS_SUCCESSFUL"] {
  border-color: rgba(32, 183, 125, 0.34);
  color: #7fe0bc;
}

.status-badge[data-status="TRANSACTION_STATUS_FAILED"] {
  border-color: rgba(255, 140, 118, 0.34);
  color: var(--danger);
}

.promo-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: end;
}

.mobile-search-form {
  display: grid;
  gap: 14px;
  padding: 22px 24px 26px;
}

.mobile-search-form label {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--cream-14);
  border-radius: 9px;
  background: var(--navy-950);
}

.mobile-search-form label img {
  width: 18px;
  height: 18px;
  opacity: 0.55;
  filter: invert(94%) sepia(17%) saturate(439%) hue-rotate(335deg) brightness(107%);
}

.mobile-search-form input {
  min-height: 46px;
  padding: 0;
  border: 0;
}

.promo-form .button {
  min-height: 46px;
}

.promo-result {
  display: grid;
  gap: 9px;
  margin-top: 17px;
  padding: 17px;
  border: 1px solid var(--cream-08);
  border-radius: 10px;
  background: var(--navy-850);
}

.promo-result.is-claimable {
  border-color: rgba(8, 122, 82, 0.45);
  background: rgba(8, 122, 82, 0.09);
}

.promo-result h3,
.promo-result p,
.promo-result small {
  margin: 0;
}

.promo-result h3 {
  font-size: 16px;
}

.promo-result p,
.promo-result small {
  color: var(--cream-50);
  font-size: 11px;
  line-height: 1.5;
}

.promo-result strong {
  color: var(--gold);
  font-size: 16px;
}

.app-dialog--rewards {
  width: min(820px, calc(100vw - 28px));
}

.dialog-header--rewards {
  padding-top: 30px;
  padding-bottom: 25px;
  background:
    radial-gradient(circle at 20% 0, rgba(246, 196, 83, 0.14), transparent 17rem),
    var(--navy-850);
}

.rewards-body {
  padding: 20px 24px 28px;
}

.vip-progress {
  padding: 16px;
  border: 1px solid var(--cream-08);
  border-radius: 10px;
  background: var(--navy-850);
}

.vip-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.vip-progress span {
  color: var(--cream-50);
  font-size: 10px;
}

.vip-progress strong {
  color: var(--gold);
  font-size: 12px;
}

.progress-track {
  height: 7px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--cream-08);
}

.progress-track > span {
  display: block;
  width: 8%;
  height: 100%;
  background: var(--gold);
  transition: width 300ms ease;
}

.promo-form--compact {
  margin-top: 15px;
}

.rewards-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 0 12px;
}

.rewards-heading h3 {
  margin: 0;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
}

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

.reward-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  min-height: 120px;
  padding: 15px;
  border: 1px solid var(--cream-08);
  border-radius: 10px;
  background: var(--navy-850);
}

.reward-card > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: rgba(246, 196, 83, 0.08);
}

.reward-card > span img {
  filter: invert(84%) sepia(59%) saturate(506%) hue-rotate(350deg) brightness(100%);
}

.reward-card h4,
.reward-card p {
  margin: 0;
}

.reward-card h4 {
  font-size: 12px;
  font-weight: 600;
}

.reward-card p {
  margin-top: 5px;
  color: var(--cream-50);
  font-size: 10px;
  line-height: 1.45;
}

.reward-card strong {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-size: 12px;
}

.reward-card small {
  position: absolute;
  right: 12px;
  bottom: 9px;
  color: var(--cream-28);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.app-dialog--promotion {
  width: min(760px, calc(100vw - 28px));
}

.promotion-detail-image {
  aspect-ratio: 16 / 6;
  overflow: hidden;
  background: var(--navy-850);
}

.promotion-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promotion-detail-header {
  padding-top: 19px;
}

.promotion-detail-body > p {
  margin: 0 0 21px;
  color: var(--cream-50);
  font-size: 12px;
  line-height: 1.6;
}

.promotion-detail-body h3 {
  margin: 0;
  font-size: 13px;
}

.promotion-detail-body ol {
  display: grid;
  gap: 9px;
  margin: 13px 0 22px;
  padding-left: 20px;
  color: var(--cream-50);
  font-size: 11px;
  line-height: 1.55;
}

.app-dialog--game-launch {
  width: min(520px, calc(100vw - 28px));
}

.game-launch-media {
  height: 240px;
  overflow: hidden;
  background: var(--navy-850);
}

.game-launch-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.game-launch-media--sportsbook {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background:
    radial-gradient(circle at 25% 45%, rgba(246, 196, 83, 0.18), transparent 13rem),
    radial-gradient(circle at 80% 70%, rgba(8, 122, 82, 0.2), transparent 14rem),
    linear-gradient(145deg, var(--navy-800), var(--navy-950));
}

.game-launch-media--sportsbook > img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.game-launch-media--sportsbook > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.game-launch-media--sportsbook span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.game-launch-media--sportsbook strong {
  color: var(--cream);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
}

.game-launch-body {
  display: grid;
  gap: 15px;
}

.game-player {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: #02070f;
}

.game-player > header {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid var(--cream-08);
  background: var(--navy-950);
}

.game-player > header > img {
  width: 142px;
  margin-right: 7px;
}

.game-player header strong {
  overflow: hidden;
  min-width: 0;
  flex: 1;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-player header > span {
  padding: 5px 8px;
  border: 1px solid var(--cream-08);
  border-radius: 6px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
}

.game-player header button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--cream-08);
  border-radius: 7px;
  background: var(--navy-850);
  cursor: pointer;
}

.game-frame-wrap {
  position: relative;
  min-height: 0;
  flex: 1;
}

.game-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #02070f;
}

.game-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  background: var(--navy-950);
  color: var(--cream-50);
  font-size: 11px;
}

.game-loading img {
  width: 78px;
  animation: loading-pulse 1.4s ease-in-out infinite alternate;
}

@keyframes loading-pulse {
  from { opacity: 0.35; transform: scale(0.96); }
  to { opacity: 0.9; transform: scale(1); }
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  max-width: min(390px, calc(100vw - 30px));
  padding: 13px 16px;
  border: 1px solid var(--cream-14);
  border-radius: 9px;
  background: var(--navy-800);
  color: var(--cream);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42);
  font-size: 11px;
  font-weight: 700;
}

.toast[data-kind="success"] {
  border-color: rgba(32, 183, 125, 0.52);
}

.toast[data-kind="error"] {
  border-color: rgba(255, 140, 118, 0.55);
}

@media (min-width: 821px) and (max-height: 760px) {
  .login-landing {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .landing-promotions__heading {
    margin-bottom: 15px;
  }

  .landing-promotions__heading h1 {
    font-size: clamp(34px, 3.6vw, 52px);
  }

  .landing-promotions__heading > p:last-child {
    margin-top: 9px;
  }

  .landing-login {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .landing-login__logo {
    width: min(240px, 78%);
    margin-bottom: 16px;
  }

  .landing-login__intro {
    margin: 8px 0 14px;
  }

  .landing-login .stacked-form {
    gap: 11px;
    margin-top: 12px;
  }

  .landing-login .security-note {
    margin-top: 12px;
    padding-top: 10px;
  }
}

@media (max-width: 1040px) {
  .login-landing__layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(345px, 0.75fr);
    gap: 30px;
  }

  .landing-login {
    padding: 27px;
  }
}

@media (max-width: 1320px) {
  .all-games-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

}

@media (max-width: 1080px) {
  :root {
    --sidebar-width: 238px;
  }

  .sidebar__logo img {
    width: 190px;
  }

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

  .provider-row {
    grid-template-columns: repeat(6, 130px);
  }
}

@media (max-width: 820px) {
  :root {
    --sidebar-width: 0px;
  }

  .login-landing {
    display: block;
    overflow: hidden;
    padding: 20px 16px 42px;
  }

  .login-landing__layout {
    width: min(620px, 100%);
    grid-template-columns: 1fr;
    margin: 0 auto;
    gap: 36px;
  }

  .landing-login {
    order: -1;
  }

  .landing-login__logo {
    width: min(285px, 82%);
    margin-bottom: 27px;
  }

  .landing-promotions__heading h1 {
    font-size: clamp(36px, 10vw, 55px);
  }

  .landing-carousel__controls {
    align-items: flex-start;
  }

  html {
    scroll-padding-top: 114px;
  }

  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .sidebar {
    display: none;
  }

  .app-column {
    margin-left: 0;
  }

  .topbar {
    height: 58px;
    gap: 8px;
    padding: 0 12px;
  }

  .mobile-menu-button {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .mobile-mark {
    display: block;
    width: 34px;
    flex: 0 0 auto;
  }

  .topbar-chip {
    padding: 0 4px;
    border: 0;
    background: transparent;
    font-size: 11px;
  }

  .topbar-chip img,
  .topbar-chip--rewards {
    display: none;
  }

  .button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 11px;
  }

  .balance-button {
    max-width: 118px;
    min-height: 36px;
    padding: 0 8px;
  }

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

  .square-button,
  .avatar-button {
    width: 36px;
    height: 36px;
  }

  .player-actions .square-button:not(.square-button--wallet) {
    display: none;
  }

  .content {
    padding: 14px 12px 48px;
  }

  .betting-content {
    padding-top: 14px;
  }

  .betting-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px 20px;
  }

  .betting-hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .betting-availability {
    max-width: none;
  }

  .betting-product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
  }

  .betting-product {
    padding: 22px 18px;
  }

  .betting-link-grid {
    gap: 7px;
  }

  .prediction-workspace {
    margin-top: 12px;
    border-radius: 12px;
  }

  .prediction-workspace__header {
    align-items: flex-start;
    padding: 18px 14px 13px;
  }

  .prediction-workspace__header h2 {
    font-size: 27px;
  }

  .prediction-workspace__header .button {
    flex: 0 0 auto;
  }

  .prediction-container {
    min-height: 720px;
  }

  .hero-track {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero-track::-webkit-scrollbar {
    display: none;
  }

  .hero-card,
  .hero-card:not(.hero-card--large),
  .hero-card:nth-child(3) {
    display: block;
    width: 86vw;
    min-width: 86vw;
    aspect-ratio: 16 / 7;
    flex: 0 0 86vw;
    scroll-snap-align: start;
  }

  .game-toolbar {
    top: 58px;
    display: block;
    margin-bottom: 10px;
    padding: 8px 0;
  }

  .category-tabs {
    grid-row: 1;
  }

  .category-tab {
    min-height: 36px;
    padding: 0 12px;
    font-size: 11px;
  }

  .search-box {
    display: none;
  }

  .game-section,
  .promotions-section,
  .providers-section {
    margin-top: 20px;
  }

  .section-heading {
    margin-bottom: 11px;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .game-row {
    grid-auto-columns: 55px;
    gap: 7px;
    margin-right: -12px;
    padding-right: 12px;
  }

  .game-row .game-card {
    min-width: 55px;
  }

  .game-card__image-wrap {
    aspect-ratio: 4 / 5;
    border-radius: 8px;
  }

  .game-card__play {
    display: none;
  }

  .promotion-grid {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    margin-right: -12px;
    padding-right: 12px;
    scroll-snap-type: x mandatory;
  }

  .promotion-card {
    grid-template-columns: 1fr;
    width: 84vw;
    min-width: 84vw;
    scroll-snap-align: start;
  }

  .promotion-card:hover,
  .promotion-card:focus-within {
    grid-template-columns: 1fr;
  }

  .promotion-card__media {
    min-height: 0;
  }

  .promotion-card:hover .promotion-card__media img,
  .promotion-card:focus-within .promotion-card__media img {
    object-position: center;
    transform: none;
  }

  .promotion-card__body {
    display: none;
  }

  .all-games-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px 7px;
  }

  .catalog-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px;
  }

  .provider-filter {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .provider-filter__menu {
    min-width: 0;
  }

  .catalog-clear {
    min-height: 42px;
  }

  .catalog-pagination__pages {
    display: none;
  }

  .catalog-pagination__status {
    display: block;
    min-width: 92px;
    text-align: center;
  }

  .provider-row {
    grid-template-columns: repeat(6, 128px);
  }

  .responsible-note {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .responsible-note a {
    grid-column: 2;
  }

  .mobile-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: calc(62px + env(safe-area-inset-bottom));
    padding: 4px 4px env(safe-area-inset-bottom);
    border-top: 1px solid var(--cream-08);
    background: rgba(4, 17, 38, 0.97);
    backdrop-filter: blur(18px);
  }

  .mobile-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cream-28);
    font-size: 9px;
    font-weight: 500;
    cursor: pointer;
  }

  .mobile-nav button.is-active,
  .mobile-nav button.is-active img {
    color: var(--gold);
    filter: invert(84%) sepia(59%) saturate(506%) hue-rotate(350deg) brightness(100%);
  }

  .mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: block;
  }

  .drawer-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(1, 8, 18, 0.74);
    backdrop-filter: blur(5px);
  }

  .drawer-panel {
    position: absolute;
    inset: 0 auto 0 0;
    display: flex;
    width: min(82vw, 340px);
    flex-direction: column;
    padding: 12px;
    background: var(--navy-900);
    box-shadow: 24px 0 70px rgba(0, 0, 0, 0.5);
  }

  .drawer-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 4px 4px 14px;
    border-bottom: 1px solid var(--cream-08);
  }

  .drawer-panel__header > img {
    width: 220px;
  }

  .drawer-panel__header button {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
  }

  .drawer-mode {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 12px;
    padding: 5px;
    border: 1px solid var(--cream-08);
    border-radius: 11px;
    background: var(--navy-950);
  }

  .drawer-mode button {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--cream-50);
    font-size: 13px;
    font-weight: 600;
  }

  .drawer-mode button.is-active {
    border-color: rgba(246, 196, 83, 0.44);
    background: rgba(246, 196, 83, 0.09);
    color: var(--cream);
    box-shadow: inset 0 -3px var(--gold);
  }

  .drawer-nav-group {
    overflow-y: auto;
  }

  .drawer-nav-group > p {
    margin: 15px 10px 5px;
    color: var(--cream-28);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .drawer-nav-group > button {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    gap: 11px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--cream-70);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
  }

  .drawer-panel > button:not(.drawer-panel__header button) {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 11px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--cream-70);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
  }

  .popover {
    top: 53px;
    right: 12px;
  }

  .profile-popover {
    right: 10px;
  }

  .toast {
    right: 12px;
    bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .transaction-controls {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .login-landing {
    padding: 12px 10px 34px;
  }

  .landing-login {
    padding: 24px 18px;
    border-radius: 15px;
  }

  .landing-login__logo {
    width: min(250px, 78%);
    margin-bottom: 24px;
  }

  .landing-login h2 {
    font-size: 39px;
  }

  .landing-carousel__viewport {
    border-radius: 13px;
  }

  .landing-carousel__controls {
    display: block;
    padding-top: 7px;
  }

  .landing-carousel__dots {
    justify-content: center;
  }

  .landing-carousel__controls p {
    margin-top: 2px;
    text-align: center;
  }

  .auth-actions {
    gap: 5px;
  }

  .auth-actions .button {
    padding: 0 9px;
  }

  .player-actions {
    gap: 5px;
  }

  .balance-button {
    max-width: 100px;
  }

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

  .game-card__name {
    margin-top: 7px;
    font-size: 10px;
  }

  .game-card__provider {
    font-size: 8px;
  }

  .app-dialog {
    width: 100%;
    max-height: min(90vh, 820px);
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 16px 16px 0 0;
  }

  .dialog-header {
    padding: 19px 17px 15px;
  }

  .dialog-header h2 {
    font-size: 30px;
  }

  .auth-dialog-body,
  .promo-code-body,
  .promotion-detail-body,
  .payment-result,
  .game-launch-body,
  .rewards-body,
  .wallet-pane {
    padding-right: 17px;
    padding-left: 17px;
  }

  .wallet-tabs {
    overflow-x: auto;
    padding-right: 13px;
    padding-left: 13px;
  }

  .wallet-tabs button {
    flex: 0 0 auto;
  }

  .wallet-controls {
    padding-right: 17px;
    padding-left: 17px;
  }

  .wallet-controls label {
    width: 100%;
  }

  .wallet-summary {
    grid-template-columns: 1fr 1fr;
    margin: 0 17px;
  }

  .wallet-summary > div:first-child {
    grid-column: 1 / -1;
  }

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

  .reward-grid {
    grid-template-columns: 1fr;
  }

  .transaction-controls {
    padding: 15px 17px;
  }

  .transaction-controls .segmented-control {
    grid-column: 1 / -1;
  }

  .transaction-list {
    padding: 0 17px 22px;
  }

  .transaction-table {
    grid-template-columns: minmax(105px, 1.25fr) minmax(80px, 0.8fr) minmax(73px, 0.7fr);
    gap: 7px;
    padding: 0 5px;
    font-size: 9px;
  }

  .promotion-detail-image {
    aspect-ratio: 16 / 7;
  }

  .game-launch-media {
    height: 210px;
  }

  .game-player > header {
    gap: 7px;
    padding: 0 8px;
  }

  .game-player > header > img {
    width: 86px;
    margin-right: 0;
  }

  .game-player header strong {
    font-size: 10px;
  }

  .game-player header > span {
    display: none;
  }
}

@media (max-width: 820px) {
  .catalog-command {
    margin: 0 auto 19px;
    padding: 10px;
    border-radius: 14px;
  }

  .catalog-command__top {
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 8px;
  }

  .catalog-search,
  .favorites-filter {
    min-height: 46px;
  }

  .catalog-search > span,
  .favorites-filter small {
    display: none;
  }

  .quick-filter-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(94px, 1fr);
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .quick-filter-grid::-webkit-scrollbar {
    display: none;
  }

  .quick-filter {
    min-height: 70px;
  }

  .game-card__favorite {
    top: 5px;
    right: 5px;
    width: 29px;
    height: 29px;
  }
}

@media (max-width: 540px) {
  .catalog-command__top {
    grid-template-columns: minmax(0, 1fr) 126px;
  }

  .catalog-search {
    padding: 0 10px;
  }

  .catalog-search input {
    font-size: 12px;
  }

  .favorites-filter {
    gap: 7px;
    padding: 0 9px;
  }

  .favorites-filter > img {
    width: 19px;
    height: 19px;
  }

  .favorites-filter strong {
    font-size: 10px;
  }

  .quick-filter-grid {
    grid-auto-columns: 88px;
  }

  .quick-filter {
    min-height: 66px;
  }

  .quick-filter img {
    width: 22px;
    height: 22px;
  }

  .game-card__favorite {
    width: 27px;
    height: 27px;
  }

  .game-card__favorite img {
    width: 14px;
    height: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
