/* ==========================================================================
   BETBDT88.NET Official Design DNA Stylesheet
   CSS Prefix: tbz3
   Architecture: Split-Screen Layout | Floating Pill Nav | Soft Pill Cards
   WCAG AA Contrast Compliant | Mobile-First Responsive
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
  --tbz3-bg: #FBF9F8;
  --tbz3-surface: #FFFFFF;
  --tbz3-surface-alt: #F4EFEB;
  --tbz3-ink: #3B1E16;
  --tbz3-ink-muted: #6E534B;
  --tbz3-ink-light: #9B827A;
  --tbz3-accent: #088222;
  --tbz3-accent-hover: #06661A;
  --tbz3-accent2: #471CE3;
  --tbz3-accent2-hover: #3614B5;
  --tbz3-on-accent: #FFFFFF;
  --tbz3-border: rgba(59, 30, 22, 0.10);
  --tbz3-border-light: rgba(59, 30, 22, 0.05);
  --tbz3-pill-bg: rgba(8, 130, 34, 0.08);
  --tbz3-gold: #D97706;
  --tbz3-danger: #DC2626;
  
  --tbz3-font-heading: 'Merriweather', Georgia, serif;
  --tbz3-font-body: 'Open Sans', system-ui, -apple-system, sans-serif;
  
  --tbz3-base-size: 18px;
  --tbz3-scale: 1.25;
  --tbz3-text-sm: 0.85rem;
  --tbz3-text-base: 1rem;
  --tbz3-text-md: 1.25rem;
  --tbz3-text-lg: 1.5625rem;
  --tbz3-text-xl: 1.953rem;
  --tbz3-text-2xl: 2.441rem;
  --tbz3-text-3xl: 3.052rem;
  
  --tbz3-radius-sm: 8px;
  --tbz3-radius-md: 16px;
  --tbz3-radius-pill: 24px;
  --tbz3-radius-full: 9999px;
  
  --tbz3-shadow-subtle: 0 4px 20px rgba(59, 30, 22, 0.05);
  --tbz3-shadow-card: 0 10px 30px rgba(59, 30, 22, 0.07);
  --tbz3-shadow-float: 0 16px 40px rgba(8, 130, 34, 0.15);
  
  --tbz3-nav-height: 72px;
  --tbz3-content-max: 1440px;
}

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

html {
  font-size: var(--tbz3-base-size);
  background-color: var(--tbz3-bg);
  color: var(--tbz3-ink);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--tbz3-font-body);
  line-height: 1.68;
  background-color: var(--tbz3-bg);
  color: var(--tbz3-ink);
  overflow-x: hidden;
}

/* Typography Standards */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--tbz3-font-heading);
  color: var(--tbz3-ink);
  line-height: 1.28;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: -0.015em;
}

h1 { font-size: var(--tbz3-text-3xl); margin-bottom: 1.2rem; }
h2 { font-size: var(--tbz3-text-xl); margin-top: 2rem; margin-bottom: 0.9rem; }
h3 { font-size: var(--tbz3-text-lg); margin-top: 1.5rem; margin-bottom: 0.7rem; }
h4 { font-size: var(--tbz3-text-md); margin-top: 1.2rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1.15rem;
  color: var(--tbz3-ink);
}

a {
  color: var(--tbz3-accent);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

a:hover, a:focus-visible {
  color: var(--tbz3-accent2);
  text-decoration-color: var(--tbz3-accent2);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--tbz3-radius-md);
}

/* Navigation - Floating Pill Nav */
.tbz3-nav-wrapper {
  position: fixed;
  top: 12px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
  box-sizing: border-box;
}

.tbz3-nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--tbz3-border);
  border-radius: var(--tbz3-radius-full);
  padding: 8px 18px;
  box-shadow: 0 4px 24px rgba(59, 30, 22, 0.08);
  max-width: 1280px;
  width: 100%;
  justify-content: space-between;
  box-sizing: border-box;
  flex-wrap: nowrap;
}

