:root {
  color-scheme: dark;
  --bg: #080b18;
  --panel: #151936;
  --panel-soft: #20264c;
  --line: rgba(255, 214, 125, 0.22);
  --gold: #ffd36a;
  --gold-strong: #f29b18;
  --cyan: #35e3ff;
  --pink: #ff4fd8;
  --red: #c92f22;
  --text: #fff8e8;
  --muted: #b9aa90;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  --side-open: 264px;
  --side-closed: 86px;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 79, 216, 0.24), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(53, 227, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #121936 0%, #080b18 48%, #080b18 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

.app-shell {
  min-height: 100vh;
  padding-bottom: 72px;
}

main {
  overflow-x: hidden;
}

.app-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px clamp(14px, 4vw, 42px);
  background:
    linear-gradient(90deg, rgba(255, 79, 216, 0.22), rgba(53, 227, 255, 0.18)),
    #0a0c21;
  color: #ebfbff;
}

.app-strip div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.app-strip strong {
  color: var(--gold);
}

.app-strip span {
  overflow: hidden;
  color: #bfeeff;
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-strip a {
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 76px;
  padding: 12px clamp(16px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 13, 30, 0.9);
  backdrop-filter: blur(16px);
}

.topbar.is-logged-in .account-actions {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.brand img {
  width: min(260px, 46vw);
  height: 78px;
  mix-blend-mode: screen;
  object-fit: cover;
  object-position: center;
}

.account-actions,
.hero-actions {
  display: flex;
  gap: 10px;
}

.lang-switch {
  position: relative;
  display: flex;
  gap: 4px;
  border: 1px solid rgba(53, 227, 255, 0.18);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.05);
  margin-left: 10px;
}

.lang-switch button {
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 0 8px;
  background: transparent;
  color: #bfeeff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.lang-trigger {
  min-width: 52px;
  min-height: 42px;
  border: 1px solid rgba(53, 227, 255, 0.28);
  font-size: 0.9rem;
  letter-spacing: 0;
}

.lang-trigger::after {
  content: "▾";
  margin-left: 5px;
  color: var(--cyan);
  font-size: 0.72rem;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 208px;
  gap: 7px;
  border: 1px solid rgba(255, 211, 106, 0.34);
  border-radius: 12px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(21, 26, 58, 0.98), rgba(8, 11, 30, 0.98)),
    #0c1026;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.lang-menu strong {
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 1rem;
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding-inline: 12px;
  text-align: center;
  border: 1px solid rgba(53, 227, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lang-menu button::after {
  content: "";
  width: 28px;
}

.lang-menu button .lang-flag,
.side-language button .lang-flag {
  justify-self: center;
  color: inherit;
  font-size: 1rem;
  line-height: 1;
}

.lang-menu button b {
  justify-self: center;
  font-size: 1rem;
}

.lang-switch button.is-active {
  background:
    linear-gradient(180deg, #fff4b0 0%, #ffbf35 48%, #d5790f 100%);
  color: #251200;
  box-shadow:
    0 10px 22px rgba(244, 165, 31, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 0 rgba(111, 56, 4, 0.28);
}

.side-menu {
  position: fixed;
  top: 139px;
  bottom: 0;
  left: 0;
  z-index: 9;
  width: var(--side-open);
  border-right: 1px solid rgba(255, 211, 106, 0.2);
  padding: 16px 14px;
  overflow-y: auto;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 211, 106, 0.14), transparent 28%),
    radial-gradient(circle at 100% 18%, rgba(53, 227, 255, 0.13), transparent 32%),
    linear-gradient(180deg, rgba(18, 23, 51, 0.98), rgba(8, 10, 28, 0.985)),
    #0b0f25;
  backdrop-filter: blur(18px);
  box-shadow:
    18px 0 34px rgba(0, 0, 0, 0.3),
    inset -1px 0 0 rgba(255, 255, 255, 0.04);
  transition:
    width 420ms var(--ease-smooth),
    padding 420ms var(--ease-smooth),
    box-shadow 420ms var(--ease-smooth),
    background-color 420ms ease;
  will-change: width;
}

.side-menu::before {
  content: "";
  position: sticky;
  top: -16px;
  display: block;
  height: 1px;
  margin: -1px -14px 14px;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 106, 0.58), transparent);
  pointer-events: none;
}

