:root {
  --bg: #E7E2D6;
  --surface: #F7F4EC;
  --ink: #14110E;
  --text: #14110E;
  --muted: #3E3A34;
  --accent: #D52B1E;
  --cta: #D52B1E;
  --accent-2: #0F2744;
  --hot: #D52B1E;
  --ok: #1F8A5B;
  --line: #14110E;
  --radius: 0;
  --shadow: 4px 4px 0 #14110E;
  --shadow-lg: 6px 6px 0 #D52B1E, 12px 12px 0 #0F2744;
  --font: "Space Grotesk", system-ui, sans-serif;
  --display: "Archivo Black", "Space Grotesk", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: clip;
  max-width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); }
h1, h2, h3, .rank-card__name {
  font-family: var(--display);
  letter-spacing: -0.02em;
  font-weight: 400;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: #fff; padding: .5rem; border: 3px solid var(--ink); }
.pilot-glow {
  height: 10px;
  background: var(--ink);
  box-shadow: 0 10px 0 var(--accent);
}
.site-header,
.site-header--brutal,
.site-header--glass {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.25rem;
  padding: .7rem clamp(1rem, 4vw, 2rem);
  background: var(--surface);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 6px 0 var(--accent);
  backdrop-filter: none;
}
.brand-logo { height: 52px; width: auto; background: #fff; border: 3px solid var(--ink); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-left: auto; }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 700; }
.nav-link.is-active { color: var(--accent); }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--surface);
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  font: 700 .9rem var(--font);
  padding: .4rem .7rem;
  cursor: pointer;
}
.badge-18 {
  font: 700 .75rem var(--mono);
  background: var(--ink);
  color: #fff;
  padding: .25rem .45rem;
  border: 2px solid var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.1rem;
  border-radius: 0;
  font-weight: 700;
  text-decoration: none;
  border: 3px solid var(--ink);
  cursor: pointer;
  line-height: 1.1;
}
.btn-primary, .btn-play, .rank-card__cta .btn {
  background: var(--cta);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover, .btn-play:hover, .rank-card__cta .btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  filter: none;
}
.page {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr);
  gap: 0 clamp(1rem, 3vw, 2rem);
  max-width: 76rem;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 3vw, 1.5rem) 3rem;
}
.page-toc--leftfolio {
  position: sticky;
  top: 1rem;
  align-self: start;
  padding: .85rem .85rem .85rem .7rem;
  font-size: .85rem;
  background: var(--surface);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: none;
}
.page-toc__label { font: 700 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.page-toc__link { display: flex; gap: .5rem; padding: .4rem 0; text-decoration: none; color: var(--muted); font-weight: 600; }
.page-toc__link:hover, .page-toc__link.is-current { color: var(--accent); }
.page-toc__dot { width: 8px; height: 8px; border-radius: 0; background: var(--ink); margin-top: .4rem; flex: 0 0 auto; }
.page-toc__link.is-current .page-toc__dot { background: var(--accent); }
.page-toc--mobile {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .15rem .75rem .85rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) transparent;
}
.page-toc--mobile::-webkit-scrollbar { height: 6px; }
.page-toc--mobile::-webkit-scrollbar-thumb { background: var(--ink); }
.page-toc--mobile .page-toc__links {
  display: flex;
  gap: .45rem;
  flex-wrap: nowrap;
  width: max-content;
  padding: 0 .15rem .4rem 0;
}
.page-toc--mobile .page-toc__link {
  white-space: nowrap;
  background: var(--surface);
  border: 3px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  padding: .4rem .65rem;
  color: var(--ink);
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
  min-height: calc(100svh - 6.5rem);
  margin: 0 clamp(.7rem, 2.2vw, 1.4rem) 1.6rem;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.15rem, 4vw, 3.2rem);
  background: #171410;
  color: #FFF8EE;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}
