/* BitcoinAfrica.site – African Bitcoin Intelligence Platform
   Mobile-first, performance-optimized CSS
   ================================================== */

/* Google Fonts loaded via HTML <link> tag for performance (not CSS import) */

/* ========== CSS VARIABLES ========== */
:root {
  --color-gold: #FFD700;
  --color-gold-dark: #D4A800;
  --color-green: #228B22;
  --color-green-light: #2ECC40;
  --color-red: #CC0000;
  --color-dark: #1A1A1A;
  --color-bg: #0D1117;
  --color-bg-2: #161B22;
  --color-bg-3: #21262D;
  --color-surface: #1C2128;
  --color-border: #30363D;
  --color-text: #E6EDF3;
  --color-text-muted: #8B949E;
  --color-text-dim: #6E7681;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.6);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --container: 1200px;
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-gold); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: var(--space-6); }
table { border-collapse: collapse; width: 100%; }

/* ========== CONTAINER ========== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
@media (min-width: 768px) { .container { padding: 0 var(--space-8); } }

/* ========== HEADER / NAV ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  gap: var(--space-4);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-gold);
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-logo .logo-symbol {
  font-size: 1.4rem;
}
.nav-links {
  display: none;
  list-style: none;
  padding: 0;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}
.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-text); text-decoration: none; }
.nav-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  color: var(--color-text);
  cursor: pointer;
}
@media (min-width: 768px) { .nav-mobile-toggle { display: none; } }
.mobile-menu {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  padding: var(--space-4);
}
.mobile-menu ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.mobile-menu a { color: var(--color-text); font-size: 1rem; font-weight: 500; }

/* ========== SECTIONS ========== */
.section { padding: var(--space-12) 0; }
.section-dark { background: var(--color-bg-2); }
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: var(--space-3);
  line-height: 1.2;
}
.section-sub {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 640px;
  margin-bottom: var(--space-8);
}

/* ========== HERO ========== */
.hero {
  padding: var(--space-16) 0 var(--space-12);
  background: linear-gradient(135deg, #0D1117 0%, #1A1A0A 50%, #0D1117 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,215,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,215,0,0.1);
  color: var(--color-gold);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 100px;
  padding: var(--space-1) var(--space-4);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-4);
  letter-spacing: -0.03em;
}
.hero h1 .accent { color: var(--color-gold); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: var(--space-6);
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-gold);
  color: #000;
}
.btn-primary:hover { background: var(--color-gold-dark); text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-gold); color: var(--color-gold); text-decoration: none; }
.btn-green {
  background: var(--color-green);
  color: #fff;
}
.btn-green:hover { background: #1a6b1a; text-decoration: none; }

/* ========== STATS GRID ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
@media (min-width: 600px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(5, 1fr); } }
.stat-card {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}
.stat-number {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ========== COUNTRY GRID ========== */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
@media (min-width: 600px) { .countries-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .countries-grid { grid-template-columns: repeat(4, 1fr); } }
.country-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-decoration: none;
  transition: all 0.2s;
}
.country-card:hover {
  border-color: var(--color-gold);
  background: var(--color-surface);
  transform: translateY(-2px);
  text-decoration: none;
}
.country-flag { font-size: 2rem; flex-shrink: 0; }
.country-name { font-weight: 700; font-size: 1rem; color: var(--color-text); display: block; }
.country-currency { font-size: 0.75rem; color: var(--color-gold); font-weight: 600; display: block; }
.country-desc { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 2px; }

