:root {
  --ink: #070b14;
  --ink-mid: #0d1424;
  --ink-light: #141e32;
  --ink-card: #111827;
  --lime: #c8f542;
  --lime-dim: #a8d030;
  --amber: #ffb703;
  --amber-dim: #e6a502;
  --cyan: #22d3ee;
  --cyan-dim: #0891b2;
  --text: #f0f4fc;
  --text-muted: #8b9cb8;
  --border: #1e2d4a;
  --border-glow: rgba(200, 245, 66, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-lift: 0 20px 56px rgba(0, 0, 0, 0.55);
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  padding-bottom: 76px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--lime); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.container { width: min(1180px, 92vw); margin: 0 auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--lime); color: var(--ink);
  padding: 0.5rem 1rem; z-index: 9999; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}

.logo-link img { height: 38px; width: auto; }

.nav-desktop { display: flex; gap: 1.5rem; }
.nav-desktop a {
  color: var(--text-muted); font-weight: 600; font-size: 0.92rem;
  transition: color 0.2s;
}
.nav-desktop a.active,
.nav-desktop a:hover { color: var(--lime); }

.header-cta { display: flex; gap: 0.5rem; align-items: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.35rem; border-radius: 999px;
  font-weight: 700; font-size: 0.88rem; font-family: var(--font-body);
  border: none; cursor: pointer; text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-demo {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 4px 24px rgba(200, 245, 66, 0.35);
}
.btn-demo:hover { background: var(--lime-dim); color: var(--ink); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn-secondary:hover {
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: 0 4px 16px rgba(255, 183, 3, 0.15);
}

.btn-accent {
  background: linear-gradient(135deg, var(--amber), var(--amber-dim));
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(255, 183, 3, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-lg { padding: 0.9rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.78rem; }

/* ── Hero ── */
.hero {
  position: relative;
  background: var(--ink);
  padding: 4rem 0 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(200, 245, 66, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 45% at 85% 15%, rgba(34, 211, 238, 0.08), transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(255, 183, 3, 0.06), transparent 50%);
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(200, 245, 66, 0.1);
  border: 1px solid rgba(200, 245, 66, 0.3);
  color: var(--lime);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin: 0 0 1rem;
  max-width: 14ch;
}

.hero h1 .accent { color: var(--lime); display: block; }

.hero-lead {
  color: var(--text-muted);
  max-width: 580px;
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hero-search {
  display: flex; gap: 0.5rem;
  margin: 1.5rem 0; max-width: 540px;
}

.hero-search input,
.inline-search input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--ink-mid);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-search input:focus,
.inline-search input:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(200, 245, 66, 0.15);
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 1.25rem; align-items: center;
}

.hero-stat-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat { }
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--lime);
}
.hero-stat span { font-size: 0.82rem; color: var(--text-muted); }

/* ── Sections ── */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--ink-mid); }

.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 1.75rem; gap: 1rem;
}
.section-head h2 { margin: 0; font-size: 1.55rem; }
.section-head a { font-size: 0.9rem; font-weight: 600; color: var(--cyan); }

.page-header {
  padding: 2.75rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
  background: var(--ink-mid);
}
.page-header h1 { margin: 0 0 0.5rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.page-header-inline { margin-bottom: 2rem; }
.inline-search { display: flex; gap: 0.5rem; margin-top: 1rem; max-width: 480px; }

/* ── Grids ── */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 1.15rem;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

/* ── Game cards ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.game-card {
  background: var(--ink-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  animation: fadeUp 0.5s var(--ease) both;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.game-card:nth-child(2) { animation-delay: 0.04s; }
.game-card:nth-child(3) { animation-delay: 0.08s; }
.game-card:nth-child(4) { animation-delay: 0.12s; }
.game-card:nth-child(5) { animation-delay: 0.16s; }
.game-card:nth-child(6) { animation-delay: 0.2s; }

.game-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.game-card-link {
  color: inherit; display: block;
}
.game-card-link:hover { color: inherit; }

.game-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink);
  position: relative;
}
.game-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}
.game-card:hover .game-card-img img { transform: scale(1.04); }

.game-card-body { padding: 0.85rem 0.85rem 0.5rem; }
.game-card-body h3 {
  margin: 0 0 0.2rem;
  font-size: 0.92rem;
  font-family: var(--font-display);
}
.game-meta { margin: 0; color: var(--text-muted); font-size: 0.78rem; }

.game-card-actions {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 0 0.85rem 0.85rem;
}
.game-card-actions .btn { width: 100%; }

/* ── Provider / bonus cards ── */
.provider-card, .bonus-card {
  background: var(--ink-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s var(--ease);
  animation: fadeUp 0.5s var(--ease) both;
}
.provider-card:hover, .bonus-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-3px);
}
.provider-card-link { color: inherit; display: block; padding: 1.25rem; }
.provider-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.provider-card p { margin: 0; color: var(--text-muted); font-size: 0.85rem; }

/* ── Game page ── */
.breadcrumbs { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--lime); }