.tbz3-logo-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.tbz3-logo-img {
  height: 34px;
  width: 34px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.tbz3-logo-text {
  font-family: var(--tbz3-font-heading);
  font-weight: 900;
  font-size: 1.18rem;
  color: var(--tbz3-ink);
  letter-spacing: -0.4px;
  white-space: nowrap;
  line-height: 1;
}

.tbz3-logo-text span {
  color: var(--tbz3-accent);
}

.tbz3-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
  white-space: nowrap;
}

.tbz3-nav-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--tbz3-ink);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--tbz3-radius-full);
  white-space: nowrap;
  display: inline-block;
  line-height: 1.2;
  transition: all 0.18s ease;
}

.tbz3-nav-link:hover {
  background: var(--tbz3-pill-bg);
  color: var(--tbz3-accent);
}

.tbz3-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Mobile Toggle & Drawer */
.tbz3-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: var(--tbz3-surface-alt);
  border: 1px solid var(--tbz3-border);
  border-radius: var(--tbz3-radius-full);
  color: var(--tbz3-ink);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.tbz3-mobile-toggle:hover {
  background: var(--tbz3-pill-bg);
  color: var(--tbz3-accent);
}

.tbz3-mobile-drawer {
  display: none;
  position: fixed;
  top: 60px;
  left: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--tbz3-border);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(59, 30, 22, 0.22);
  padding: 16px;
  pointer-events: auto;
  z-index: 1001;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: tbz3SlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tbz3SlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tbz3-mobile-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
}

body.tbz3-menu-open {
  overflow: hidden;
}

body.tbz3-menu-open .tbz3-mobile-drawer {
  display: block;
}

body.tbz3-menu-open .tbz3-mobile-backdrop {
  display: block;
}

.tbz3-drawer-top-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.tbz3-mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tbz3-border);
  margin-bottom: 12px;
}

.tbz3-mobile-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--tbz3-ink-muted);
  cursor: pointer;
  padding: 4px 8px;
}

.tbz3-mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
}

.tbz3-mobile-nav-list a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--tbz3-surface-alt);
  color: var(--tbz3-ink);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.tbz3-mobile-nav-list a:hover {
  background: var(--tbz3-pill-bg);
  color: var(--tbz3-accent);
}

.tbz3-mobile-drawer-cta {
  padding-top: 4px;
}

