:root {
  --bg: #051c24;
  --bg-2: #04161c;
  --sidebar: #03141a;
  --surface: #07262e;
  --gold: #d4af37;
  --gold-2: #c9a06a;
  --gold-hi: #f0e6d4;
  --gold-dim: #9a8458;
  --line: rgba(212, 175, 55, 0.28);
  --cyan: #2f7dff;
  --cyan-2: #1e63d8;
  --red: #c4122f;
  --red-2: #9a0e24;
  --muted: #8aa0a8;
  --focus: #7ec8ff;
  --new: #7cdb3a;
  --excl: #c44ad6;
  --sidebar-w: 212px;
  --top-h: 64px;
  --radius: 6px;
  --page-x: 20px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  min-width: 320px;
}

body {
  background-color: var(--bg);
  background-image: url("/images/0080_bg-pattern.2761664f73ee7dd8.png");
  background-repeat: repeat;
  background-size: 320px auto;
  color: #d5e4e8;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--gold-hi);
}

a:focus-visible,
[role="button"]:focus-visible,
.nav-burger:focus-visible,
.row-arrow:focus-visible,
.hero-nav:focus-visible,
.hero-dots button:focus-visible {
  outline: 2px dashed var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: #111;
  padding: 8px 12px;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

.cursor-pointer {
  cursor: pointer;
}

.outline-none {
  outline: none;
}

.shell {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  background: rgba(5, 28, 36, 0.92);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  z-index: 40;
  display: flex;
  flex-direction: column;
  background:
    url("/images/0001_game-page-header-bg-desk.0559b8f6b1bcd791.webp") top / 100% auto no-repeat,
    linear-gradient(180deg, #07262e 0%, #031018 100%);
  border-right: 1px solid var(--line);
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.45);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  height: var(--top-h);
  padding: 10px 16px 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.sidebar-top .sidebar-brand {
  flex: 1;
  border-bottom: 0;
}

.sidebar-close {
  display: none;
  position: relative;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  border: 1px solid #d4af37;
  border-radius: 4px;
  background: #07262e;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.45);
  cursor: pointer;
  flex-shrink: 0;
}

.sidebar-close span {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 2px;
  background: #f0e6d4;
  border-radius: 1px;
}

.sidebar-close span:first-child {
  transform: translateY(-50%) rotate(45deg);
}

.sidebar-close span:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

.sidebar-brand img,
.mobi-logo img {
  width: 148px;
  min-width: 120px;
  height: auto;
}

.empire-box {
  margin: 10px 10px 8px;
  padding: 10px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(8, 40, 50, 0.95), rgba(3, 16, 24, 0.95));
  text-align: center;
}

.empire-box .empire-kicker {
  margin: 0 0 8px;
  color: var(--gold-hi);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empire-box .empire-man {
  width: 88px;
  height: auto;
  margin: 0 auto 10px;
}

.empire-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.util-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 10px 10px;
}

.util-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 78px;
  padding: 8px 4px;
  color: var(--gold-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: linear-gradient(180deg, #0a3340, #041820);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.util-tile img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.sidebar-nav {
  flex: 1;
  overflow: auto;
  padding: 4px 10px 12px;
}

.sidebar-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 10px;
  margin-bottom: 2px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 4px;
}

.side-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.side-link.is-active,
.side-link:hover {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.22), transparent 80%);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--gold-hi);
}

.side-link .tag-new {
  margin-left: auto;
  background: var(--new);
  color: #102008;
  font-size: 8px;
  padding: 2px 5px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.sidebar-foot {
  padding: 10px 10px 14px;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  display: grid;
  gap: 8px;
}

.side-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #041820;
}

.side-mini[role="button"]:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
}

.lang-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #041820;
}

.sidebar-foot .lang-switch {
  width: 100%;
}

.lang-switch-link {
  color: inherit;
  text-decoration: none;
}

.lang-switch-link:hover,
.lang-switch-link:focus-visible {
  color: var(--gold-hi);
}

.lang-switch-link.is-active {
  color: var(--gold-hi);
  text-decoration: underline;
}

.lang-switch-sep {
  color: #6a828a;
  user-select: none;
}

