:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --ink: #172033;
  --muted: #627084;
  --line: #dfe5ee;
  --brand: #0d8b72;
  --brand-dark: #076956;
  --accent: #f4b740;
  --danger: #b54708;
  --radius: 8px;
  --shadow: 0 12px 30px rgba(23, 32, 51, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { max-width: 100%; height: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.wrap { width: min(100% - 32px, 1160px); margin-inline: auto; }
.topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  text-decoration: none;
}
.brand-logo {
  width: 188px;
  height: 46px;
  display: block;
}
.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}
.nav {
  order: 3;
  width: 100%;
  display: none;
  padding: 0 0 14px;
}
.nav.is-open { display: grid; gap: 8px; }
.nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}
.nav a:hover { background: #edf8f5; color: var(--brand-dark); }
main { display: block; }
.hero {
  background: #102538;
  color: #fff;
  padding: 36px 0 30px;
}
.hero-grid { display: grid; gap: 22px; align-items: center; }
.eyebrow {
  color: #91e6d4;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: 0; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 9vw, 3.8rem); max-width: 900px; }
h2 { font-size: clamp(1.55rem, 6vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 14px; }
.lead { color: rgba(255,255,255,.84); font-size: 1.07rem; max-width: 760px; }
.hero-art {
  min-height: 240px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 75% 20%, rgba(244,183,64,.35), transparent 32%),
    linear-gradient(135deg, #164765, #0d8b72);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.phone {
  width: min(230px, 72vw);
  aspect-ratio: 9 / 16;
  border: 10px solid #071522;
  border-radius: 28px;
  background: #f7f8fb;
  box-shadow: 0 26px 50px rgba(0,0,0,.22);
  padding: 18px;
  color: var(--ink);
}
.phone-screen { display: grid; gap: 10px; }
.phone-card {
  min-height: 54px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
}
.actions, .button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}
.btn.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.gold { background: var(--accent); color: #251600; }
.section { padding: 34px 0; }
.section-head { max-width: 800px; margin-bottom: 18px; }
.muted { color: var(--muted); }
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { padding: 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0; }
tr:last-child td { border-bottom: 0; }
.logo-cell { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.casino-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 8px;
  background: #102538;
  object-fit: contain;
  display: block;
}
.rating { color: #9b6400; font-weight: 900; white-space: nowrap; }
.os { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.grid { display: grid; gap: 14px; }
.cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.card.compact { box-shadow: none; }
.slot-tile {
  overflow: hidden;
  padding: 0;
  text-decoration: none;
}
.slot-tile img {
  width: 100%;
  aspect-ratio: 510 / 436;
  object-fit: contain;
  display: block;
  background: #071522;
}
.slot-tile-body {
  min-height: 92px;
  padding: 18px 22px;
  text-align: center;
}
.slot-tile h3 {
  max-width: 100%;
  margin-bottom: 6px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.bonus-value { font-size: 1.75rem; line-height: 1; font-weight: 900; color: var(--brand-dark); margin-bottom: 8px; }
.icon-title { display: flex; align-items: center; gap: 10px; }
.step { counter-increment: step; position: relative; padding-left: 56px; }
.step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.steps { counter-reset: step; }
.hub-card { min-height: 132px; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; }
.game-demo {
  background: #071522;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(0,0,0,.18);
}
.game-art {
  background: #071522;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(0,0,0,.18);
}
.game-art .demo-frame {
  aspect-ratio: 510 / 436;
  min-height: 0;
  padding: 0;
  background: #071522;
}
.game-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.demo-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background: #102538;
}
.mode-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
}
.mode-toggle button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  background: transparent;
  color: #d7dee8;
  font: inherit;
  font-weight: 800;
}
.mode-toggle button.is-active {
  background: #fff;
  color: var(--ink);
}
.demo-frame {
  aspect-ratio: 16 / 10;
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 68% 28%, rgba(244,183,64,.28), transparent 28%),
    linear-gradient(135deg, #102538, #0d8b72);
}
.demo-reels {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.demo-reels span {
  min-height: 72px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 900;
}
.spec-table th { width: 38%; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 0 14px;
}
.faq summary {
  min-height: 52px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: 800;
}
.site-footer {
  padding: 28px 0;
  background: #0e1724;
  color: #d7dee8;
}
.footer-grid { display: grid; gap: 16px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #d7dee8;
  text-decoration: none;
  font-weight: 700;
}
.footer-nav a:hover { color: #91e6d4; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 4px 10px;
  font-weight: 800;
}
.breadcrumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.article-layout { display: grid; gap: 24px; }
.casino-layout { padding: 34px 0; }
aside { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.page-meta {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.meta-grid {
  display: grid;
  gap: 16px;
}
.author-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.author-card img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}
.article-author {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.author-name {
  margin: 0;
  font-weight: 900;
}
.date-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: .94rem;
}
.toc {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8fb;
}
.toc summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 900;
}
.toc ol {
  margin: 0;
  padding: 0 16px 14px 34px;
}
.toc a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
@media (min-width: 760px) {
  .wrap { width: min(100% - 48px, 1160px); }
  .menu-toggle { display: none; }
  .brand { flex: 0 0 auto; }
  .topbar { min-height: 72px; }
  .nav {
    order: initial;
    width: auto;
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 4px;
    padding: 0;
  }
  .nav a {
    padding-inline: 8px;
    font-size: .92rem;
    white-space: nowrap;
  }
  .hero { padding: 54px 0 46px; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); }
  .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
  .meta-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: center; }
  .footer-nav { grid-column: 1 / -1; }
}
@media (max-width: 759px) {
  .brand { max-width: calc(100% - 58px); }
  .brand-logo { width: 166px; height: 41px; }
  .nav a {
    justify-content: flex-start;
    padding-inline: 12px;
    font-size: 1rem;
  }
  .ranking-table thead { display: none; }
  .ranking-table, .ranking-table tbody, .ranking-table tr, .ranking-table td { display: block; min-width: 0; width: 100%; }
  .ranking-table tr {
    padding: 22px 18px;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 14px;
    text-align: center;
  }
  .ranking-table td {
    border: 0;
    padding: 0;
  }
  .ranking-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  .ranking-table td:not(:first-child) {
    display: grid;
    gap: 4px;
    justify-items: center;
  }
  .ranking-table td:not(:first-child)::before {
    flex: none;
  }
  .ranking-table .logo-cell {
    margin-top: 2px;
    display: grid;
    justify-items: center;
    gap: 10px;
  }
  .ranking-table .casino-logo {
    width: 72px;
    height: 72px;
  }
  .ranking-table .btn {
    width: min(220px, 100%);
    justify-content: center;
  }
  .table-wrap:has(.ranking-table) { overflow-x: visible; }
  .table-wrap:not(:has(.ranking-table)) {
    overflow-x: visible;
  }
  .table-wrap:not(:has(.ranking-table)) table,
  .table-wrap:not(:has(.ranking-table)) thead,
  .table-wrap:not(:has(.ranking-table)) tbody,
  .table-wrap:not(:has(.ranking-table)) tr,
  .table-wrap:not(:has(.ranking-table)) th,
  .table-wrap:not(:has(.ranking-table)) td {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .table-wrap:not(:has(.ranking-table)) thead {
    display: none;
  }
  .table-wrap:not(:has(.ranking-table)) tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .table-wrap:not(:has(.ranking-table)) tr:last-child {
    border-bottom: 0;
  }
  .table-wrap:not(:has(.ranking-table)) th,
  .table-wrap:not(:has(.ranking-table)) td {
    border: 0;
    padding: 7px 16px;
    text-align: left;
  }
  .table-wrap:not(:has(.ranking-table)) tbody th {
    color: var(--ink);
    font-size: 1rem;
    text-transform: none;
  }
  .table-wrap:not(:has(.ranking-table)) td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
  }
}
@media (max-width: 420px) {
  .actions .btn { width: 100%; }
  .ranking-table .btn { width: min(220px, 100%); }
  .ranking-table td:not(:first-child) {
    display: grid;
  }
  .ranking-table td:not(:first-child)::before {
    margin-bottom: 2px;
  }
}