.side-menu::-webkit-scrollbar {
  width: 6px;
}

.side-menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 211, 106, 0.32);
}

@media (max-width: 1099px) {
  body .side-menu {
    display: none !important;
  }
}

.side-menu .side-brand {
  display: none;
}

.side-brand img {
  width: 190px;
  height: 86px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.side-wallet {
  border: 1px solid rgba(255, 211, 106, 0.22);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.13), rgba(53, 227, 255, 0.05)),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 26px rgba(0, 0, 0, 0.15);
}

.side-wallet[hidden] {
  display: none;
}

.side-wallet span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.side-wallet strong {
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font-size: 1.18rem;
}

.side-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.side-status article,
.side-mini-panel {
  border: 1px solid rgba(53, 227, 255, 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 211, 106, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(34, 43, 84, 0.7), rgba(15, 20, 48, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.side-wallet,
.side-status,
.side-language,
.side-mini-panel,
.side-links {
  transform-origin: left center;
  transition:
    opacity 260ms ease,
    transform 360ms var(--ease-smooth),
    max-height 420ms var(--ease-smooth),
    margin 420ms var(--ease-smooth),
    padding 420ms var(--ease-smooth);
}

.side-wallet {
  max-height: 110px;
}

.side-status {
  max-height: 90px;
}

.side-language {
  max-height: 210px;
}

.side-mini-panel {
  max-height: 170px;
}

.side-links {
  max-height: 210px;
}

.side-status article {
  padding: 10px;
}

.side-status span,
.side-mini-panel span {
  display: block;
  color: #bfeeff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.side-status strong,
.side-mini-panel strong {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 0.95rem;
}

.side-menu nav {
  display: grid;
  gap: 8px;
}

.side-language {
  display: none;
  gap: 7px;
  border: 1px solid rgba(53, 227, 255, 0.2);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
  background: rgba(53, 227, 255, 0.07);
}

.side-language > span {
  color: #bfeeff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.side-language button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  min-height: 38px;
  border-radius: 8px;
  font-size: 0.86rem;
  text-align: center;
}

.side-language button::after {
  content: "";
  width: 28px;
}

.side-language button b {
  justify-self: center;
}

.side-menu a,
.side-menu button {
  position: relative;
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(53, 227, 255, 0.18);
  border-radius: 12px;
  padding: 0 12px;
  background:
    linear-gradient(180deg, rgba(39, 49, 91, 0.72), rgba(20, 25, 54, 0.78)),
    rgba(255, 255, 255, 0.05);
  color: #d7f9ff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.18);
  transition:
    width 420ms var(--ease-smooth),
    padding 420ms var(--ease-smooth),
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.side-menu nav a span:not(.side-icon),
.side-menu nav button span:not(.side-icon),
.side-toggle span:not(.side-toggle-icon) {
  display: inline-block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    max-width 360ms var(--ease-smooth),
    width 360ms var(--ease-smooth),
    opacity 180ms ease,
    transform 360ms var(--ease-smooth);
}

.side-icon {
  flex: 0 0 42px;
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 211, 106, 0.28);
  border-radius: 12px;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.22), transparent 22%),
    linear-gradient(145deg, #335270 0%, #222a54 45%, #1a1737 100%);
  color: #ffe38d;
  font-size: 1.25rem;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -4px 8px rgba(0, 0, 0, 0.24),
    0 8px 18px rgba(53, 227, 255, 0.12);
  transition:
    flex-basis 420ms var(--ease-smooth),
    width 420ms var(--ease-smooth),
    height 420ms var(--ease-smooth),
    border-radius 420ms var(--ease-smooth),
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.side-icon::before,
.nav-icon::before {
  display: block;
  font-weight: 1000;
  line-height: 1;
}

.icon-home::before {
  content: "\2302";
}

.icon-deposit::before {
  content: "+";
}

.icon-promo::before {
  content: "%";
}

.icon-vip::before {
  content: "\265B";
}

.icon-user::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 14px 0 4px currentColor;
  transform: translateY(-7px);
}

.icon-logout::before {
  content: "\21A9";
}

.icon-withdraw::before {
  content: "\2193";
}

.icon-support::before {
  content: "?";
}

.side-menu button[hidden] {
  display: none;
}

.side-menu a.is-active,
.side-menu button:hover,
.side-menu a:hover {
  border-color: rgba(255, 211, 106, 0.68);
  background:
    linear-gradient(180deg, rgba(48, 62, 112, 0.94), rgba(24, 30, 70, 0.94)),
    rgba(53, 227, 255, 0.08);
  color: #fff8e8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 26px rgba(53, 227, 255, 0.1);
  transform: translateX(2px);
}

.side-menu a.is-active::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px -1px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--cyan));
  box-shadow: 0 0 16px rgba(255, 211, 106, 0.58);
}

