/* ==========================================================================
   OPEN NETWORKED EARTH (O.N.E.) — DESIGN SYSTEM & MASTER STYLESHEET
   Pure Vanilla CSS • Responsive • Dark Glassmorphic Aesthetic
   ========================================================================== */

:root {
  /* Color Palette: Deep Space Carbon, Emerald & Cyan Accents */
  --bg-darkest: #06090e;
  --bg-dark: #0b0f17;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(24, 33, 53, 0.85);
  --bg-card-active: rgba(30, 41, 59, 0.9);
  --bg-glass: rgba(15, 23, 42, 0.65);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.25);
  --border-active: rgba(6, 182, 212, 0.4);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-faint: #6b7280;
  
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.2);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.2);
  --accent-indigo: #6366f1;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-reader: 'Newsreader', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.15);
  --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.15);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-darkest);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(6, 182, 212, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
}

/* Static Background Watermark Logo — Fixed in viewport center while page content scrolls over */
.static-bg-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(780px, 88vw);
  height: min(780px, 88vw);
  background-image: url('assets/one-logo-luminous.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 70px rgba(6, 182, 212, 0.45)) drop-shadow(0 0 130px rgba(16, 185, 129, 0.25));
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 85%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 85%);
  animation: staticLogoPulse 12s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes staticLogoPulse {
  0% {
    opacity: 0.13;
    transform: translate(-50%, -50%) scale(0.98);
  }
  100% {
    opacity: 0.20;
    transform: translate(-50%, -50%) scale(1.02);
  }
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

/* Global Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 9, 14, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  transition: var(--transition-fast);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
  transition: opacity var(--transition-fast);
}

.brand-logo:hover {
  opacity: 0.9;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  flex-shrink: 0;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
}

/* Acrostic Stack: O pen / N etworked / E arth */
.brand-acrostic {
  display: grid;
  grid-template-columns: auto 1fr;
  row-gap: 1px;
  column-gap: 8px;
  align-items: baseline;
  user-select: none;
}

.brand-lead {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  text-align: left;
  line-height: 1.12;
  letter-spacing: -0.2px;
}

.brand-tail {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.92rem;
  color: #ffffff;
  letter-spacing: 0.2px;
  line-height: 1.12;
}

.site-header nav {
  margin-left: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--accent-emerald);
  border-bottom: 2px solid var(--accent-emerald);
}

.nav-link.nav-link-simulator {
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-weight: 600;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.nav-link.nav-link-simulator:hover {
  color: #34d399;
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
  transform: translateY(-1px);
}

.btn-play-oasis {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35) !important;
  border: 1px solid rgba(52, 211, 153, 0.4) !important;
  animation: pulse-oasis-glow 3s ease-in-out infinite alternate;
}

@keyframes pulse-oasis-glow {
  0% {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  }
  100% {
    box-shadow: 0 4px 25px rgba(52, 211, 153, 0.6);
  }
}

.btn-play-oasis:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(52, 211, 153, 0.55) !important;
  filter: brightness(1.1);
}

/* O-ASIS Living Sandbox Showcase */
.oasis-showcase-card {
  position: relative;
  background: radial-gradient(120% 120% at 50% 0%, rgba(6, 78, 59, 0.35) 0%, rgba(17, 24, 39, 0.85) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(16, 185, 129, 0.12);
  backdrop-filter: blur(12px);
  margin: 20px 0;
}

.oasis-showcase-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  margin-bottom: 18px;
}

.oasis-showcase-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 16px;
}

.oasis-showcase-desc {
  max-width: 780px;
  margin: 0 auto 36px auto;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.oasis-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
  text-align: left;
}

.oasis-feature-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px;
  transition: var(--transition-fast);
}

.oasis-feature-box:hover {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}

.oasis-feature-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 10px;
}

.oasis-feature-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.oasis-feature-box p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.oasis-showcase-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.oasis-showcase-footer-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-faint);
  flex-wrap: wrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Selector Dropdown */
.lang-selector-wrap {
  position: relative;
  display: inline-block;
}

.lang-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-selector-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
}

.lang-globe {
  font-size: 0.95rem;
}

.lang-current {
  letter-spacing: 0.5px;
}

.lang-arrow {
  font-size: 0.75rem;
  opacity: 0.7;
  transition: transform var(--transition-fast);
}

.lang-selector-btn.active .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 165px;
  background: rgba(10, 15, 25, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 1000;
}

.lang-dropdown.active {
  display: flex;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: var(--transition-fast);
}

.lang-opt:hover, .lang-opt.active {
  background: rgba(6, 182, 212, 0.14);
  color: var(--accent-cyan);
}

.lang-opt.active {
  font-weight: 700;
  color: #38bdf8;
}

