
/* ============================================
   casinoduelonline.org — Styles
   Aesthetic: Dark luxury editorial / sharp gold
   ============================================ */
:root {
  --bg: #0d0d0f;
  --bg2: #14141a;
  --bg3: #1c1c26;
  --border: #2a2a38;
  --gold: #d4a843;
  --gold2: #f0c45a;
  --gold-dim: rgba(212,168,67,0.15);
  --red: #e84545;
  --green: #4caf80;
  --text: #e8e8ee;
  --text2: #9999b0;
  --text3: #6666808;
  --white: #ffffff;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --r: 8px;
  --r2: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --max-w: 1200px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Links */
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold2); }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,15,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  color: var(--white) !important;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.4rem; }
.logo-accent { color: var(--gold); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: space-between;
}
.nav-primary {
  display: flex; align-items: center; gap: 2px; flex-wrap: nowrap;
}
.nav-primary a {
  color: var(--text2);
  font-size: .82rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--r);
  transition: all .2s;
  white-space: nowrap;
}
.nav-primary a:hover, .nav-primary a.active {
  color: var(--gold);
  background: var(--gold-dim);
}
.nav-secondary {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.lang-switcher { display: flex; gap: 4px; }
.lang-switcher a {
  color: var(--text2);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 7px;
  border-radius: 4px;
  transition: all .2s;
}
.lang-switcher a:hover, .lang-switcher a.lang-active {
  color: var(--white);
  background: var(--border);
}
.btn-play {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0d0d0f !important;
  font-size: .82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--r);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(212,168,67,0.3);
  transition: all .2s;
}
.btn-play:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212,168,67,0.5);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-more {
  background: none; border: none; cursor: pointer;
  color: var(--text2); font-size: .82rem; font-weight: 500;
  padding: 6px 10px; border-radius: var(--r);
  font-family: var(--font-body);
  transition: all .2s;
}
.nav-more:hover { color: var(--gold); background: var(--gold-dim); }
.nav-dropdown-content {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 8px;
  min-width: 200px; z-index: 200;
  box-shadow: var(--shadow);
}
.nav-dropdown:hover .nav-dropdown-content { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown-content a {
  color: var(--text2); font-size: .83rem;
  padding: 7px 12px; border-radius: var(--r);
  transition: all .2s;
}
.nav-dropdown-content a:hover { color: var(--gold); background: var(--gold-dim); }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s;
}

/* ===== LAYOUT ===== */
.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px 80px;
}
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  margin-top: 32px;
}
.page-layout > * { min-width: 0; }
.content-area {}
.sidebar {}

