:root {
  --page: #ececeb;
  --surface: #ffffff;
  --surface-soft: #f5f5f2;
  --chocolate: #3a261d;
  --chocolate-2: #513529;
  --chocolate-3: #6c493a;
  --acid: #b8ff2f;
  --acid-dark: #8fcf16;
  --text: #2b2522;
  --muted: #6f6863;
  --line: rgba(58, 38, 29, .14);
  --shadow: 0 14px 36px rgba(58, 38, 29, .12);
  --radius: 18px;
  --container: 1180px;
  --header-height: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgba(184, 255, 47, .12), transparent 28rem),
    var(--page);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

main,
.site-footer {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}

/* Fixed header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(58, 38, 29, .97);
  box-shadow: 0 6px 20px rgba(40, 24, 17, .16);
}

.header-inner {
  width: min(calc(100% - 40px), var(--container));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-logo {
  flex: 0 0 112px;
  width: 112px;
  height: 44px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.site-logo img {
  width: auto;
  height: 40px;
  max-width: 112px;
  max-height: 40px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-left: auto;
}

.desktop-nav a {
  color: #f8f5f2;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--acid);
}

.header-button,
.play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease;
}

.header-button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 15px;
  color: var(--chocolate);
  background: var(--acid);
}

.header-button:hover,
.play-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

/* Hero */
.hero {
  position: relative;
  padding: 30px 0 18px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
}

.hero-copy {
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--acid-dark);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 930px;
  margin: 0 0 14px;
  color: var(--chocolate);
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.hero-intro p {
  max-width: 860px;
  margin: 0;
  color: #4e4642;
  font-size: 18px;
}

.author-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
}

.author-box img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  object-fit: cover;
}

.author-line {
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.3;
}

.verified {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(184,255,47,.30);
  color: #476d00;
  font-size: 11px;
  font-weight: 800;
}

.updated {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.casino-motif {
  position: absolute;
  top: 5px;
  right: 4px;
  display: grid;
  grid-template-columns: repeat(2, 52px);
  gap: 5px;
  color: var(--chocolate);
  font-size: 48px;
  line-height: 1;
  opacity: .09;
  transform: rotate(8deg);
}

.casino-motif span:nth-child(2),
.casino-motif span:nth-child(3) {
  color: var(--acid-dark);
}

/* Listing */
.listing-section {
  padding: 14px 0 52px;
}

.listing-heading {
  margin-bottom: 17px;
}

.listing-heading h2 {
  max-width: 860px;
  margin: 0;
  color: var(--chocolate);
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.15;
}

.casino-list {
  display: grid;
  gap: 14px;
}

.casino-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px 1.05fr 1.45fr 1.05fr .72fr;
  align-items: center;
  gap: 16px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(105deg, rgba(184,255,47,.10), rgba(255,255,255,.72) 55%),
    var(--surface);
  box-shadow: var(--shadow);
}

.casino-card:first-child {
  border-color: rgba(143,207,22,.62);
  box-shadow: var(--shadow), 0 0 0 1px rgba(184,255,47,.12) inset;
}

.rank-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--chocolate);
  font-size: 18px;
  font-weight: 900;
}