.hero::before { content: none; }
.hero-copy {
  position: relative;
  z-index: 1;
  align-self: stretch;
  width: 100%;
  max-width: min(36rem, 100%);
  padding: 1.15rem 1.25rem 1.2rem;
  background: #14110E;
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 7px 7px 0 var(--accent);
}
.hero > *:not(.hero-background) { position: relative; z-index: 1; }
.hero .kicker {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 .8rem;
  padding: .28rem .55rem;
  background: var(--accent);
  color: #fff;
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 #fff;
  font: 700 .72rem var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 .7rem;
  max-width: 100%;
  color: #fff;
  font-size: clamp(1.85rem, 3.4vw, 3.1rem);
  line-height: 1.02;
  text-shadow: 3px 3px 0 var(--accent);
  overflow-wrap: break-word;
}
.hero .lede {
  margin: 0;
  max-width: none;
  color: #FFFFFF;
  font-size: clamp(1.02rem, 1.4vw, 1.12rem);
  font-weight: 600;
  text-shadow: 2px 2px 0 #000;
}
.hero-actions { margin-top: 1.35rem; }
.hero-cta {
  padding: .95rem 1.35rem;
  font-size: 1.05rem;
  background: var(--cta);
  color: #fff;
}
.hero-author {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: .75rem;
  background: var(--surface);
  color: var(--text);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
}
.hero-author img { width: 72px; height: 72px; object-fit: cover; border: 3px solid var(--ink); }
body[data-commercial="false"] .hero {
  min-height: 0;
  background: var(--surface);
  color: var(--text);
  box-shadow: 6px 6px 0 var(--ink);
}
body[data-commercial="false"] .hero::before { display: none; }
body[data-commercial="false"] .hero h1,
body[data-commercial="false"] .hero .lede { color: var(--text); text-shadow: none; }
body[data-commercial="false"] .hero .kicker { box-shadow: 3px 3px 0 var(--ink); }