/* Buttons & CTA - Split Button with Label */
.tbz3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tbz3-font-body);
  font-weight: 700;
  font-size: var(--tbz3-text-sm);
  padding: 10px 22px;
  border-radius: var(--tbz3-radius-full);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.tbz3-btn-primary {
  background: linear-gradient(135deg, #088222, #0A9E2A);
  color: var(--tbz3-on-accent);
  box-shadow: 0 4px 14px rgba(8, 130, 34, 0.35);
}

.tbz3-btn-primary:hover {
  background: linear-gradient(135deg, #06661A, #088222);
  color: var(--tbz3-on-accent);
  box-shadow: 0 6px 18px rgba(8, 130, 34, 0.45);
  transform: translateY(-1px);
}

.tbz3-btn-secondary {
  background: var(--tbz3-surface-alt);
  color: var(--tbz3-ink);
  border: 1px solid var(--tbz3-border);
}

.tbz3-btn-secondary:hover {
  background: #E8E0D8;
  color: var(--tbz3-ink);
}

.tbz3-split-cta {
  display: inline-flex;
  align-items: stretch;
  background: var(--tbz3-accent);
  border-radius: var(--tbz3-radius-full);
  overflow: hidden;
  box-shadow: var(--tbz3-shadow-float);
  text-decoration: none;
  transition: transform 0.18s ease;
}

.tbz3-split-cta:hover {
  transform: translateY(-2px);
  color: var(--tbz3-on-accent);
}

.tbz3-split-label {
  background: var(--tbz3-accent2);
  color: #FFFFFF;
  padding: 12px 18px;
  font-size: var(--tbz3-text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.tbz3-split-action {
  color: #FFFFFF;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Split-Screen Layout Archetype */
.tbz3-split-container {
  display: flex;
  min-height: 100vh;
  margin-top: calc(var(--tbz3-nav-height) + 24px);
  max-width: var(--tbz3-content-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px 40px;
  gap: 36px;
}

.tbz3-split-fixed {
  flex: 0 0 380px;
  position: sticky;
  top: calc(var(--tbz3-nav-height) + 32px);
  align-self: flex-start;
  max-height: calc(100vh - var(--tbz3-nav-height) - 48px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.tbz3-split-scroll {
  flex: 1 1 auto;
  min-width: 0;
}

/* Fixed Pane Content Card */
.tbz3-sidebar-card {
  background: var(--tbz3-surface);
  border-radius: var(--tbz3-radius-pill);
  padding: 28px 24px;
  box-shadow: var(--tbz3-shadow-card);
  margin-bottom: 24px;
  border: 1px solid var(--tbz3-border-light);
}

.tbz3-sidebar-title {
  font-size: var(--tbz3-text-md);
  margin-bottom: 14px;
  color: var(--tbz3-ink);
}

.tbz3-sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tbz3-sidebar-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-radius: var(--tbz3-radius-pill);
  background: var(--tbz3-surface-alt);
  color: var(--tbz3-ink);
  text-decoration: none;
  font-size: var(--tbz3-text-sm);
  font-weight: 600;
  transition: all 0.15s ease;
}

.tbz3-sidebar-item a:hover {
  background: var(--tbz3-pill-bg);
  color: var(--tbz3-accent);
  transform: translateX(4px);
}

/* Card - Soft Pill (24px radius, tinted fill, no border) */
.tbz3-card-pill {
  background: var(--tbz3-surface);
  border-radius: var(--tbz3-radius-pill);
  padding: 32px 28px;
  box-shadow: var(--tbz3-shadow-subtle);
  margin-bottom: 28px;
  transition: box-shadow 0.2s ease;
}

.tbz3-card-pill:hover {
  box-shadow: var(--tbz3-shadow-card);
}

/* Hero Section - Headline Left Visual Right */
.tbz3-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  background: var(--tbz3-surface);
  border-radius: var(--tbz3-radius-pill);
  padding: 44px 36px;
  box-shadow: var(--tbz3-shadow-card);
  margin-bottom: 32px;
}

.tbz3-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tbz3-pill-bg);
  color: var(--tbz3-accent);
  font-size: var(--tbz3-text-sm);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--tbz3-radius-full);
  margin-bottom: 16px;
}

.tbz3-hero-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--tbz3-radius-pill);
  box-shadow: var(--tbz3-shadow-card);
}

/* Answer Capsule Technique (~60% of H2 sections) */
.tbz3-answer-capsule {
  background: linear-gradient(135deg, rgba(8, 130, 34, 0.07), rgba(71, 28, 227, 0.05));
  border-left: 4px solid var(--tbz3-accent);
  border-radius: 0 var(--tbz3-radius-md) var(--tbz3-radius-md) 0;
  padding: 20px 24px;
  margin: 16px 0 24px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--tbz3-ink);
}

.tbz3-answer-capsule strong {
  color: var(--tbz3-accent);
}

/* Myth vs Fact Explainer Box (Copy Angle) */
.tbz3-myth-fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.tbz3-myth-box {
  background: rgba(220, 38, 38, 0.06);
  border-radius: var(--tbz3-radius-pill);
  padding: 22px;
}

.tbz3-myth-box h4 {
  color: var(--tbz3-danger);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  font-size: 1rem;
}

.tbz3-fact-box {
  background: rgba(8, 130, 34, 0.08);
  border-radius: var(--tbz3-radius-pill);
  padding: 22px;
}

.tbz3-fact-box h4 {
  color: var(--tbz3-accent);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  font-size: 1rem;
}

/* Expert Insight Callout (E-E-A-T) */
.tbz3-expert-callout {
  display: flex;
  gap: 16px;
  background: var(--tbz3-surface);
  border: 1px solid var(--tbz3-border);
  border-radius: var(--tbz3-radius-pill);
  padding: 20px 24px;
  margin: 20px 0;
  align-items: center;
}

.tbz3-expert-avatar {
  width: 58px;
  height: 58px;
  border-radius: var(--tbz3-radius-full);
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--tbz3-accent);
}

.tbz3-expert-meta {
  font-size: var(--tbz3-text-sm);
  color: var(--tbz3-ink-muted);
}

.tbz3-expert-meta strong {
  color: var(--tbz3-ink);
  display: block;
  font-size: 0.95rem;
}

