:root {
  --bg: #1a120c;
  --bg-2: #24180f;
  --panel: #2c2116;
  --panel-2: #3a2a1b;
  --line: #6a4a2c;
  --text: #fff6e8;
  --muted: #d7c3a4;
  --sky: #7ec8ea;
  --sand: #e2b15a;
  --sand-2: #c4843a;
  --tire: #1c1c1c;
  --play: #2fce5a;
  --danger: #e07a4a;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  --font: "Golos Text", "Segoe UI", sans-serif;
  --display: "Tektur", "Golos Text", sans-serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 480px at 8% -8%, rgba(126, 200, 234, 0.18), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(226, 177, 90, 0.16), transparent 50%),
    linear-gradient(180deg, #2a1c12 0%, var(--bg) 280px);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--sky); }
a:hover { color: #c5ecff; }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 8px; top: 8px; background: #fff; color: #000; padding: 8px; z-index: 9; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(26, 18, 12, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner, .wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 74px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); margin-right: auto;
}
.brand img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; animation: tire 5.5s ease-in-out infinite; }
.brand-name {
  font-family: var(--display); font-size: 1.02rem; letter-spacing: 0.04em; line-height: 1.05;
}
.brand-name small { display: block; color: var(--sand); font-size: 0.68rem; letter-spacing: 0.14em; margin-top: 2px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: flex-end; }
.site-nav a { color: var(--text); text-decoration: none; font-size: 0.84rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--sand); }
.header-right, .m-row-actions { display: flex; align-items: center; gap: 8px; }
.m-row-actions { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 999px; padding: 0.55rem 0.95rem; font-weight: 700;
  text-decoration: none; cursor: pointer; font-family: inherit;
}
.btn-bonus, .btn-ext {
  background: linear-gradient(180deg, #6af596 0%, #22c84f 52%, #129338 100%);
  color: #04210e;
  box-shadow: 0 8px 18px rgba(31, 191, 74, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-bonus:hover, .btn-ext:hover { color: #04210e; background: linear-gradient(180deg, #86f8ab 0%, #34e264 52%, #16aa42 100%); }
.menu-btn { display: none; background: var(--panel); color: var(--text); border: 1px solid var(--line); }
.eyebrow { color: var(--sand); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin: 22px 0 0; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 0.35rem 0 0.7rem; }
h2 { font-size: clamp(1.28rem, 2vw, 1.65rem); margin: 1.7rem 0 0.55rem; }
h3 { font-size: 1.12rem; margin: 1.15rem 0 0.35rem; }
h4 { font-size: 1rem; margin: 0.9rem 0 0.3rem; color: var(--sand); }
.lede { font-size: 1.12rem; color: #fff1d8; }
.lead-shot { margin: 0.4rem 0 0.2rem; text-align: center; }
.lead-shot figure, .hero-shot { margin: 0 auto 0.2rem; }
.editorial-shot, .hero-shot { margin: 16px auto 20px; }
.editorial-shot img, .hero-shot img, .lead-shot img {
  width: 100%; height: auto; display: block;
  border-radius: 16px; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.editorial-shot.tall { max-width: 360px; }
.shot-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin: 14px auto 20px; max-width: 760px;
}
.shot-row .editorial-shot,
.shot-row .editorial-shot.tall { width: min(360px, 100%); max-width: 360px; margin: 0; }
.shot-row .editorial-shot.tall img { height: 320px; object-fit: cover; object-position: center 18%; }
figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 6px; text-align: center; }
.play-cta { display: flex; justify-content: center; margin: 0.85rem 0 1.1rem; }
.specs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 8px;
}
.spec {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
}
.spec b { display: block; color: var(--sand); font-family: var(--display); }
.spec span { color: var(--muted); font-size: 0.82rem; }
.prose p { margin: 0 0 0.95rem; }
.note {
  background: #3a2a14; border-left: 3px solid var(--sand);
  padding: 12px 14px; border-radius: 0 12px 12px 0; margin: 14px 0;
}
.table-scroll { overflow-x: auto; margin: 12px 0 18px; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 640px; }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: 8px 10px; vertical-align: top; }
th { color: var(--sand); font-weight: 700; }
.steps { padding-left: 1.2rem; }
.steps li, .facts li { margin: 0.35rem 0; }
.simple-toc-details { margin: 18px 0 8px; }
.simple-toc-details details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px;
}
.toc-summary { cursor: pointer; font-weight: 800; color: var(--sand); }
.simple-toc-details .toc-list { margin: 10px 0 4px; padding: 0; }
.simple-toc-details .toc-list li {
  display: flex; align-items: flex-start; gap: 0.55rem; list-style: none; margin: 0.25rem 0;
}
.simple-toc-details .toc-list li::before {
  content: ""; flex: 0 0 7px; width: 7px; height: 7px; margin-top: 0.55em;
  border-radius: 50%; position: static; background: var(--sand);
}
.simple-toc-details .toc-list a { flex: 1 1 auto; min-width: 0; color: var(--text); }
.simple-toc-details .toc-list ul { margin: 0.15rem 0 0.15rem 0.2rem; padding: 0; flex: 1 1 auto; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0 20px; }
.related-card {
  display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px; text-decoration: none; color: var(--text);
}
.related-card:hover { border-color: var(--sand); }
.author-box {
  display: grid; grid-template-columns: 180px 1fr; gap: 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px; margin: 28px 0;
}
.author-box img { width: 180px; height: auto; border-radius: 12px; }
.certs { display: flex; gap: 12px; flex-wrap: wrap; }
.certs img { width: 180px; height: auto; border-radius: 8px; }
.site-footer { border-top: 1px solid var(--line); margin-top: 36px; padding: 28px 0 48px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.site-footer a { display: block; margin: 4px 0; }
.site-sidebar { display: none; }
#sidebar-drawer { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
#sidebar-drawer.open { pointer-events: auto; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .2s; }
#sidebar-drawer.open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-panel {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .25s ease; padding: 18px;
  overflow: auto; z-index: 60;
}
#sidebar-drawer.open .drawer-panel { transform: none; }
.casino-row { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin: 10px 0; }
.casino-row h3 { margin: 0 0 6px; }
.drawer-close { background: transparent; color: var(--text); border: 1px solid var(--line); }
@keyframes tire { 50% { transform: translateY(-6px) rotate(-8deg); } }
@media (max-width: 980px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 12px 16px 16px;
  }
  .menu-btn { display: inline-flex; }
  .header-right { display: none; }
  .header-inner {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    position: relative; min-height: 56px; height: 56px; padding: 0 12px; gap: 8px;
  }
  .brand { min-width: 0; margin-right: 0; max-width: calc(100vw - 190px); height: 56px; overflow: hidden; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 0.78rem; white-space: nowrap; }
  .m-row-actions {
    display: flex; position: absolute; right: 10px; top: 0; height: 56px; align-items: center; gap: 6px;
  }
  .m-row-actions .btn-bonus, .m-row-actions .menu-btn { height: 34px; min-height: 34px; padding: 0 10px; font-size: 0.78rem; }
  .specs, .related-grid, .footer-grid, .author-box { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .specs, .related-grid, .footer-grid, .author-box { grid-template-columns: 1fr; }
  .shot-row { max-width: 360px; }
  .shot-row .editorial-shot.tall img { height: 240px; }
  .author-box { justify-items: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .brand img { animation: none; }
  html { scroll-behavior: auto; }
}