/* ===== HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 40px 48px;
  margin: 24px 0 32px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '⚔';
  position: absolute; right: -20px; top: -20px;
  font-size: 160px; opacity: 0.04; line-height: 1;
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: .75rem; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  border: 1px solid rgba(212,168,67,0.3);
  margin-bottom: 16px; letter-spacing: .05em; text-transform: uppercase;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.page-hero .lead {
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 680px;
  line-height: 1.7;
}
.hero-cta-row {
  margin-top: 28px;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.hero-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0d0d0f !important;
  font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: var(--r);
  box-shadow: 0 4px 20px rgba(212,168,67,0.35);
  transition: all .25s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(212,168,67,0.5); }
.hero-note { color: var(--text2); font-size: .78rem; }

/* Stats row */
.stats-row {
  display: flex; gap: 0; flex-wrap: wrap;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r2);
  overflow: hidden; margin: 24px 0;
}
.stat-item {
  flex: 1; min-width: 120px;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-val {
  font-family: var(--font-head);
  font-size: 1.9rem; font-weight: 700;
  color: var(--gold); line-height: 1;
  display: block;
}
.stat-label { color: var(--text2); font-size: .78rem; margin-top: 6px; display: block; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 12px 0 0;
}
.breadcrumb-list {
  display: flex; gap: 0; list-style: none;
  font-size: .82rem; color: var(--text2);
}
.breadcrumb-list li { display: flex; align-items: center; }
.breadcrumb-list li + li::before { content: ' › '; margin: 0 6px; color: var(--border); }
.breadcrumb-list a { color: var(--text2); }
.breadcrumb-list a:hover { color: var(--gold); }

/* ===== CONTENT ===== */
.content-body { font-size: .97rem; color: var(--text); }
.content-body h2 {
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 700;
  color: var(--white); margin: 40px 0 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.content-body h3 {
  font-family: var(--font-head);
  font-size: 1.2rem; font-weight: 700;
  color: var(--text); margin: 28px 0 12px;
}
.content-body h4 {
  font-size: 1rem; font-weight: 600;
  color: var(--gold); margin: 20px 0 10px;
}
.content-body p { margin-bottom: 16px; }
.content-body ul, .content-body ol {
  margin: 16px 0 16px 24px;
}
.content-body li { margin-bottom: 8px; }
.content-body strong { color: var(--white); font-weight: 600; }
.content-body em { color: var(--gold2); font-style: italic; }
.content-body code {
  background: var(--bg3); color: var(--gold2);
  padding: 2px 6px; border-radius: 4px;
  font-family: var(--font-mono); font-size: .88em;
}
.content-body pre {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px;
  overflow-x: auto; margin: 20px 0;
}
.content-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 12px 20px; margin: 24px 0;
  background: var(--gold-dim); border-radius: 0 var(--r) var(--r) 0;
}
.content-body blockquote p { color: var(--text2); margin: 0; }

/* Tables */
.content-body table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0; font-size: .9rem;
  border-radius: var(--r2); overflow: hidden;
  box-shadow: var(--shadow);
}
.content-body table thead th {
  background: var(--bg3); color: var(--gold);
  font-weight: 700; text-align: left;
  padding: 14px 16px; border-bottom: 2px solid var(--gold);
  font-size: .82rem; text-transform: uppercase; letter-spacing: .06em;
}
.content-body table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.content-body table tbody tr:last-child { border-bottom: none; }
.content-body table tbody tr:hover { background: var(--bg3); }
.content-body table tbody td {
  padding: 12px 16px; color: var(--text);
  vertical-align: top;
}
.content-body table tbody td:first-child { font-weight: 600; color: var(--text); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ===== SIDEBAR ===== */
.sidebar-facts {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r2); overflow: hidden;
  margin-bottom: 24px;
}
.facts-table { width: 100%; border-collapse: collapse; }
.facts-table tr { border-bottom: 1px solid var(--border); }
.facts-table tr:last-child { border-bottom: none; }
.sf-label {
  padding: 11px 16px; color: var(--text2);
  font-size: .83rem; font-weight: 500;
  width: 55%;
}
.sf-value {
  padding: 11px 16px; color: var(--white);
  font-size: .83rem; font-weight: 600;
  text-align: right;
}
.sidebar-cta {
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: var(--r2); padding: 24px;
  text-align: center; margin-bottom: 24px;
}
.sidebar-cta .sc-title {
  font-family: var(--font-head);
  font-size: 1.1rem; color: var(--white);
  margin-bottom: 8px;
}
.sidebar-cta .sc-sub { color: var(--text2); font-size: .82rem; margin-bottom: 16px; }
.sidebar-cta .sc-btn {
  display: block; background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0d0d0f !important; font-weight: 700; font-size: .9rem;
  padding: 12px 20px; border-radius: var(--r); transition: all .2s;
}
.sidebar-cta .sc-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(212,168,67,0.4); }
.sidebar-cta .sc-responsible { font-size: .72rem; color: var(--text2); margin-top: 10px; }

