:root {
  --bg-primary: #0a0f0d;
  --bg-secondary: #111916;
  --bg-card: #161f1b;
  --bg-card-hover: #1c2822;
  --accent-green: #4ade80;
  --accent-lime: #a3e635;
  --accent-gold: #d4af37;
  --accent-gold-light: #f0d060;
  --text-primary: #f0f4f2;
  --text-secondary: #9ca8a2;
  --text-muted: #6b7a72;
  --border: rgba(74, 222, 128, 0.15);
  --border-gold: rgba(212, 175, 55, 0.25);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --header-height: 72px;
  --transition: 0.25s ease;
}

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

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  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-green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-lime); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 15, 13, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-link img { height: 36px; width: auto; }

.logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  white-space: nowrap;
}

.logo-text span { color: var(--accent-green); }

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--accent-green);
  background: rgba(74, 222, 128, 0.08);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

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

.mobile-nav a {
  display: block;
  color: var(--text-secondary);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.mobile-nav a:last-child { border-bottom: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-green), #22c55e);
  color: #0a0f0d;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-lime), var(--accent-green));
  color: #0a0f0d;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(74, 222, 128, 0.3);
}

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

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold-light);
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,13,0.3) 0%, var(--bg-primary) 100%);
}

.hero .container { position: relative; z-index: 1; }

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

.hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-trust {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.hero-bonus-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.hero-bonus-box .bonus-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.hero-bonus-box .bonus-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.rating-stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.rating-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }

.hero-promo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px dashed var(--accent-green);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--accent-green);
  margin-bottom: 20px;
}

.hero-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.hero-payments img {
  height: 28px;
  width: auto;
  opacity: 0.85;
  filter: brightness(0.95);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-visual { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }

.hero-visual img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.hero-visual img:first-child {
  max-height: 320px;
  filter: drop-shadow(0 8px 32px rgba(74, 222, 128, 0.15));
}

.hero-visual img:last-child:not(:only-child) {
  max-width: 420px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Content sections */
.content-section { padding: 48px 0; }

.content-section:nth-child(even) { background: var(--bg-secondary); }

.section-title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 24px;
  color: var(--text-primary);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-gold));
  margin-top: 12px;
  border-radius: 2px;
}

.prose { max-width: 800px; }
.prose p { margin-bottom: 16px; color: var(--text-secondary); }
.prose h2 { font-size: 1.4rem; margin: 32px 0 16px; color: var(--text-primary); }
.prose h3 { font-size: 1.15rem; margin: 24px 0 12px; color: var(--accent-green); }
.prose ul, .prose ol { margin: 0 0 16px 24px; color: var(--text-secondary); }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* TOC */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
}

.toc h2 { font-size: 1.1rem; margin-bottom: 16px; color: var(--accent-green); }

.toc ol { margin-left: 20px; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--text-secondary); font-size: 0.95rem; }
.toc a:hover { color: var(--accent-green); }

/* Quick facts table */
.facts-table-wrap { overflow-x: auto; margin: 24px 0; }

.facts-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
}

.facts-table th, .facts-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.facts-table th {
  background: rgba(74, 222, 128, 0.08);
  color: var(--accent-green);
  font-weight: 600;
  width: 35%;
}

.facts-table td { color: var(--text-secondary); }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: none; }
.facts-table a { font-weight: 500; }

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .games-grid:not(.games-grid--featured) {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .games-grid:not(.games-grid--featured) {
    grid-template-columns: repeat(5, 1fr);
  }
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  border-color: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.game-card-media {
  position: relative;
  overflow: hidden;
  background: #0d1117;
  aspect-ratio: 4 / 3;
}

.game-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }

.game-card h3 {
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.game-card .btn { margin-top: auto; }

.game-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

/* Providers */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
}

.provider-card:hover { border-color: var(--accent-green); }

.provider-card img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 8px;
  object-fit: contain;
}

.provider-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Payments strip */
.payments-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.payments-strip img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.9;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

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

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

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent-green);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer-inner {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Related guides */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}