/* ========== CARDS ========== */
.card {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-icon { font-size: 2rem; margin-bottom: var(--space-3); }
.feature-title { font-size: 1.1rem; font-weight: 700; margin-bottom: var(--space-2); }
.feature-desc { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ========== TABLES ========== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { min-width: 600px; }
th {
  background: var(--color-bg-3);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text);
}
tr:hover td { background: rgba(255,215,0,0.03); }
.badge-legal { color: #4CAF50; font-weight: 600; }
.badge-gray { color: #FF9800; font-weight: 600; }
.badge-banned { color: var(--color-red); font-weight: 600; }
.badge-trend-up { color: #4CAF50; }
.badge-trend-down { color: var(--color-red); }

/* ========== FAQ ========== */
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  padding: var(--space-4) var(--space-6);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: var(--color-gold); }
.faq-body {
  padding: 0 var(--space-6) var(--space-4);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-body p { margin-bottom: var(--space-3); }
.faq-body p:last-child { margin-bottom: 0; }

/* ========== ADOPTION INDEX TABLE ========== */
.adoption-table th { background: rgba(255,215,0,0.08); }
.score-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.score-fill {
  height: 6px;
  background: var(--color-gold);
  border-radius: 3px;
  flex-shrink: 0;
}
.score-num { font-weight: 700; color: var(--color-gold); font-size: 0.85rem; }

/* ========== QUICK FACTS BOX ========== */
.quick-facts {
  background: var(--color-bg-2);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin: var(--space-8) 0;
}
.quick-facts-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.quick-facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (min-width: 600px) { .quick-facts-grid { grid-template-columns: repeat(3, 1fr); } }
.qf-item-label { font-size: 0.75rem; color: var(--color-text-muted); margin-bottom: 2px; }
.qf-item-value { font-size: 0.9rem; font-weight: 600; color: var(--color-text); }

/* ========== LANGUAGE SWITCHER ========== */
.language-switcher {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin: var(--space-6) 0;
}
.lang-btn {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn.active, .lang-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(255,215,0,0.08);
}
.local-content { display: none; }
.local-content.active { display: block; }
.local-section {
  background: rgba(255,215,0,0.05);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-6) 0;
}
.local-section h3 { color: var(--color-gold); margin-bottom: var(--space-3); }
.local-section p { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ========== AFFILIATE BANNERS ========== */
.affiliate-section {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
}
.affiliate-disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  margin-bottom: var(--space-6);
}
.affiliate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 600px) { .affiliate-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .affiliate-grid { grid-template-columns: repeat(3, 1fr); } }
.affiliate-banner {
  display: block;
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  text-decoration: none;
  transition: all 0.2s;
}
.affiliate-banner:hover { border-color: var(--color-gold); text-decoration: none; }
.af-name { font-weight: 700; color: var(--color-text); margin-bottom: var(--space-1); display: block; }
.af-desc { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: var(--space-3); display: block; }
.af-cta { font-size: 0.8rem; font-weight: 600; color: var(--color-gold); }
.af-badge {
  display: inline-block;
  background: rgba(255,215,0,0.15);
  color: var(--color-gold);
  font-size: 0.65rem;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-left: var(--space-2);
  vertical-align: middle;
}

/* ========== NEWSLETTER ========== */
.newsletter-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-heading { font-size: 1.4rem; font-weight: 700; margin-bottom: var(--space-2); }
.newsletter-desc { color: var(--color-text-muted); margin-bottom: var(--space-6); font-size: 0.95rem; }
.newsletter-form { display: flex; flex-direction: column; gap: var(--space-3); }
@media (min-width: 500px) { .newsletter-form { flex-direction: row; } }
.newsletter-email {
  flex: 1;
  padding: 0.65rem var(--space-4);
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.95rem;
}
.newsletter-email:focus { outline: none; border-color: var(--color-gold); }
.newsletter-notice { font-size: 0.75rem; color: var(--color-text-dim); margin-top: var(--space-2); }
.newsletter-honey { position: absolute; opacity: 0; pointer-events: none; }

/* ========== BREADCRUMB ========== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-8);
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-gold); }
.breadcrumb-sep { color: var(--color-border); }

/* ========== STEP LIST ========== */
.step-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-6); }
.step-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.step-num {
  width: 2.2rem;
  height: 2.2rem;
  background: var(--color-gold);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.step-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: var(--space-1); }
.step-content p { color: var(--color-text-muted); font-size: 0.9rem; }