/* ===== STEPS ===== */
.steps-list { list-style: none; margin: 24px 0; }
.step-item {
  display: flex; gap: 20px; margin-bottom: 24px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 20px 24px;
  transition: border-color .2s;
}
.step-item:hover { border-color: var(--gold); }
.step-num {
  flex-shrink: 0; width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0d0d0f; font-weight: 800; font-size: 1.1rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.step-content { flex: 1; }
.step-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.step-body { color: var(--text2); font-size: .9rem; }

/* ===== FAQ ===== */
.faq-section { margin: 32px 0; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--r);
  margin-bottom: 8px; overflow: hidden; transition: border-color .2s;
}
.faq-item:hover { border-color: var(--gold); }
.faq-q {
  width: 100%; background: var(--bg2);
  color: var(--text); font-size: .95rem; font-weight: 600;
  text-align: left; padding: 16px 20px;
  border: none; cursor: pointer; font-family: var(--font-body);
  display: flex; justify-content: space-between; align-items: center;
  transition: background .2s;
}
.faq-q::after { content: '+'; color: var(--gold); font-size: 1.2rem; flex-shrink: 0; margin-left: 12px; }
.faq-q[aria-expanded="true"] { background: var(--bg3); color: var(--gold); }
.faq-q[aria-expanded="true"]::after { content: '−'; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 20px; background: var(--bg3);
  color: var(--text2); font-size: .9rem;
}
.faq-a.open { max-height: 500px; padding: 16px 20px; }
.faq-a div { line-height: 1.7; }

/* ===== CTA BLOCK ===== */
.cta-block {
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
  border: 1px solid rgba(212,168,67,0.4);
  border-radius: var(--r2); padding: 28px 32px;
  text-align: center; margin: 40px 0;
}
.cta-btn {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0d0d0f !important; padding: 16px 40px;
  border-radius: var(--r); font-weight: 700;
  box-shadow: 0 4px 24px rgba(212,168,67,0.35);
  transition: all .25s;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(212,168,67,0.5); }