.game-hero {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.game-hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ink-mid);
  box-shadow: var(--shadow);
}

.game-hero-info h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0.25rem 0 0.75rem; }

.game-stats {
  list-style: none; padding: 0; margin: 1rem 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem;
}
.game-stats li {
  background: var(--ink-mid);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  border: 1px solid var(--border);
}
.game-stats strong {
  display: block; color: var(--text-muted);
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 0.15rem;
}

.game-cta-row {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
  margin: 1.25rem 0 0.5rem;
}
.affiliate-note { font-size: 0.75rem; color: var(--text-muted); margin: 0; }

/* ── Prose / mega content ── */
.prose { max-width: 780px; }
.prose .lead { font-size: 1.12rem; color: var(--text-muted); line-height: 1.7; }
.content-block h2 {
  margin-top: 2.25rem;
  font-size: 1.3rem;
  color: var(--text);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.mega-content h2 { margin-top: 2.25rem; font-size: 1.3rem; }
.mega-content p { color: var(--text-muted); }
.mega-content a { color: var(--cyan); }
.mega-content ol, .mega-content ul { color: var(--text-muted); padding-left: 1.25rem; }
.mega-content li { margin-bottom: 0.5rem; }

.kw-cloud {
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--text-muted);
  background: var(--ink-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.glossary dt {
  font-weight: 700;
  color: var(--lime);
  margin-top: 0.75rem;
}
.glossary dd {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  padding: 0.6rem 0.9rem;
  background: var(--ink-mid);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text);
}
.faq-item p { margin: 0.5rem 0 0; color: var(--text-muted); font-size: 0.92rem; }

.related-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ── Bonus ── */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.bonus-card { padding: 1.5rem; }
.bonus-card-head { display: flex; justify-content: space-between; align-items: start; gap: 0.5rem; }
.bonus-tag {
  background: rgba(255, 183, 3, 0.12);
  color: var(--amber);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.bonus-offer { font-size: 1.12rem; font-weight: 700; color: var(--lime); }
.bonus-features { padding-left: 1.2rem; color: var(--text-muted); font-size: 0.9rem; }

/* ── CTA banner ── */
.cta-banner { padding: 2rem 0 3.5rem; }
.cta-banner-inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1.25rem; padding: 2rem 2.25rem;
  background: linear-gradient(135deg, var(--ink-light), var(--ink-mid));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.cta-banner-inner::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 40%; height: 100%;
  background: radial-gradient(circle at 100% 50%, rgba(200, 245, 66, 0.08), transparent 70%);
  pointer-events: none;
}
.cta-banner-inner h2 { margin: 0 0 0.35rem; font-size: 1.35rem; }
.cta-banner-inner p { margin: 0; color: var(--text-muted); }

/* ── SEO content ── */
.seo-content .prose { max-width: 920px; }
.seo-content h2 {
  font-size: 1.4rem; margin-top: 2.5rem;
  color: var(--lime);
}
.seo-content h3 { font-size: 1.1rem; margin-top: 1.5rem; color: var(--text); }
.seo-content p, .seo-content li { color: var(--text-muted); }
.seo-content a { color: var(--cyan); }

/* ── Pagination ── */
.pagination { display: flex; gap: 0.35rem; margin-top: 2rem; flex-wrap: wrap; }
.page-link {
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: background 0.2s, color 0.2s;
}
.page-link.is-active,
.page-link:hover {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.empty-state { color: var(--text-muted); padding: 2rem 0; }

/* ── Footer ── */
.site-footer {
  background: var(--ink-mid);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; max-width: 280px; }
.site-footer h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--text-muted); font-size: 0.88rem; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1rem; }
.footer-bottom p { margin: 0; font-size: 0.78rem; color: var(--text-muted); }

/* ── Mobile dock ── */
.mobile-dock {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  display: none;
  background: rgba(7, 11, 20, 0.94);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(16px);
  padding: 0.4rem 0.6rem calc(0.4rem + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}
.mobile-dock a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.15rem; padding: 0.45rem 0.25rem;
  color: var(--text-muted);
  font-size: 0.62rem; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.mobile-dock a:hover { color: var(--lime); }
.mobile-dock .dock-icon { font-size: 1.15rem; line-height: 1; }
.mobile-dock a.active { color: var(--lime); }
.mobile-dock .dock-demo {
  color: var(--ink);
  background: var(--lime);
  border-radius: var(--radius-sm);
  margin: 0 0.15rem;
}
.mobile-dock .dock-demo .dock-icon { filter: none; }
.mobile-dock .dock-cta { color: var(--amber); }

@media (max-width: 768px) {
  .nav-desktop, .header-cta { display: none; }
  .mobile-dock { display: flex; }
  .game-hero { grid-template-columns: 1fr; }
  .game-hero-media { max-width: 280px; }
  .hero h1 { max-width: none; }
  .hero-stat-row { gap: 1rem; }
}

@media (min-width: 769px) {
  body { padding-bottom: 0; }
}