/* ========== DISCLAIMER ========== */
.disclaimer {
  background: rgba(255,215,0,0.04);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: var(--space-8) 0;
}
.disclaimer strong { color: var(--color-gold); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  padding: var(--space-12) 0 var(--space-8);
  margin-top: var(--space-16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand-name { font-size: 1.1rem; font-weight: 800; color: var(--color-gold); margin-bottom: var(--space-3); }
.footer-brand-desc { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.6; }
.footer-col-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin-bottom: var(--space-4); }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.footer-links a { font-size: 0.85rem; color: var(--color-text-muted); }
.footer-links a:hover { color: var(--color-gold); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 0.8rem; color: var(--color-text-dim); }

/* ========== MAP SVG STYLES ========== */
.africa-map-wrap { position: relative; }
.africa-map-wrap svg { width: 100%; max-width: 420px; }
.africa-map-wrap path {
  fill: var(--color-bg-3);
  stroke: var(--color-border);
  stroke-width: 1;
  cursor: pointer;
  transition: fill 0.2s;
}
.africa-map-wrap path:hover { fill: rgba(255,215,0,0.3); }
.africa-map-wrap path.has-page { fill: rgba(255,215,0,0.1); stroke: rgba(255,215,0,0.4); }
.africa-map-wrap path.has-page:hover { fill: rgba(255,215,0,0.3); }

/* ========== HIGHLIGHT / CTA BLOCK ========== */
.cta-block {
  background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(34,139,34,0.05));
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: center;
  justify-content: space-between;
}
.cta-block h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: var(--space-2); }
.cta-block p { color: var(--color-text-muted); max-width: 480px; }
.cta-links { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ========== ARTICLE CONTENT ========== */
.article-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: var(--space-8) 0 var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
}
.article-content h3 { font-size: 1.2rem; font-weight: 700; margin: var(--space-6) 0 var(--space-3); color: var(--color-text); }
.article-content p { color: var(--color-text-muted); line-height: 1.8; margin-bottom: var(--space-4); }
.article-content p strong { color: var(--color-text); }
.article-content ul, .article-content ol { margin-bottom: var(--space-4); color: var(--color-text-muted); line-height: 1.8; }
.article-content li { margin-bottom: var(--space-2); }
.article-content a { color: var(--color-gold); }
.article-content .table-wrap { margin: var(--space-6) 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }

/* ========== PRICE WIDGET ========== */
.price-widget {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.btc-symbol {
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}
.price-value { font-size: 2rem; font-weight: 800; color: var(--color-text); font-variant-numeric: tabular-nums; }
.price-currency { font-size: 0.9rem; color: var(--color-text-muted); font-weight: 600; }
.price-change-positive { color: #4CAF50; font-weight: 600; font-size: 0.9rem; }
.price-change-negative { color: var(--color-red); font-weight: 600; font-size: 0.9rem; }
.price-updated { font-size: 0.75rem; color: var(--color-text-dim); margin-top: var(--space-2); }

/* ========== UTILITIES ========== */
.text-gold { color: var(--color-gold); }
.text-muted { color: var(--color-text-muted); }
.text-green { color: var(--color-green-light); }
.text-red { color: var(--color-red); }
.font-mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* ========== RELATED NETWORK ========== */
.network-section {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--color-border);
  padding: var(--space-8) var(--space-4);
  text-align: center;
}
.network-label {
  color: var(--color-gold);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.network-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  max-width: 900px;
  margin: 0 auto;
}
.network-link {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  text-decoration: none;
  border: 1px solid var(--color-border);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}
.network-link:hover { color: var(--color-gold); border-color: var(--color-gold); text-decoration: none; }

/* ========== COOKIE CONSENT BANNER ========== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a2332;
  border-top: 2px solid var(--color-gold);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
  font-size: 0.875rem;
  color: var(--color-text);
}
#cookie-banner.hidden { display: none; }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; line-height: 1.5; }
#cookie-banner a { color: var(--color-gold); }
.cookie-btns { display: flex; gap: 0.625rem; flex-shrink: 0; }
.cookie-btn-accept {
  background: var(--color-gold);
  color: #000;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.875rem;
}
.cookie-btn-accept:hover { background: #e6c200; }
.cookie-btn-decline {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
}
.cookie-btn-decline:hover { border-color: var(--color-text-muted); color: var(--color-text); }
@media (max-width: 480px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-btns { width: 100%; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}

/* ========== MONETIZATION: CTA INJECT + NEWSLETTER + DONATION ========== */
.cta-inject {
  margin: var(--space-8) 0 var(--space-4);
  padding: 0 var(--space-4);
}
.cta-inject-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(34,139,34,0.06));
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  flex-wrap: wrap;
}
.cta-inject-text { flex: 1; min-width: 200px; }
.cta-inject-text strong { display: block; font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--color-text); }
.cta-inject-text span { font-size: 0.875rem; color: var(--color-text-muted); }
.cta-inject-btn {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-dark) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  flex-shrink: 0;
  transition: background 0.2s;
}
.cta-inject-btn:hover { background: var(--color-gold-dark); }
.affiliate-note {
  font-size: 0.73rem;
  color: var(--color-text-dim);
  margin-top: var(--space-2);
  padding: 0 var(--space-2);
}