.cta-main { font-size: 1.05rem; }
.cta-sub { font-size: .8rem; opacity: .8; font-weight: 500; }
.responsible-gambling { color: var(--text2); font-size: .75rem; margin-top: 12px; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-col h4 {
  font-family: var(--font-head); font-size: 1rem;
  color: var(--gold); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text2); font-size: .87rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo {
  font-family: var(--font-head); font-size: 1.1rem;
  color: var(--white); font-weight: 700;
}
.footer-legal { color: var(--text2); font-size: .78rem; max-width: 700px; line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .sidebar-facts { display: none; }
  .stats-row .stat-item { min-width: 100px; padding: 16px; }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .header-inner { gap: 12px; }
  .burger { display: flex; }
  .main-nav {
    display: none; position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--bg); z-index: 99; overflow-y: auto;
    flex-direction: column; align-items: stretch;
    padding: 20px; gap: 8px;
    border-top: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .nav-primary { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-primary a { font-size: .95rem; padding: 12px 16px; }
  .nav-dropdown-content {
    display: flex !important; flex-direction: column;
    position: static; border: 1px solid var(--border); margin-top: 4px;
  }
  .nav-more { display: none; }
  .nav-secondary { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
  .lang-switcher { flex-wrap: wrap; }
  .btn-play { text-align: center; padding: 14px; }
  .page-hero { padding: 28px 24px; }
  .page-hero h1 { font-size: 1.6rem; }
  .stats-row { flex-direction: row; flex-wrap: wrap; }
  .stat-item { flex: 1 1 45%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .page-wrap { padding: 0 14px 60px; }
  .page-hero { padding: 20px 18px; }
  .page-hero h1 { font-size: 1.4rem; }
  .stat-item { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .step-item { flex-direction: column; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .content-body table { font-size: .8rem; }
  .content-body table thead th, .content-body table tbody td { padding: 10px 10px; }
}

/* Utility */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.tag-updated { color: var(--text2); font-size: .75rem; margin-bottom: 8px; }

/* ===== CASINO CARD ===== */
.casino-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  margin: 32px 0;
  box-shadow: var(--shadow);
  transition: border-color .2s;
}
.casino-card:hover { border-color: rgba(212,168,67,0.4); }
.cc-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg2) 100%);
  border-bottom: 1px solid var(--border);
}
.cc-logo-wrap { display: flex; align-items: center; gap: 14px; }
.cc-sword {
  font-size: 2.2rem; line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cc-name-wrap { display: flex; flex-direction: column; gap: 3px; }
.cc-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--white); }
.cc-domain { font-size: .78rem; color: var(--text2); }
.cc-rating { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.cc-score { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.cc-max { font-size: .78rem; color: var(--text2); line-height: 1; }
.cc-stars { color: var(--gold); font-size: .95rem; letter-spacing: 2px; }
.cc-table {
  width: 100%; border-collapse: collapse;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.cc-table tr { border-bottom: 1px solid var(--border); }
.cc-table tr:last-child { border-bottom: none; }
.cc-table tr:hover { background: var(--bg3); }
.cc-label {
  padding: 13px 24px; color: var(--text2);
  font-size: .88rem; font-weight: 500; width: 55%;
}
.cc-value {
  padding: 13px 24px; color: var(--white);
  font-size: .88rem; font-weight: 600;
  text-align: right;
}
.cc-footer {
  padding: 20px 24px; text-align: center;
  background: linear-gradient(135deg, rgba(212,168,67,0.08), rgba(212,168,67,0.03));
  border-top: 1px solid var(--border);
}
.cc-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0d0d0f !important; font-weight: 700; font-size: .95rem;
  padding: 13px 28px; border-radius: var(--r);
  box-shadow: 0 3px 16px rgba(212,168,67,0.35);
  transition: all .2s;
}
.cc-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(212,168,67,0.5); }
.cc-responsible { color: var(--text2); font-size: .74rem; margin-top: 10px; }

@media (max-width: 480px) {
  .cc-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cc-rating { align-items: flex-start; flex-direction: row; align-items: center; gap: 8px; }
  .cc-label, .cc-value { padding: 11px 16px; font-size: .83rem; }
}

/* ===== KV TABLE (inline facts) ===== */
.kv-table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0; font-size: .9rem;
  border-radius: var(--r2); overflow: hidden;
  box-shadow: var(--shadow);
}
.kv-table tr { border-bottom: 1px solid var(--border); transition: background .15s; }
.kv-table tr:last-child { border-bottom: none; }
.kv-table tr:hover { background: var(--bg3); }
.kv-table .tbl-label {
  padding: 12px 18px; color: var(--text2);
  font-size: .85rem; font-weight: 500; width: 55%;
  background: var(--bg2);
}
.kv-table td:not(.tbl-label) {
  padding: 12px 18px; color: var(--white);
  font-weight: 600; text-align: right; background: var(--bg3);
}
.kv-table .tbl-good { color: var(--green) !important; }
.kv-table .tbl-gold { color: var(--gold) !important; }
.kv-table .tbl-bad { color: var(--red) !important; }
.kv-table.tbl-danger .tbl-label,
.kv-table.tbl-danger td { background: rgba(232,69,69,0.06); }
.kv-table.tbl-success .tbl-label,
.kv-table.tbl-success td { background: rgba(76,175,128,0.06); }

/* Bonus math title */
.bonus-math-title {
  font-size: 1rem; font-weight: 700; margin: 28px 0 4px;
  color: var(--text);
}
.bonus-math-title.bad { color: var(--red); }
.bonus-math-title.good { color: var(--green); }

/* ===== COMPARISON TABLE ===== */
.comparison-table { margin: 28px 0; }
.content-comparison-tbl {
  width: 100%; border-collapse: collapse;
  font-size: .84rem;
  border-radius: var(--r2); overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg2);
}
.content-comparison-tbl thead th {
  background: var(--bg3); color: var(--text2);
  font-weight: 700; text-align: center;
  padding: 12px 14px; border-bottom: 2px solid var(--border);
  font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  white-space: nowrap;
}
.content-comparison-tbl thead .tbl-col-duel {
  background: rgba(212,168,67,0.12);
  color: var(--gold); border-bottom-color: var(--gold);
}
.content-comparison-tbl thead .tbl-cat {
  text-align: left; color: var(--text2);
}
.content-comparison-tbl tbody tr {
  border-bottom: 1px solid var(--border); transition: background .15s;
}
.content-comparison-tbl tbody tr:last-child { border-bottom: none; }
.content-comparison-tbl tbody tr:hover { background: var(--bg3); }
.content-comparison-tbl td {
  padding: 11px 14px; text-align: center;
  color: var(--text2); vertical-align: middle;
}
.content-comparison-tbl .tbl-label {
  text-align: left; color: var(--text); font-weight: 600;
  padding-left: 16px; white-space: nowrap;
}
.content-comparison-tbl .tbl-good {
  color: var(--green) !important; font-weight: 700;
}
.content-comparison-tbl .tbl-bad {
  color: rgba(232,69,69,0.7) !important;
}
.content-comparison-tbl .tbl-cat { font-weight: 700; color: var(--text2); }