.footer-tools .lang-switch {
  min-height: 40px;
  padding: 0 16px;
  border-color: var(--gold);
  background: rgba(4, 24, 32, 0.72);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--top-h);
  padding: 10px 20px;
  background: linear-gradient(180deg, #072830 0%, #041820 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
  height: 42px;
  padding: 0 16px;
  background: #031018;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.search-box svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.search-box input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--gold-hi);
  font: inherit;
  font-size: 13px;
}

.search-box input::placeholder {
  color: #6a828a;
}

.search-box input:focus {
  outline: none;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

[role="button"][aria-label="my-empire"] {
  user-select: none;
}

.cta-login,
.cta-register,
.cta-gold,
.cta-cyan,
.cta-play,
.cta-ghost,
.cta-ticket,
.cta-build,
.cta-guide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  user-select: none;
}

.cta-login {
  color: var(--gold-hi);
  background: #041820;
  border: 1px solid #2f7dff;
  min-width: 110px;
}

.cta-register {
  color: #fff;
  background: linear-gradient(180deg, #e0203c, var(--red-2));
  border: 1px solid var(--gold);
  min-width: 118px;
  box-shadow: 0 0 12px rgba(196, 18, 47, 0.35);
}

.cta-build {
  color: #fff;
  background: linear-gradient(180deg, #4a90ff, var(--cyan-2));
  border: 1px solid #8eb8ff;
  min-height: 34px;
  padding: 0 8px;
  font-size: 11px;
}

.cta-guide {
  color: var(--gold-hi);
  background: #041820;
  border: 1px solid var(--gold);
  min-height: 34px;
  padding: 0 8px;
  font-size: 11px;
}

.cta-gold {
  color: #fff;
  background: linear-gradient(180deg, #c9a227, #8a6a1c);
  border: 1px solid #f0d48a;
  min-width: 140px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.cta-cyan {
  color: #fff;
  background: linear-gradient(180deg, #2aa7c4, #157a94);
  border: 1px solid var(--gold);
  min-width: 148px;
}

.cta-outline-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  color: var(--gold-hi);
  background: rgba(4, 24, 32, 0.72);
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-outline-lang:hover {
  background: rgba(7, 38, 46, 0.9);
}

.cta-play {
  min-height: 46px;
  padding: 0 36px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  border: 2px solid #e4c56a;
  background: linear-gradient(180deg, #e0203c 0%, #c4122f 42%, #8a0c20 100%);
  box-shadow: 0 0 18px rgba(196, 18, 47, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.cta-play:hover,
.cta-register:hover {
  filter: brightness(1.08);
}

.cta-ghost {
  color: #fff;
  background: transparent;
  border: 2px solid var(--gold);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 42px;
  height: 40px;
  border: 1px solid #d4af37;
  border-radius: 4px;
  background: #07262e;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.45);
  padding: 10px 9px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #f0e6d4;
  border-radius: 1px;
}

.nav-scrim {
  display: none;
}

.mobi-head,
.mobi-auth,
.mobi-logo {
  display: none;
}

@media (max-width: 860px) {
  body.menu-open .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 38;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
  }
}

.cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}

.cats::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.cats.is-grabbing {
  cursor: grabbing;
}

.cat-pill {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 6px 16px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background:
    linear-gradient(#07262e, #07262e) padding-box,
    linear-gradient(135deg, #8a6a30, #f0d48a 40%, #8a6a30) border-box;
}

.cat-pill img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.cat-pill:hover {
  color: var(--gold-hi);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

.page {
  padding: 8px var(--page-x) 48px;
}

.hero-frame {
  position: relative;
  margin: 8px 0 22px;
  padding: 8px;
  background:
    linear-gradient(#07262e, #07262e) padding-box,
    linear-gradient(135deg, #8a6a30, #f0d48a 30%, #8a6a30 55%, #f6e7b8 80%, #8a6a30) border-box;
  border: 2px solid transparent;
  clip-path: polygon(
    18px 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    18px 100%,
    0 calc(100% - 18px),
    0 18px
  );
}

.hero-carousel {
  overflow: hidden;
  border-radius: 2px;
  background: #031018;
}

.hero-track {
  display: flex;
  width: 100%;
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  min-height: 220px;
  aspect-ratio: 21 / 6;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero-copy {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(52%, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
  background: linear-gradient(90deg, rgba(3, 16, 24, 0.72), transparent);
  pointer-events: none;
}

.hero-copy .kicker {
  margin: 0 0 8px;
  width: max-content;
  max-width: 100%;
  padding: 4px 10px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  background: rgba(3, 16, 24, 0.72);
}

.hero-copy p.title {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.hero-copy [role="button"] {
  pointer-events: auto;
  align-self: flex-start;
}

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(7, 38, 46, 0.82);
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.hero-nav.prev {
  left: 16px;
}

.hero-nav.next {
  right: 16px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.7);
  cursor: pointer;
}

.hero-dots button.is-on {
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.game-row {
  margin: 8px 0 28px;
}

.row-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.row-title {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.row-head .spacer {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.view-all {
  color: var(--gold-2);
  font-size: 13px;
  white-space: nowrap;
}

.row-arrows {
  display: flex;
  gap: 6px;
}

.row-arrow {
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #07262e;
  color: var(--gold);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
}

.row-scroller {
  --gap: 10px;
  --cols: 7;
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}

.row-scroller::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.row-scroller.is-grabbing {
  cursor: grabbing;
}

.row-scroller[data-cols="3"] { --cols: 3; }
.row-scroller[data-cols="5"] { --cols: 5; }
.row-scroller[data-cols="7"] { --cols: 7; }
.row-scroller[data-cols="8"] { --cols: 8; }

.game-card {
  position: relative;
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  overflow: hidden;
  border-radius: 4px;
  border: 2px solid rgba(212, 175, 55, 0.45);
  background: #031018;
}

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

.game-card.sport img {
  height: auto;
}

.game-card.portrait {
  aspect-ratio: 227 / 339;
}

.game-card.icon {
  aspect-ratio: 1;
}

.game-card.live {
  aspect-ratio: 200 / 467;
}

.game-card.wide {
  aspect-ratio: 449 / 299;
}

.game-card.sport {
  aspect-ratio: 227 / 340;
  background: #07262e;
  border-color: rgba(212, 175, 55, 0.55);
}

.game-card.sport .sport-fg {
  width: 100%;
  height: 80%;
  object-fit: cover;
  object-position: center top;
}

.game-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 8px 20px rgba(0, 0, 0, 0.4);
}

.game-card .play-stack {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(3, 16, 24, 0.62);
  z-index: 2;
  pointer-events: none;
}

.game-card:hover .play-stack {
  display: flex;
}

.game-card.sport:hover .play-stack {
  display: none;
}

.play-chip {
  min-width: 88px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #e0203c, #9a0e24);
  border: 1px solid var(--gold);
  border-radius: 3px;
}

.demo-chip {
  min-width: 88px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 3px;
}

.top-row {
  gap: 20px;
  padding: 0 4px 16px;
}

.top-slot {
  position: relative;
  flex: 0 0 calc((100% - 80px) / 5);
  width: auto;
  padding: 0;
  display: grid;
  grid-template-columns: 0.42fr minmax(0, 1fr);
  align-items: end;
}

.top-slot .game-card {
  flex: none;
  width: 100%;
  z-index: 1;
}

.top-slot .num {
  position: relative;
  z-index: 0;
  margin: 0 -10px 0 0;
  color: #f0d48a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.4vw, 80px);
  font-weight: 800;
  line-height: 0.72;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff6d0 0%, #e8c45a 40%, #b8861c 78%, #7a5a12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.75));
  pointer-events: none;
}

.badge {
  position: absolute;
  z-index: 1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-new {
  top: 8px;
  right: 8px;
  background: var(--new);
  color: #102008;
  padding: 3px 6px;
  border-radius: 2px;
}

.badge-ex {
  top: 10px;
  left: -18px;
  width: 90px;
  padding: 4px 0;
  background: var(--excl);
  color: #fff;
  text-align: center;
  transform: rotate(-35deg);
}

.badge-buy {
  top: auto;
  left: auto;
  right: 8px;
  bottom: 8px;
  background: #d4a017;
  color: #1a1204;
  padding: 3px 6px;
  border-radius: 2px;
}

.sport-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  min-height: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  background: linear-gradient(180deg, #1c3a48 0%, #0b2430 100%);
  border-top: 1px solid var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.promo-banner {
  position: relative;
  display: block;
  margin: 8px 0 28px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line);
  aspect-ratio: 21 / 7;
  min-height: 220px;
}

.promo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: right center;
}

.promo-banner .hero-copy {
  z-index: 1;
  pointer-events: none;
}

.promo-banner .hero-copy [role="button"] {
  pointer-events: auto;
}

.hero-copy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  pointer-events: auto;
}

.wonderpot {
  --wond-icon: clamp(62px, 5.6vw, 78px);
  margin: 8px 0 28px;
  padding: 12px 12px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(3, 16, 24, 0.55), rgba(3, 16, 24, 0.35)),
    url("/images/0277_div_css.webp") center / cover no-repeat,
    #041018;
}

.wonderpot-inner {
  display: grid;
  grid-template-columns: minmax(210px, 0.78fr) minmax(0, 1.7fr);
  gap: 12px;
  align-items: stretch;
}

.wonderpot-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: calc(var(--wond-icon) * 2 + 20px);
  padding: 18px 14px 16px;
  overflow: hidden;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(3, 16, 24, 0.38) 0%, rgba(3, 16, 24, 0.7) 100%),
    url("/images/0317_RMiHqps62mbYJj.webp") 16% 42% / cover no-repeat;
  text-align: center;
}

.wonderpot-crown {
  position: absolute;
  top: 6%;
  left: 50%;
  width: 58%;
  max-width: 160px;
  height: auto;
  transform: translateX(-50%);
  opacity: 0.28;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.wonderpot-badge,
.wonderpot-title,
.wonderpot-panel [role="button"] {
  position: relative;
  z-index: 1;
}

.wonderpot-badge {
  position: relative;
  width: min(100%, 230px);
}

.wonderpot-badge-bg {
  display: block;
  width: 100%;
  height: auto;
}

.wonderpot-word {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 54%;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}

.wonderpot-title {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.wonderpot-games {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
}

.wonderpot-scroller.row-scroller {
  --gap: 8px;
  display: grid;
  flex: 1;
  min-width: 0;
  grid-auto-flow: column;
  grid-template-rows: var(--wond-icon) var(--wond-icon);
  grid-auto-columns: var(--wond-icon);
  gap: var(--gap);
  height: calc(var(--wond-icon) * 2 + var(--gap));
  padding: 0 28px;
  overflow-x: auto;
  overflow-y: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent);
}

.wonderpot-scroller .game-card {
  flex: none;
  width: var(--wond-icon);
  height: var(--wond-icon);
  aspect-ratio: 1;
  border-width: 1px;
  border-radius: 6px;
}

.wonderpot-scroller .game-card img {
  object-position: center 18%;
}

.wonderpot-scroller .game-card .play-stack,
.wonderpot-scroller .game-card:hover .play-stack {
  display: none;
}

.wonderpot-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
}

.wonderpot-nav.is-prev {
  left: 0;
}

.wonderpot-nav.is-next {
  right: 0;
}

.wonderpot-ticker {
  margin: 10px -12px 0;
  padding: 8px 0;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(2, 10, 16, 0.72);
}

.wonderpot-ticker:hover .wonderpot-ticker-track {
  animation-play-state: paused;
}

.wonderpot-ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: wonderpot-marquee 42s linear infinite;
  font-size: 12px;
  line-height: 1.3;
  color: #c5d0d4;
  white-space: nowrap;
}

.wonderpot-win em {
  color: #e8b86d;
  font-style: normal;
  font-weight: 700;
}

@keyframes wonderpot-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wonderpot-ticker-track {
    animation: none;
  }
}

.article .promo-banner {
  margin: 22px 0 28px;
}

.article {
  max-width: none;
  color: #c5d4d8;
  font-size: 0.98rem;
}

.article h1,
.article h2,
.article h3 {
  color: var(--gold-hi);
}

.article h1 {
  font-size: 1.7rem;
  margin: 0.4em 0 0.6em;
}

.article h2 {
  font-size: 1.25rem;
  margin: 1.4em 0 0.5em;
}

.article h3 {
  font-size: 1.05rem;
  margin: 1.1em 0 0.4em;
}

.article p,
.article li {
  color: #c5d4d8;
}

.article ul,
.article ol {
  padding-left: 1.2em;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 0.92rem;
}

.article th,
.article td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

.article th {
  background: #07262e;
  color: var(--gold-hi);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article td {
  background: rgba(3, 16, 24, 0.45);
}

.howto-list {
  margin: 12px 0 20px;
  padding-left: 1.2em;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--gold-dim);
}

.offer-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: #07262e;
}

.offer-band p {
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.site-footer {
  position: relative;
  margin-left: var(--sidebar-w);
  padding: 28px 0 20px;
  background-color: #051a24;
  background-image: url("/images/0328_footer-bg_2x.4ac65088d410e02f.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-top: 1px solid var(--line);
}

.footer-inner {
  padding: 0 var(--page-x);
}

.footer-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.footer-tools .cta-outline-lang img {
  width: 20px;
  height: 14px;
  object-fit: cover;
}

.footer-tools .cta-outline-lang img[src$=".svg"] {
  width: 18px;
  height: 18px;
}

.footer-map {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px 16px;
}

.footer-map h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-map h3 [role="button"] {
  display: inline;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.footer-map h3 + ul {
  margin-bottom: 16px;
}

.footer-map ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-map li {
  margin: 0 0 6px;
}

.footer-map [role="button"],
.footer-map a {
  color: #c5d4d8;
  font-size: 13px;
}

.pay-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.pay-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 22px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: #07262e;
}

.pay-pill img {
  height: 22px;
  width: auto;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 22px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 0 12px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-weight: 800;
}

.footer-disclaimer {
  margin: 8px 0 0;
  max-width: 920px;
  color: #8aa0a8;
  font-size: 12px;
  line-height: 1.55;
}

.error-page {
  min-height: 50vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 20px;
}

.error-page h1 {
  color: var(--gold-hi);
}

.error-home {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--gold);
  color: var(--gold-hi);
  margin-right: 8px;
}

.cta-ticket {
  flex: 1 1 0;
  min-height: 48px;
  color: #fff;
  background: linear-gradient(180deg, #1c3a48 0%, #0b2430 100%);
  border: 1px solid #d4af37;
  border-radius: 0;
}

.cta-ticket-l {
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(50% - 8px),
    calc(100% - 11px) 50%,
    100% calc(50% + 8px),
    100% 100%,
    10px 100%,
    0 calc(100% - 10px),
    0 10px
  );
}

.cta-ticket-r {
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 calc(50% + 8px),
    11px 50%,
    0 calc(50% - 8px)
  );
  background: linear-gradient(180deg, #e0203c, #9a0e24);
}

@media (max-width: 1100px) {
  .footer-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-slide {
    aspect-ratio: 16 / 7;
  }

  .row-scroller[data-cols="7"] { --cols: 5; }
  .row-scroller[data-cols="8"] { --cols: 6; }
  .row-scroller[data-cols="5"] { --cols: 4; }
}

@media (max-width: 860px) {
  :root {
    --page-x: 10px;
  }

  .sidebar {
    transform: translateX(-105%);
    transition: transform 0.25s ease;
  }

  body.menu-open .sidebar {
    transform: translateX(0);
  }

  .shell,
  .site-footer {
    margin-left: 0;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 12px 10px;
    background: #051c24;
  }

  .desk-only {
    display: none !important;
  }

  .mobi-head {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
  }

  .nav-burger {
    display: flex;
  }

  .sidebar-close {
    display: inline-block;
  }

  .mobi-logo {
    display: flex;
    grid-column: 2;
    justify-self: center;
  }

  .mobi-logo img {
    width: 132px;
    min-width: 110px;
    height: auto;
  }

  .mobi-auth {
    display: flex;
    gap: 8px;
  }

  .hero-copy {
    width: 78%;
    padding: 16px;
  }

  .hero-copy p.title {
    font-size: 1.15rem;
  }

  .cta-play {
    min-height: 40px;
    padding: 0 24px;
    font-size: 12px;
  }

  .row-scroller[data-cols="7"] { --cols: 3; }
  .row-scroller[data-cols="8"] { --cols: 3; }
  .row-scroller[data-cols="5"] { --cols: 2.15; }
  .row-scroller[data-cols="3"] { --cols: 1.15; }

  .top-slot {
    flex: 0 0 46%;
    width: 46%;
  }

  .top-slot .num {
    font-size: 48px;
  }

  .promo-banner {
    aspect-ratio: 16 / 7;
    min-height: 200px;
  }

  .promo-banner .hero-copy {
    inset: auto 0 0;
    width: 100%;
    align-items: center;
    text-align: center;
    justify-content: flex-end;
    padding: 16px;
    background: linear-gradient(180deg, transparent 10%, rgba(3, 16, 24, 0.82));
  }

  .promo-banner .hero-copy [role="button"] {
    align-self: center;
  }

  .promo-banner .hero-copy-actions {
    justify-content: center;
  }

  .wonderpot-inner {
    grid-template-columns: 1fr;
  }

  .wonderpot {
    --wond-icon: 72px;
  }

  .wonderpot-panel {
    min-height: 180px;
    background-position: 22% 38%;
  }

  .promo-banner .hero-copy .kicker {
    margin-left: auto;
    margin-right: auto;
  }

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

  .article table {
    display: block;
    overflow-x: auto;
  }

  .offer-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hero-slide,
  .promo-banner {
    min-height: 180px;
    aspect-ratio: 16 / 9;
  }

  .hero-copy {
    width: 100%;
    background: linear-gradient(180deg, transparent, rgba(3, 16, 24, 0.78));
    justify-content: flex-end;
  }

  .sidebar-brand img {
    min-width: 96px;
    width: 120px;
  }

  .wonderpot {
    --wond-icon: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-track {
    transition: none !important;
  }
}

.game-card.has-actions {
  cursor: default;
}

.game-card.has-actions .play-stack {
  display: flex;
  opacity: 0;
  pointer-events: none;
}

.game-card.has-actions .play-chip,
.game-card.has-actions .demo-chip {
  pointer-events: none;
  cursor: pointer;
}

a.demo-chip {
  color: #fff;
  text-decoration: none;
}

a.demo-chip:hover,
a.demo-chip:focus-visible {
  color: #fff;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .game-card.has-actions:hover .play-stack,
  .game-card.has-actions:focus-within .play-stack {
    opacity: 1;
    pointer-events: auto;
  }

  .game-card.has-actions:hover .play-chip,
  .game-card.has-actions:hover .demo-chip,
  .game-card.has-actions:focus-within .play-chip,
  .game-card.has-actions:focus-within .demo-chip {
    pointer-events: auto;
  }
}

.game-card.has-actions.is-actions-open .play-stack {
  opacity: 1;
  pointer-events: auto;
}

.game-card.has-actions.is-actions-open .play-chip,
.game-card.has-actions.is-actions-open .demo-chip {
  pointer-events: auto;
}

.wonderpot-scroller .game-card.has-actions .play-stack,
.wonderpot-scroller .game-card.has-actions:hover .play-stack {
  display: flex;
}

.crumbs {
  margin: 14px 0 6px;
  font-size: 13px;
  color: var(--muted);
}

.crumbs a {
  color: var(--gold-2);
}

.game-page h1 {
  margin: 8px 0 14px;
  color: var(--gold-hi);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
}

.demo-stage {
  position: relative;
  width: min(1100px, 100%);
  margin: 0 0 22px;
  background: #031018;
  border: 2px solid rgba(212, 175, 55, 0.45);
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 420px;
}

.demo-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-stage-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  min-height: 180px;
  aspect-ratio: auto;
}

.demo-stage-empty p {
  margin: 0;
  max-width: 46rem;
  text-align: center;
  color: var(--gold-hi);
}

.game-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px 28px;
  align-items: start;
  margin: 0 0 28px;
}

.game-shot {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 4px;
  border: 2px solid rgba(212, 175, 55, 0.45);
}

.game-copy p {
  margin: 0 0 14px;
}

.also-scroller.row-scroller {
  scrollbar-width: thin;
  scrollbar-color: #d4af37 #031018;
  padding-bottom: 14px;
}

.also-scroller.row-scroller::-webkit-scrollbar {
  display: block;
  width: auto;
  height: 6px;
}

.also-scroller.row-scroller::-webkit-scrollbar-track {
  background: #031018;
  border-radius: 99px;
}

.also-scroller.row-scroller::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #8a6a30, #f0d48a);
  border-radius: 99px;
}

@media (max-width: 760px) {
  .game-layout {
    grid-template-columns: 1fr;
  }

  .demo-stage {
    min-height: 320px;
    aspect-ratio: 4 / 5;
  }
}