.side-menu a.is-active .side-icon,
.side-menu button:hover .side-icon,
.side-menu a:hover .side-icon {
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.38), transparent 24%),
    linear-gradient(180deg, #fff3a0 0%, #ffbd32 48%, #c66d0c 100%);
  color: #251200;
  box-shadow:
    0 0 22px rgba(255, 211, 106, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -4px 8px rgba(97, 46, 0, 0.26);
}

.side-mini-panel {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  padding: 12px;
}

.side-mini-panel a {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  background: linear-gradient(180deg, #fff3a0, #ffbd32 52%, #c66d0c);
  color: #251200;
  font-size: 0.78rem;
  font-weight: 1000;
}

.side-links {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.side-links a {
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #bfeeff;
  font-size: 0.78rem;
  font-weight: 800;
}

.side-toggle {
  position: sticky;
  bottom: 12px;
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  border: 1px solid rgba(255, 211, 106, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 211, 106, 0.14), rgba(53, 227, 255, 0.08)),
    rgba(255, 255, 255, 0.04);
  color: var(--gold);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 1000;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.18);
  transition:
    width 420ms var(--ease-smooth),
    padding 420ms var(--ease-smooth),
    margin 420ms var(--ease-smooth),
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.side-toggle-icon::before {
  content: "\2039";
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 420ms var(--ease-smooth);
}

body.side-collapsed .side-menu {
  width: var(--side-closed);
  padding-inline: 13px;
  box-shadow: 10px 0 26px rgba(0, 0, 0, 0.22);
}

body.side-collapsed .side-wallet,
body.side-collapsed .side-status,
body.side-collapsed .side-language,
body.side-collapsed .side-mini-panel,
body.side-collapsed .side-links {
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-8px) scale(0.97);
}

body.side-collapsed .side-wallet,
body.side-collapsed .side-status,
body.side-collapsed .side-language {
  margin-bottom: 0;
}

body.side-collapsed .side-menu nav a span:not(.side-icon),
body.side-collapsed .side-menu nav button span:not(.side-icon),
body.side-collapsed .side-toggle span:not(.side-toggle-icon) {
  width: 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-6px);
}

body.side-collapsed .side-menu nav {
  justify-items: center;
}

body.side-collapsed .side-menu a,
body.side-collapsed .side-menu button {
  width: 56px;
  justify-content: center;
  padding: 0;
  gap: 0;
  transform: translateX(0);
}

body.side-collapsed .side-toggle {
  width: 56px;
  margin-inline: auto;
  padding: 0;
}

body.side-collapsed .side-toggle-icon::before {
  content: "\203A";
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 211, 106, 0.32);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #ecd8a7;
  font-size: 0.86rem;
}

.user-pill[hidden] {
  display: none;
}

.user-pill strong {
  color: var(--gold);
}

.user-pill button {
  border: 0;
  border-left: 1px solid rgba(255, 211, 106, 0.25);
  padding: 0 0 0 10px;
  background: transparent;
  color: #ffcabf;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 16px;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  transition:
    opacity 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.78;
}

.btn.is-loading::before {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  content: "";
  animation: spin 760ms linear infinite;
}

.btn-gold {
  background: linear-gradient(180deg, #ffe38d, #f4a51f 55%, #b4650b);
  color: #251200;
  box-shadow: 0 8px 20px rgba(244, 165, 31, 0.24);
}

.btn-dark,
.btn-glass {
  border-color: rgba(255, 211, 106, 0.36);
  background: rgba(53, 227, 255, 0.08);
  color: var(--gold);
}

.hero {
  display: grid;
  width: min(1180px, calc(100% - 28px));
  min-height: 0;
  margin: 18px auto 12px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(8, 9, 30, 0.94), rgba(57, 11, 60, 0.8)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 211, 106, 0.05) 0,
      rgba(255, 211, 106, 0.05) 1px,
      transparent 1px,
      transparent 74px
    );
  box-shadow: var(--shadow);
  animation: heroGlow 5s ease-in-out infinite alternate;
}