/* Language Specific Typography */
[lang="ar"] {
  font-family: 'Cairo', var(--font-body), sans-serif;
}
[lang="ja"] {
  font-family: 'Noto Sans JP', var(--font-body), sans-serif;
}
[lang="zh"] {
  font-family: 'Noto Sans SC', var(--font-body), sans-serif;
}
[lang="ko"] {
  font-family: 'Noto Sans KR', var(--font-body), sans-serif;
}
[lang="hi"] {
  font-family: 'Noto Sans Devanagari', var(--font-body), sans-serif;
}
[lang="ru"] {
  font-family: 'Inter', var(--font-body), sans-serif;
}

/* RTL (Right-to-Left) for Arabic */
[dir="rtl"] {
  font-family: 'Cairo', var(--font-body), sans-serif;
  text-align: right;
}

[dir="rtl"] .brand-acrostic {
  text-align: right;
}

[dir="rtl"] .site-header nav {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang-opt {
  text-align: right;
}

[dir="rtl"] .hero-actions,
[dir="rtl"] .download-bar,
[dir="rtl"] .constitution-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] .search-bar .search-icon {
  right: 14px;
  left: auto;
}

[dir="rtl"] .search-bar .search-input {
  padding-right: 44px;
  padding-left: 16px;
  text-align: right;
}

[dir="rtl"] .btn-download svg,
[dir="rtl"] .btn svg {
  margin-left: 6px;
  margin-right: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  font-weight: 600;
}

.btn-nav-action {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-nav-action:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.35) 0%, rgba(6, 182, 212, 0.35) 100%);
  border-color: var(--accent-emerald);
  color: #fff;
  transform: translateY(-1px);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}


.hero-content {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: #fff;
}

.hero-gradient {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.22rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 50px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #06090e;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(16, 185, 129, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Accessible Features Strip */
.features-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0 60px;
  text-align: left;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: var(--transition-fast);
}

.feature-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.feature-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.feature-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Gateway Intro */
.gateway-intro {
  margin-bottom: 24px;
  text-align: center;
}

.gateway-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  margin-bottom: 6px;
  display: inline-block;
}

.gateway-heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

/* The 4 Funnel Cards */
.funnel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.funnel-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.funnel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--accent-emerald)), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.funnel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.funnel-card:hover::before {
  opacity: 1;
}

.funnel-step {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.funnel-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.funnel-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.funnel-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.funnel-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--card-accent, var(--accent-emerald));
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   SECTIONS STYLING
   ========================================================================== */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Concept Visual Banner */
.primer-concept-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.primer-concept-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(0.85);
  transition: var(--transition-smooth);
}

.primer-concept-banner:hover .primer-concept-img {
  filter: brightness(0.95);
  transform: scale(1.015);
}

.primer-concept-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 36px;
  background: linear-gradient(0deg, rgba(6, 9, 14, 0.95) 0%, rgba(6, 9, 14, 0.6) 60%, transparent 100%);
}

.caption-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ==========================================================================
   INTERACTIVE PRIMER TABS
   ========================================================================== */
.primer-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.primer-tabs {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.8);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.primer-tab-btn {
  padding: 10px 18px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.primer-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.primer-tab-btn.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
  border-color: rgba(16, 185, 129, 0.4);
  color: #fff;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.15);
}

.primer-content-box {
  padding: 36px;
  border-radius: 16px;
  min-height: 380px;
}

.primer-tab-pane {
  animation: fadeIn 0.25s ease-out;
}