/* Footer newsletter */
.footer-newsletter {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
}
.footer-nl-form {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.footer-nl-label { font-size: 0.8rem; color: var(--color-text-muted); flex-shrink: 0; }
.footer-nl-form input[type="email"] {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.82rem;
  padding: 0.4rem 0.75rem;
  flex: 1;
  min-width: 160px;
  font-family: var(--font-main);
}
.footer-nl-form button {
  background: var(--color-gold);
  color: var(--color-dark);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  cursor: pointer;
  flex-shrink: 0;
}
.footer-nl-form button:hover { background: var(--color-gold-dark); }

/* Footer donation */
.footer-donation {
  margin-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.footer-donation-label { font-size: 0.72rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.footer-donation-addr {
  font-size: 0.78rem;
  color: var(--color-gold);
  font-family: monospace;
  cursor: pointer;
  text-decoration: none;
}
.footer-donation-addr:hover { text-decoration: underline; }
.footer-donation-hint { font-size: 0.75rem; color: var(--color-text-dim); }

/* ========== SEARCH ========== */
.nav-search-btn {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}
.nav-search-btn:hover { border-color: var(--color-gold); color: var(--color-gold); }
#search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 10000;
  padding: 10vh 1rem 1rem;
  backdrop-filter: blur(4px);
}
#search-overlay.open { display: flex; justify-content: center; align-items: flex-start; }
#search-box {
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
#search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}
#search-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1rem;
  font-family: var(--font-main);
  outline: none;
}
#search-input::placeholder { color: var(--color-text-dim); }
#search-close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
}
#search-close:hover { color: var(--color-text); }
#search-results {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 50vh;
  overflow-y: auto;
}
#search-results li a {
  display: block;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.15s;
}
#search-results li:last-child a { border-bottom: none; }
#search-results li a:hover { background: var(--color-bg-3); }
#search-results li a strong { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; }
#search-results li a span { font-size: 0.78rem; color: var(--color-text-muted); line-height: 1.4; }
#search-hint {
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  color: var(--color-text-dim);
  text-align: center;
}

/* ========== READING PROGRESS BAR ========== */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-green));
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ========== TABLE OF CONTENTS (AUTO-TOC) ========== */
.toc-sidebar {
  position: sticky;
  top: 5rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: 0.82rem;
  width: 220px;
  flex-shrink: 0;
}
.toc-sidebar::-webkit-scrollbar { width: 4px; }
.toc-sidebar::-webkit-scrollbar-track { background: transparent; }
.toc-sidebar::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }
.toc-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.toc-list a {
  display: block;
  color: var(--color-text-muted);
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
  line-height: 1.4;
  transition: all 0.15s;
  text-decoration: none;
}
.toc-list a:hover,
.toc-list a.toc-active {
  color: var(--color-gold);
  background: rgba(255,215,0,0.07);
  text-decoration: none;
}
.toc-list li.toc-h3 a { padding-left: 1.2rem; font-size: 0.78rem; }

/* Layout wrapper when TOC is present */
.article-with-toc {
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
}
.article-with-toc .article-content {
  flex: 1;
  min-width: 0;
}
/* Hide TOC on narrow screens */
@media (max-width: 1023px) {
  .toc-sidebar { display: none; }
  .article-with-toc { display: block; }
}

/* ========== COUNTRIES DROPDOWN NAV ========== */
.nav-dropdown-li { position: relative; }
.nav-dropdown-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  font-family: var(--font-main);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-dropdown-btn:hover,
.nav-dropdown-btn[aria-expanded="true"] { color: var(--color-gold); }
.nav-dropdown-btn svg { transition: transform 0.2s; }
.nav-dropdown-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: -1rem;
  width: 680px;
  max-width: 92vw;
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  z-index: 200;
  padding: 1.25rem;
  animation: dropdownIn 0.15s ease-out;
}
@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-dropdown.open { display: block; }
.nav-dropdown-region {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-dim);
  margin-top: 0.9rem;
  margin-bottom: 0.4rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}
.nav-dropdown-region:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.2rem;
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.55rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-dropdown-item:hover { background: var(--color-bg-3); color: var(--color-gold); text-decoration: none; }