.view {
  display: none;
}

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

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 560px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 18px;
  color: #eadbbf;
  font-size: 1.03rem;
  line-height: 1.65;
}

.hero-stat {
  display: none;
  min-height: 210px;
  align-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 211, 106, 0.24);
  border-radius: 8px;
  padding: 18px;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 211, 106, 0.18), transparent 35%),
    linear-gradient(145deg, rgba(26, 33, 74, 0.96), rgba(8, 11, 28, 0.96));
}

.hero-stat article {
  border: 1px solid rgba(53, 227, 255, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-stat span {
  display: block;
  color: #bfeeff;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-stat strong {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 1.45rem;
}

.announcement,
.categories,
.providers,
.game-grid,
.footer {
  width: min(1180px, calc(100% - 28px));
  margin-inline: auto;
}

.desktop-layout {
  display: grid;
  width: min(1320px, calc(100% - 28px));
  margin: 18px auto 0;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
}

.main-column .hero,
.main-column .announcement,
.main-column .categories,
.main-column .providers,
.main-column .game-grid,
.main-column .game-empty,
.main-column .banner-strip {
  width: 100%;
}

.banner-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  margin-bottom: 12px;
}

.banner-card {
  overflow: hidden;
  border: 1px solid rgba(53, 227, 255, 0.18);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.banner-card--large {
  grid-row: span 2;
}

.banner-card img,
.side-promo img,
.promo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050713;
}

.event-panel {
  display: grid;
  align-content: start;
  gap: 14px;
}

.event-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-tabs span {
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 8px 24px;
  color: var(--gold);
  font-weight: 900;
}

.event-tabs strong {
  font-size: 1.2rem;
}

.winner-card {
  border-radius: 18px;
  padding: 20px;
  background: #161d39;
  box-shadow: var(--shadow);
}

.winner-card h2 {
  color: #ffb72a;
  font-size: 1.7rem;
}

.winner-card p {
  display: inline-block;
  border-radius: 4px;
  padding: 6px 10px;
  background: #0b1127;
  font-weight: 900;
}

.winner-card ul {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 14px 0;
  margin: 14px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}

.winner-card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.winner-card small {
  display: block;
  color: #7d8498;
}

.winner-card strong {
  color: #ffb72a;
}

.side-promo {
  overflow: hidden;
  border-radius: 10px;
  min-height: 210px;
}

@media (min-width: 1100px) {
  .topbar {
    min-height: 90px;
    padding-inline: 28px 36px;
  }

  .account-actions {
    margin-left: auto;
  }

  main,
  .footer {
    margin-left: var(--side-open);
    width: calc(100% - var(--side-open));
    transition: margin-left 420ms var(--ease-smooth);
  }

  body.side-collapsed main,
  body.side-collapsed .footer {
    margin-left: var(--side-closed);
    width: calc(100% - var(--side-closed));
  }

  .hero,
  .announcement,
  .categories,
  .providers,
  .game-grid,
  .banner-strip,
  .game-empty {
    width: min(1320px, calc(100% - 292px));
  }

  .desktop-layout {
    width: min(1280px, calc(100% - 28px));
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  body.side-collapsed .desktop-layout {
    width: min(1360px, calc(100% - 28px));
  }
}

.announcement {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  margin-top: 14px;
  border: 1px solid rgba(255, 211, 106, 0.18);
  border-radius: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
}

.announcement span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.ticker {
  min-width: 0;
  overflow: hidden;
}

.ticker p {
  margin: 0;
  color: var(--muted);
  white-space: nowrap;
  animation: tickerMove 22s linear infinite;
}

.announcement a {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
}

.categories {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(7, minmax(82px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.providers {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 10px;
  padding-bottom: 3px;
}

.provider {
  position: relative;
  min-height: 44px;
  min-width: 86px;
  overflow: hidden;
  border: 1px solid rgba(53, 227, 255, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(53, 227, 255, 0.04)),
    #11142c;
  color: #d7f9ff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 1000;
  cursor: pointer;
  letter-spacing: 0;
  text-shadow: 0 0 12px rgba(53, 227, 255, 0.28);
}

.provider::before {
  content: "";
  position: absolute;
  inset: 5px auto 5px 7px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--pink));
  opacity: 0.8;
}

.provider.is-active {
  border-color: rgba(255, 211, 106, 0.68);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.5), transparent 24%),
    linear-gradient(180deg, #ffe38d, #f4a51f 55%, #b4650b);
  color: #251200;
  box-shadow: 0 8px 22px rgba(244, 165, 31, 0.2);
  text-shadow: none;
}

.provider.is-active::before {
  background: #251200;
  opacity: 0.45;
}

.category {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 211, 106, 0.2);
  border-radius: 6px;
  background: linear-gradient(180deg, #1d1a1f, #0f0e11);
  color: #eadbbf;
  font-weight: 800;
}

.category.is-active {
  border-color: rgba(255, 211, 106, 0.62);
  background: linear-gradient(180deg, #5b1710, #221111);
  color: var(--gold);
}

.game-grid {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.game-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 211, 106, 0.18);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transform: translateY(0);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.provider-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(9, 9, 11, 0.66);
  color: #fff8db;
  font-size: 0.68rem;
  font-weight: 1000;
  backdrop-filter: blur(8px);
}

.game-card:hover {
  border-color: rgba(53, 227, 255, 0.58);
  box-shadow: 0 18px 42px rgba(53, 227, 255, 0.14);
  transform: translateY(-3px);
}

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

.game-cover {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-bottom: 1px solid rgba(255, 211, 106, 0.16);
  background: #151013;
  object-fit: cover;
  filter: saturate(1.18) contrast(1.04);
}

.game-card h2 {
  margin: 12px 12px 4px;
  font-size: 1rem;
  letter-spacing: 0;
}

.game-card p {
  margin: 0 12px 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.game-empty {
  width: min(1180px, calc(100% - 28px));
  margin: 18px auto 30px;
  border: 1px solid rgba(255, 211, 106, 0.18);
  border-radius: 6px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

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

.footer {
  border-top: 1px solid rgba(53, 227, 255, 0.12);
  padding: 48px 0 34px;
  background: #07122a;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto 32px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 58px;
}

.footer a {
  display: block;
  color: #dfc891;
  font-size: 0.88rem;
  margin-top: 12px;
}

.footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.footer p {
  width: min(1180px, calc(100% - 28px));
  margin-inline: auto;
  color: #62708f;
}

.footer-icons,
.license-pill,
.cert-row,
.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cert-row span,
.pay-row span,
.license-pill {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #d9e7ff;
  font-size: 0.78rem;
  font-weight: 900;
}

.promo-img {
  height: 150px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.deposit-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.deposit-options button {
  min-height: 76px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 7px;
  background: #34343e;
  color: #fff;
  font: inherit;
  font-weight: 900;
}

.deposit-options .is-selected {
  border-color: var(--gold);
  color: var(--gold);
}
  margin: 0;
  font-size: 0.82rem;
}

.auth-panel,
.dashboard,
.content-page {
  width: min(980px, calc(100% - 28px));
  margin: 18px auto 34px;
}

.auth-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 5vw, 38px);
  background: linear-gradient(135deg, rgba(18, 20, 48, 0.96), rgba(57, 11, 60, 0.72));
  box-shadow: var(--shadow);
}

.muted-copy {
  color: var(--muted);
  line-height: 1.6;
}

.auth-form,
.history-panel,
.promo-grid article,
.wallet-card,
.info-grid article {
  border: 1px solid rgba(255, 211, 106, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.auth-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: #ddc894;
  font-size: 0.86rem;
  font-weight: 800;
}

.auth-form input,
.auth-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 211, 106, 0.26);
  border-radius: 6px;
  padding: 0 12px;
  background: #09090b;
  color: var(--text);
  font: inherit;
}

.form-message {
  min-height: 20px;
  margin: 0;
  color: #ffb0a6;
  font-size: 0.84rem;
}

.form-message.is-info {
  color: #bfeeff;
}

.auth-form input:disabled,
.auth-form select:disabled {
  cursor: wait;
  opacity: 0.72;
}

.dashboard {
  display: grid;
  gap: 16px;
}

.wallet-card {
  padding: clamp(18px, 5vw, 34px);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 211, 106, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(18, 20, 48, 0.96), rgba(55, 13, 59, 0.94));
}

