:root {
  --bg-deep: #0a0e17;
  --bg-card: #121a28;
  --bg-elevated: #1a2438;
  --accent-gold: #e8a317;
  --accent-orange: #f97316;
  --accent-fire: #ff6b2c;
  --text-primary: #eef2f7;
  --text-muted: #94a3b8;
  --border: rgba(232, 163, 23, 0.15);
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --max-width: 1120px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(232, 163, 23, 0.08), transparent),
    linear-gradient(180deg, #0d1525 0%, var(--bg-deep) 40%);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

a { color: var(--accent-gold); text-decoration: none; }
a:hover { color: var(--accent-orange); }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.logo-link img { width: 42px; height: 42px; object-fit: contain; }

.nav-toggle {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.main-nav a:hover, .main-nav a.active { color: var(--accent-gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: center;
  max-width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  color: #0a0e17;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232, 163, 23, 0.3); }

.header-cta { flex-shrink: 0; }

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #fff 30%, var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-intro { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.trust-row img { height: 28px; width: auto; opacity: 0.85; }

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.35rem;
  color: var(--text-muted);
}

/* Content */
.page-main { padding: 1.5rem 0 4rem; }

.page-header { margin-bottom: 2rem; }

.page-header h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.lead { font-size: 1.1rem; color: var(--text-muted); margin: 0; }

.content-section { margin-bottom: 2.5rem; }

.content-section h2 {
  font-size: 1.45rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
  color: var(--accent-gold);
}

.content-section h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
}

.content-section p { margin: 0 0 1rem; }

.content-section ul, .content-section ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.content-section li { margin-bottom: 0.4rem; }

/* Tables */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 280px;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--bg-elevated);
  color: var(--accent-gold);
  font-weight: 600;
  white-space: nowrap;
}

tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

/* Quick facts */
.facts-table { margin: 2rem 0; }

/* TOC */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.toc h2 { font-size: 1.1rem; margin: 0 0 0.75rem; border: none; padding: 0; color: var(--text-primary); }

.toc ol { margin: 0; padding-left: 1.25rem; }

.toc a { color: var(--text-muted); font-size: 0.9rem; }
.toc a:hover { color: var(--accent-gold); }

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--accent-gold);
}

.feature-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

/* Gallery */
.gallery-section { margin: 2.5rem 0; }

.gallery-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) var(--bg-elevated);
  max-width: 100%;
}

.gallery-slide {
  flex: 0 0 min(85%, 480px);
  scroll-snap-align: start;
}

.gallery-slide figure { margin: 0; }

.gallery-slide img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: zoom-in;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.gallery-slide figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.gallery-nav {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.gallery-nav button {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
}

.gallery-nav button:hover { border-color: var(--accent-gold); color: var(--accent-gold); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: min(95vw, 900px);
  max-height: 90vh;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-elevated);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Casino cards */
.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.casino-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.casino-card img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.casino-card .bonus-text { font-size: 0.9rem; color: var(--text-muted); }

.casino-card .mobile-tag {
  font-size: 0.75rem;
  color: var(--accent-gold);
  background: rgba(232,163,23,0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
}

.casino-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent-orange);
}

/* Similar games */
.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.similar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.similar-card:hover { border-color: var(--accent-gold); }

.similar-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.similar-card-body { padding: 0.85rem; }

.similar-card h3 { margin: 0 0 0.25rem; font-size: 0.95rem; }

.similar-card .provider { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }

.similar-card p { margin: 0; font-size: 0.8rem; color: var(--text-muted); }

/* FAQ */
.faq-list { margin: 1.5rem 0; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--bg-card);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: "+";
  color: var(--accent-gold);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.faq-item.open .faq-question::after { content: "−"; }

.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer { display: block; }

/* Related guides */
.related-guides {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2.5rem 0;
}

.related-guides h2 { font-size: 1.1rem; margin: 0 0 1rem; border: none; padding: 0; }

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.related-links a {
  background: var(--bg-elevated);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.related-links a:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

/* Mobile block */
.mobile-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
}

.mobile-visual img { border-radius: var(--radius); }

.warning-box {
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.warning-box strong { color: var(--accent-orange); }

/* Demo CTA block */
.demo-cta {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.demo-cta h2 { border: none; margin-bottom: 0.75rem; }

/* Inline image */
.content-figure {
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.content-figure figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-card);
}

/* Footer */
.site-footer {
  background: #060910;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  font-size: 0.95rem;
  color: var(--accent-gold);
  margin: 0 0 0.75rem;
}

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

.footer-col ul { list-style: none; padding: 0; margin: 0; }

.footer-col li { margin-bottom: 0.35rem; }

.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--accent-gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent-gold);
  margin-right: 0.5rem;
}

/* Sticky CTA mobile */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem;
  background: rgba(10, 14, 23, 0.95);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.sticky-cta .btn { width: 100%; }

/* Pros/cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.pros-cons > div {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
}

.pros-cons h3 { margin-top: 0; font-size: 1rem; }

.pros-cons ul { margin: 0; padding-left: 1.1rem; font-size: 0.9rem; }

/* Steps */
.steps-list { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0; }

.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  margin-bottom: 0.75rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 28px;
  height: 28px;
  background: var(--accent-gold);
  color: #0a0e17;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .mobile-block, .pros-cons { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .main-nav.open { display: block; }

  .main-nav ul { flex-direction: column; gap: 0.5rem; }

  .header-cta { display: none; }

  .sticky-cta { display: block; }

  body { padding-bottom: 72px; }

  .gallery-slide { flex: 0 0 88%; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .pros-cons { grid-template-columns: 1fr; }
}