.primer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.primer-feature-card {
  padding: 24px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.primer-feature-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.primer-feature-card p {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 8px;
}

.model-comparison {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.model-box {
  padding: 18px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.model-box.failed {
  border-left: 3px solid var(--accent-rose);
}

.model-box.one-solution {
  border-left: 3px solid var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
}

.model-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
  color: #fff;
}

.model-status {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.model-status.red { color: var(--accent-rose); }
.model-status.green { color: var(--accent-emerald); }

/* ==========================================================================
   INTERACTIVE EARTH CHART
   ========================================================================== */
.earth-chart-card {
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 40px;
}

.earth-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.earth-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  font-weight: 700;
}

.earth-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 4px 0 6px;
}

.earth-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.earth-legend {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.legend-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.legend-pill:hover, .legend-pill.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  color: #fff;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-dot.vol0 { background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }
.legend-dot.vol1 { background: var(--accent-emerald); box-shadow: 0 0 6px var(--accent-emerald); }
.legend-dot.vol2 { background: var(--accent-cyan); box-shadow: 0 0 6px var(--accent-cyan); }
.legend-dot.vol3 { background: var(--accent-amber); box-shadow: 0 0 6px var(--accent-amber); }
.legend-dot.vol4 { background: var(--accent-rose); box-shadow: 0 0 6px var(--accent-rose); }
.legend-dot.vol5 { background: var(--accent-indigo); box-shadow: 0 0 6px var(--accent-indigo); }

.earth-map-wrap {
  position: relative;
  width: 100%;
  border-radius: 12px;
  background: rgba(4, 7, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.earth-svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-node {
  cursor: pointer;
}

.node-hit-area {
  cursor: pointer;
  pointer-events: all;
}

.node-pulse {
  fill: none;
  stroke-width: 6;
  pointer-events: none !important;
}
.node-pulse.vol0 { stroke: #38bdf8; }
.node-pulse.vol1 { stroke: var(--accent-emerald); }
.node-pulse.vol2 { stroke: var(--accent-cyan); }
.node-pulse.vol3 { stroke: var(--accent-amber); }
.node-pulse.vol4 { stroke: var(--accent-rose); }
.node-pulse.vol5 { stroke: var(--accent-indigo); }

.node-core {
  pointer-events: none;
  transition: r 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease;
}
.node-core.vol0 { fill: #38bdf8; }
.node-core.vol1 { fill: var(--accent-emerald); }
.node-core.vol2 { fill: var(--accent-cyan); }
.node-core.vol3 { fill: var(--accent-amber); }
.node-core.vol4 { fill: var(--accent-rose); }
.node-core.vol5 { fill: var(--accent-indigo); }

.map-node:hover .node-core {
  r: 28;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.85)) brightness(1.3);
}

.map-node:hover .node-label {
  fill: var(--accent-cyan);
}

.node-label {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 800;
  fill: #ffffff;
  paint-order: stroke fill;
  stroke: #04070c;
  stroke-width: 12px;
  stroke-linecap: round;
  stroke-linejoin: round;
  letter-spacing: 2px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.95));
  pointer-events: none !important;
  transition: fill 0.2s ease;
}

.network-arc {
  stroke-dashoffset: 400;
  animation: networkDash 25s linear infinite;
  pointer-events: none !important;
}
@keyframes networkDash {
  to { stroke-dashoffset: 0; }
}

.theater-dossier-bar {
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeIn 0.25s ease-out;
}

.dossier-theater-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 4px;
}

.dossier-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.dossier-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* ==========================================================================
   BOOKS SHOWCASE (SINGLE CANONICAL CATALOG)
   ========================================================================== */
.books-container {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 40px auto 0 auto;
}

.volumes-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.volume-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px;
  border-radius: 12px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.volume-card-thumb {
  width: 120px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

.volume-card:hover .volume-card-thumb {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(6, 182, 212, 0.35);
}

.volume-card-body {
  flex: 1;
  min-width: 0;
}

@media (max-width: 640px) {
  .volume-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .volume-header {
    flex-direction: column;
    align-items: center;
  }
  .download-bar {
    justify-content: center;
  }
}

.volume-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.volume-card.spotlight {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.2);
}

.volume-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.volume-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-available {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-prod {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.volume-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.volume-theater {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.volume-theme {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.download-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-download:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.btn-download.btn-disabled,
.btn-download[disabled] {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-muted, #94a3b8);
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.65;
}

.btn-download.btn-disabled:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-muted, #94a3b8);
}

/* ==========================================================================
   CONSTITUTION EXPLORER (COLLAPSED ACCORDION)
   ========================================================================== */
.constitution-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  align-items: center;
  justify-content: space-between;
}

.search-bar {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.search-input:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 16px var(--accent-emerald-glow);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.constitution-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-toggle-all {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-toggle-all:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.chapter-tabs-wrap {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
}

.chapter-tab-btn {
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.chapter-tab-btn:hover, .chapter-tab-btn.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--accent-emerald);
  color: #fff;
}

/* ==========================================================================
   CONSTITUTION ACCORDION (COLLAPSIBLE CHAPTERS & ARTICLES)
   ========================================================================== */
.chapter-block {
  margin-bottom: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.65);
  overflow: hidden;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.chapter-block:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(15, 23, 42, 0.78);
}

.chapter-block.open {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(15, 23, 42, 0.88);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.chapter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
  transition: background var(--transition-fast);
}

.chapter-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.chapter-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-width: 0;
}

.chapter-num-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.chapter-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.5px;
}

.chapter-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.chapter-count-chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.chapter-chevron {
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.2s ease;
  flex-shrink: 0;
}

.chapter-block.open .chapter-chevron {
  transform: rotate(180deg);
  color: var(--accent-emerald);
}

.chapter-body {
  display: none;
  padding: 10px 20px 22px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  animation: fadeIn 0.22s ease-out;
}

.chapter-block.open .chapter-body {
  display: block;
}

@media (max-width: 640px) {
  .chapter-header {
    padding: 14px 16px;
    gap: 10px;
  }
  .chapter-title {
    font-size: 1rem;
  }
  .chapter-header-left {
    gap: 8px;
  }
  .chapter-body {
    padding: 8px 12px 16px 12px;
  }
}

.articles-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-card {
  padding: 16px 20px;
  transition: var(--transition-fast);
  border-radius: 12px;
  cursor: pointer;
}

.article-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--bg-card-hover);
}

.article-card.open {
  border-color: rgba(16, 185, 129, 0.35);
  background: var(--bg-card-active);
}