.wallet-card h1 {
  margin-bottom: 16px;
}

.balance-label {
  margin-bottom: 4px;
  color: var(--muted);
  font-weight: 800;
}

.wallet-card > strong {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: clamp(2rem, 6vw, 3.2rem);
}

.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.info-grid article,
.promo-grid article {
  padding: 16px;
}

.info-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.info-grid strong,
.promo-grid strong {
  color: var(--text);
  font-size: 1.05rem;
}

.history-panel {
  padding: 18px;
}

.history-panel h2 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.empty-state {
  display: grid;
  min-height: 96px;
  place-items: center;
  border: 1px dashed rgba(255, 211, 106, 0.24);
  border-radius: 8px;
  color: var(--muted);
}

.deposit-form {
  max-width: 560px;
}

.content-page {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 5vw, 38px);
  background: linear-gradient(135deg, rgba(24, 21, 26, 0.96), rgba(17, 17, 20, 0.94));
}

.promo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

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

.vip-page {
  width: min(1120px, calc(100% - 28px));
  margin: 18px auto 34px;
}

.vip-hero-panel,
.vip-grid > article,
.vip-missions {
  border: 1px solid rgba(255, 211, 106, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 211, 106, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(25, 31, 63, 0.94), rgba(14, 17, 38, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 42px rgba(0, 0, 0, 0.2);
}

.vip-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: 18px;
  align-items: stretch;
  padding: clamp(18px, 4vw, 34px);
}

.vip-hero-panel h1,
.section-heading h2 {
  margin: 0;
}

.vip-hero-panel h1 {
  font-size: clamp(2rem, 5vw, 4.4rem);
}

.vip-rank-card {
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(53, 227, 255, 0.22);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(53, 227, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.vip-rank-card span,
.vip-rank-card small,
.benefit-list small,
.mission-list span,
.wheel-result {
  color: var(--muted);
}

.vip-rank-card strong {
  color: var(--gold);
  font-size: 2rem;
}

.vip-progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.vip-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  box-shadow: 0 0 18px rgba(255, 211, 106, 0.3);
}

.vip-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.vip-track span {
  display: grid;
  min-height: 74px;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(255, 211, 106, 0.2);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-weight: 900;
}

.vip-track b {
  color: var(--text);
}

.vip-track small {
  color: var(--muted);
  font-size: 0.76rem;
}

.vip-track .is-current {
  border-color: rgba(255, 211, 106, 0.72);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.35), transparent 24%),
    linear-gradient(180deg, #ffe38d, #f4a51f 55%, #b4650b);
  color: #251200;
}

.vip-track .is-current b,
.vip-track .is-current small {
  color: #251200;
}

.vip-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.vip-grid > article,
.vip-missions {
  padding: clamp(16px, 3vw, 24px);
}

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

.vip-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(255, 211, 106, 0.28);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 211, 106, 0.08);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.lucky-wheel-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.wheel-pointer {
  position: absolute;
  top: 4px;
  z-index: 2;
  width: 34px;
  height: 44px;
  background: linear-gradient(180deg, #fff5b8 0%, #ffc84f 55%, #c46d0d 100%);
  clip-path: polygon(50% 0, 100% 76%, 58% 64%, 50% 100%, 42% 64%, 0 76%);
  filter:
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 12px rgba(255, 211, 106, 0.42));
}