/* ========== MOBILE BOTTOM NAV ========== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(22,27,34,0.97);
  border-top: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (max-width: 767px) { .mobile-bottom-nav { display: flex; } }
.mobile-bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  padding: 0.4rem 0 0.5rem;
}
.mbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0.3rem 0.6rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-main);
  min-width: 52px;
}
.mbn-item.active, .mbn-item:hover { color: var(--color-gold); text-decoration: none; }

/* Countries drawer (slides up from bottom) */
.mbn-countries-drawer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 490;
  background: var(--color-bg-2);
  border-top: 2px solid var(--color-gold);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-height: 75vh;
  overflow-y: auto;
  padding: 1rem 1rem 6rem;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.6);
  animation: drawerUp 0.25s ease-out;
}
@keyframes drawerUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.mbn-countries-drawer.open { display: block; }
.mbn-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}
.mbn-drawer-header strong { font-size: 1rem; color: var(--color-text); }
.mbn-drawer-close {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-muted);
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.mbn-drawer-region {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-dim);
  margin: 1rem 0 0.4rem;
}
.mbn-drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}
.mbn-drawer-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  background: var(--color-bg-3);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.83rem;
  text-decoration: none;
  border: 1px solid var(--color-border);
  transition: all 0.15s;
}
.mbn-drawer-item:hover { border-color: var(--color-gold); color: var(--color-gold); text-decoration: none; }
.mbn-flag { font-size: 1.15rem; flex-shrink: 0; }
.mbn-cname { font-weight: 600; font-size: 0.82rem; line-height: 1.2; }
.mbn-curr { font-size: 0.67rem; color: var(--color-text-muted); }
.mbn-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 480;
  background: rgba(0,0,0,0.5);
}
.mbn-drawer-overlay.open { display: block; }

@media (max-width: 767px) {
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  /* hide header mobile toggle when bottom nav is active */
  .nav-mobile-toggle { display: none !important; }
  #mobile-menu { display: none !important; }
}

/* ========== MODERN VISUAL ENHANCEMENTS ========== */

/* Country card visual depth */
.country-card {
  position: relative;
  overflow: hidden;
}
.country-card .country-flag {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: transform 0.25s;
}
.country-card:hover .country-flag { transform: scale(1.15); }

/* Animated stats counter */
.stat-number { transition: opacity 0.3s; }

/* Visual hero background pattern */
.hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,215,0,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Country card gradient accents by region (injected via data-region) */
.country-card[data-region="west"]  { --card-accent: rgba(0,150,0,0.08); }
.country-card[data-region="east"]  { --card-accent: rgba(255,165,0,0.08); }
.country-card[data-region="south"] { --card-accent: rgba(0,100,200,0.08); }
.country-card[data-region="north"] { --card-accent: rgba(200,50,50,0.08); }
.country-card[data-region="central"] { --card-accent: rgba(150,0,150,0.08); }
.country-card {
  background: linear-gradient(135deg, var(--color-bg-3), var(--color-surface));
  border-radius: var(--radius-lg);
}

/* Inline SVG illustration placeholder for country pages */
.country-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, var(--color-bg-3), var(--color-surface));
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  border: 1px solid var(--color-border);
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.country-hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,215,0,0.06), transparent 70%);
}
.country-hero-flag {
  font-size: 5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  position: relative;
  z-index: 1;
}
.country-hero-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.chs-item { text-align: center; }
.chs-val { font-size: 1.1rem; font-weight: 800; color: var(--color-gold); display: block; }
.chs-lbl { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-dim); }