.article-card.match {
  border-color: var(--accent-emerald);
}

.article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.article-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-id-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  flex-shrink: 0;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.article-chevron {
  transition: transform 0.25s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.article-card.open .article-chevron {
  transform: rotate(180deg);
  color: var(--accent-emerald);
}

.article-preview-line {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.article-card.open .article-preview-line {
  display: none;
}

.article-body {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.7;
  animation: fadeIn 0.2s ease-out;
}

.article-card.open .article-body {
  display: block;
}

/* Constitution Clause Formatting */
.clause-intro-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
  font-style: italic;
}

.clause-item {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.clause-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.clause-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.clause-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  padding: 2px 7px;
  flex-shrink: 0;
  margin-top: 3px;
  letter-spacing: 0.5px;
  user-select: none;
  transition: var(--transition-fast);
}

.clause-item:hover .clause-badge {
  background: rgba(16, 185, 129, 0.22);
  border-color: var(--accent-emerald);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.25);
}

.clause-body {
  flex: 1;
  min-width: 0;
}

.clause-lead {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin: 0;
}

.clause-lead strong {
  color: #fff;
  font-weight: 600;
}

.clause-bullets {
  margin: 10px 0 10px 10px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.clause-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.clause-bullets li::before {
  content: '▹';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

.clause-bullets li strong {
  color: #e2e8f0;
}

.clause-followup {
  margin: 10px 0 0 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.clause-intro-bullet {
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .clause-head {
    flex-direction: column;
    gap: 8px;
  }
  .clause-badge {
    align-self: flex-start;
  }
}

/* ==========================================================================
   CHALLENGE ONE & INTERACTIVE CHALLENGE
   ========================================================================== */
.quick-questions-wrap {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.quick-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.quick-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.quick-chip {
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.quick-chip:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

.arena-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
}

.arena-sidebar {
  display: flex;
  flex-direction: column;
}

.arena-scenarios {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 580px;
  overflow-y: auto;
  padding-right: 6px;
}

.scenario-chip {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
}

.scenario-chip:hover, .scenario-chip.active {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  transform: translateX(4px);
}

.scenario-chip-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 4px;
}

.scenario-chip-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.arena-chat {
  display: flex;
  flex-direction: column;
  height: 580px;
  padding: 24px;
  border-radius: 14px;
}

.chat-history {
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 8px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 88%;
  padding: 16px 20px;
  border-radius: 12px;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(2, 132, 199, 0.25));
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #fff;
}

.chat-msg.system {
  align-self: flex-start;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.msg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
}

.msg-verdict {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  font-family: var(--font-mono);
}

.msg-body {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #e2e8f0;
}

/* Human-readable Summary Styling */
.human-summary-box {
  margin-bottom: 8px;
}

.human-summary-lead {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.55;
  color: #f8fafc;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.human-summary-lead i {
  color: var(--accent-emerald);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.human-summary-points {
  list-style: none;
  padding: 0;
  margin: 10px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.human-summary-points li {
  position: relative;
  padding-left: 20px;
  font-size: 0.90rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.human-summary-points li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: -2px;
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 1.25rem;
}

/* Technical Simulation Audit Details Accordion */
.technical-audit-details {
  margin-top: 14px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.technical-audit-details[open] {
  border-color: rgba(6, 182, 212, 0.35);
  background: rgba(15, 23, 42, 0.9);
}

.technical-audit-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  cursor: pointer;
  font-size: 0.80rem;
  font-weight: 600;
  color: #94a3b8;
  user-select: none;
  list-style: none;
  transition: color 0.15s ease;
}

.technical-audit-details summary::-webkit-details-marker {
  display: none;
}

.technical-audit-details summary:hover {
  color: var(--accent-cyan);
}

.audit-summary-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-tier {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.technical-audit-content {
  padding: 12px 14px 14px 14px;
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.technical-audit-content p {
  margin: 0;
}

.msg-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.article-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-cyan);
}

/* Real-Time AI Adjudicator Typing Indicator */
.chat-msg.typing-indicator {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: rgba(17, 24, 39, 0.95);
  border: 1px dashed rgba(16, 185, 129, 0.45);
  padding: 12px 18px;
  border-radius: 12px;
  color: var(--accent-emerald);
  font-size: 0.86rem;
  font-family: var(--font-mono);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.2s ease-out;
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.typing-dots span {
  width: 7px;
  height: 7px;
  background: var(--accent-emerald);
  border-radius: 50%;
  display: inline-block;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }
.typing-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.3); opacity: 0.35; }
  40% { transform: scale(1); opacity: 1; }
}

/* AI Adjudication Rich Text Styles */
.ai-response-content {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #e2e8f0;
}

.ai-response-content p {
  margin: 0 0 10px 0;
}

.ai-response-content p:last-child {
  margin-bottom: 0;
}

.ai-response-content ul, .ai-response-content ol {
  margin: 8px 0 12px 20px;
  padding: 0;
}

.ai-response-content li {
  margin-bottom: 6px;
  color: #cbd5e1;
}

.ai-response-content strong {
  color: #fff;
  font-weight: 600;
}

.ai-response-content blockquote {
  border-left: 3px solid var(--accent-cyan);
  margin: 10px 0;
  padding: 6px 12px;
  background: rgba(6, 182, 212, 0.08);
  font-style: italic;
  color: #cbd5e1;
  border-radius: 0 6px 6px 0;
}

/* Streaming Token Cursor */
.streaming-cursor {
  display: inline-block;
  width: 7px;
  height: 15px;
  background: var(--accent-emerald);
  margin-left: 4px;
  vertical-align: text-bottom;
  border-radius: 2px;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.chat-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 10px;
}

.chat-input {
  flex-grow: 1;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  color: #fff;
  outline: none;
}

.chat-input:focus {
  border-color: var(--accent-emerald);
}

/* ==========================================================================
   FULL IN-WEBSITE READER MODAL
   ========================================================================== */
.reader-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  align-items: center;
  justify-content: center;
}

.reader-modal-overlay.active {
  display: flex;
}

.full-reader-container {
  width: 100%;
  height: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
  transition: background 0.3s ease, color 0.3s ease;
}

/* Reader Themes */
.full-reader-container.theme-dark {
  background: #090d14;
  color: #e2e8f0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.full-reader-container.theme-sepia {
  background: #fbf0d9;
  color: #382c1e;
  border-left: 1px solid rgba(80, 50, 20, 0.12);
  border-right: 1px solid rgba(80, 50, 20, 0.12);
}
.full-reader-container.theme-light {
  background: #fcfbf9;
  color: #1a202c;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

/* Light Theme Adaptations */
.full-reader-container.theme-light .reader-toolbar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.full-reader-container.theme-light .reader-progress-track {
  background: rgba(0, 0, 0, 0.08);
}
.full-reader-container.theme-light .reader-select {
  background: #f1f3f5;
  border: 1px solid rgba(0, 0, 0, 0.18);
  color: #1a202c;
}
.full-reader-container.theme-light .reader-select option {
  background: #ffffff;
  color: #1a202c;
}
.full-reader-container.theme-light .reader-btn-group {
  border-color: rgba(0, 0, 0, 0.15);
}
.full-reader-container.theme-light .reader-tool-btn {
  background: #f1f3f5;
  color: #1a202c;
}
.full-reader-container.theme-light .reader-tool-btn:hover {
  background: #e2e8f0;
}
.full-reader-container.theme-light .reader-close-btn {
  color: #1a202c;
}
.full-reader-container.theme-light .reader-pagination-bar {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.full-reader-container.theme-light .reader-chapter-header {
  border-bottom-color: rgba(0, 0, 0, 0.12);
}
.full-reader-container.theme-light .reader-chapter-title,
.full-reader-container.theme-light .reader-h1,
.full-reader-container.theme-light .reader-h2,
.full-reader-container.theme-light .reader-h3,
.full-reader-container.theme-light .reader-article-title {
  color: #0f172a !important;
}
.full-reader-container.theme-light .reader-chapter-tag {
  color: #0369a1;
}
.full-reader-container.theme-light .reader-chapter-stats,
.full-reader-container.theme-light .reader-chapter-theater {
  color: #475569;
}
.full-reader-container.theme-light .reader-prose-body {
  color: #1e293b;
}
.full-reader-container.theme-light .reader-blockquote,
.full-reader-container.theme-light .reader-article-wrap blockquote {
  border-left-color: #0284c7;
  background: rgba(2, 132, 199, 0.07);
  color: #1e293b;
}
.full-reader-container.theme-light .reader-hr,
.full-reader-container.theme-light .reader-article-wrap hr {
  border-top-color: rgba(0, 0, 0, 0.12);
}
.full-reader-container.theme-light .reader-inline-code {
  background: rgba(0, 0, 0, 0.06);
  color: #0369a1;
}
.full-reader-container.theme-light .reader-preamble-box {
  background: rgba(5, 150, 105, 0.08);
  border-left-color: #059669;
}
.full-reader-container.theme-light .reader-preamble-tag {
  color: #047857;
}
.full-reader-container.theme-light .reader-article-item {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}
.full-reader-container.theme-light .reader-article-badge {
  color: #047857;
  background: rgba(5, 150, 105, 0.12);
  border-color: rgba(5, 150, 105, 0.3);
}

/* Sepia Theme Adaptations */
.full-reader-container.theme-sepia .reader-toolbar {
  border-bottom: 1px solid rgba(80, 50, 20, 0.12);
}
.full-reader-container.theme-sepia .reader-progress-track {
  background: rgba(80, 50, 20, 0.1);
}
.full-reader-container.theme-sepia .reader-select {
  background: #ede2cf;
  border: 1px solid rgba(80, 50, 20, 0.22);
  color: #382c1e;
}
.full-reader-container.theme-sepia .reader-select option {
  background: #fbf0d9;
  color: #382c1e;
}
.full-reader-container.theme-sepia .reader-btn-group {
  border-color: rgba(80, 50, 20, 0.2);
}
.full-reader-container.theme-sepia .reader-tool-btn {
  background: #ede2cf;
  color: #382c1e;
}
.full-reader-container.theme-sepia .reader-tool-btn:hover {
  background: #e2d3be;
}
.full-reader-container.theme-sepia .reader-close-btn {
  color: #382c1e;
}
.full-reader-container.theme-sepia .reader-pagination-bar {
  border-top: 1px solid rgba(80, 50, 20, 0.14);
}
.full-reader-container.theme-sepia .reader-chapter-header {
  border-bottom-color: rgba(80, 50, 20, 0.16);
}
.full-reader-container.theme-sepia .reader-chapter-title,
.full-reader-container.theme-sepia .reader-h1,
.full-reader-container.theme-sepia .reader-h2,
.full-reader-container.theme-sepia .reader-h3,
.full-reader-container.theme-sepia .reader-article-title {
  color: #271a0e !important;
}
.full-reader-container.theme-sepia .reader-chapter-tag {
  color: #92400e;
}
.full-reader-container.theme-sepia .reader-chapter-stats,
.full-reader-container.theme-sepia .reader-chapter-theater {
  color: #6a4f38;
}
.full-reader-container.theme-sepia .reader-prose-body {
  color: #382c1e;
}
.full-reader-container.theme-sepia .reader-blockquote,
.full-reader-container.theme-sepia .reader-article-wrap blockquote {
  border-left-color: #b45309;
  background: rgba(180, 83, 9, 0.08);
  color: #382c1e;
}
.full-reader-container.theme-sepia .reader-hr,
.full-reader-container.theme-sepia .reader-article-wrap hr {
  border-top-color: rgba(80, 50, 20, 0.16);
}
.full-reader-container.theme-sepia .reader-inline-code {
  background: rgba(80, 50, 20, 0.08);
  color: #92400e;
}
.full-reader-container.theme-sepia .reader-preamble-box {
  background: rgba(180, 83, 9, 0.08);
  border-left-color: #b45309;
}
.full-reader-container.theme-sepia .reader-preamble-tag {
  color: #92400e;
}
.full-reader-container.theme-sepia .reader-article-item {
  border-bottom-color: rgba(80, 50, 20, 0.14);
}
.full-reader-container.theme-sepia .reader-article-badge {
  color: #92400e;
  background: rgba(180, 83, 9, 0.12);
  border-color: rgba(180, 83, 9, 0.3);
}

/* Dark Theme Adaptations */
.full-reader-container.theme-dark .reader-chapter-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.full-reader-container.theme-dark .reader-chapter-title,
.full-reader-container.theme-dark .reader-h1,
.full-reader-container.theme-dark .reader-h2,
.full-reader-container.theme-dark .reader-h3,
.full-reader-container.theme-dark .reader-article-title {
  color: #ffffff;
}
.full-reader-container.theme-dark .reader-chapter-tag {
  color: var(--tag-accent, var(--accent-cyan));
}
.full-reader-container.theme-dark .reader-chapter-stats,
.full-reader-container.theme-dark .reader-chapter-theater {
  color: #94a3b8;
}
.full-reader-container.theme-dark .reader-prose-body {
  color: #cbd5e1;
}
.full-reader-container.theme-dark .reader-blockquote {
  border-left-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  color: #e2e8f0;
}
.full-reader-container.theme-dark .reader-hr {
  border-top-color: rgba(255, 255, 255, 0.12);
}
.full-reader-container.theme-dark .reader-inline-code {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-cyan);
}

/* Base Chapter Header & Semantic Elements */
.reader-chapter-header {
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 18px;
}

.reader-chapter-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.reader-chapter-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--tag-accent, var(--accent-cyan));
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.reader-chapter-stats {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.reader-chapter-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  line-height: 1.25;
  color: inherit;
  margin: 4px 0 6px;
}

.reader-chapter-theater {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.reader-h1 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  margin: 28px 0 16px;
  color: inherit;
  line-height: 1.3;
}

.reader-h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  margin: 24px 0 14px;
  color: inherit;
  line-height: 1.35;
}

