:root {
  --bg: #090b0a;
  --bg-2: #0c100e;
  --surface: #141a17;
  --surface-2: #1a211d;
  --surface-3: #222a26;
  --line: #2b342f;
  --green: #1fbf63;
  --green-2: #18a856;
  --green-ink: #05210f;
  --gold: #c9a56a;
  --gold-2: #e8d5a3;
  --text: #f4f6f5;
  --muted: #8d968f;
  --muted-2: #6a736d;
  --danger: #e25b4c;
  --r: 8px;
  --r-lg: 12px;
  --header: 56px;
  --side: 0px;
  --shadow: 0 8px 24px rgba(0, 0, 0, .35);
  --font: Inter, "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: var(--font); }
body {
  min-height: 100%;
  background:
    radial-gradient(1200px 500px at 50% -80px, rgba(31, 191, 99, .08), transparent 55%),
    var(--bg);
  font-size: 15px;
  line-height: 1.45;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }

.wrap {
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus { left: 8px; top: 8px; z-index: 80; background: var(--green); color: #fff; padding: 8px 12px; border-radius: 8px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(9, 11, 10, .92);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
}
.header-in {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 118px;
}
.logo img { width: 132px; height: 32px; }
.nav-main {
  display: none;
  justify-content: center;
  gap: 4px;
}
.nav-main a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
}
.nav-main a:hover,
.nav-main a.is-active { color: var(--text); background: rgba(255,255,255,.05); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  display: grid;
  place-items: center;
}
.icon-btn:hover { background: rgba(255,255,255,.06); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .01em;
  white-space: nowrap;
}
.btn-lg { min-height: 48px; padding: 0 20px; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); }
.btn-gold { background: var(--gold); color: #1a1408; }
.btn-gold:hover { filter: brightness(1.08); }
.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--surface-3); }
.btn-white { background: #fff; color: #111; }
.btn-block { width: 100%; }

.login { display: none; min-height: 40px; padding: 0 14px; }

/* Mobile menu */
.drawer {
  display: none;
  position: fixed;
  inset: var(--header) 0 0 0;
  z-index: 35;
  background: rgba(0,0,0,.55);
}
.drawer.is-open { display: block; }
.drawer-panel {
  width: min(320px, 86vw);
  height: 100%;
  background: #101512;
  border-right: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drawer a {
  padding: 12px 10px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
}
.drawer a:hover { background: var(--surface-2); }

/* Category rail */
.cats {
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: #0b0e0c;
}
.cats-in {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 0;
  scrollbar-width: none;
}
.cats-in::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}
.chip:hover,
.chip.is-on { color: var(--text); background: var(--surface-3); border-color: var(--line); }
.chip svg { width: 14px; height: 14px; }

/* Hero */
.hero { padding: 12px 0 8px; }
.hero-grid {
  display: grid;
  gap: 10px;
}
.hero-banner {
  position: relative;
  min-height: 220px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #121816 center/cover no-repeat;
  isolation: isolate;
}
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,10,9,.92) 0%, rgba(8,10,9,.72) 42%, rgba(8,10,9,.18) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 20px 16px 18px;
  max-width: 560px;
}
.hero-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(22px, 5.4vw, 34px);
  font-weight: 800;
  max-width: 18ch;
}
.hero-lead {
  margin-top: 8px;
  color: #d7ddd9;
  font-size: 14px;
  max-width: 42ch;
}
.offer {
  margin-top: 12px;
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 800;
  color: var(--gold-2);
  letter-spacing: -.03em;
  line-height: 1;
}
.offer span { display: block; color: #fff; font-size: .42em; font-weight: 700; letter-spacing: 0; margin-top: 4px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.terms-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.term {
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.08);
  color: #dce3de;
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 6px;
}
.hero-side { display: grid; gap: 10px; }
.promo {
  position: relative;
  min-height: 104px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #151b18 center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,12,11,.88), rgba(10,12,11,.25));
}
.promo-copy { position: relative; z-index: 1; padding: 14px; }
.promo-copy strong { display: block; font-size: 16px; }
.promo-copy p { color: var(--muted); font-size: 12px; margin: 4px 0 10px; }

/* Trust */
.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0 6px;
}
.trust-item {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 10px 12px;
  min-height: 64px;
}
.trust-item b { display: block; font-size: 14px; }
.trust-item span { color: var(--muted); font-size: 12px; }

