/* WinGGBet v2 — Clean article layout */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-main: #0F1923;
  --bg-card: #172230;
  --bg-card-hover: #1E2D3D;
  --bg-nav: rgba(15,25,35,0.97);
  --bg-section: #132029;
  --accent: #FF6633;
  --accent-hover: #FF6900;
  --accent-gold: #FFD700;
  --accent-green: #22C55E;
  --accent-red: #EF4444;
  --border: #2A3A4A;
  --border-light: rgba(255,255,255,0.06);
  --text: #D0D8E0;
  --text-muted: #7A8A9A;
  --text-bright: #FFFFFF;
  --gradient-cta: linear-gradient(135deg, #FF6633 0%, #FF3D00 100%);
  --gradient-cta-hover: linear-gradient(135deg, #FF6900 0%, #FF5722 100%);
  --font: 'Inter', 'Segoe UI', sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --container: 760px;
  --container-wide: 960px;
  --transition: 0.2s ease;
}

/* ========== RESET ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
img { max-width: 100%; height: auto; display: block; }

/* ========== LINKS ========== */
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #FF8A65; text-decoration: underline; }
p a { border-bottom: 1px solid rgba(255,102,51,0.3); }
p a:hover { border-bottom-color: #FF8A65; text-decoration: none; }

/* ========== TYPOGRAPHY ========== */
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text-bright); font-weight: 700; }
em { color: var(--text); font-style: italic; }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--text-bright);
  line-height: 1.25;
  text-align: left;
}
h1 {
  font-size: 36px; font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 24px; font-weight: 700;
  margin-top: 40px; margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
h2:first-child { margin-top: 0; }
h3 {
  font-size: 20px; font-weight: 600;
  margin-top: 32px; margin-bottom: 12px;
  color: var(--text-bright);
}
h4 {
  font-size: 17px; font-weight: 600;
  margin-top: 24px; margin-bottom: 10px;
  color: var(--text);
}

/* ========== LAYOUT ========== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
}
section {
  padding: 48px 0;
  text-align: left;
}
section + section {
  border-top: 1px solid var(--border-light);
}

/* Article sections — constrain width */
section .container {
  max-width: var(--container);
}

/* ========== HEADER ========== */
.header {
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000;
}
.header .container { max-width: var(--container-wide); }
.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  height: 56px; gap: 24px;
}
.nav-logo {
  font-size: 18px; font-weight: 800; color: var(--text-bright);
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo span {
  color: var(--accent);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text-muted); font-weight: 500; font-size: 14px;
  text-decoration: none; transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-bright); text-decoration: none; }
.nav-burger {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: 6px; padding: 6px 10px;
  cursor: pointer; color: var(--text); font-size: 18px;
}
.nav-burger:hover { border-color: var(--accent); color: var(--accent); }

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gradient-cta);
  color: #fff !important;
  font-weight: 700; font-size: 15px;
  border-radius: var(--radius-lg);
  border: none; cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  box-shadow: 0 4px 16px rgba(255,102,51,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,102,51,0.4);
  filter: brightness(1.1);
  color: #fff !important;
  text-decoration: none;
  border-bottom: none;
}
.nav-cta { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 14px 36px; font-size: 16px; }

/* ========== HERO (first section only) ========== */
main > section:first-child {
  padding: 64px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,102,51,0.03) 0%, transparent 60%);
}
main > section:first-child h1 {
  text-align: center;
  max-width: 700px;
  margin-left: auto; margin-right: auto;
}
/* After h1, everything left-aligned */
main > section:first-child h2,
main > section:first-child h3,
main > section:first-child h4,
main > section:first-child p,
main > section:first-child ul,
main > section:first-child ol,
main > section:first-child table,
main > section:first-child .tldr-box {
  text-align: left;
}
main > section:first-child .btn-primary {
  /* CTA stays centered */
  display: inline-block;
}
main > section:first-child p[style*="margin-top"] {
  text-align: center;
}

/* ========== LISTS ========== */
ul, ol {
  margin-bottom: 1em;
  padding-left: 0;
  list-style: none;
}
ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  line-height: 1.6;
}
ul li::before {
  content: '';
  position: absolute;
  left: 6px; top: 10px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
ol {
  counter-reset: ol-counter;
  padding-left: 0;
}
ol li {
  counter-increment: ol-counter;
  position: relative;
  padding-left: 32px;
  margin-bottom: 8px;
  line-height: 1.6;
}
ol li::before {
  content: counter(ol-counter) '.';
  position: absolute;
  left: 0; top: 0;
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
  min-width: 24px;
}

/* Nested lists */
li ul, li ol { margin-top: 6px; margin-bottom: 0; }

/* ========== TABLES ========== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: table;
}
/* Override the display:block from old CSS */
section .container table { display: table; overflow-x: auto; }

thead th {
  background: rgba(255,102,51,0.1);
  color: var(--accent);
  font-weight: 700; font-size: 14px;
  padding: 14px 18px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid var(--accent);
}
tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  font-size: 15px;
  vertical-align: top;
  background: var(--bg-card);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg-card-hover); }

/* First column — label style */
tbody td:first-child {
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  width: 40%;
  font-size: 14px;
}
/* Second column — value */
tbody td:last-child {
  color: var(--text-bright);
  font-weight: 500;
}

