:root {
  --bg-primary: #0a0814;
  --bg-secondary: #140c1e;
  --accent-primary: #f0d860;
  --accent-secondary: #181860;
  --accent-tertiary: #181860;
  --link-color: #e8d4ff;
  --link-hover: #f6e199;
  --link-visited: #e8d4ff;
  --cta-color: #d4af37;
  --card-border: #18186044;
  --text: #f5f0ff;
  --heading: #f5f0ff;
  --hero-text: #f5f0ff;
  --muted: #d8cfe8;
  --surface: #140c1ecc;
  --surface-soft: #140c1e88;
  --surface-muted: #140c1e66;
  --header-bg: #0a0814cc;
  --nav-hover-bg: #18186044;
  --nav-active-bg: #18186066;
  --featured-border: #f0d86066;
  --badge-bg: #f0d86022;
  --btn-text: #1a1208;
  --bar-track: #18186033;
  --lightbox-bg: #0a0814eb;
  --theme-primary: #181860;
  --theme-secondary: #181860;
  --theme-accent: #f0d860;
  --theme-gradient-hero: linear-gradient(135deg, #18186022 0%, #18186018 50%, #0a081412 100%);
  --theme-gradient-ambient: radial-gradient(ellipse at 30% 20%, #18186033 0%, transparent 55%), radial-gradient(ellipse at 70% 80%, #18186022 0%, transparent 50%);
  --theme-gradient-button: linear-gradient(180deg, #d4af37 0%, #b4952f 100%);
  --theme-gradient-offer: linear-gradient(160deg, #140c1eee 0%, #0a0814ee 100%);
  --theme-card-border: #18186044;
  --theme-glow: 0 0 24px #f0d86055, 0 0 48px #18186022;
  --bg: var(--bg-primary);
  --radius: 14px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.ambient-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
  background: var(--theme-gradient-ambient);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--card-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: inherit; font-weight: 700; font-size: 1.05rem; }
.brand img { border-radius: 10px; }
.nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.nav a {
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--accent-primary) 40%, transparent);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.2rem 0.1rem;
  border-radius: 4px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease, background 0.15s ease;
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--link-hover);
  text-decoration-color: var(--link-hover);
  background: var(--nav-hover-bg);
}
.nav a:visited { color: var(--link-visited); }
.nav a:visited:hover { color: var(--link-hover); }
.nav a[aria-current="page"] {
  color: var(--link-hover);
  text-decoration-color: var(--accent-primary);
  background: var(--nav-active-bg);
}

.hero {
  padding: 3rem 0 2rem;
  background: var(--theme-gradient-hero);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1.1fr; }
}
.eyebrow {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-tertiary) 33%, transparent);
  color: var(--accent-primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 0.75rem 0 1rem;
  color: var(--heading);
}
.lead { color: var(--hero-text); font-size: 1.08rem; max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--theme-gradient-button);
  color: var(--btn-text);
  box-shadow: var(--theme-glow);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--card-border);
}
.hero-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 52ch;
}
.footer-partner-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--muted) 80%, transparent);
}
.offer-logo {
  display: block;
  max-width: 140px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.offer-logo--table { max-width: 100px; max-height: 36px; }
.casino-cell { min-width: 120px; }
.casino-name { font-weight: 700; }
.offer-brand { display: flex; flex-direction: column; gap: 0.35rem; }

.hero-gameplay-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--theme-glow);
}
.hero-gameplay-card img { display: block; width: 100%; height: auto; }

section { padding: 3rem 0; }
section h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1rem; color: var(--heading); }
section p { color: var(--text); }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.spec-card {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: var(--surface-soft);
}
.spec-card strong { display: block; color: var(--accent-primary); font-size: 1.15rem; }
.spec-card span { font-size: 0.85rem; color: var(--muted); }

.demo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: #000;
}
.demo-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.comparison-wrap {
  margin-top: 1.5rem;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--surface-soft);
}
.comparison-table th,
.comparison-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}
.comparison-table th {
  color: var(--accent-primary);
  font-weight: 700;
  background: color-mix(in srgb, var(--bg-secondary) 90%, var(--accent-secondary) 10%);
}
.comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table strong { color: var(--accent-primary); }
.comparison-action {
  text-align: right;
  white-space: nowrap;
  vertical-align: middle;
}
.btn-table {
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  white-space: nowrap;
}
.comparison-table .casino-cell {
  min-width: 110px;
}