/* section-h3 inside content */
.section-h3 {
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 700;
  color: var(--gold); margin: 28px 0 8px;
}

@media (max-width: 600px) {
  .content-comparison-tbl thead th,
  .content-comparison-tbl td { padding: 9px 8px; font-size: .78rem; }
  .kv-table .tbl-label, .kv-table td { padding: 10px 12px; }
}

/* ===== ARTICLE HERO IMAGE ===== */
.article-hero-img {
  margin: 0 0 32px 0;
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.article-hero-img img {
  width: 100%; height: auto;
  display: block;
  transition: transform .3s ease;
}
.article-hero-img:hover img { transform: scale(1.01); }

/* ===== ESPORT TAGS ===== */
.esport-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 12px 0 24px;
}
.esport-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text2); font-size: .8rem; font-weight: 500;
  padding: 5px 12px; border-radius: 20px;
  transition: all .2s;
  white-space: nowrap;
}
.esport-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* ===== GAME INFO CARD ===== */
.game-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 16px 20px;
  margin: 12px 0; transition: border-color .2s;
}
.game-card:hover { border-color: rgba(212,168,67,0.3); }
.game-card-title {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 700;
  color: var(--gold); margin-bottom: 6px;
}
.game-card-body { color: var(--text2); font-size: .88rem; line-height: 1.6; margin: 0; }

/* ===== FIX: nl2br causes vertical lists — suppress <br> inside list items and nav blocks ===== */
.content-body p br { display: none; }
.content-body li br { display: none; }
/* Instead render each br-separated line properly by keeping br only in prose paragraphs */
.content-body p.has-br br { display: inline; }

/* ===== RESPONSIVE IMAGES ===== */
.content-body img {
  max-width: 100%; height: auto; border-radius: var(--r);
  display: block; margin: 20px auto;
}

@media (max-width: 600px) {
  .article-hero-img img { max-height: 240px; }
  .esport-tags { gap: 6px; }
  .esport-tag { font-size: .75rem; padding: 4px 10px; }
}