/* comparison-table class for backward compat */
.comparison-table { border-collapse: separate; border-spacing: 0; }
.comparison-table th { background: rgba(255,102,51,0.1); color: var(--accent); font-weight: 700; font-size: 14px; padding: 14px 18px; text-align: left; text-transform: uppercase; letter-spacing: 0.03em; border-bottom: 2px solid var(--accent); }
.comparison-table td { padding: 13px 18px; border-bottom: 1px solid var(--border-light); color: var(--text); font-size: 15px; background: var(--bg-card); }
.comparison-table td:first-child { font-weight: 600; color: var(--text-muted); width: 40%; font-size: 14px; white-space: nowrap; }
.comparison-table td:last-child { color: var(--text-bright); font-weight: 500; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--bg-card-hover); }

/* Params table */
.params-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin: 24px 0; table-layout: fixed; }
.params-table col:nth-child(1) { width: 22%; }
.params-table col:nth-child(2) { width: 42%; }
.params-table col:nth-child(3) { width: 36%; }
.params-table td { padding: 13px 16px; background: var(--bg-card); vertical-align: middle; border-bottom: 1px solid var(--border-light); border-right: 1px solid var(--border-light); }
.params-table td:last-child { border-right: none; }
.params-table tr:last-child td { border-bottom: none; }
.params-table tr:hover td { background: var(--bg-card-hover); }
.params-table__label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.params-table__icon { margin-right: 8px; font-style: normal; }
.params-table__value { font-size: 15px; font-weight: 600; color: var(--accent); }
.params-table__comment { font-size: 13px; color: var(--text-muted); font-style: italic; }

/* Stats bar */
.stats-bar { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.stats-bar__item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; text-align: center; min-width: 110px; flex: 1; }
.stats-bar__label { display: block; font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.stats-bar__value { font-size: 16px; font-weight: 800; color: var(--accent); }

/* Mobile table wrapper */
@media (max-width: 600px) {
  table, .comparison-table, .params-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ========== CALLOUTS / BLOCKQUOTES ========== */
.tldr-box {
  background: rgba(255,102,51,0.04);
  border: 1px solid rgba(255,102,51,0.15);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.tldr-box p:last-child { margin-bottom: 0; }

/* ========== FAQ ========== */
.faq-accordion {
  display: flex; flex-direction: column;
  gap: 8px; margin-top: 16px;
}
.faq-accordion details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-accordion details:hover { border-color: rgba(255,102,51,0.3); }
.faq-accordion summary {
  padding: 16px 20px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; color: var(--text-bright);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  transition: background var(--transition);
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after {
  content: '+'; font-size: 20px; font-weight: 400;
  color: var(--accent); flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-accordion details[open] summary::after { transform: rotate(45deg); }
.faq-accordion summary:hover { background: rgba(255,255,255,0.02); }
.faq-accordion details[open] summary {
  border-bottom: 1px solid var(--border);
  color: var(--accent);
}
.faq-accordion details > div {
  padding: 16px 20px;
  color: var(--text); line-height: 1.7;
}
.faq-accordion details > div p:last-child { margin-bottom: 0; }

/* ========== TOC ========== */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0;
}
.toc__title {
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.toc__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.toc__list li { padding-left: 0; }
.toc__list li::before { display: none; }
.toc__list a { font-size: 14px; color: var(--text-muted); border-bottom: none; }
.toc__list a:hover { color: var(--accent); }

/* ========== FOOTER ========== */
.footer {
  background: #080E14;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 64px;
}
.footer .container { max-width: var(--container-wide); }
.footer-container {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 20px;
}
.footer-logo {
  font-size: 20px; font-weight: 800; color: var(--text-muted);
}
.footer-logo span { color: var(--accent); }
.footer-links {
  display: flex; gap: 12px 20px; flex-wrap: wrap; justify-content: center;
}
.footer-links a {
  color: var(--text-muted); font-size: 13px;
  text-decoration: none; border-bottom: none;
}
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.footer-badges {
  display: flex; gap: 16px; justify-content: center; align-items: center;
  padding: 16px 0; border-top: 1px solid var(--border); width: 100%;
}
.footer-badges img {
  width: 36px; height: 36px; object-fit: contain;
  filter: grayscale(0.5) opacity(0.6);
}
.footer-badges img:hover { filter: none; }
.footer-disclaimer {
  font-size: 12px; line-height: 1.6; color: #556070; max-width: 600px;
}
.footer-copy { font-size: 11px; color: #334050; }

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient-cta); color: #fff;
  border: none; cursor: pointer; font-size: 18px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(255,102,51,0.3);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform var(--transition);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }

/* ========== DIVIDER ========== */
hr { border: none; height: 1px; background: var(--border); margin: 32px 0; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  h1 { font-size: 28px; }
  h2 { font-size: 21px; margin-top: 32px; }
  h3 { font-size: 18px; margin-top: 24px; }
  body { font-size: 15px; }
  section { padding: 36px 0; }
  main > section:first-child { padding: 40px 0 32px; }
  main > section:first-child h1 { font-size: 26px; }

  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    gap: 0;
    backdrop-filter: blur(16px);
    z-index: 999;
  }
  .nav-links.open a {
    font-size: 15px; padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
  }
  .nav-links.open a:last-child { border-bottom: none; }

  .stats-bar { gap: 8px; }
  .stats-bar__item { min-width: 80px; padding: 10px 12px; }
  .footer-links { gap: 8px 16px; }

  .faq-accordion summary { padding: 14px 16px; font-size: 14px; }
  .faq-accordion details > div { padding: 14px 16px; }

  .toc__list { flex-direction: column; gap: 6px; }
}

@media (max-width: 480px) {
  .btn-primary { padding: 12px 24px; font-size: 14px; }
  .nav-cta { display: none; }
  .params-table__comment { display: none; }
  table tbody td:first-child { font-size: 12px; }
}

@media print {
  .header, .back-to-top, .nav-cta, .btn-primary, .footer { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}