/* =====================================================
   789Bet Paga? — Industrial Brutalist Theme
   Colors: #000000 / #FFFFFF / #F5A623
   ===================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Courier New', Courier, 'Lucida Console', monospace;
  background: #fff;
  color: #000;
  line-height: 1.6;
  min-width: 320px;
}

/* --- Skip link --- */
.skip-wrap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  background: #F5A623;
  color: #000;
  font-weight: 700;
  padding: 10px 16px;
  text-decoration: none;
  border: 2px solid #000;
  transition: top 0.15s;
}
.skip-link:focus {
  top: 8px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: #000;
}

h1 { font-size: clamp(1.6rem, 4vw, 2.8rem); border-left: 6px solid #F5A623; padding-left: 0.5rem; margin-bottom: 0.75rem; }
h2 { font-size: clamp(1.2rem, 3vw, 1.9rem); border-left: 4px solid #000; padding-left: 0.5rem; margin: 2rem 0 0.75rem; }
h3 { font-size: clamp(1rem, 2.5vw, 1.35rem); margin: 1.5rem 0 0.5rem; }
h4 { font-size: 1rem; margin: 1rem 0 0.4rem; }

p { font-size: 1rem; line-height: 1.65; margin-bottom: 1rem; }

a { color: #000; text-decoration: underline; text-decoration-color: #F5A623; text-underline-offset: 3px; }
a:hover { color: #F5A623; text-decoration-color: #000; }

strong, b { font-weight: 700; }
small { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: #555; display: block; margin-bottom: 0.25rem; }

ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; line-height: 1.55; }

table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.9rem; }
th, td { border: 2px solid #000; padding: 0.5rem 0.75rem; text-align: left; }
th { background: #000; color: #fff; text-transform: uppercase; letter-spacing: 0.06em; }
tr:nth-child(even) td { background: #f4f4f4; }

blockquote { border-left: 6px solid #F5A623; padding: 0.75rem 1rem; margin: 1.5rem 0; background: #fffbf0; font-style: italic; }

hr { border: none; border-top: 3px solid #000; margin: 2rem 0; }

code, pre { font-family: 'Courier New', Courier, monospace; background: #f0f0f0; border: 1px solid #ccc; }
code { padding: 0.15em 0.35em; font-size: 0.9em; }
pre { padding: 1rem; overflow-x: auto; font-size: 0.85rem; }

/* --- Header --- */
.site-header {
  background: #000;
  color: #fff;
  border-bottom: 4px solid #F5A623;
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F5A623;
  text-decoration: none;
  white-space: nowrap;
  flex: 1 1 auto;
}
.brand:hover { color: #fff; }

/* CTA buttons in header */
.header-cta {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.55rem 0.8rem;
  min-height: 44px;
  text-decoration: none;
  border: 2px solid #F5A623;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cta-signup {
  background: #F5A623;
  color: #000;
}
.cta-signup:hover {
  background: #d48e1a;
  color: #000;
  border-color: #d48e1a;
}

.cta-login {
  background: transparent;
  color: #F5A623;
}
.cta-login:hover {
  background: #F5A623;
  color: #000;
}

/* Nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid #F5A623;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-toggle .toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #F5A623;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Primary nav (desktop) */
.primary-nav {
  background: #111;
  border-bottom: 2px solid #F5A623;
}

.nav-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  list-style: none;
}

.nav-dt {
  display: none;
}

.nav-dl dd {
  margin: 0;
}

.nav-dl dd a {
  display: flex;
  align-items: center;
  padding: 0.65rem 1rem;
  min-height: 44px;
  color: #ccc;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-right: 1px solid #333;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav-dl dd a:hover,
.nav-dl dd a[aria-current="page"] {
  background: #F5A623;
  color: #000;
}

/* --- Layout: main > div.wrap > section > article --- */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}

/* Sections */
.hero-section,
.review-section,
.compare-section,
.ranking-section,
.faq-section,
.about-section,
.privacy-section {
  min-width: 0;
}

/* Articles */
.hero-article,
.review-article,
.compare-article,
.ranking-article,
.faq-article,
.about-article,
.privacy-article {
  border: 3px solid #000;
  padding: 1.75rem;
  background: #fff;
}

/* Eyebrow small before h1 */
.hero-article > small,
.review-article > .stage-label small,
.compare-article > small,
.ranking-article > small,
.faq-article > small,
.about-article > small,
.privacy-article > small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #F5A623;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.stage-label { margin-bottom: 0; }

/* Byline */
.byline {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0.75rem;
  border-left: 3px solid #F5A623;
  background: #fffbf0;
}
.byline strong { color: #000; }

/* Hero image */
.hero-figure { margin: 1rem 0 1.5rem; }
.hero-img { width: 100%; height: auto; display: block; border: 2px solid #000; }

/* Page content */
.page-content { margin-top: 1.5rem; }
.page-content a { text-decoration: underline; text-decoration-color: #F5A623; }
.page-content h2 { margin-top: 2rem; }
.page-content h3 { margin-top: 1.5rem; }

/* --- Child list (ul > li > article > h3/p) --- */
.child-list-block { margin-top: 2rem; border-top: 3px solid #000; padding-top: 1.5rem; }
.child-list-block > small { color: #F5A623; }

.child-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.child-list > li {
  margin: 0;
}

.child-card {
  border: 2px solid #000;
  padding: 1rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color 0.15s;
}
.child-card:hover { border-color: #F5A623; }

.child-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}
.child-card h3 a { text-decoration: none; color: #000; }
.child-card h3 a:hover { color: #F5A623; }
.child-card p { font-size: 0.8rem; color: #444; margin: 0; line-height: 1.45; }
.card-date { font-size: 0.7rem; color: #888; font-family: monospace; }

/* --- Sidebar --- */
.sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-inner {
  border: 3px solid #000;
  padding: 1.25rem;
  background: #f9f9f9;
}

.sidebar-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
  border-left: none;
  padding-left: 0;
}

.sidebar-list {
  list-style: none;
  padding: 0;
}

.sidebar-list li {
  border-bottom: 1px solid #ddd;
  margin: 0;
}
.sidebar-list li:last-child { border-bottom: none; }

.sidebar-list a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.8rem;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.sidebar-list a:hover { color: #F5A623; }

/* --- Ranking --- */
.rank-preview {
  margin: 1.5rem 0;
  border: 3px solid #F5A623;
  padding: 1.25rem;
  background: #fffbf0;
}

.rank-ol {
  list-style: none;
  padding: 0;
  counter-reset: none;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #e0d0a0;
  font-size: 0.9rem;
}
.rank-item:last-child { border-bottom: none; }

.rank-pos {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: #000;
  color: #F5A623;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.rank-name { font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

/* --- Compare --- */
.compare-intro { margin: 1rem 0; }
.compare-label {
  display: inline-block;
  background: #000;
  color: #F5A623;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
}

/* --- About / Author --- */
.author-section {
  margin-top: 2rem;
  border-top: 4px solid #F5A623;
  padding-top: 1.5rem;
}
.author-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.25rem; }
.author-credentials { font-size: 0.82rem; color: #555; font-style: italic; margin-bottom: 0.75rem; }
.author-bio { font-size: 0.9rem; line-height: 1.6; }

/* --- Footer --- */
.site-footer {
  background: #000;
  color: #ccc;
  border-top: 4px solid #F5A623;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-address {
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #aaa;
}
.footer-address strong { color: #fff; }
.footer-address a { color: #F5A623; text-decoration: none; }
.footer-address a:hover { text-decoration: underline; }

/* Footer nav dl (nav > dl > dt/dd > a) */
.footer-nav-dl {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-nav-dl dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #F5A623;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.footer-nav-dl dd {
  margin: 0;
  border-bottom: 1px solid #222;
}
.footer-nav-dl dd a {
  display: flex;
  align-items: center;
  padding: 0.45rem 0;
  min-height: 44px;
  color: #ccc;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
.footer-nav-dl dd a:hover { color: #F5A623; }

/* Footer trust links (ul > li > a) */
.footer-trust {
  list-style: none;
  padding: 0;
}
.footer-trust li {
  border-bottom: 1px solid #222;
  margin: 0;
}
.footer-trust li a {
  display: flex;
  align-items: center;
  padding: 0.45rem 0;
  min-height: 44px;
  color: #aaa;
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
.footer-trust li a:hover { color: #F5A623; }

/* Responsible gambling */
.responsible-gambling {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: #888;
  text-align: center;
  padding: 0.75rem 1rem;
  border: 1px solid #333;
  background: #111;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  color: #555;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* --- Mobile Navigation (≤768px) --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    display: none;
    border-top: 2px solid #F5A623;
  }
  .primary-nav.is-open {
    display: block;
  }

  .nav-dl {
    flex-direction: column;
    padding: 0.5rem 0;
    gap: 0;
  }

  .nav-dl dd a {
    border-right: none;
    border-bottom: 1px solid #222;
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    white-space: normal;
  }

  .header-inner {
    height: auto;
    min-height: 60px;
    padding: 0.5rem 1rem;
    flex-wrap: nowrap;
  }

  .header-cta {
    gap: 0.3rem;
  }

  .cta {
    font-size: 0.68rem;
    padding: 0.45rem 0.55rem;
    min-height: 44px;
  }

  /* Wrap: single column */
  .wrap {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    order: 2;
  }

  /* Footer: single column */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .child-list {
    grid-template-columns: 1fr;
  }

  /* Articles */
  .hero-article,
  .review-article,
  .compare-article,
  .ranking-article,
  .faq-article,
  .about-article,
  .privacy-article {
    padding: 1.25rem;
  }

  main {
    padding: 1rem;
  }
}

/* Ensure h1 visible above fold and no horizontal scroll */
@media (max-width: 480px) {
  h1 {
    font-size: 1.4rem;
    word-break: break-word;
  }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }

  body {
    overflow-x: hidden;
  }

  .cta {
    font-size: 0.65rem;
    padding: 0.45rem 0.45rem;
    letter-spacing: 0.04em;
  }
}

/* --- Utilities --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Page content internal links */
.page-content a[href^="/"] {
  text-decoration: underline;
  text-decoration-color: #F5A623;
  color: #000;
  font-weight: 600;
}
.page-content a[href^="/"]:hover {
  color: #F5A623;
}

/* FAQ accordion-style headings if used in content */
.page-content details {
  border: 2px solid #000;
  margin-bottom: 0.75rem;
}
.page-content summary {
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #f4f4f4;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.page-content details[open] summary {
  background: #F5A623;
  color: #000;
}
.page-content details > p,
.page-content details > div {
  padding: 0.75rem 1rem;
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}.tbl-scroll{overflow-x:auto;max-width:100%}