:root {
  --bg: #07080c;
  --bg-2: #0e1016;
  --surface: #141722;
  --surface-2: #1b1f2c;
  --line: rgba(224, 180, 74, 0.16);
  --line-strong: rgba(224, 180, 74, 0.38);
  --gold: #e0b44a;
  --gold-2: #f6d889;
  --text: #f3efe6;
  --muted: #a49c8e;
  --ink: #08090d;
  --ok: #7dcea0;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --header: 4.5rem;
  --max: 70rem;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(224, 180, 74, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(80, 110, 180, 0.12), transparent 50%),
    var(--bg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: var(--gold-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

button {
  font: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}

.skip:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.logo img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__name {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo__tag {
  color: var(--muted);
  font-size: 0.72rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav a {
  padding: 0.45rem 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: var(--gold);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(224, 180, 74, 0.22);
}

.header__cta:hover {
  color: var(--ink);
  filter: brightness(1.05);
}

.menu-toggle {
  display: none;
  flex-shrink: 0;
  margin-left: auto;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: 0.7rem;
  background: var(--surface-2);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  padding: 3.5rem 0 2.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 50%;
  width: 38rem;
  height: 38rem;
  transform: translateX(-30%);
  background: radial-gradient(circle, rgba(224, 180, 74, 0.16), transparent 68%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero__lead {
  max-width: 40rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.75rem;
}

.article-meta__author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.article-meta__author img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

.article-meta__name {
  font-weight: 700;
  line-height: 1.2;
}

.article-meta__role {
  color: var(--muted);
  font-size: 0.82rem;
}

.article-meta time {
  color: var(--muted);
  font-size: 0.9rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 38rem;
}

.stat {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(20, 23, 34, 0.7);
}

.stat b {
  display: block;
  color: var(--gold-2);
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-size: 0.8rem;
}

.widget-card {
  margin: 0 0 2.5rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, rgba(224, 180, 74, 0.08), transparent 28%), var(--surface);
  box-shadow: var(--shadow);
}

.widget-card__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0.15rem 0.5rem 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.widget-card__label span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.widget-card__label time {
  font-variant-numeric: tabular-nums;
}

.widget-card iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius);
  background: #0b0c10;
  display: block;
}

/* Content */
.content {
  padding-bottom: 3.5rem;
}

.prose {
  width: 100%;
}

.prose h2,
.prose h3 {
  color: var(--text);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  scroll-margin-top: calc(var(--header) + 1rem);
}

.prose h2 {
  margin: 2.6rem 0 0.9rem;
  padding-top: 0.3rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}

.prose h2:first-child {
  border-top: 0;
}

.prose h3 {
  margin: 1.8rem 0 0.7rem;
  font-size: 1.25rem;
}

.prose p {
  margin: 0 0 1.05rem;
  color: #d8d2c6;
}

.article-figure {
  margin: 1.4rem 0 1.8rem;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.article-figure figcaption {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
  color: #d8d2c6;
}

.prose li + li {
  margin-top: 0.45rem;
}

.prose li::marker {
  color: var(--gold);
}

.table-wrap {
  margin: 1.25rem 0 1.6rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 28rem;
}

.table-wrap th,
.table-wrap td {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.table-wrap th {
  color: var(--gold-2);
  background: rgba(224, 180, 74, 0.08);
  font-weight: 700;
}

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

.table-wrap td p,
.table-wrap th p {
  margin: 0;
}

/* Author */
.author-card {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.25rem;
  align-items: center;
  margin: 2.5rem 0 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(224, 180, 74, 0.12), transparent 42%),
    var(--surface);
}

.author-card img {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 1rem;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

.author-card__label {
  margin: 0 0 0.2rem;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.author-card__name {
  margin: 0 0 0.15rem;
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.2;
}

.author-card__role {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.author-card__bio {
  margin: 0;
  color: #d8d2c6;
  font-size: 0.95rem;
}

.author-card__updated {
  display: inline-flex;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 2.5rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.footer__brand {
  margin: 0 0 0.6rem;
  font-weight: 800;
}

.footer p,
.footer li {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.footer__nav a:hover {
  color: var(--gold-2);
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 1.2rem 0;
}

.footer__badges img {
  height: 2.1rem;
  width: auto;
  opacity: 0.85;
}

.footer__legal {
  margin: 0;
  font-size: 0.82rem !important;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  list-style: none;
  margin: 0;
}

.footer__bottom a {
  color: var(--muted);
  text-decoration: none;
}

.casino-review {
  margin: 3rem 0;
  padding: 0 0 2rem;
  border-bottom: 0.1rem solid var(--line);
}

.casino-review:last-of-type {
  border-bottom: 0;
}

.casino-review__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin: 0 0 1.6rem;
  padding: 1.4rem 1.6rem;
  background: #0c0b0a;
  border-radius: 1.4rem;
}

.casino-review__head img {
  display: block;
  width: auto;
  height: 3.5rem;
  max-width: 11rem;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
  border-radius: 10px;
  background: #000;
}

.prose .casino-review__head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.5em;
  color: #f3eee4;
  letter-spacing: -0.02em;
}

.casino-review__sections h4 {
  margin: 1.6rem 0 0.55rem;
  font-size: 1.08em;
  color: var(--text);
}

.casino-review__sections p {
  margin: 0 0 0.9rem;
}

.casino-facts {
  margin: 1.4rem 0;
  padding: 1.3rem 1.4rem;
  border: none;
  border-radius: 1.2rem;
  background: #faeee6;
}

.casino-facts h4 {
  margin: 0 0 0.7rem;
  font-size: 1em;
  color: #14110e;
  letter-spacing: 0;
  text-transform: none;
}

.casino-facts dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem 1rem;
  margin: 0;
}

.casino-facts dt {
  margin: 0;
  font-weight: 700;
  color: #14110e;
}

.casino-facts dd {
  margin: 0 0 0.35rem;
  color: #5e574d;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.4rem 0;
}

.pros-cons__col {
  padding: 1.2rem 1.3rem;
  border-radius: 1.2rem;
}

.pros-cons__col--pros {
  background: #eef3ea;
  border-left: 0.4rem solid #3d6b42;
}

.pros-cons__col--cons {
  background: #f8ebe6;
  border-left: 0.4rem solid #9b1d3a;
}

.pros-cons__col h4 {
  margin: 0 0 0.55rem;
  font-size: 1em;
  color: #14110e;
}

.prose .pros-cons ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #5e574d;
}

.prose .pros-cons li + li {
  margin-top: 0.4rem;
}

.prose .pros-cons li::marker {
  color: #14110e;
}

.prose p.casino-review__verdict {
  margin: 1.3rem 0 0;
  padding: 1.1rem 1.3rem;
  border-left: 0.4rem solid var(--gold);
  background: #faeee6;
  border-radius: 0 1rem 1rem 0;
  color: #5e574d;
}

.casino-mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin: 1.5rem 0 2rem;
}

.casino-mini-block {
  padding: 1.4rem 1.5rem;
  border: none;
  border-radius: 1.3rem;
  background: #fbf7ef;
  box-shadow: inset 0 0 0 0.1rem rgba(20, 17, 14, 0.08);
}

.prose .casino-mini-block h3 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: 1.15em;
  color: #14110e;
}

.prose .casino-mini-block p {
  margin: 0;
  color: #5e574d;
  font-weight: 700;
}

@media (min-width: 600px) {
  .casino-facts dl {
    grid-template-columns: auto 1fr;
  }

  .casino-facts dd {
    margin-bottom: 0;
  }
}

@media (min-width: 700px) {
  .pros-cons {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .casino-mini-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem 1rem 1rem;
    background: rgba(8, 9, 13, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .footer__grid,
  .author-card {
    grid-template-columns: 1fr;
  }

  .author-card img {
    width: 5.5rem;
    height: 5.5rem;
  }
}

.page-404 {
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: center;
  padding: 4rem 0 5rem;
}

.page-404__inner {
  max-width: 38rem;
}

.page-404__code {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.5rem, 14vw, 8rem);
  line-height: 0.85;
  color: var(--gold);
  letter-spacing: -0.05em;
}

.page-404 h1 {
  margin: 1rem 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-404 p:not(.page-404__code) {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.page-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-404__actions a {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.page-404__actions a:first-child {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(224, 180, 74, 0.22);
}

.page-404__actions a:first-child:hover {
  color: var(--ink);
  filter: brightness(1.05);
}

.page-404__actions a:last-child {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: var(--surface);
}

.page-404__actions a:last-child:hover {
  color: var(--ink);
  background: var(--gold);
}

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