.reader-h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 20px 0 12px;
  color: inherit;
  line-height: 1.4;
}

.reader-blockquote {
  border-left: 3px solid var(--accent-cyan);
  padding: 12px 20px;
  margin: 24px 0;
  background: rgba(6, 182, 212, 0.08);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: inherit;
  line-height: 1.75;
}

.reader-hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 32px 0;
}

.reader-inline-code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-cyan);
}

.reader-preamble-box {
  margin-bottom: 32px;
  padding: 20px 24px;
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--accent-emerald);
  border-radius: 0 10px 10px 0;
}

.reader-preamble-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-emerald);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.reader-preamble-text {
  font-style: italic;
  line-height: 1.8;
  color: inherit;
  font-size: 1.05rem;
}

.reader-article-item {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reader-article-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.reader-article-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 6px;
}

.reader-article-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: inherit;
  margin: 0;
}

.reader-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.reader-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
  transition: width 0.1s linear;
}

.reader-toolbar {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: inherit;
  flex-wrap: wrap;
}

.reader-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.reader-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.reader-select {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: inherit;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}
.reader-select option {
  background: #0b0f17;
  color: #fff;
}

.reader-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reader-btn-group {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.reader-tool-btn {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.reader-tool-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.reader-theme-group {
  display: flex;
  gap: 6px;
}

.theme-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.theme-dot:hover, .theme-dot.active {
  transform: scale(1.15);
  border-color: var(--accent-emerald);
}
.theme-dot.theme-light { background: #fcfbf9; border-color: rgba(255, 255, 255, 0.7); }
.theme-dot.theme-sepia { background: #fbf0d9; border-color: rgba(180, 140, 100, 0.6); }
.theme-dot.theme-dark { background: #090d14; border-color: rgba(255, 255, 255, 0.35); }

.full-reader-container.theme-light .theme-dot.theme-light {
  border-color: rgba(0, 0, 0, 0.3);
}
.full-reader-container.theme-sepia .theme-dot.theme-sepia {
  border-color: rgba(80, 50, 20, 0.4);
}

.reader-close-btn {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  opacity: 0.8;
}
.reader-close-btn:hover {
  opacity: 1;
}

.reader-scroll-pane {
  flex-grow: 1;
  overflow-y: auto;
  padding: 44px 48px;
  scroll-behavior: smooth;
}

.reader-article-wrap {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.85;
  font-size: 1.15rem;
}

.reader-article-wrap.font-serif {
  font-family: var(--font-reader);
}
.reader-article-wrap.font-sans {
  font-family: var(--font-body);
}

.reader-article-wrap h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: inherit;
}

.reader-article-wrap h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: inherit;
}

.reader-article-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-top: 24px;
  margin-bottom: 10px;
  color: inherit;
}

.reader-article-wrap p {
  margin-bottom: 18px;
}

.reader-article-wrap hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 32px 0;
}

.reader-article-wrap blockquote {
  border-left: 3px solid var(--accent-emerald);
  padding-left: 18px;
  font-style: italic;
  opacity: 0.9;
  margin: 20px 0;
}

.reader-pagination-bar {
  max-width: 720px;
  margin: 48px auto 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* ==========================================================================
   MODALS & SHARE
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .features-strip { grid-template-columns: repeat(2, 1fr); }
  .funnel-grid { grid-template-columns: repeat(2, 1fr); }
  .books-container { grid-template-columns: 1fr; }
  .arena-wrap { grid-template-columns: 1fr; }
  .primer-grid { grid-template-columns: 1fr; }
  .model-comparison { grid-template-columns: repeat(2, 1fr); }
  .synoptic-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-title { font-size: 2.3rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .features-strip { grid-template-columns: 1fr; }
  .funnel-grid { grid-template-columns: 1fr; }
  .model-comparison { grid-template-columns: 1fr; }
  .primer-tabs { flex-direction: column; width: 100%; }
  .primer-tab-btn { text-align: center; }
  .constitution-controls { flex-direction: column; align-items: stretch; }
  .constitution-actions { justify-content: space-between; }
  .reader-scroll-pane { padding: 24px 20px; }
  .reader-article-wrap { font-size: 1.05rem; }
  .reader-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .reader-toolbar-right { justify-content: space-between; }
}

/* ==========================================================================
   THE BOOTSTRAP ROADMAP SECTION STYLES
   ========================================================================== */
.roadmap-shield-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.05) 100%);
  margin-bottom: 32px;
  gap: 20px;
}