.offers-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 700px) {
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
}
.offer-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: var(--theme-gradient-offer);
}
.offer-card.featured { border-color: var(--featured-border); box-shadow: var(--theme-glow); }
.offer-top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.offer-name { font-size: 1.2rem; font-weight: 700; margin: 0; }
.rating { color: var(--accent-primary); font-weight: 700; white-space: nowrap; }
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: var(--badge-bg);
  color: var(--accent-primary);
}
.min-deposit { font-size: 0.9rem; color: var(--text); margin: 0; }
.min-deposit strong { color: var(--accent-primary); }
.payments { font-size: 0.85rem; color: var(--muted); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--bg-secondary);
}
.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery img { width: 100%; height: auto; display: block; }
.gallery figcaption { padding: 0.65rem 0.85rem; font-size: 0.85rem; color: var(--muted); }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--lightbox-bg);
  backdrop-filter: blur(6px);
}
.lightbox-overlay figure { margin: 0; max-width: min(96vw, 1100px); }
.lightbox-overlay img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--theme-glow);
}
.lightbox-overlay figcaption {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { color: var(--accent-primary); border-color: var(--accent-primary); }

.page-faq { padding-top: 1rem; padding-bottom: 2rem; }

.strategy-list { padding-left: 1.2rem; color: var(--muted); }
.strategy-list li { margin-bottom: 0.65rem; }

.faq details {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  background: var(--surface-muted);
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 0.75rem 0 0; color: var(--muted); }

.author-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: var(--surface-soft);
}
.author-card img { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--accent-primary); }
.author-meta h3 { margin: 0 0 0.25rem; }
.author-meta p { margin: 0; font-size: 0.92rem; }
.author-categories { margin-top: 0.5rem !important; color: var(--muted); }
.author-rg {
  margin-top: 0.75rem !important;
  font-size: 0.85rem !important;
  color: var(--muted);
  font-style: italic;
  border-left: 3px solid var(--accent-primary);
  padding-left: 0.75rem;
}
.expertise-list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.hub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1.25rem;
}
.hub-links a {
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: color-mix(in srgb, var(--link-color) 65%, transparent);
  font-weight: 600;
  font-size: 0.95rem;
}
.hub-links a:visited { color: var(--link-visited); }
.hub-links a:hover { color: var(--link-hover); text-decoration-color: var(--link-hover); }
.read-more { margin-top: 1.25rem; color: var(--muted); }
.read-more a { color: var(--link-color); }

.prose p { color: var(--muted); margin-bottom: 1rem; }
.prose h2 { margin-top: 2rem; color: var(--heading); }
.prose .intro-unique { font-size: 1.1rem; color: var(--hero-text); max-width: 65ch; }
.prose a,
.page-faq a,
.faq a {
  color: var(--link-color);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: color-mix(in srgb, var(--accent-primary) 53%, transparent);
}
.prose a:visited,
.page-faq a:visited,
.faq a:visited {
  color: var(--link-visited);
}
.prose a:hover,
.prose a:focus-visible,
.page-faq a:hover,
.page-faq a:focus-visible,
.faq a:hover,
.faq a:focus-visible {
  color: var(--link-hover);
  text-decoration-color: var(--link-hover);
  background: var(--nav-hover-bg);
}
.prose a:active,
.page-faq a:active,
.faq a:active {
  color: var(--text);
  text-decoration-color: var(--text);
  background: var(--nav-active-bg);
}

.rating-panel {
  display: grid;
  gap: 1.25rem;
  margin: 1.25rem 0;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: var(--surface);
}
@media (min-width: 640px) {
  .rating-panel { grid-template-columns: auto 1fr; align-items: center; }
}
.rating-overall { text-align: center; }
.rating-value { font-size: 2.75rem; font-weight: 800; color: var(--accent-primary); }
.rating-max { font-size: 1.25rem; color: var(--muted); }
.rating-label { margin: 0; font-size: 0.85rem; color: var(--muted); }
.rating-bars { display: flex; flex-direction: column; gap: 0.5rem; }
.rating-row { display: grid; grid-template-columns: 7rem 1fr 2rem; gap: 0.5rem; align-items: center; font-size: 0.85rem; }
.rating-row .bar { height: 8px; background: var(--bar-track); border-radius: 4px; overflow: hidden; }
.rating-row .fill { height: 100%; background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary)); }

.guide-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
@media (min-width: 700px) {
  .guide-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
.guide-card {
  display: block;
  padding: 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: var(--surface-soft);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}
.guide-card:hover { border-color: var(--accent-primary); }
.guide-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.guide-card p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.guide-link { display: inline-block; margin-top: 0.5rem; font-size: 0.85rem; color: var(--link-color); font-weight: 600; }

.spec-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; font-size: 0.92rem; }
.spec-table th, .spec-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--card-border); text-align: left; }
.spec-table th { color: var(--accent-primary); width: 35%; background: var(--bg-secondary); }

.why-recommend {
  padding: 0.75rem;
  border-radius: 10px;
  background: var(--surface-muted);
  font-size: 0.9rem;
}
.why-recommend strong { color: var(--accent-primary); display: block; margin-bottom: 0.35rem; }
.why-recommend p { margin: 0; color: var(--muted); }

.related-guides { padding: 2rem 0 3rem; border-top: 1px solid var(--card-border); }
.page-gallery { padding-bottom: 2rem; }

.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--text);
}
.footer-brand img { border-radius: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.footer-links a {
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--accent-primary) 40%, transparent);
  font-weight: 600;
  padding: 0.15rem 0.25rem;
  border-radius: 4px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease, background 0.15s ease;
}
.footer-links a:visited { color: var(--link-visited); }
.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links a:visited:hover {
  color: var(--link-hover);
  text-decoration-color: var(--link-hover);
  background: var(--nav-hover-bg);
}
.footer-links a:active {
  color: var(--text);
  background: var(--nav-active-bg);
}