/* TL;DR Box */
.tbz3-tldr-box {
  background: #FFF9E6;
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--tbz3-radius-md);
  padding: 18px 22px;
  margin: 20px 0 28px;
}

.tbz3-tldr-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--tbz3-gold);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* Data Tables */
.tbz3-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--tbz3-radius-md);
  background: var(--tbz3-surface);
  box-shadow: var(--tbz3-shadow-subtle);
}

.tbz3-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.tbz3-table th {
  background: var(--tbz3-surface-alt);
  color: var(--tbz3-ink);
  font-family: var(--tbz3-font-heading);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 2px solid var(--tbz3-border);
}

.tbz3-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--tbz3-border-light);
  color: var(--tbz3-ink);
}

.tbz3-table tr:hover td {
  background: rgba(8, 130, 34, 0.03);
}

/* Breadcrumbs */
.tbz3-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: var(--tbz3-text-sm);
  color: var(--tbz3-ink-muted);
  margin-bottom: 20px;
}

.tbz3-breadcrumbs a {
  color: var(--tbz3-ink-muted);
  text-decoration: none;
}

.tbz3-breadcrumbs a:hover {
  color: var(--tbz3-accent);
}

.tbz3-breadcrumbs-sep {
  opacity: 0.5;
}

/* FAQ Accordion / Details */
.tbz3-faq-item {
  background: var(--tbz3-surface);
  border-radius: var(--tbz3-radius-md);
  margin-bottom: 14px;
  box-shadow: var(--tbz3-shadow-subtle);
  overflow: hidden;
}

.tbz3-faq-question {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--tbz3-font-heading);
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.tbz3-faq-answer {
  padding: 0 24px 20px;
  color: var(--tbz3-ink-muted);
  font-size: 0.95rem;
}

/* Responsible Gaming Advisory (Non-blocking banner + deep section) */
.tbz3-age-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF0F0;
  color: #DC2626;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--tbz3-radius-full);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.tbz3-responsible-banner {
  background: #FFF5F5;
  border-left: 4px solid var(--tbz3-danger);
  border-radius: 0 var(--tbz3-radius-md) var(--tbz3-radius-md) 0;
  padding: 20px 24px;
  margin: 32px 0;
}

.tbz3-responsible-banner h3 {
  color: var(--tbz3-danger);
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Footer - Centered Stack Archetype */
.tbz3-footer {
  background: var(--tbz3-surface);
  border-top: 1px solid var(--tbz3-border);
  padding: 60px 20px 40px;
  margin-top: 60px;
}

.tbz3-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.tbz3-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
}

.tbz3-footer-nav a {
  color: var(--tbz3-ink-muted);
  text-decoration: none;
  font-size: var(--tbz3-text-sm);
  font-weight: 600;
}

.tbz3-footer-nav a:hover {
  color: var(--tbz3-accent);
}

.tbz3-footer-disclaimer {
  font-size: 0.8rem;
  color: var(--tbz3-ink-light);
  line-height: 1.6;
  max-width: 800px;
}

/* Sibling & Mesh Internal Linking Grid */
.tbz3-mesh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.tbz3-mesh-card {
  background: var(--tbz3-surface-alt);
  border-radius: var(--tbz3-radius-pill);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--tbz3-ink);
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tbz3-mesh-card:hover {
  background: var(--tbz3-pill-bg);
  transform: translateY(-2px);
  color: var(--tbz3-accent);
}

.tbz3-mesh-card strong {
  font-family: var(--tbz3-font-heading);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 6px;
}

.tbz3-mesh-card span {
  font-size: 0.82rem;
  color: var(--tbz3-ink-muted);
}

/* Responsive Breakpoints & Fluid Navigation */

/* 1. Compact Desktop (1081px - 1240px) */
@media (max-width: 1240px) and (min-width: 1081px) {
  .tbz3-nav-pill {
    padding: 6px 14px;
    gap: 8px;
  }
  .tbz3-logo-img {
    height: 30px;
    width: 30px;
  }
  .tbz3-logo-text {
    font-size: 1.08rem;
  }
  .tbz3-nav-links {
    gap: 2px;
  }
  .tbz3-nav-link {
    font-size: 0.80rem;
    padding: 5px 8px;
  }
  .tbz3-btn {
    padding: 7px 14px;
    font-size: 0.78rem;
  }
}