.shield-badge-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.shield-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.shield-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.shield-subtitle {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-top: 2px;
}

.shield-subtitle .code-pill {
  font-family: var(--font-mono);
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  padding: 1px 6px;
  border-radius: 4px;
}

.shield-badges-right {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.archetype-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

/* 4-Pillar Grid */
.roadmap-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.pillar-card {
  padding: 24px 20px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.12);
}

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.pillar-icon {
  font-size: 1.3rem;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-top: auto;
}

.pillar-list li {
  position: relative;
  padding-left: 14px;
}

.pillar-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-size: 1.1rem;
  line-height: 1;
}

.pillar-list strong {
  color: #fff;
}

/* Interactive Configurator */
.roadmap-configurator {
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid rgba(6, 182, 212, 0.3);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(11, 15, 23, 0.95) 100%);
  margin-bottom: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.configurator-header {
  margin-bottom: 24px;
}

.config-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.config-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.config-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.config-selectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.config-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 10px;
}

.config-toggles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.config-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.config-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.config-btn.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
  font-weight: 600;
}

/* Config Output Grid */
.config-output-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.config-card {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.config-card-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.config-card-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.config-card-metric {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.config-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Phased Stepper */
.roadmap-stepper-wrap {
  padding: 32px 28px;
  border-radius: 16px;
  margin-bottom: 40px;
}

.stepper-header {
  margin-bottom: 24px;
}

.stepper-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.step-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.step-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.step-btn.active {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--accent-emerald);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

.step-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-emerald);
  text-transform: uppercase;
}