.kicker { font: 700 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 .35rem; }
h1 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.05; margin: 0 0 .75rem; }
.lede { font-size: 1.05rem; color: var(--muted); max-width: 62ch; }
.section { padding: 1.75rem 0; border-bottom: 3px solid var(--ink); }
.article-figure {
  margin: 1.15rem 0 1.35rem;
  max-width: 46rem;
}
.article-figure img {
  width: 100%;
  height: auto;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--accent), 12px 12px 0 var(--accent-2);
}
.section.prose p { max-width: 68ch; }
.ranking-block h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin-top: 0; }
.content-table, .pay-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 3px solid var(--ink);
  font-size: .92rem;
}
.content-table th, .content-table td,
.pay-table th, .pay-table td {
  border: 2px solid var(--ink);
  padding: .55rem .45rem;
  text-align: left;
  vertical-align: middle;
}
.content-table th, .pay-table th { background: var(--ink); color: #fff; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.table-scroll { overflow-x: auto; margin: 0 0 1.25rem; }

.rank-cards { display: flex; flex-direction: column; gap: .9rem; margin: 0 0 1.25rem; }
.rank-card,
.rank-card--row {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: .75rem 1rem;
  padding: .9rem 1rem;
  margin: 0;
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: 0;
  box-shadow: 5px 5px 0 var(--ink);
  backdrop-filter: none;
}
.rank-card--row:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--accent);
}
.rank-card__badge {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  font: 700 1rem var(--mono);
  color: #fff;
  background: var(--accent);
  border: 3px solid var(--ink);
}
.rank-card__brand {
  flex: 0 1 11rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  min-width: 8.5rem;
}
.rank-card__logo-link { display: block; line-height: 0; text-decoration: none; }
.rank-card__logo,
.rank-card__brand img.rank-card__logo {
  width: 7rem;
  height: 3.1rem;
  max-height: 3.1rem;
  object-fit: contain;
  background: #fff;
  border: 2px solid var(--ink);
}
.rank-card__id { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; min-width: 0; }
.rank-card__name { margin: 0; font-size: .95rem; line-height: 1.15; }
.rank-card__stars { display: flex; gap: .1rem; line-height: 1; }
.rank-card__star { color: #c8c2b6; font-size: .85rem; }
.rank-card__star.is-on { color: var(--accent); }
.rank-card__features {
  flex: 1 1 8rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .82rem;
  color: var(--muted);
  display: grid;
  gap: .15rem;
}
.rank-card__pays {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .3rem;
  flex: 0 1 auto;
}
.rank-card__pays img {
  width: 2.6rem;
  height: 1.7rem;
  object-fit: contain;
  background: #fff;
  border: 2px solid var(--ink);
}
.rank-card__bonus {
  flex: 1 1 9rem;
  margin: 0;
  font-weight: 700;
  font-size: .92rem;
  min-width: 7rem;
}
.rank-card__bonus-label {
  display: block;
  font: 700 .68rem var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .15rem;
}
.rank-card__cta { flex: 0 0 auto; margin-left: auto; display: flex; align-items: center; }
.rank-card__cta .btn-play { min-width: 8rem; white-space: nowrap; }

.slots-lobby {
  background: #1A1714;
  color: #F6F3EC;
  padding: 1.25rem;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--accent-2);
  border-radius: 0;
}
.slots-lobby__tabs { display: flex; flex-wrap: nowrap; gap: .55rem; overflow-x: auto; margin-bottom: 1rem; padding-bottom: .45rem; }
.slots-lobby__tab {
  flex: 0 0 auto;
  background: #FF5C4D;
  color: #14110E;
  border: 3px solid #14110E;
  box-shadow: 3px 3px 0 #14110E;
  padding: .45rem .8rem;
  border-radius: 0;
  font-weight: 700;
  cursor: pointer;
}
.slots-lobby__tab.is-active {
  background: #fff;
  color: #14110E;
  outline: 3px solid var(--accent);
  outline-offset: 1px;
}
.slots-lobby__grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(var(--slot-cols, 3), minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.slot-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 0;
  overflow: hidden;
}
.slot-tile:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--accent); }
.slot-tile__media { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: .5rem; }
.slot-tile__media img { object-fit: contain; width: 100%; height: auto; }
.slot-tile__name { font-size: .8rem; padding: .4rem .5rem; color: var(--text); text-align: center; font-weight: 700; }
.pay-logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; list-style: none; padding: 0; }
.pay-method { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.pay-method img { width: 2.4rem; height: 1.6rem; object-fit: contain; background: #fff; border: 2px solid var(--ink); }
.cell-good, .yes { color: var(--ok); font-weight: 700; }
.cell-bad { color: #9a2a22; font-weight: 700; }
.deposit-steps { display: flex; gap: .85rem; overflow-x: auto; padding: .5rem .15rem 1.1rem; }
.deposit-steps__card {
  flex: 0 0 min(16rem, 78vw);
  background: var(--surface);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--accent);
  border-radius: 0;
  padding: .85rem;
}
.deposit-steps__num {
  display: inline-flex;
  width: 1.9rem;
  height: 1.9rem;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: 0;
  font-weight: 700;
  margin-bottom: .4rem;
}
.faq .acc-trigger {
  width: 100%;
  text-align: left;
  padding: .85rem 1rem;
  background: var(--surface);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 700;
  cursor: pointer;
  margin-top: .55rem;
}
.faq .acc-panel { padding: 0 1rem 1rem; border: 3px solid var(--ink); border-top: 0; background: var(--surface); }
.author-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  padding: 1.1rem;
  background: var(--surface);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--accent-2);
  margin-top: 1rem;
}
.author-card img { width: 96px; height: 96px; object-fit: cover; border: 3px solid var(--ink); }
.author-hero img { border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--accent); }
.site-footer {
  background: var(--ink);
  color: #F6F3EC;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  margin-top: 2rem;
  border-top: 10px solid var(--accent);
}
.site-footer a { color: #fff; }
.footer-logo { background: #fff; border: 3px solid #fff; padding: .25rem; width: min(200px, 70vw); height: auto; }
.footer-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); max-width: 76rem; margin: 0 auto; }
.legal-line { text-align: center; font-size: .8rem; opacity: .9; margin-top: 1.5rem; }
.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  opacity: 0;
  pointer-events: none;
  border: 3px solid var(--ink);
  background: var(--accent);
  color: #fff;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  font-weight: 700;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