.brand-block {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 104px;
  height: 52px;
  flex: 0 0 104px;
  display: grid;
  place-items: center;
  padding: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-meta h3 {
  margin: 0 0 2px;
  color: var(--chocolate);
  font-size: 17px;
  line-height: 1.2;
}

.stars {
  color: #8bbf15;
  font-size: 13px;
  letter-spacing: .05em;
}

.bonus-block {
  min-width: 0;
}

.bonus-label {
  display: inline-block;
  color: var(--chocolate-3);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.bonus-block p {
  margin: 4px 0 0;
  color: var(--chocolate);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.feature-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #574d47;
  font-size: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.check-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 3px;
  fill: var(--acid-dark);
}

.card-action {
  text-align: center;
}

.play-button {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  color: var(--chocolate);
  background: var(--acid);
}

.card-action small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

/* Main article */
.content-section {
  padding: 8px 0 66px;
}

.prose {
  width: min(100%, 1000px);
  max-width: 100%;
  min-width: 0;
}

.prose h2 {
  margin: 50px 0 15px;
  color: var(--chocolate);
  font-size: clamp(27px, 3.1vw, 38px);
  line-height: 1.18;
  letter-spacing: -.02em;
}

.prose h3 {
  margin: 31px 0 11px;
  color: var(--chocolate-2);
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.25;
}

.prose h4 {
  margin: 22px 0 8px;
  color: var(--chocolate-3);
  font-size: 18px;
}

.prose p,
.prose li {
  color: #433d39;
}

.prose ul,
.prose ol {
  padding-left: 24px;
}

.prose li + li {
  margin-top: 6px;
}

.prose strong {
  color: var(--chocolate);
}

.anchor-target {
  position: relative;
  top: calc(-1 * var(--header-height) - 12px);
  visibility: hidden;
}

/* Each table owns its horizontal scroll.
   The page itself remains locked horizontally. */
.table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 22px 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 7px 20px rgba(58,38,29,.06);
}

.table-scroll table {
  width: 100%;
  max-width: none;
  margin: 0;
  border-collapse: collapse;
  table-layout: auto;
}

.table-scroll td,
.table-scroll th {
  padding: 12px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-scroll tr:first-child td,
.table-scroll th {
  color: var(--chocolate);
  background: var(--acid);
  font-weight: 800;
}

.table-scroll tr:nth-child(even):not(:first-child) td {
  background: #fafaf7;
}

.table-scroll tr:last-child td {
  border-bottom: 0;
}

.table-scroll td:last-child,
.table-scroll th:last-child {
  border-right: 0;
}

.table-scroll td p {
  margin: 0;
}

/* Review images are always shown in their natural proportions.
   No fixed height and no object-fit: cover, so nothing is cropped. */
.review-image {
  width: 100%;
  margin: 22px 0 38px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.review-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* Author */
.author-bio {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 52px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.author-bio img {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 50%;
  object-fit: cover;
}

.author-bio h2 {
  margin: 0 0 6px;
  font-size: 23px;
}

.author-bio p {
  margin: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: var(--chocolate);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr .7fr 1.15fr;
  gap: 30px;
  padding-top: 38px;
  padding-bottom: 28px;
}

.footer-logo {
  width: 100px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
}

.footer-logo img {
  width: auto;
  height: 36px;
  max-width: 100px;
  max-height: 36px;
  object-fit: contain;
}

.footer-brand p,
.responsible-box p {
  color: #e5ddd8;
  font-size: 13px;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--acid);
}

.responsible-box {
  padding: 17px;
  border: 1px solid rgba(184,255,47,.28);
  border-radius: 13px;
  background: rgba(184,255,47,.06);
}

.responsible-box strong {
  color: var(--acid);
}

.copyright {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: #d0c6c0;
  text-align: center;
  font-size: 12px;
}

/* Tablet */
@media (max-width: 1040px) {
  .desktop-nav {
    gap: 13px;
  }

  .casino-card {
    grid-template-columns: 50px 1fr 1.35fr;
  }

  .feature-list {
    grid-column: 2 / 3;
  }

  .card-action {
    grid-column: 3 / 4;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .header-button {
    margin-left: auto;
  }
}

/* Mobile */
@media (max-width: 720px) {
  :root {
    --header-height: 58px;
  }

  html,
  body,
  main,
  .hero,
  .listing-section,
  .content-section,
  .site-footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container,
  .header-inner {
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    min-width: 0;
    margin-inline: auto;
  }

  .header-inner {
    gap: 10px;
  }

  .site-logo {
    flex-basis: 96px;
    width: 96px;
    height: 40px;
  }

  .site-logo img {
    width: auto;
    height: 36px;
    max-width: 96px;
    max-height: 36px;
  }

  .header-button {
    min-height: 38px;
    padding: 0 11px;
    font-size: 12px;
  }

  .button-icon {
    display: none;
  }

  .hero {
    padding: 18px 0 13px;
  }

  .hero h1 {
    margin-bottom: 10px;
    font-size: 30px;
  }

  .hero-intro p {
    font-size: 15px;
    line-height: 1.55;
  }

  .author-box {
    width: 100%;
    max-width: 360px;
    margin-top: 12px;
    border-radius: 14px;
  }

  .casino-motif {
    display: none;
  }

  .listing-section {
    padding: 10px 0 40px;
  }

  .listing-heading {
    margin-bottom: 12px;
  }

  .listing-heading h2 {
    font-size: 26px;
  }

  .casino-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 13px;
    border-radius: 15px;
  }

  .rank-badge {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .brand-block {
    gap: 9px;
  }

  .brand-logo {
    width: 86px;
    height: 44px;
    flex-basis: 86px;
  }

  .brand-meta h3 {
    font-size: 15px;
  }

  .bonus-block,
  .feature-list,
  .card-action {
    grid-column: 1 / -1;
  }

  .bonus-block p {
    font-size: 14px;
  }

  .feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 11px;
  }

  .play-button {
    min-height: 42px;
  }

  .prose {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .prose h2 {
    margin-top: 40px;
    font-size: 28px;
  }

  .prose h3 {
    font-size: 22px;
  }

  .table-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .table-scroll table {
    width: max-content;
    min-width: 720px;
    max-width: none;
  }

  .table-scroll td,
  .table-scroll th {
    min-width: 145px;
    white-space: normal;
  }

  .review-image {
    margin: 18px 0 30px;
  }

  .review-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-logo {
    width: 90px;
    height: 36px;
  }

  .footer-logo img {
    width: auto;
    height: 32px;
    max-width: 90px;
    max-height: 32px;
  }
}

@media (max-width: 430px) {
  .site-logo {
    flex-basis: 92px;
    width: 92px;
    height: 38px;
  }

  .site-logo img {
    height: 34px;
    max-width: 92px;
    max-height: 34px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    width: 86px;
    height: 34px;
  }

  .footer-logo img {
    height: 30px;
    max-width: 86px;
    max-height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

@media (max-width: 720px) {
  .content-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .prose {
    width: 100%;
    max-width: 100%;
  }

  .anchor-target {
    scroll-margin-top: 72px;
  }
}
