:root {
  --ink: #120f10;
  --head: #1c1818;
  --gold: #d4a779;
  --wine: #3d1210;
  --text: #f0e8d8;
  --muted: #bdb2a2;
  --panel: #211b1b;
  --panel-2: #241d1c;
  --border: #473a32;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-family: Roboto, Arial, sans-serif;
  line-height: 1.6;
}
body.menu-open {
  overflow: hidden;
}
img,
svg,
video,
iframe {
  max-width: 100%;
}
img,
video {
  height: auto;
}
a,
button,
input,
textarea,
select {
  font: inherit;
}
p,
li,
th,
td,
a,
h1,
h2,
h3,
h4 {
  overflow-wrap: anywhere;
}
.wrapper {
  min-height: 100vh;
  padding-bottom: 72px;
}
.container {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
  min-width: 0;
}
main {
  min-width: 0;
}
main > section,
main > .content-review,
main > .content-box {
  margin-top: 30px;
}
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 24, 24, 0.98);
  box-shadow: 0 2px 18px #0008;
  backdrop-filter: blur(10px);
}
.nav-wrap {
  width: min(100% - 32px, 1380px);
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-wrap > a {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}
.nav {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.nav a,
footer a {
  color: var(--text);
  text-decoration: none;
}
.nav a {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
}
.nav a:hover,
footer a:hover {
  color: var(--gold);
}
.actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  padding: 11px 18px;
  border: 0;
  border-radius: 7px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn-primary {
  background: var(--gold);
  color: #24180f;
}
.btn-secondary {
  background: var(--wine);
  color: #fff;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}
.burger {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #271f1f;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.online {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--gold);
  white-space: nowrap;
}
.hero-block {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 58px 0;
  overflow: hidden;
  background-color: #271a18;
}
.hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 15, 16, 0.9) 0%, rgba(18, 15, 16, 0.62) 58%, rgba(18, 15, 16, 0.3) 100%);
  pointer-events: none;
}
.hero-block > .container {
  position: relative;
  z-index: 1;
}
.hero-block h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.12;
}
.hero-block p {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: 18px;
}
.section-title {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
  color: var(--gold);
}
.cards,
.game-grid,
.stats,
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  min-width: 0;
}
.card,
.content-box,
.faq-item,
.info-panel,
.content-review,
.technical-content {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 25px #0004;
}
.card,
.content-box,
.info-panel {
  padding: 22px;
}
.card {
  width: 100%;
}
.card h3,
.game-card h3 {
  margin-top: 0;
  color: var(--gold);
}
.card > :last-child,
.content-box > :last-child,
.info-panel > :last-child,
.content-review > :last-child,
.technical-content > :last-child {
  margin-bottom: 0;
}
.game-card {
  min-width: 0;
  padding: 18px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 20px #0003;
}
.game-card h3 {
  margin-bottom: 5px;
}
.content-review,
.technical-content {
  width: 100%;
  padding: clamp(20px, 4vw, 34px);
  overflow: hidden;
}
.content-review h1,
.technical-content h1 {
  margin-top: 0;
  line-height: 1.18;
}
.content-review h2,
.technical-content h2 {
  margin-top: 32px;
  color: var(--gold);
  line-height: 1.25;
}
.content-review h3,
.technical-content h3 {
  margin-top: 26px;
  line-height: 1.3;
}
.content-review a,
.technical-content a {
  color: var(--gold);
}
.content-review ul,
.content-review ol,
.technical-content ul,
.technical-content ol {
  max-width: 100%;
  padding-left: 24px;
}
table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  background: #1c1717;
}
th,
td {
  padding: 13px;
  border: 1px solid #4a3b32;
  text-align: left;
  vertical-align: top;
}
th {
  color: var(--gold);
}
.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.content-review > table,
.technical-content > table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.content-review > table tbody,
.technical-content > table tbody {
  display: table;
  width: 100%;
  min-width: 560px;
}
.faq-item {
  padding: 0;
  margin: 12px 0;
  overflow: hidden;
}
.faq-question {
  min-width: 0;
  padding: 17px;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.faq-question span {
  flex: 0 0 auto;
}
.faq-answer {
  display: none;
  padding: 0 17px 17px;
  color: var(--muted);
}
.faq-item.open .faq-answer {
  display: block;
}
.faq-item.open .faq-question {
  color: var(--gold);
}
.widget {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 16px;
  background: rgba(42, 32, 32, 0.97);
  box-shadow: 0 -4px 18px #0006;
  text-align: center;
}
.widget .btn {
  margin: 0;
}
footer {
  margin-top: 50px;
  padding: 45px 0 34px;
  background: var(--head);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) repeat(2, minmax(200px, 1fr));
  gap: 35px;
}
.footer-col {
  min-width: 0;
}
.footer-col .logo {
  width: 250px;
}
.footer-col h3 {
  color: var(--gold);
}
.pill {
  display: inline-block;
  max-width: 100%;
  padding: 7px 10px;
  margin: 4px 2px;
  background: #352a27;
  border-radius: 5px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.muted {
  color: var(--muted);
}
.fade-target {
  opacity: 1;
}
.xk7b2,
.qr9m4,
.vanta88,
.zelo3,
.norp6 {
  display: none;
}
@media (max-width: 1280px) {
  .burger {
    display: inline-flex;
  }
  .nav-wrap {
    min-height: 78px;
  }
  .nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 22px max(20px, calc((100vw - 760px) / 2));
    overflow-y: auto;
    background: rgba(28, 24, 24, 0.995);
    box-shadow: 0 16px 30px #0008;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #3c3230;
    border-radius: 8px;
    background: #241e1e;
    font-size: 16px;
    white-space: normal;
  }
  .online {
    margin-left: auto;
  }
}
@media (max-width: 760px) {
  .wrapper {
    padding-bottom: 88px;
  }
  .container {
    width: min(100% - 30px, 1200px);
  }
  .nav-wrap {
    width: calc(100% - 24px);
    gap: 9px;
  }
  .nav-wrap > a {
    min-width: 0;
  }
  header .logo {
    width: 150px;
  }
  .online {
    display: none;
  }
  .actions {
    margin-left: auto;
  }
  .actions .btn {
    padding: 9px 10px;
    font-size: 12px;
  }
  .actions .btn-secondary {
    display: none;
  }
  .hero-block {
    min-height: 280px;
    padding: 42px 0;
  }
  .hero-block::before {
    background: rgba(18, 15, 16, 0.72);
  }
  .hero-block h1 {
    font-size: clamp(30px, 10vw, 42px);
  }
  .hero-block p {
    font-size: 16px;
  }
  .cards,
  .game-grid,
  .stats,
  .bonus-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .card,
  .game-card,
  .content-box,
  .info-panel {
    width: 100%;
    min-width: 0;
  }
  .content-review,
  .technical-content {
    padding: 20px;
  }
  .content-review > table tbody,
  .technical-content > table tbody {
    min-width: 520px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-col .logo {
    width: 220px;
  }
  .widget {
    min-height: 70px;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .widget .btn {
    flex: 0 1 auto;
    padding: 9px 11px;
    font-size: 12px;
  }
}
@media (max-width: 420px) {
  .container {
    width: calc(100% - 24px);
  }
  .nav-wrap {
    width: calc(100% - 18px);
  }
  .burger {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 25px;
  }
  header .logo {
    width: 126px;
  }
  .actions .btn {
    max-width: 98px;
    padding: 8px 9px;
    font-size: 11px;
  }
  .hero-block h1 {
    font-size: 30px;
  }
  .content-review,
  .technical-content,
  .content-box,
  .info-panel,
  .card,
  .game-card {
    padding: 17px;
    border-radius: 10px;
  }
  th,
  td {
    padding: 10px;
    font-size: 14px;
  }
  .widget {
    flex-wrap: nowrap;
  }
  .widget .btn {
    max-width: 48%;
  }
}

@media (max-width: 1280px) {
  header {
    z-index: 1000;
  }
  .nav-wrap {
    position: relative;
    z-index: 2;
  }
  .burger {
    position: relative;
    z-index: 2102;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .nav {
    position: fixed;
    inset: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 2100;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 88px max(20px, calc((100vw - 760px) / 2)) 28px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #1c1818;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.2s ease;
  }
  .nav a {
    flex: 0 0 auto;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #3c3230;
    border-radius: 9px;
    background: #241e1e;
    font-size: 16px;
    line-height: 1.3;
    white-space: normal;
  }
  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }
  body.menu-open .nav {
    touch-action: pan-y;
  }
}
@media (max-width: 760px) {
  .nav {
    padding: 78px 15px 24px;
  }
}