.lucky-wheel {
  --wheel-rotation: 0deg;
  position: relative;
  display: block;
  width: min(300px, 72vw);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff5b5 0 13%, #ee9b1c 14% 20%, transparent 21%),
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.42), transparent 0 20%, transparent 48%),
    repeating-conic-gradient(from -1deg, rgba(255, 255, 255, 0.24) 0 1.5deg, transparent 1.5deg 60deg),
    conic-gradient(
      #ffc13d 0 60deg,
      #22d4e8 60deg 120deg,
      #f45ad3 120deg 180deg,
      #ffe68b 180deg 240deg,
      #31d88e 240deg 300deg,
      #4a5795 300deg 360deg
    );
  color: #fff8e8;
  cursor: pointer;
  box-shadow:
    0 0 0 9px #f7cd67,
    0 0 0 14px rgba(255, 244, 174, 0.18),
    inset 0 0 0 10px rgba(255, 255, 255, 0.12),
    inset 0 -28px 50px rgba(0, 0, 0, 0.24),
    inset 0 22px 38px rgba(255, 255, 255, 0.12),
    0 26px 52px rgba(0, 0, 0, 0.36),
    0 0 34px rgba(255, 211, 106, 0.18);
  transform: rotate(var(--wheel-rotation));
  transition: transform 3.6s cubic-bezier(0.12, 0.72, 0.08, 1);
}