.guide-card:hover {
  border-color: var(--accent-green);
  transform: translateY(-2px);
}

.guide-card h3 { font-size: 1rem; margin-bottom: 8px; }
.guide-card p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 12px; }

/* CTA block */
.cta-block {
  background: linear-gradient(135deg, rgba(74,222,128,0.1), rgba(212,175,55,0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin: 40px 0;
}

.cta-block h2 { font-size: 1.5rem; margin-bottom: 12px; }
.cta-block p { color: var(--text-secondary); margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-block .btn { margin: 0 6px; }

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-secondary); }
.breadcrumb span { margin: 0 8px; }

/* Page hero (inner pages) */
.page-hero {
  padding: 40px 0 32px;
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 12px;
}

.page-hero .lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 700px;
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 0.95rem;
  color: var(--accent-green);
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 4px 0;
}

.footer-col a:hover { color: var(--accent-green); }

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
}

.footer-trust img { height: 32px; width: auto; opacity: 0.8; }

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

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 24px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.footer-payments img { height: 24px; width: auto; opacity: 0.75; }

.age-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.8rem;
  color: var(--accent-gold);
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-top img { height: 40px; width: auto; }

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-badge {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--accent-green);
  font-weight: 500;
}

.game-provider {
  font-size: 0.75rem;
  color: var(--accent-gold);
  margin-bottom: 2px;
}

.games-scroll-wrap { margin: 0 -20px; padding: 0 20px; }

.games-grid--featured {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-green) var(--bg-card);
}

.games-grid--featured .game-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
}

@media (min-width: 992px) {
  .games-scroll-wrap { margin: 0; padding: 0; }
  .games-grid--featured {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
  }
  .games-grid--featured .game-card { flex: unset; }
}

/* Comparison tables */
.comparison-block { margin: 24px 0 32px; }

.comparison-figure { margin: 0; }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.comparison-table caption {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--accent-green);
  caption-side: top;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.comparison-table th {
  background: rgba(74, 222, 128, 0.06);
  color: var(--text-primary);
  font-weight: 600;
}

.comparison-table td { color: var(--text-secondary); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:first-child { color: var(--accent-green); font-weight: 500; }

.comparison-figure figcaption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Trust warning */
.trust-warning {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.trust-warning strong {
  display: block;
  color: var(--accent-gold);
  margin-bottom: 8px;
  font-size: 1rem;
}

.trust-warning p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* Footer CTA */
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: linear-gradient(135deg, rgba(74,222,128,0.08), rgba(212,175,55,0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.footer-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-cta-text strong { color: var(--text-primary); font-size: 1.1rem; }
.footer-cta-text span { color: var(--text-muted); font-size: 0.875rem; }

.footer-rg-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--accent-green);
}

/* Sticky CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 15, 13, 0.97);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  gap: 10px;
  justify-content: center;
  backdrop-filter: blur(8px);
}

body { padding-bottom: 0; }

@media (max-width: 768px) {
  .sticky-cta { display: flex; }
  body.has-sticky-cta { padding-bottom: 64px; }
  .site-footer { padding-bottom: 80px; }
}

.content-wide { max-width: 800px; }

/* SEO editorial visuals */
.seo-visual {
  margin: 28px 0 36px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.seo-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.seo-visual figcaption {
  padding: 12px 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: rgba(74, 222, 128, 0.04);
}

/* Sitemap page */
.sitemap-list { columns: 2; gap: 32px; }
.sitemap-list li { margin-bottom: 8px; break-inside: avoid; }

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { max-height: 280px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav, .header-actions .btn-secondary { display: none; }
  .burger { display: flex; }
  .header-actions .btn-primary { padding: 8px 16px; font-size: 0.85rem; }
  .logo-text { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta { flex-direction: column; text-align: center; }
  .footer-cta .btn { width: 100%; }
  .sitemap-list { columns: 1; }
  .cta-block { padding: 28px 20px; }
  .facts-table th { width: 40%; font-size: 0.85rem; }
  .facts-table td { font-size: 0.85rem; }
  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  .trust-badges { justify-content: center; }
  .hero-top { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}