/* Mobile card swipe scroll for country grid */
@media (max-width: 640px) {
  .countries-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-3);
    padding-bottom: var(--space-3);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .countries-grid::-webkit-scrollbar { display: none; }
  .country-card {
    min-width: 140px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

/* Improve touch targets on mobile */
@media (max-width: 767px) {
  .lang-btn { padding: 0.5rem 1rem; font-size: 0.85rem; min-height: 40px; }
  .btn { min-height: 44px; }
  table th, table td { font-size: 0.8rem; padding: 0.5rem 0.4rem; }
  .faq-q { font-size: 0.95rem; }
}

/* Shimmer loading effect for price widget */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.btc-price-usd:empty::after {
  content: '···';
  background: linear-gradient(90deg, var(--color-bg-3) 25%, var(--color-border) 50%, var(--color-bg-3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ========== NAV PRICE TICKER ========== */
.nav-price-ticker {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  display: none;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 900px) { .nav-price-ticker { display: flex; } }
.nav-price-ticker .btc-price-usd { color: var(--color-gold); }

/* ========== BACK TO TOP ========== */
#back-to-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  z-index: 200;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#back-to-top:hover { background: var(--color-surface); color: var(--color-gold); border-color: var(--color-gold); }
@media (min-width: 768px) { #back-to-top { bottom: 1.5rem; } }

/* ========== LIVE PRICE TABLE ========== */
.price-table-wrap { overflow-x: auto; }
.price-live-table { font-variant-numeric: tabular-nums; }
.price-live-table tr:hover td { background: var(--color-bg-3); }
.price-cell { font-weight: 700; color: var(--color-gold); }
.price-change-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
}
.price-change-badge.pos { background: rgba(46,204,64,0.15); color: var(--color-green-light); }
.price-change-badge.neg { background: rgba(204,0,0,0.15); color: #ff6b6b; }

/* ========== CURRENCY CONVERTER ========== */
.currency-converter {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  max-width: 480px;
}
.converter-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.converter-row input, .converter-row select {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  font-family: var(--font-main);
}
.converter-row input { flex: 1; }
.converter-row select { min-width: 90px; }
.converter-result {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-gold);
  font-variant-numeric: tabular-nums;
  min-height: 2rem;
}

/* ========== ECONOMY HUB PAGE ========== */
.econ-country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
}
.econ-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: border-color 0.2s;
}
.econ-card:hover { border-color: var(--color-gold); }
.econ-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.econ-flag { font-size: 1.8rem; }
.econ-country-name { font-weight: 700; font-size: 1rem; }
.econ-currency { font-size: 0.75rem; color: var(--color-text-muted); }
.econ-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}
.econ-stat { padding: var(--space-2); background: var(--color-bg-3); border-radius: var(--radius-sm); }
.econ-stat-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-dim); display: block; }
.econ-stat-value { font-size: 0.9rem; font-weight: 700; color: var(--color-text); display: block; margin-top: 0.1rem; }
.econ-stat-value.red { color: #ff6b6b; }
.econ-stat-value.green { color: var(--color-green-light); }
.econ-stat-value.gold { color: var(--color-gold); }
.econ-card-footer {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.adoption-bar-wrap { flex: 1; margin-right: var(--space-3); }
.adoption-bar-track { height: 6px; background: var(--color-bg); border-radius: 3px; overflow: hidden; }
.adoption-bar-fill { height: 100%; background: linear-gradient(90deg, var(--color-gold), var(--color-green-light)); border-radius: 3px; transition: width 1s ease; }
.adoption-score-label { font-size: 0.7rem; color: var(--color-text-dim); margin-bottom: 0.2rem; }
.econ-guide-link { font-size: 0.8rem; color: var(--color-gold); white-space: nowrap; }

/* ========== REGULATION TRACKER ========== */
.regulation-table { border-collapse: collapse; width: 100%; }
.regulation-table td, .regulation-table th { padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--color-border); font-size: 0.88rem; }
.reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.reg-legal    { background: rgba(46,204,64,0.15);  color: #2ecc40; }
.reg-grey     { background: rgba(255,215,0,0.15);  color: #FFD700; }
.reg-restrict { background: rgba(204,0,0,0.15);    color: #ff6b6b; }
.reg-unclear  { background: rgba(139,148,158,0.15);color: var(--color-text-muted); }

/* ========== TAX GUIDE ========== */
.tax-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
}
.tax-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.tax-card h3 { font-size: 0.95rem; margin-bottom: var(--space-3); display: flex; align-items: center; gap: 0.5rem; }
.tax-item { display: flex; justify-content: space-between; padding: 0.3rem 0; border-bottom: 1px solid var(--color-border); font-size: 0.83rem; }
.tax-item:last-child { border-bottom: none; }
.tax-item-label { color: var(--color-text-muted); }
.tax-item-value { font-weight: 600; color: var(--color-text); }
.tax-item-value.green { color: var(--color-green-light); }
.tax-item-value.red { color: #ff6b6b; }
.tax-item-value.amber { color: var(--color-gold); }