@media (max-width: 1100px) {
  .rank-card__features { display: none; }
}
@media (max-width: 960px) {
  .page { grid-template-columns: 1fr; padding-top: .75rem; }
  .page-toc--leftfolio { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav:not(.is-open) { display: none; width: 100%; }
  .nav.is-open {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
  }
  .nav.is-open .nav-link { border: 3px solid var(--ink); background: #fff; padding: .55rem .7rem; }
  .site-header,
  .site-header--brutal {
    box-shadow: none;
    border-bottom: 6px solid var(--accent);
    padding-inline: .75rem;
    max-width: 100%;
  }
  .brand-logo { height: 40px; max-width: 46vw; }
  .header-cta { padding: .45rem .65rem; font-size: .85rem; box-shadow: 2px 2px 0 var(--ink); }
  .hero {
    width: auto;
    max-width: calc(100% - 1rem);
    min-height: 0;
    margin: .5rem auto 1rem;
    padding: .7rem;
    justify-content: flex-start;
    box-shadow: none;
    border-bottom: 8px solid var(--accent);
  }
  .hero-copy {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    box-shadow: none;
    padding: .95rem .9rem 1rem;
  }
  .hero-background { opacity: 1; object-position: 78% center; }
  .hero h1 { font-size: 1.65rem; max-width: 100%; }
  .hero .lede { font-size: 1rem; max-width: none; color: #fff; }
  .hero-cta { width: 100%; }
  .page { padding-inline: .85rem; max-width: 100%; }
  .article-figure { max-width: 100%; }
  .article-figure img { box-shadow: 4px 4px 0 var(--accent); }
  .table-scroll, .content-table, .pay-table { max-width: 100%; }
  .table-scroll { overflow-x: auto; }
  .slots-lobby { max-width: 100%; box-shadow: none; }
  .site-footer { max-width: 100%; }
  .rank-cards { width: 100%; max-width: 100%; margin-inline: 0; }
  .rank-card,
  .rank-card--row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    text-align: center;
    gap: .45rem .65rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 2.2rem .75rem .9rem;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .rank-card__badge {
    position: absolute;
    top: .55rem;
    left: .55rem;
    width: 1.8rem;
    height: 1.8rem;
    font-size: .8rem;
  }
  .rank-card__brand {
    grid-column: 1 / -1;
    align-items: center;
    width: 100%;
    min-width: 0;
  }
  .rank-card__logo-link { margin-inline: auto; }
  .rank-card__id { align-items: center; width: 100%; }
  .rank-card__name { text-align: center; width: 100%; }
  .rank-card__stars { justify-content: center; }
  .rank-card__features { display: none; }
  .rank-card__pays { grid-column: 1; justify-content: center; flex-wrap: wrap; width: 100%; min-width: 0; }
  .rank-card__bonus { grid-column: 2; text-align: center; min-width: 0; width: 100%; font-size: .84rem; }
  .rank-card__cta { grid-column: 1 / -1; width: 100%; margin: .15rem 0 0; }
  .rank-card__cta .btn-play { width: 100%; }
  .pay-logos { grid-template-columns: repeat(2, 1fr); }
  .slots-lobby__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .author-card { grid-template-columns: 72px 1fr; }
}
@media (max-width: 420px) {
  .hero { min-height: auto; }
  .hero h1 { font-size: 1.7rem; }
}

@media (max-width: 980px) {
  html, body { overflow-x: clip; max-width: 100%; }
  body { padding-right: 3.35rem; }
  .page {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: .75rem;
  }
  #main, .section, .ranking-block, .rank-cards, .hero, .hero-copy,
  .site-header, .site-footer, .slots-lobby, .table-scroll,
  .article-figure, .author-card, .faq, .prose {
    max-width: 100%;
    min-width: 0;
  }
  h1, h2, h3, p, li, .lede, .ranking-block h2 {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .ranking-block h2 { font-size: 1.35rem; }
  .page-toc--mobile {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding: .25rem .75rem .7rem;
  }
  .page-toc--mobile .page-toc__links {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    gap: .4rem;
    padding: 0;
  }
  .rank-card, .rank-card--row, .hero, .hero-copy, .btn, .btn-play,
  .page-toc__link, .slots-lobby, .slot-tile, .deposit-steps__card,
  .faq .acc-trigger, .author-card, .article-figure img, .to-top,
  .header-cta, .brand-logo, .slots-lobby__tab {
    box-shadow: none !important;
    transform: none !important;
  }
  .rank-card__cta .btn-play {
    min-width: 0;
    width: 100%;
    white-space: normal;
  }
  .to-top {
    right: .4rem;
    bottom: 1.1rem;
    width: 2.2rem;
    height: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .rank-card--row:hover,
  .btn-primary:hover,
  .btn-play:hover,
  .slot-tile:hover { transform: none; }
}