.step-label {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.stepper-content-box {
  background: rgba(11, 15, 23, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
}

.step-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-detail-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-detail-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.step-detail-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.step-detail-text {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* Adversarial QA Accordion */
.roadmap-qa-wrap {
  margin-bottom: 40px;
}

.qa-header {
  margin-bottom: 20px;
}

.roadmap-qa-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qa-card {
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.qa-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.qa-card.open {
  border-color: var(--accent-cyan);
}

.qa-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.qa-chevron {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.qa-card.open .qa-chevron {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.qa-answer-body {
  display: none;
  padding: 0 20px 18px 20px;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
}

.qa-card.open .qa-answer-body {
  display: block;
  padding-top: 14px;
}

.qa-answer-body strong {
  color: #fff;
}

/* Actions Footer */
.roadmap-actions-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  gap: 20px;
  flex-wrap: wrap;
}

.action-footer-text h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.action-footer-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.action-footer-btns {
  display: flex;
  gap: 12px;
}

/* Responsive Rules for Roadmap */
@media (max-width: 1100px) {
  .roadmap-pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .config-selectors { grid-template-columns: 1fr; }
  .config-output-grid { grid-template-columns: repeat(2, 1fr); }
  .stepper-nav { grid-template-columns: repeat(2, 1fr); }
  .step-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .roadmap-shield-banner { flex-direction: column; align-items: flex-start; }
  .shield-badges-right { width: 100%; }
  .roadmap-pillars-grid { grid-template-columns: 1fr; }
  .config-output-grid { grid-template-columns: 1fr; }
  .stepper-nav { grid-template-columns: 1fr; }
  .roadmap-actions-footer { flex-direction: column; align-items: stretch; }
  .action-footer-btns { flex-direction: column; }
}

/* ==========================================================================
   BLUEPRINT MODAL & QUICKSTART STYLES
   ========================================================================== */
.quickstart-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.quickstart-callout-text {
  font-size: 0.9rem;
  color: #e2e8f0;
}

.link-btn-inline {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.link-btn-inline:hover {
  color: #38bdf8;
}

.btn-download-mini {
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-download-mini:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--accent-emerald);
  color: #10b981;
}

/* Stepper Blueprint Action Buttons */
.step-blueprint-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  align-items: center;
}

.btn-blueprint-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
}

.btn-blueprint-cta:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.4) 0%, rgba(6, 182, 212, 0.4) 100%);
  border-color: var(--accent-cyan);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
  transform: translateY(-1px);
}