.lucky-wheel::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28), transparent 0 22%, transparent 60%),
    radial-gradient(circle at center, transparent 0 63%, rgba(0, 0, 0, 0.16) 64% 100%);
  pointer-events: none;
}

.lucky-wheel::after {
  content: "VIP";
  position: absolute;
  inset: 50%;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 5px solid rgba(255, 244, 185, 0.48);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.6), transparent 24%),
    linear-gradient(180deg, #ffe993, #f3ae2b 55%, #c36a0b);
  color: #251200;
  font-weight: 1000;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.52),
    inset 0 -8px 16px rgba(111, 56, 4, 0.24),
    0 8px 18px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--wheel-rotation)));
}

.lucky-wheel span {
  --angle: 0deg;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  min-width: 62px;
  min-height: 24px;
  place-items: center;
  margin: -12px 0 0 -31px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 0 8px;
  background: rgba(8, 12, 29, 0.55);
  color: #fff9e8;
  font-size: 0.66rem;
  font-weight: 1000;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 6px 14px rgba(0, 0, 0, 0.16);
  transform: rotate(var(--angle)) translateY(-102px) rotate(calc(-1 * var(--wheel-rotation) - var(--angle)));
}

.lucky-wheel span:nth-child(1) { --angle: 30deg; }
.lucky-wheel span:nth-child(2) { --angle: 90deg; }
.lucky-wheel span:nth-child(3) { --angle: 150deg; }
.lucky-wheel span:nth-child(4) { --angle: 210deg; }
.lucky-wheel span:nth-child(5) { --angle: 270deg; }
.lucky-wheel span:nth-child(6) { --angle: 330deg; }

.wheel-spin-btn {
  position: absolute;
  bottom: 0;
}

.wheel-result {
  min-height: 24px;
  margin: 12px 0 0;
  text-align: center;
}

.benefit-list,
.mission-list {
  display: grid;
  gap: 10px;
}

.benefit-list span,
.mission-list article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(53, 227, 255, 0.14);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.045);
}

.benefit-list b,
.mission-list strong {
  color: var(--text);
}

.vip-missions {
  margin-top: 16px;
}

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

.mobile-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 211, 106, 0.28);
  background:
    linear-gradient(180deg, rgba(36, 48, 98, 0.98), rgba(9, 13, 35, 0.98)),
    rgba(8, 8, 9, 0.94);
  box-shadow:
    0 -12px 34px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.mobile-nav a {
  display: grid;
  min-height: 62px;
  place-items: center;
  align-content: center;
  gap: 3px;
  color: #e8d7ac;
  font-size: 0.78rem;
  font-weight: 800;
  transition:
    color 160ms ease,
    transform 160ms ease,
    filter 160ms ease;
}

.mobile-nav a.is-active {
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(53, 227, 255, 0.48));
}

.mobile-nav a:hover {
  transform: translateY(-2px);
}

.nav-icon {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(53, 227, 255, 0.4);
  border-radius: 11px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.22), transparent 22%),
    linear-gradient(145deg, rgba(58, 91, 126, 0.96), rgba(23, 31, 72, 0.98));
  color: #6ef3ff;
  font-size: 1.04rem;
  line-height: 1;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -4px 7px rgba(0, 0, 0, 0.22),
    0 8px 18px rgba(53, 227, 255, 0.12);
}