/* Lobby */
.lobby { padding: 10px 0 6px; }
.lobby-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.lobby-head h2 { font-size: 18px; }
.lobby-tools { display: flex; align-items: center; gap: 8px; }
.lobby-tools a { color: var(--gold-2); font-size: 13px; font-weight: 600; }
.search {
  width: 160px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 0 10px 0 32px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238d968f' stroke-width='2' viewBox='0 0 24 24'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.5-3.5'/></svg>");
  background-repeat: no-repeat;
  background-position: 10px center;
}
.search::placeholder { color: var(--muted-2); }
.filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.filter.is-on,
.filter:hover { background: #1f6b3e; color: #fff; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.game {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1f1c;
  transform: translateZ(0);
}
.game img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(6, 10, 8, .0);
  opacity: 0;
  transition: .18s ease;
}
.game:hover .game-play,
.game:focus-visible .game-play {
  opacity: 1;
  background: rgba(6, 10, 8, .46);
}
.game-play span {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
}
.game.is-off { display: none; }
.lobby-more { display: flex; justify-content: center; margin: 12px 0 4px; }

/* Sections */
.section { padding: 22px 0; }
.section h2 { font-size: 22px; margin-bottom: 8px; }
.lead { color: var(--muted); margin-bottom: 14px; max-width: 70ch; }
.panel {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 12px;
  padding: 16px;
}
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th, td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { color: var(--muted); font-weight: 600; font-size: 12px; }
.facts { display: grid; gap: 8px; }
.facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.facts b { font-weight: 600; }
.facts span { color: var(--muted); text-align: right; }

.steps {
  display: grid;
  gap: 8px;
  counter-reset: s;
}
.step {
  background: var(--surface);
  border-radius: 10px;
  padding: 14px;
}
.step::before {
  counter-increment: s;
  content: counter(s);
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.step strong { display: inline; }
.step p { color: var(--muted); margin-top: 6px; font-size: 13px; }

.bonus-grid { display: grid; gap: 8px; }
.bonus-card {
  background: var(--surface);
  border-radius: 10px;
  padding: 14px;
}
.bonus-card h3 { font-size: 16px; margin-bottom: 6px; }
.bonus-card p { color: var(--muted); font-size: 13px; }
.note {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 12px;
}

.warn {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(201, 165, 106, .08);
  color: var(--gold-2);
  font-size: 13px;
}

.pay-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px;
}
.pay-list span {
  background: var(--surface-2);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 600;
}

.faq details {
  background: var(--surface);
  border-radius: 10px;
  margin-bottom: 8px;
  padding: 12px 14px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin-top: 8px; font-size: 14px; }

.seo-block {
  padding: 8px 0 28px;
  color: var(--muted);
  font-size: 14px;
}
.seo-block p + p { margin-top: 10px; }
.seo-block a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer {
  background: #070908;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 28px 0 92px;
  color: var(--muted);
  font-size: 13px;
}
.footer-top {
  display: grid;
  gap: 18px;
}
.footer a { color: #cfd6d1; }
.footer a:hover { color: #fff; }
.footer h3 { font-size: 13px; color: #fff; margin-bottom: 8px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.legal { margin-top: 18px; color: var(--muted-2); font-size: 12px; display: grid; gap: 8px; }
.age {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  border-radius: 50%;
  font-weight: 800;
}

.bottom-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(9,11,10,.96) 28%);
}

.page-hero {
  padding: 18px 0 8px;
}
.page-hero h1 { font-size: clamp(24px, 5vw, 36px); margin-bottom: 8px; }
.crumbs { color: var(--muted-2); font-size: 12px; margin-bottom: 10px; }
.crumbs a { color: var(--gold); }

.go-box {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}
.go-box h1 { margin-bottom: 8px; }
.go-box p { color: var(--muted); margin-bottom: 16px; }

@media (min-width: 760px) {
  .wrap { width: min(1240px, calc(100% - 32px)); }
  .burger { display: none; }
  .nav-main { display: flex; }
  .login { display: inline-flex; }
  .hero-grid { grid-template-columns: 1.7fr .9fr; }
  .hero-banner { min-height: 280px; }
  .hero-copy { padding: 28px 24px; }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .bonus-grid, .steps, .footer-top { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .bottom-cta { display: none; }
  .footer { padding-bottom: 32px; }
}

@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(6, 1fr); }
  .hero-banner { min-height: 320px; }
  .search { width: 220px; }
}