/* 2. Tablet & Mobile Switch (<= 1080px) */
@media (max-width: 1080px) {
  .tbz3-nav-wrapper {
    top: 8px;
    padding: 0 12px;
  }
  
  .tbz3-nav-pill {
    padding: 6px 14px;
    gap: 10px;
    border-radius: var(--tbz3-radius-full);
  }
  
  .tbz3-logo-img {
    height: 30px;
    width: 30px;
  }
  
  .tbz3-logo-text {
    font-size: 1.05rem;
  }
  
  /* Collapse desktop horizontal links into drawer */
  .tbz3-nav-links {
    display: none !important;
  }
  
  /* Show hamburger toggle button */
  .tbz3-mobile-toggle {
    display: inline-flex !important;
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
  
  .tbz3-nav-actions {
    gap: 8px;
    flex-shrink: 0;
  }
  
  .tbz3-btn {
    padding: 6px 14px;
    font-size: 0.78rem;
    white-space: nowrap;
    line-height: 1.2;
  }
  
  .tbz3-btn-primary {
    padding: 6px 16px;
    font-weight: 700;
  }
  
  .tbz3-split-container {
    flex-direction: column;
    margin-top: calc(var(--tbz3-nav-height) + 12px);
  }
  .tbz3-split-fixed {
    flex: none;
    width: 100%;
    position: static;
    max-height: none;
  }
  .tbz3-hero {
    grid-template-columns: 1fr;
  }
  .tbz3-myth-fact-grid {
    grid-template-columns: 1fr;
  }
}

/* 3. Mobile Phones (<= 768px) */
@media (max-width: 768px) {
  .tbz3-nav-wrapper {
    top: 8px;
    padding: 0 10px;
  }
  
  .tbz3-nav-pill {
    padding: 6px 12px;
    gap: 8px;
  }
  
  .tbz3-logo-img {
    height: 28px;
    width: 28px;
  }
  
  .tbz3-logo-text {
    font-size: 1.0rem;
    letter-spacing: -0.3px;
  }
  
  .tbz3-nav-actions {
    gap: 6px;
  }
  
  .tbz3-btn {
    padding: 6px 11px;
    font-size: 0.75rem;
  }
  
  .tbz3-btn-primary {
    padding: 6px 13px;
  }
  
  .tbz3-mobile-toggle {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
}

/* 4. Compact Mobile (<= 480px, e.g. iPhone 14/15/16, Pixel, Galaxy) */
@media (max-width: 480px) {
  .tbz3-nav-wrapper {
    top: 6px;
    padding: 0 8px;
  }
  
  .tbz3-nav-pill {
    padding: 5px 10px;
    gap: 6px;
  }
  
  .tbz3-logo-group {
    gap: 6px;
  }
  
  .tbz3-logo-img {
    height: 26px;
    width: 26px;
  }
  
  .tbz3-logo-text {
    font-size: 0.94rem;
    letter-spacing: -0.3px;
  }
  
  .tbz3-nav-actions {
    gap: 5px;
  }
  
  .tbz3-btn {
    padding: 5px 9px;
    font-size: 0.72rem;
    line-height: 1.2;
  }
  
  .tbz3-btn-primary {
    padding: 5px 11px;
    font-weight: 700;
  }
  
  .tbz3-mobile-toggle {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }
}

/* 5. Ultra-Small Phones (<= 360px, e.g. iPhone SE 1st gen, Fold outer display) */
@media (max-width: 360px) {
  .tbz3-nav-wrapper {
    padding: 0 5px;
  }
  
  .tbz3-nav-pill {
    padding: 5px 8px;
    gap: 4px;
  }
  
  /* On ultra-compact screens, hide the secondary Login button in the top bar 
     (Member Login is prominently featured at the top of the mobile drawer menu) */
  .tbz3-nav-actions .tbz3-btn-secondary {
    display: none;
  }
  
  .tbz3-logo-text {
    font-size: 0.88rem;
  }
  
  .tbz3-btn-primary {
    padding: 5px 9px;
    font-size: 0.70rem;
  }
}
