:root {
  --bg: #121214;
  --bg-2: #0c0c0e;
  --card: #1c1c22;
  --line: #2a2a32;
  --red: #e30613;
  --red-2: #ff2a36;
  --text: #fff;
  --muted: #b4b4be;
  --radius: 8px;
  --header-h: 58px;
  --side-w: 250px;
  --font: Montserrat, "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 80; background: var(--red); padding: 8px 12px; }
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: #000;
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; gap: 16px;
  padding: 0 16px;
}
.logo { flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-kw {
  margin: 0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: #fff;
  white-space: nowrap;
}
.logo img { height: 32px; width: auto; image-rendering: auto; }
.nav {
  display: flex; align-items: center; gap: 4px;
  flex: 1; min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.top-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 8px;
  font-weight: 700; font-size: .78rem;
  white-space: nowrap; color: #ddd;
}
.top-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.top-link:hover { color: #fff; background: #ffffff0d; }
.top-link.is-on { color: #fff; background: #e3061326; }
.top-link.is-on svg { color: var(--red); }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang { display: flex; border: 1px solid #fff3; border-radius: 6px; overflow: hidden; }
.lang a {
  padding: 5px 9px; font-size: .68rem; font-weight: 800; color: var(--muted);
}
.lang a.is-on { background: var(--red); color: #fff; }
.menu-btn {
  display: none; width: 40px; height: 40px; border: 0; border-radius: 6px;
  background: transparent; color: #fff; cursor: pointer;
}
.overlay { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 16px; border-radius: 6px; border: 0;
  font-weight: 800; font-size: .78rem; letter-spacing: .04em;
  text-transform: uppercase; cursor: pointer; white-space: nowrap;
}
.btn-ghost { background: transparent; border: 1px solid #fff; color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); }
.btn-lg { min-height: 48px; padding: 0 26px; font-size: .95rem; }

.stage { display: flex; align-items: flex-start; min-height: calc(100vh - var(--header-h)); }
.side {
  position: sticky; top: var(--header-h);
  width: var(--side-w); flex-shrink: 0;
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background: #121214;
  padding: 12px 10px 24px;
  scrollbar-width: thin;
}
.side-auth { display: none; gap: 8px; margin-bottom: 14px; }
.side-auth .btn { flex: 1; }
.side-link, .side-acc summary {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 10px; color: #eee;
  background: #1c1c22;
  font-size: .82rem; font-weight: 700;
  cursor: pointer;
}
.side-link svg, .side-acc summary svg { width: 18px; height: 18px; flex-shrink: 0; color: #c8c8d0; }
.side-acc summary.ico-cas svg { color: var(--red); }
.side-link:hover, .side-acc summary:hover { background: #25252c; color: #fff; }
.side-acc { margin: 0; }
.side-acc summary {
  list-style: none;
  justify-content: flex-start;
  position: relative;
}
.side-acc summary span { flex: 1; }
.side-acc summary::-webkit-details-marker { display: none; }
.side-acc summary::after { content: "▾"; font-size: .7rem; color: #888; margin-left: auto; }
.side-acc a {
  display: block; padding: 8px 12px 8px 40px;
  color: #aaa; font-size: .78rem; font-weight: 600;
  border-radius: 8px; margin: 0 0 4px;
}
.side-acc a:hover { color: #fff; background: #1c1c22; }
.side-duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 12px 0 8px;
}
.side-duo a, .side-shop {
  display: flex; align-items: flex-end;
  min-height: 76px; padding: 10px;
  border-radius: 10px; font-size: .68rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  background: #1c1c22;
}
.side-duo a:first-child { background: linear-gradient(145deg, #2a1830, #1c1c22); }
.side-duo a:last-child { background: linear-gradient(145deg, #18301c, #1c1c22); }
.side-shop {
  width: 100%;
  margin-bottom: 8px;
  background: linear-gradient(145deg, #3a1840, #1c1c22);
}
.side-lang { display: none; margin-top: 16px; }
main { flex: 1; min-width: 0; padding-bottom: 24px; }

.hero {
  position: relative;
  width: 100%;
  margin: 12px 0 0;
  aspect-ratio: 2.35 / 1;
  min-height: 260px;
  max-height: 380px;
  overflow: hidden;
  background: #050508;
  border-radius: 16px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: none;
}
.hero-slide.is-on { display: block; }
.hero-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: 58% center;
}
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #000a 0%, #0006 28%, #0000 58%);
  pointer-events: none;
}
.hero-copy {
  position: absolute; z-index: 1;
  left: 28px; top: 50%;
  transform: translateY(-50%);
  max-width: min(480px, 46%);
  text-align: left;
}
.hero-copy .kicker {
  margin: 0 0 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.hero-copy h1 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3.4vw, 2.45rem);
  line-height: 1.08;
}
.hero-copy .tagline { margin: 0 0 16px; font-size: .95rem; color: #eee; font-weight: 600; }
.hero-copy .offer {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.08;
}
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center; gap: 7px; z-index: 2;
}
.hero-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0;
  background: #fff5; padding: 0; cursor: pointer;
}
.hero-dots button.is-on { background: var(--red); }
.hero-next {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: #ffffff22; color: #fff; cursor: pointer;
  font-size: 1.15rem; line-height: 1;
}
.hero-next:hover { background: #ffffff38; }

.cats {
  display: flex; align-items: center; gap: 2px;
  width: 100%;
  margin: 10px 0 0;
  padding: 6px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  background: #1a1a20;
  border-radius: 12px;
}
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: 0 0 auto;
  display: flex; flex-direction: row; align-items: center; gap: 8px;
  padding: 10px 12px;
  color: #eee; font-size: .78rem; font-weight: 700;
  white-space: nowrap;
  border-radius: 8px;
}
.cat svg { width: 18px; height: 18px; flex-shrink: 0; }
.cat:hover { color: #fff; background: #ffffff0d; }
.cat-prov {
  margin-left: auto;
  background: #25252c;
  padding: 10px 14px;
}

.pays {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 18px 20px; margin-top: 8px;
}
.pays span {
  padding: 8px 12px; border-radius: 6px; background: #1a1a20;
  font-size: .7rem; font-weight: 800; letter-spacing: .05em; color: #ccc;
}

.section { padding: 22px 0; }
.section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 12px;
}
.section-head h2, .section-head h3, .section-head .row-title {
  margin: 0; font-size: 1.15rem; font-weight: 800;
}
.rail-tools { display: flex; align-items: center; gap: 8px; }
  .see-all {
  display: inline-flex; align-items: center;
  min-height: 28px; padding: 0 12px; border: 1px solid #fff3; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.rail-btn {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid #fff3;
  background: #1a1a20; color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.lobby-grid, .catalog {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.row-title { display: flex; align-items: center; gap: 8px; margin: 0; }
.row-ico { width: 20px; height: 20px; flex-shrink: 0; }

.game {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  transition: transform .16s ease;
}
.game:hover { transform: scale(1.03); z-index: 2; }
.catalog {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.game img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.game .tag {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  padding: 3px 8px; border-radius: 4px; font-size: .6rem; font-weight: 800;
  background: #3ee0a0; color: #111; letter-spacing: .04em;
}
.game .tag.top { background: #2dd4bf; }
.game .tag.ex { background: #c084fc; color: #111; }
.game .tag.new { background: #4ade80; }
.game-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 28px 8px 10px;
  background: linear-gradient(transparent, #000d 58%);
  text-align: center;
}
.game-name {
  display: block; font-weight: 800; font-size: .7rem;
  letter-spacing: .03em; text-transform: uppercase; line-height: 1.2;
}
.game-sub {
  display: block; margin-top: 2px;
  font-size: .56rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
}
.game-prov {
  display: block; margin-top: 3px; color: #c8c8d0;
  font-size: .56rem; letter-spacing: .05em; text-transform: uppercase;
}

.wide-banner {
  position: relative;
  display: grid;
  min-height: 200px;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0c;
}
.wide-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.wide-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #000b 0%, #0006 46%, #0001 78%);
}
.wide-copy {
  position: relative; z-index: 1;
  padding: 28px 24px;
  max-width: 520px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.wide-copy .kicker { margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wide-copy h2, .wide-copy h3, .wide-copy .wide-title {
  display: block; margin: 0 0 8px; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.1; font-weight: 800;
}
.wide-copy p { margin: 0 0 16px; color: #eee; }
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.duo .wide-banner { min-height: 180px; }
.studios {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.studios a {
  padding: 10px 14px; border-radius: 6px; background: #1a1a20;
  font-size: .75rem; font-weight: 800; letter-spacing: .04em;
}
.studios a:hover { background: #24242c; }
.focus {
  display: flex; gap: 18px; overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0;
}
.focus::-webkit-scrollbar { display: none; }
.focus-item {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 10px;
  color: #ddd; font-size: .78rem; font-weight: 700;
  white-space: nowrap;
}
.focus-item img {
  width: 42px; height: 56px; object-fit: cover; border-radius: 6px;
}

.wide-copy .code {
  display: inline-flex; flex-direction: column;
  margin-top: 4px; padding: 8px 12px;
  border-radius: 8px; border: 1px solid #fff6;
  background: #0008;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
}
.wide-copy .code b { font-size: .95rem; letter-spacing: .12em; }
.coll-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.coll {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}
.coll img { width: 100%; height: 100%; object-fit: cover; }
.coll span {
  position: absolute; left: 12px; bottom: 10px; z-index: 1;
  font-weight: 800; font-size: .95rem;
  text-shadow: 0 1px 8px #000;
}
.prov-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.prov-grid a {
  display: grid; place-items: center;
  min-height: 64px; padding: 10px 8px;
  border-radius: 10px; background: #1a1a20;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-align: center;
}
.seo { padding: 8px 0 28px; }
.seo h2 { margin: 0 0 12px; font-size: 1.35rem; }
.seo h3 { margin: 22px 0 10px; font-size: 1.08rem; }
.seo p, .seo li { color: #c8c8d0; line-height: 1.7; margin: 0 0 12px; }
.seo-more { margin-top: 8px; }
.seo-more summary { cursor: pointer; font-weight: 800; color: #fff; }
.cookie {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 60;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  background: #1c1c22; border: 1px solid #fff2;
  font-size: .78rem; font-weight: 700;
}
.cookie[hidden] { display: none; }
.cookie button { border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 1.1rem; }
.cookie a { color: #4ade80; }

.split {
  display: grid; grid-template-columns: 1fr 1.15fr;
  min-height: 200px; border-radius: var(--radius); overflow: hidden;
  background: #0a0a0c;
}
.split-copy { padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.split-copy .kicker { margin: 0 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.split-copy h1, .split-copy h2 { margin: 0 0 8px; font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.1; }
.split-copy p { margin: 0 0 16px; color: #ddd; }
.split img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.prose .split { margin: 0 0 22px; }

.why { background: var(--bg-2); }
.why-card {
  background: var(--card); border-radius: var(--radius); padding: 20px;
}
.why-card h3 { margin: 0 0 8px; }
.why-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.grid-why { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-row { text-align: center; padding: 8px 0 12px; }

.prose { padding-top: 8px; }
.prose h1, .prose h2 { line-height: 1.2; }
.prose p, .prose li { color: #ddd; line-height: 1.65; }
.prose ul { margin: 0 0 20px; padding-left: 1.25em; }
.prose li { margin: 0 0 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 0 0 20px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.prose th { color: #fff; }
.crumbs { font-size: .78rem; color: var(--muted); margin: 16px 0 18px; }
.crumbs ol { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #555; }
.faq details { background: var(--card); border-radius: 8px; padding: 12px 14px; margin-bottom: 8px; }
.faq summary { font-weight: 800; cursor: pointer; }
code { font-family: inherit; font-weight: 800; color: #fff; }

.footer { background: #000; border-top: 1px solid var(--line); padding: 36px 0 20px; font-size: .82rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(6, minmax(0, 1fr)); gap: 18px; }
.footer h3 { margin: 0 0 10px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 6px; }
.footer p { color: var(--muted); line-height: 1.5; }
.legal { margin-top: 22px; color: var(--muted); line-height: 1.55; font-size: .76rem; }
.age { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 2px solid #fff; border-radius: 50%; font-weight: 800; margin-top: 12px; }
.foot-brand { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .lobby-grid, .catalog { grid-template-columns: repeat(4, 1fr); }
  .coll-grid, .prov-grid { grid-template-columns: repeat(3, 1fr); }
  .nav .top-link span { display: none; }
  .top-link { padding: 8px; }
}
@media (max-width: 980px) {
  .menu-btn { display: grid; place-items: center; }
  .nav { display: none; }
  .side {
    position: fixed; left: 0; top: var(--header-h); bottom: 0;
    z-index: 46; transform: translateX(-105%);
    transition: transform .2s ease;
  }
  body.nav-open .side { transform: none; }
  body.nav-open .overlay {
    display: block; position: fixed; inset: 0; background: #0008; z-index: 40;
  }
  .side-auth, .side-lang { display: flex; }
  .side-lang a {
    flex: 1; text-align: center; padding: 8px;
    border: 1px solid #fff2; border-radius: 6px; font-weight: 800; font-size: .75rem;
  }
  .side-lang a.is-on { background: var(--red); }
  .brand { margin: 0 auto; }
  .header-kw { font-size: .62rem; }
  .header-tools .lang { display: none; }
  .lobby-grid, .catalog { grid-template-columns: repeat(3, 1fr); }
  .hero { min-height: 200px; max-height: 280px; }
  .hero-copy { left: 16px; max-width: 62%; }
}
@media (max-width: 720px) {
  .duo, .grid-why, .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lobby-grid, .catalog, .coll-grid, .prov-grid { grid-template-columns: repeat(2, 1fr); }
  .split img { min-height: 150px; max-height: 190px; }
  .header-tools .btn-ghost { display: none; }
  .wrap { padding-left: 14px; padding-right: 14px; }
  .hero { min-height: 180px; max-height: 220px; aspect-ratio: 1.7 / 1; }
  .hero-copy h1 { font-size: 1.2rem; }
  .hero-next { display: none; }
}