.btn-blueprint-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-blueprint-download:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* Blueprint Modal Content Styles */
.blueprint-content-section {
  margin-bottom: 32px;
}

.blueprint-content-section h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.blueprint-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.88rem;
}

.blueprint-table th, .blueprint-table td {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.blueprint-table th {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 700;
}

.blueprint-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.blueprint-checklist {
  list-style: none;
  padding: 0;
}

.blueprint-checklist li {
  padding: 8px 12px;
  margin-bottom: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-emerald);
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* ==========================================================================
   EXPLAINER VIDEO SECTION (Archive.org & Decentralized Media)
   ========================================================================== */
.explainer-video-container {
  position: relative;
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 36px;
  background: rgba(13, 17, 23, 0.75);
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(16, 185, 129, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.explainer-video-header {
  margin-bottom: 20px;
}

.explainer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald, #10b981);
  font-family: var(--font-mono, monospace);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 12px #10b981; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.explainer-video-title {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.explainer-video-desc {
  font-size: 0.95rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.55;
  max-width: 820px;
}

.video-responsive-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.video-responsive-wrapper iframe,
.video-responsive-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #000;
}

video::cue {
  background: rgba(6, 9, 14, 0.88);
  color: #ffffff;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.45;
  border-radius: 6px;
  padding: 4px 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95);
}

.video-play-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(13, 17, 23, 0.82);
  border: 2px solid var(--accent-emerald, #10b981);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 28px rgba(16, 185, 129, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-play-overlay-btn svg {
  margin-left: 4px; /* visually center play triangle */
  fill: #ffffff;
  transition: transform 0.2s ease;
}

.video-play-overlay-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(16, 185, 129, 0.25);
  border-color: #34d399;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 36px rgba(16, 185, 129, 0.6);
}

.video-responsive-wrapper.is-playing .video-play-overlay-btn {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
}

.video-footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.video-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.video-dl-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-video-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-family: var(--font-mono, monospace);
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-video-action:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #fff;
  transform: translateY(-1px);
}