.mobile-nav a.is-active .nav-icon {
  border-color: rgba(255, 211, 106, 0.7);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(180deg, #fff3a0 0%, #ffbd32 48%, #c66d0c 100%);
  color: #251200;
  box-shadow:
    0 0 20px rgba(255, 211, 106, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -4px 8px rgba(97, 46, 0, 0.26);
}

.mobile-nav .deposit {
  position: relative;
  top: -14px;
  min-height: 74px;
  border: 2px solid rgba(255, 244, 189, 0.72);
  border-radius: 18px 18px 0 0;
  color: #251200;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 190, 0.9), transparent 46%),
    linear-gradient(180deg, #fff3a0, #ffbd32 56%, #b86b0d);
  box-shadow:
    0 -10px 26px rgba(255, 211, 106, 0.38),
    0 0 24px rgba(255, 211, 106, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
  animation: depositPulse 1.7s ease-in-out infinite;
}

.mobile-nav .deposit .nav-icon {
  width: 32px;
  height: 32px;
  border-color: rgba(37, 18, 0, 0.24);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(180deg, #fff8c8, #ffc744 54%, #c47510);
  color: #251200;
  font-size: 1.2rem;
}

@keyframes tickerMove {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-120%);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.015);
  }
}

@keyframes heroGlow {
  from {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  }

  to {
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.42),
      0 0 34px rgba(53, 227, 255, 0.14),
      0 0 44px rgba(255, 79, 216, 0.12);
  }
}

@keyframes depositPulse {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.18);
  }
}

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

@media (max-width: 1099px) {
  .side-menu {
    display: none;
  }

  main,
  .footer {
    margin-left: 0;
  }

  .vip-hero-panel,
  .vip-grid,
  .mission-list {
    grid-template-columns: 1fr;
  }

  .desktop-layout {
    display: block;
    width: min(100% - 20px, 560px);
    margin-top: 10px;
  }

  .main-column {
    width: 100%;
    min-width: 0;
  }

  .event-panel {
    display: none;
  }

  .main-column .hero,
  .main-column .announcement,
  .main-column .categories,
  .main-column .providers,
  .main-column .game-grid,
  .main-column .game-empty,
  .main-column .banner-strip {
    width: 100%;
  }

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

  .brand img {
    width: 116px;
    height: 54px;
  }

  .lang-switch {
    margin-left: 0;
  }

  .lang-trigger {
    min-width: 44px;
    min-height: 36px;
    font-size: 0.78rem;
  }

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

  .app-strip a:last-child {
    display: none;
  }

  .account-actions .btn {
    min-height: 36px;
    padding-inline: 9px;
    font-size: 0.78rem;
  }

  .topbar.is-logged-in .account-actions {
    display: none;
  }

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

  .hero-stat {
    display: none;
  }

  .categories {
    grid-template-columns: repeat(7, 92px);
  }

  .banner-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-bottom: 10px;
    padding-bottom: 2px;
    scroll-snap-type: x mandatory;
  }

  .banner-card,
  .banner-card--large {
    flex: 0 0 84%;
    min-height: 142px;
    grid-row: auto;
    scroll-snap-align: start;
  }

  .banner-card img {
    aspect-ratio: 16 / 7;
    height: auto;
    object-fit: contain;
  }

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

  .hero {
    margin-top: 10px;
    padding: 18px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .game-card h2 {
    margin-inline: 9px;
    font-size: 0.88rem;
  }

  .game-card p {
    margin-inline: 9px;
    font-size: 0.76rem;
  }

  .mobile-nav {
    display: grid;
  }

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

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

@media (max-width: 430px) {
  .topbar {
    flex-wrap: nowrap;
    gap: 6px;
    padding-inline: 8px;
  }

  .brand img {
    width: 104px;
    height: 50px;
    object-fit: cover;
  }

  .account-actions {
    gap: 5px;
  }

  .lang-switch {
    order: 0;
    width: auto;
    flex: 0 0 auto;
    justify-content: center;
  }

  .user-pill {
    max-width: 178px;
    padding: 7px 9px;
    font-size: 0.74rem;
  }

  .btn {
    min-height: 34px;
    padding-inline: 8px;
    font-size: 0.78rem;
  }

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

  .announcement span {
    display: none;
  }

  .game-grid {
    gap: 10px;
  }

  .game-cover {
    aspect-ratio: 1 / 1.12;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    font-size: 2rem;
  }

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

  .footer {
    padding-bottom: 82px;
  }

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

  .lucky-wheel-wrap {
    min-height: 320px;
  }

  .lucky-wheel {
    width: min(250px, 76vw);
  }

  .lucky-wheel span {
    min-width: 56px;
    margin-left: -28px;
    font-size: 0.62rem;
    transform: rotate(var(--angle)) translateY(-84px) rotate(calc(-1 * var(--wheel-rotation) - var(--angle)));
  }
}
