:root {
  --bg: #0c0a08;
  --bg-2: #14110c;
  --header: #080706;
  --sidebar: #16120e;
  --side-btn: #2a241c;
  --card: #1a1612;
  --line: #3a3228;
  --gold: #e8b84a;
  --gold-2: #f3d08a;
  --ink: #1a1208;
  --text: #fff8ee;
  --muted: #b8a890;
  --radius: 14px;
  --header-h: 64px;
  --sidebar-w: 244px;
  --font: Outfit, Nunito, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 80; background: var(--gold); color: var(--ink); padding: 8px 12px; }

.shell { display: flex; min-height: 100vh; align-items: stretch; }

.sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar);
  display: flex;
  flex-direction: column;
  padding: 16px 12px 14px;
  gap: 8px;
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  overflow: auto;
  z-index: 36;
}
.side-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0 8px;
  color: var(--gold);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: .1em;
  line-height: 1;
}
.side-logo .crown { color: var(--gold); font-size: .62rem; margin: 0 1px -8px; align-self: flex-start; }
.side-logo .cheese-o {
  width: 1.1em; height: 1.1em; margin-left: 1px;
}

.side-promo {
  display: grid;
  grid-template-columns: 1fr 80px;
  align-items: stretch;
  min-height: 80px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(90deg, #2a1c0a, #4a320c 55%, #1a1208);
  padding: 0 0 0 12px;
}
.side-promo div { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.side-promo span { font-size: .58rem; font-weight: 800; letter-spacing: .05em; }
.side-promo strong { color: var(--gold); font-size: .88rem; letter-spacing: .02em; }
.side-promo img {
  width: 80px; height: 80px; object-fit: cover; object-position: top center;
}

.side-nav { display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 0; }
.side-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.side-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--side-btn);
  color: #fff8ee;
  font-weight: 700;
  font-size: .86rem;
}
.side-btn:hover, .side-btn.is-active { background: #3a3224; }
.side-btn.is-active { outline: 1px solid var(--gold); color: var(--gold); }
.side-btn svg { flex-shrink: 0; color: var(--gold); }

.side-app {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 6px;
  align-items: center;
  min-height: 86px;
  padding: 10px 8px 10px 12px;
  border-radius: 18px;
  background: linear-gradient(90deg, #1a1408, #3a2a0c);
}
.side-app strong { display: block; color: var(--gold); font-size: .9rem; }
.side-app span { display: block; font-size: .68rem; color: #ddd; line-height: 1.3; margin-top: 4px; }
.side-app img {
  width: 64px; height: 72px; object-fit: cover; object-position: top center;
  border-radius: 12px;
}

.stage {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-left: var(--sidebar-w);
}

.header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 22px;
  background: var(--header);
}
.menu-btn {
  display: none;
  width: 40px; height: 40px; border: 0; background: transparent; color: #fff;
  place-items: center; cursor: pointer; border-radius: 999px;
}
.header-spacer { flex: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0;
  font-weight: 700; cursor: pointer; white-space: nowrap;
}
.btn-ghost {
  background: transparent; color: #fff8ee;
  border: 1px solid #c4b090;
}
.btn-ghost:hover { background: #1a140c; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-lg { min-height: 48px; padding: 0 22px; font-size: 1.02rem; }

.main { flex: 1; min-width: 0; padding: 0 0 80px; }
.wrap { max-width: none; }

.h1 { font-size: clamp(1.75rem, 3vw, 2.35rem); margin: 0 0 8px; letter-spacing: -.02em; }
.h2 { font-size: 1.4rem; margin: 0 0 16px; }
.lead { color: var(--muted); font-size: 1.05rem; line-height: 1.55; max-width: 720px; }

.billboard {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  margin: 0 0 28px;
  width: 100%;
  max-width: none;
  background: #0c0a08;
  aspect-ratio: 2.35 / 1;
  min-height: 300px;
  max-height: 520px;
}
.slide {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.slide-figure {
  position: absolute;
  right: 2%;
  bottom: 0;
  z-index: 1;
  height: 112%;
  width: auto;
  max-width: 48%;
  max-height: none;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
}
.slide-copy {
  position: relative;
  z-index: 2;
  max-width: min(560px, 54%);
  padding: 36px 48px 52px;
  background: linear-gradient(90deg, rgba(12,10,8,.92) 0%, rgba(12,10,8,.55) 70%, transparent 100%);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slide-kicker {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: .06em; font-size: 1.05rem; margin: 0 0 8px;
}
.wedge { width: 22px; height: 18px; flex-shrink: 0; }
.slide-sub { margin: 0 0 18px; font-size: 1.15rem; font-weight: 700; }
.slide-offer {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: .02em;
  line-height: 1.1;
}
.slide-brand {
  display: block;
  color: #fff8ee;
  font-size: .42em;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.billboard-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: rgba(20,16,10,.7); color: #fff;
  cursor: pointer; z-index: 2;
  display: grid; place-items: center;
}
.billboard-btn.prev { left: 10px; }
.billboard-btn.next { right: 10px; }
.dots {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.dots button {
  width: 8px; height: 8px; border-radius: 999px; border: 0;
  background: #666; padding: 0; cursor: pointer;
}
.dots button.is-on { width: 22px; background: var(--gold); }

.lobby-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 8px 0 16px; flex-wrap: wrap;
}
.lobby-head h2 { margin: 0; font-size: 1.55rem; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.cat {
  flex-shrink: 0; border: 1px solid transparent; background: #2a241c; color: #d8c8b0;
  border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer; font-size: .88rem;
}
.cat.is-on, .cat:hover { border-color: var(--gold); color: #fff; }

.games { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.game { display: flex; flex-direction: column; gap: 6px; }
.game-thumb {
  position: relative; border-radius: 16px; overflow: hidden; background: #111;
  aspect-ratio: 1;
}
.game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jackpot {
  position: absolute; left: 8px; top: 8px; z-index: 1;
  background: #c9922a; color: #1a1208; font-size: .62rem; font-weight: 800;
  letter-spacing: .04em; padding: 3px 8px; border-radius: 999px;
}
.game-name { font-size: .82rem; font-weight: 700; line-height: 1.25; }
.game-prov { font-size: .75rem; color: var(--muted); }
.game:hover .game-thumb { outline: 2px solid var(--gold); outline-offset: 0; }

.game-art {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 16px;
  font-weight: 800; font-size: 1.15rem; color: var(--gold);
  background: linear-gradient(160deg, var(--tile, #2a241c), #0c0a08);
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0;
}
.feat {
  background: #16120e;
  border: 1px solid #3a3228;
  border-radius: 18px;
  padding: 18px 18px 22px;
}
.feat-ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: #2a241c;
  display: grid; place-items: center;
  margin-bottom: 14px;
  font-size: 1.2rem;
}
.feat-art {
  width: 72px; height: 72px; border-radius: 18px; overflow: hidden;
  margin-bottom: 14px; background: #111;
}
.feat-art img { width: 100%; height: 100%; object-fit: cover; }
.feat h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feat p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }

.page-hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; align-items: stretch;
  background: #16120e;
  border-radius: 20px; overflow: hidden; margin-bottom: 28px;
  min-height: 300px;
}
.page-hero .copy {
  padding: 32px 36px;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(90deg, #16120e 70%, transparent);
  position: relative; z-index: 1;
}
.hero-art {
  min-height: 300px;
  overflow: hidden;
}
.hero-art img {
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 300px;
  object-fit: cover;
  object-position: center 18%;
}
.promo-card {
  position: relative;
  min-height: 180px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #4a3c20;
  background: linear-gradient(115deg, #16120e 0%, #2a2414 100%);
}
.promo-card .promo-art {
  height: 220px;
  overflow: hidden;
}
.promo-card .promo-art img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 12%;
}
.promo-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kicker {
  color: var(--gold); font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; font-size: .75rem; margin: 0 0 8px;
}
.hero-mark {
  min-height: 220px;
  background:
    radial-gradient(circle at 30% 32%, #0c0a08 14%, transparent 15%),
    radial-gradient(circle at 62% 48%, #0c0a08 10%, transparent 11%),
    linear-gradient(160deg, #e8b84a, #8a6a20);
}
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.pill {
  background: #2a241c; border: 1px solid #4a4030; border-radius: 999px;
  padding: 6px 12px; font-size: .82rem; color: #ddd;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.grid-4, .grid-3, .grid-2 { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.strip {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: stretch;
  min-height: 240px;
  border-radius: 0;
  overflow: hidden;
  background: #16120e;
  margin: 28px 0;
  text-decoration: none;
}
.strip-copy {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, #16120e 65%, transparent);
  position: relative;
  z-index: 1;
}
.strip-copy h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.strip-copy p { margin: 0; color: var(--muted); }
.strip-art {
  min-height: 240px;
  overflow: hidden;
}
.strip-art img {
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 240px;
  object-fit: cover;
  object-position: center 18%;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: #3a3228; color: #eee; font-size: .72rem; padding: 4px 8px; border-radius: 999px; }
.promo-body h3 { margin: 0; font-size: 1.45rem; line-height: 1.15; }
.promo-body p { margin: 0; color: #ddd; font-size: .92rem; }
.promo-card .btn { align-self: flex-start; margin-top: auto; }

.wrap > :not(.billboard):not(.strip) {
  max-width: 1240px;
  margin-left: 22px;
  margin-right: 22px;
}
.wrap > :first-child:not(.billboard) { margin-top: 18px; }
.section { margin: 36px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }

.search-row { display: flex; gap: 10px; margin-bottom: 14px; }
.search-row input {
  flex: 1; border: 0; border-radius: 999px; padding: 12px 16px; background: #2a241c; color: #fff;
}

.prose h2 { font-size: 1.32rem; margin: 1.5em 0 .5em; }
.prose h3 { font-size: 1.08rem; margin: 1.2em 0 .4em; }
.prose p { margin: 0 0 1em; }
.prose p, .prose li { line-height: 1.6; color: #d8c8b0; }
.prose a { color: var(--gold); text-decoration: underline; }
.muted { color: var(--muted); }

.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--gold); font-weight: 700; background: #1a1508; }
tr:nth-child(even) td { background: #100c08; }

.steps { counter-reset: step; display: grid; gap: 12px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 14px 56px;
  position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 14px; top: 14px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}

.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; margin-bottom: 8px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin: 8px 0 0; line-height: 1.5; }

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cta-row .btn { min-width: 140px; }

.auth-card {
  max-width: 460px; margin: 0 auto 24px; background: var(--card);
  border: 1px solid var(--line); border-radius: 20px; padding: 24px;
}
.auth-card h2 { margin-top: 0; }
label { display: block; font-size: .85rem; margin: 12px 0 6px; color: #ddd; }
input, select {
  width: 100%; background: #100c08; color: #fff; border: 1px solid #3a3228;
  border-radius: 12px; padding: 12px;
}
.auth-card .btn { width: 100%; margin-top: 16px; }
.pay-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.pay {
  border: 1px solid #3a3228; background: #16120e; border-radius: 12px; padding: 12px; text-align: center; cursor: pointer;
}
.pay:hover, .pay.is-on { border-color: var(--gold); }

.edge-list { margin: 0 0 1.2em; padding-left: 1.1em; }
.edge-list li { margin: 0 0 .7em; }

.footer {
  background: #080706; border-top: 1px solid #1a140c; padding: 32px 22px 48px;
  color: var(--muted); font-size: .88rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; max-width: 1240px; }
.footer a:hover { color: #fff; }
.footer h3 { color: #fff; font-size: .95rem; margin: 0 0 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 6px 0; }
.legal { margin-top: 24px; max-width: 1240px; line-height: 1.5; }

.chat {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%; border: 0;
  background: var(--gold); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.45);
}

.overlay { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (max-width: 1100px) {
  .games { grid-template-columns: repeat(3, 1fr); }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .stage { padding-left: 0; }
  .sidebar {
    display: none; position: fixed; inset: 0 auto 0 0;
    height: 100vh; width: min(244px, 86vw);
  }
  body.nav-open .sidebar { display: flex; }
  .overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.55); z-index: 30;
  }
  body.nav-open .overlay { display: block; }
  .billboard { aspect-ratio: 16 / 10; max-height: none; min-height: 280px; }
  .slide-copy {
    max-width: 100%;
    padding: 28px 20px 48px;
    background: linear-gradient(180deg, rgba(12,10,8,.88) 0%, rgba(12,10,8,.35) 100%);
  }
  .slide-figure { max-width: 58%; height: 78%; }
  .wrap > :not(.billboard):not(.strip) { margin-left: 12px; margin-right: 12px; }
  .page-hero { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
  .hero-mark { min-height: 140px; }
  .hero-art { min-height: 200px; }
  .hero-art img { min-height: 200px; }
}
@media (max-width: 760px) {
  .main { padding: 0 0 90px; }
  .games, .grid-4, .grid-3, .grid-2, .feat-grid { grid-template-columns: 1fr 1fr; }
  .header { padding: 0 12px; }
  .header .btn { min-height: 36px; padding: 0 12px; font-size: .82rem; }
}
