/* ================================================
   BEST SPORTSBOOK BONUS — Neubrutalist Theme
   Palette: #3bb1ff (primary) / #ff5252 (secondary) / #000 (ink)
   Font: Noto Sans Thai
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;700&display=swap');

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

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

body {
  font-family: 'Noto Sans Thai', 'Segoe UI', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #000;
  background: #f5f5f0;
  padding-bottom: 80px; /* space for fixed bottom bar */
}

a { color: #3bb1ff; text-decoration: underline; }
a:hover { color: #ff5252; }

img { display: block; max-width: 100%; height: auto; }

/* --- Bottom Bar (fixed nav) --- */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000;
  border-top: 3px solid #3bb1ff;
  padding: 0 16px;
  height: 64px;
  gap: 12px;
}

.bottom-bar-brand {
  font-weight: 700;
  font-size: 1rem;
  color: #3bb1ff;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex: 1;
  text-align: center;
}

.bottom-bar-brand:hover { color: #ff5252; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 3px solid #3bb1ff;
  border-radius: 0;
  padding: 10px 12px;
  cursor: pointer;
  min-width: 48px;
  min-height: 48px;
  box-shadow: 3px 3px 0 #3bb1ff;
  transition: box-shadow 0.15s;
}

.menu-toggle:hover {
  box-shadow: 4px 4px 0 #ff5252;
  border-color: #ff5252;
}

.burger-line {
  display: block;
  width: 22px;
  height: 3px;
  background: #3bb1ff;
  border-radius: 0;
}

.bottom-bar-ctas {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

/* --- CTA Buttons --- */
.cta {
  display: inline-block;
  font-family: 'Noto Sans Thai', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  padding: 10px 16px;
  min-height: 44px;
  line-height: 1.2;
  border-radius: 0;
  cursor: pointer;
  transition: box-shadow 0.12s, transform 0.1s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-signup {
  background: #3bb1ff;
  color: #000;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
}

.cta-signup:hover {
  box-shadow: 6px 6px 0 #000;
  transform: translate(-1px, -1px);
  color: #000;
  text-decoration: none;
}

.cta-login {
  background: transparent;
  color: #3bb1ff;
  border: 3px solid #3bb1ff;
  box-shadow: 4px 4px 0 #3bb1ff;
}

.cta-login:hover {
  background: #3bb1ff;
  color: #000;
  box-shadow: 6px 6px 0 #3bb1ff;
  transform: translate(-1px, -1px);
  text-decoration: none;
}

.cta-hero {
  font-size: 1.05rem;
  padding: 14px 28px;
  min-height: 52px;
  margin-top: 20px;
  box-shadow: 5px 5px 0 #000;
}

.cta-footer {
  font-size: 1.1rem;
  padding: 16px 36px;
  min-height: 56px;
  box-shadow: 5px 5px 0 #000;
}

.cta-sm {
  font-size: 0.85rem;
  padding: 10px 14px;
  min-height: 44px;
}

/* --- Overlay Menu --- */
.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.overlay-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.overlay-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 3px solid #ff5252;
  color: #ff5252;
  font-size: 2rem;
  width: 52px;
  height: 52px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 0 #ff5252;
}

.overlay-close:hover {
  background: #ff5252;
  color: #000;
}

.overlay-menu aside nav ul {
  list-style: none;
  text-align: center;
}

.overlay-menu aside nav ul li {
  margin: 12px 0;
}

.overlay-menu aside nav ul li a {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 8px 0;
  display: block;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.12s;
}

.overlay-menu aside nav ul li a:hover {
  color: #3bb1ff;
}

/* --- Eyebrow Bar --- */
.page-eyebrow-bar {
  background: #000;
  color: #fff;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.eyebrow-label {
  color: #3bb1ff;
}

.stage-label {
  padding: 2px 8px;
  border: 2px solid currentColor;
  border-radius: 0;
  font-size: 0.7rem;
}

.stage-awareness { color: #3bb1ff; }
.stage-consideration { color: #ff5252; }
.stage-decision { color: #fff; background: #ff5252; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 70vh;
  background: #fff;
  border-bottom: 4px solid #000;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,177,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,177,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}

.hero-figure {
  margin: 0;
  flex-shrink: 0;
}

.hero-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
}

.hero-chip {
  width: 160px;
  height: 160px;
  background: #3bb1ff;
  border: 4px solid #000;
  box-shadow: 7px 7px 0 #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.chip-icon {
  font-size: 4rem;
  color: #000;
  font-weight: 900;
}

.hero-copy {
  max-width: 560px;
}

.hero-copy h1 {
  font-size: clamp(1.7rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #000;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

/* --- Main Layout (sidebar + content) --- */
.main-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.inner-layout {
  padding-top: 32px;
}

/* Sidebar to the LEFT of content */
.sidebar {
  width: 240px;
  flex-shrink: 0;
  order: -1;
}

.sidebar-inner {
  background: #fff;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 #000;
  padding: 20px;
  position: sticky;
  top: 24px;
}

.sidebar-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  border-bottom: 3px solid #3bb1ff;
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.sidebar-heading span {
  display: inline;
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li {
  border-bottom: 1px solid #eee;
}

.sidebar-links li a {
  display: block;
  padding: 9px 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 0.12s;
}

.sidebar-links li a:hover { color: #3bb1ff; text-decoration: underline; }

.sidebar-cta-block {
  margin-top: 16px;
}

/* Rank sidebar list */
.rank-sidebar-list { margin-bottom: 24px; }
.rank-ol { list-style: none; }
.rank-ol li {
  padding: 7px 0;
  font-size: 0.875rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
}

.rank-num {
  background: #ff5252;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
  flex-shrink: 0;
}

/* --- Content Column --- */
.content-col {
  flex: 1;
  min-width: 0;
}

.content-figure {
  margin: 0 0 20px 0;
}

.section-rule {
  display: block;
  height: 5px;
  background: #3bb1ff;
  border: 2px solid #000;
  margin-bottom: 20px;
  box-shadow: 3px 3px 0 #000;
}

/* --- H1 --- */
.content-col h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin-bottom: 12px;
}

/* --- Byline --- */
.byline {
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 24px;
  padding: 10px 14px;
  background: #f0f0f0;
  border-left: 4px solid #3bb1ff;
}

/* --- Body Content --- */
.body-content {
  color: #111;
  line-height: 1.7;
}

.body-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 14px;
  padding-bottom: 6px;
  border-bottom: 3px solid #000;
  color: #000;
}

.body-content h2 > span {
  display: inline;
}

.body-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 10px;
  color: #000;
}

.body-content h3 > span {
  display: inline;
  border-bottom: 2px solid #ff5252;
}

.body-content p { margin-bottom: 16px; }

.body-content ul,
.body-content ol {
  margin: 0 0 16px 24px;
}

.body-content li { margin-bottom: 6px; }

.body-content a {
  color: #3bb1ff;
  text-decoration: underline;
  font-weight: 500;
}

.body-content a:hover { color: #ff5252; }

.body-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
}

.body-content table th {
  background: #000;
  color: #fff;
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
}

.body-content table td {
  padding: 9px 12px;
  border: 1px solid #ddd;
  vertical-align: top;
}

.body-content table tr:nth-child(even) td {
  background: #f5f5f0;
}

/* --- Cards / Child pages --- */
.child-cards-block {
  margin-top: 40px;
}

.section-heading {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 3px solid #3bb1ff;
  padding-bottom: 8px;
  color: #000;
}

.section-heading span {
  display: inline;
}

.child-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.child-list li { }

.child-list div.card {
  background: #3bb1ff;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 #000;
  padding: 20px;
  border-radius: 0;
  transition: box-shadow 0.12s, transform 0.1s;
}

.child-list div.card:hover {
  box-shadow: 7px 7px 0 #000;
  transform: translate(-2px, -2px);
}

.child-list div.card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.child-list div.card h3 a {
  color: #000;
  text-decoration: none;
}

.child-list div.card h3 a:hover { text-decoration: underline; }

.child-list div.card p {
  font-size: 0.875rem;
  color: #111;
  line-height: 1.5;
  margin-bottom: 8px;
}

.card-date {
  font-size: 0.75rem;
  color: #333;
}

/* --- Compare page specific --- */
.compare-banner {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.compare-vs-badge {
  display: inline-block;
  background: #ff5252;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 10px 24px;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 #000;
  letter-spacing: 0.1em;
}

/* --- Review hero figure --- */
.review-hero-figure {
  margin: 0 0 24px 0;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 #000;
  overflow: hidden;
}

.review-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Author article (about page) --- */
.author-section {
  margin: 24px 0 32px;
  background: #fff;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 #000;
  padding: 24px;
}

.author-name-heading {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #000;
}

.author-name-heading span { display: inline; }

.author-credentials {
  font-size: 0.875rem;
  font-weight: 700;
  color: #3bb1ff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.author-bio {
  font-size: 0.975rem;
  line-height: 1.65;
  color: #222;
}

/* --- FAQ content --- */
.faq-content details {
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  margin-bottom: 14px;
  background: #fff;
}

.faq-content details summary {
  font-weight: 700;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  list-style: none;
}

.faq-content details summary::-webkit-details-marker { display: none; }

.faq-content details[open] summary {
  background: #3bb1ff;
  color: #000;
  border-bottom: 3px solid #000;
}

.faq-content details .faq-body {
  padding: 14px 16px;
  font-size: 0.95rem;
}

/* --- Sidebar special (nb-card) --- */
.nb-card {
  background: #fff;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 #000;
  padding: 20px;
}

/* --- Footer --- */
.site-footer {
  background: #000;
  color: #fff;
  border-top: 4px solid #3bb1ff;
  padding: 40px 24px 40px;
  margin-bottom: 64px; /* above bottom bar */
}

.footer-cta-block {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 2px solid #333;
}

.footer-cols {
  display: flex;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto 28px;
  flex-wrap: wrap;
}

.footer-brand-col,
.footer-links-col {
  flex: 1;
  min-width: 200px;
}

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3bb1ff;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 0.875rem;
  color: #aaa;
  line-height: 1.5;
}

.footer-links-col p {
  font-size: 0.875rem;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-links-col a {
  color: #3bb1ff;
  text-decoration: none;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links-col a:hover {
  color: #ff5252;
  text-decoration: underline;
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 10px;
}

.footer-copy small { font-size: inherit; }

.rg-notice {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto;
}

/* --- Stagger animation --- */
@media (prefers-reduced-motion: no-preference) {
  .child-list li {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.35s ease forwards;
  }

  .child-list li:nth-child(1) { animation-delay: 0.05s; }
  .child-list li:nth-child(2) { animation-delay: 0.12s; }
  .child-list li:nth-child(3) { animation-delay: 0.19s; }
  .child-list li:nth-child(4) { animation-delay: 0.26s; }
  .child-list li:nth-child(5) { animation-delay: 0.33s; }
  .child-list li:nth-child(6) { animation-delay: 0.40s; }

  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }

  .sidebar-inner {
    transition: box-shadow 0.2s;
  }

  .child-list div.card {
    transition: box-shadow 0.15s, transform 0.12s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .main-layout {
    flex-direction: column;
    gap: 24px;
  }

  .sidebar {
    width: 100%;
    order: 0;
  }

  .sidebar-inner {
    position: static;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 48px 20px 72px;
  }
}

@media (max-width: 768px) {
  body { padding-bottom: 72px; }

  .bottom-bar { height: 60px; }

  .bottom-bar-brand {
    font-size: 0.875rem;
  }

  .cta { font-size: 0.8rem; padding: 9px 12px; min-height: 44px; }

  .hero { min-height: 60vh; }

  .hero-copy h1 { font-size: 1.6rem; }

  .footer-cols { flex-direction: column; gap: 20px; }

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

  .main-layout { padding: 20px 16px 40px; }
}

@media (max-width: 480px) {
  .bottom-bar-ctas { gap: 6px; }

  .cta-login { display: none; } /* only show signup on smallest screens */

  .hero-copy h1 { font-size: 1.4rem; }

  .body-content h2 { font-size: 1.25rem; }

  .body-content table { font-size: 0.82rem; }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}