/* ===== CALLOUT BOXES ===== */
.callout-warn, .callout-tip, .callout-good, .callout-bad {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px; border-radius: var(--r);
  margin: 20px 0; font-size: .92rem; line-height: 1.6;
}
.callout-warn  { background: rgba(232,164,69,0.08); border-left: 3px solid #e8a445; }
.callout-tip   { background: rgba(124,92,252,0.08); border-left: 3px solid #7c5cfc; }
.callout-good  { background: rgba(76,175,128,0.08); border-left: 3px solid #4caf80; }
.callout-bad   { background: rgba(232,69,69,0.08);  border-left: 3px solid #e84545; }
.callout-icon  { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.callout-body  { color: var(--text); flex: 1; }
.callout-body strong { color: var(--white); }

/* ===== PROVIDER PILLS ===== */
.provider-pills {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 16px 0;
}
.provider-pill {
  display: inline-block;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text2); font-size: .78rem; font-weight: 500;
  padding: 4px 10px; border-radius: 20px;
  transition: all .2s; white-space: nowrap;
}
.provider-pill:hover { border-color: var(--gold); color: var(--gold); }

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: rgba(212,168,67,0.06);
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: var(--r); padding: 16px 20px;
  color: var(--text); margin: 20px 0;
  font-size: .92rem; line-height: 1.7;
}

/* ===== CONTENT PROSE — max readable width ===== */
.content-body p, .content-body li {
  max-width: 72ch;
}
.content-body h2, .content-body h3 { max-width: none; }
/* But tables and special blocks span full width */
.content-body table, .kv-table, .content-comparison-tbl,
.casino-card, .callout-warn, .callout-tip, .callout-good, .callout-bad,
.provider-pills, .highlight-box { max-width: none; }

/* ===== INLINE STEP (fallback) ===== */
.inline-step {
  display: flex; gap: 14px; padding: 12px 16px;
  background: var(--bg2); border-radius: var(--r);
  margin: 8px 0; align-items: flex-start;
}
.inline-step-num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: #0d0d0f;
  font-weight: 800; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}

@media (max-width: 600px) {
  .content-body p, .content-body li { max-width: none; }
}

/* ===== CRYPTO TABLE ===== */
.crypto-table { width: 100%; border-collapse: collapse; margin: 20px 0;
  border-radius: var(--r2); overflow: hidden; box-shadow: var(--shadow); }
.crypto-table thead th { background: #1a1400; color: var(--gold);
  font-weight: 700; text-transform: uppercase; font-size: .8rem;
  letter-spacing: .08em; padding: 12px 16px; border-bottom: 2px solid var(--gold); }
.crypto-table thead th:first-child { width: 44px; }
.crypto-table tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; }
.crypto-table tbody tr:hover { background: var(--bg3); }
.crypto-row-alt { background: rgba(255,255,255,0.02); }
.crypto-icon { width: 44px; font-size: 1.3rem; text-align: center !important; padding: 12px 8px !important; }
.crypto-name { padding: 12px 16px; color: var(--white); font-weight: 600; font-size: .92rem; }
.crypto-speed, .crypto-fee { padding: 12px 16px; font-size: .88rem; text-align: center !important; }
.crypto-more td { padding: 10px 16px; color: var(--text2); font-style: italic; text-align: center; }

/* ===== SECONDARY IMAGE ===== */
.article-secondary-img {
  margin: 32px 0; border-radius: var(--r2); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}

/* ===== GAME INFO CARD ===== */
.game-info-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 16px 20px;
  margin: 10px 0; transition: border-color .2s;
}
.game-info-card:hover { border-color: var(--gold); }
.gic-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; gap: 12px;
}
.gic-name {
  font-family: var(--font-head); font-size: 1.05rem;
  font-weight: 700; color: var(--white);
}
.gic-rtp {
  font-size: .8rem; font-weight: 700; color: var(--gold);
  background: var(--gold-dim); padding: 3px 10px; border-radius: 12px;
  white-space: nowrap;
}
.gic-desc { color: var(--text2); font-size: .9rem; margin: 0; }

/* ===== GAME COMPARISON TABLE ===== */
.game-comparison-table thead th { font-size: .75rem; }
.game-comparison-table td { font-size: .85rem; text-align: center; }
.game-comparison-table td:first-child { text-align: left; font-weight: 600; }

/* ===== RATINGS TABLE ===== */
.ratings-table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0; background: var(--bg2);
  border-radius: var(--r2); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.ratings-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.ratings-table tbody tr:hover { background: var(--bg3); }
.ratings-table tbody tr:last-child { border-bottom: none; }
.rtbl-cat {
  padding: 13px 18px; color: var(--text);
  font-size: .92rem; font-weight: 500;
  width: 42%; white-space: nowrap;
}
.rtbl-bar { padding: 13px 12px; width: 42%; }
.rtbl-bar-wrap {
  height: 6px; background: var(--bg3);
  border-radius: 3px; overflow: hidden;
}
.rtbl-bar-fill {
  height: 100%; border-radius: 3px;
  transition: width .4s ease;
}
.rtbl-score {
  padding: 13px 18px; font-weight: 700;
  font-size: .9rem; text-align: right;
  white-space: nowrap; width: 16%;
}
.rtbl-overall .rtbl-cat { color: var(--white); font-weight: 700; }
.rtbl-overall { background: rgba(212,168,67,0.05); }
.rtbl-overall .rtbl-bar-wrap { height: 8px; }

body { overflow-x: hidden; }
.content-body { overflow-wrap: break-word; word-break: break-word; }
