
/* ===== ACCESSIBILITY ===== */
.skip-nav {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--brand-green); color: #000; padding: 10px 20px;
  border-radius: 0 0 8px 8px; font-weight: 700; text-decoration: none;
  transition: top 0.2s;
}
.skip-nav:focus { top: 0; }

/* ============================================
   PMBET TANZANIA - MAIN STYLESHEET
   Brand: PMBet | Market: Tanzania (TZ) | Lang: SW
   Colors: Green #39b54a, Dark Navy #121721
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Oswald:wght@500;600;700&display=swap');

:root {
  --brand-green: #39b54a;
  --brand-green-dark: #2a8d37;
  --brand-green-light: #4fd163;
  --brand-navy: #121721;
  --brand-navy-mid: #1a2233;
  --brand-navy-light: #232d42;
  --brand-navy-card: #1e2a3b;
  --brand-gold: #f5a623;
  --brand-red: #e53935;
  --text-primary: #f0f4ff;
  --text-secondary: #a8b4cc;
  --text-muted: #6b7a96;
  --border-color: rgba(57,181,74,0.15);
  --border-mid: rgba(255,255,255,0.08);
  --shadow-green: 0 0 30px rgba(57,181,74,0.25);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --max-w: 1200px;
  --header-h: 68px;
  --transition: 0.25s ease;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Oswald', sans-serif;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--brand-navy);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-green-light); }
ul { list-style: none; }

/* ===== HEADER ===== */
header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(18,23,33,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 42px; width: auto; }
/* Nav truly centered in the middle column */
.nav-links { display: flex; gap: 2px; justify-content: center; }
.nav-links a {
  padding: 7px 11px; font-size: 13px; font-weight: 500;
  color: var(--text-secondary); border-radius: var(--radius-sm);
  white-space: nowrap; transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--brand-green); background: rgba(57,181,74,0.1);
}
.header-actions { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.btn-play {
  padding: 10px 22px; border-radius: 40px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.3px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  color: #fff !important; border: none; cursor: pointer;
  transition: all var(--transition); box-shadow: 0 4px 15px rgba(57,181,74,0.4);
  white-space: nowrap;
}
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(57,181,74,0.55); color: #fff !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s; }

/* Mobile tracker bar */
.mobile-cta-bar {
  display: none; background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  padding: 8px 16px; text-align: center;
}
.mobile-cta-bar a {
  color: #fff !important; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--brand-navy); z-index: 999; overflow-y: auto;
  transform: translateX(-100%); transition: transform 0.35s ease;
  padding: 16px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block; padding: 14px 16px; font-size: 15px; font-weight: 500;
  color: var(--text-primary); border-bottom: 1px solid var(--border-mid);
  transition: all var(--transition);
}
.mobile-nav a:hover { color: var(--brand-green); padding-left: 24px; }
.mobile-nav .btn-play-mobile {
  display: block; margin: 20px 0; padding: 14px 24px; text-align: center;
  border-radius: 40px; font-size: 16px; font-weight: 700;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  color: #fff !important; border: none;
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 520px;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,14,22,0.94) 0%, rgba(10,14,22,0.82) 55%, rgba(18,23,33,0.72) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 60px 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(57,181,74,0.15); border: 1px solid rgba(57,181,74,0.4);
  color: var(--brand-green); padding: 6px 14px; border-radius: 40px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 16px;
  text-transform: uppercase;
}
.hero h1 span { color: var(--brand-green); }
.hero p { font-size: 1.1rem; color: var(--text-secondary); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 40px; font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  color: #fff !important; transition: all var(--transition);
  box-shadow: 0 6px 20px rgba(57,181,74,0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(57,181,74,0.5); color: #fff !important; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 40px; font-size: 15px; font-weight: 600;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-primary) !important; transition: all var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.14); color: #fff !important; }

/* ===== SECTIONS ===== */
.section { padding: 80px 24px; }
.section-sm { padding: 50px 24px; }
.container { max-width: var(--max-w); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700; text-transform: uppercase; margin-bottom: 12px;
}
.section-header h2 span { color: var(--brand-green); }
.section-header p { color: var(--text-secondary); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-label {
  display: inline-block; color: var(--brand-green); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px;
}
.bg-darker { background: rgba(0,0,0,0.25); }
.bg-card { background: var(--brand-navy-mid); }

/* ===== CARDS ===== */
.card {
  background: var(--brand-navy-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border-mid); padding: 28px;
  transition: all var(--transition); opacity: 0; transform: translateY(24px);
}
.card.animate-in { opacity: 1; transform: translateY(0); }
.card:hover { border-color: var(--border-color); box-shadow: var(--shadow-card), var(--shadow-green); transform: translateY(-4px); }

/* ===== GRID ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* ===== STATS ===== */
.stats-bar {
  background: linear-gradient(135deg, var(--brand-navy-mid), var(--brand-navy-light));
  border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
  padding: 30px 24px;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: var(--max-w); margin: 0 auto; }
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  color: var(--brand-green); line-height: 1;
}
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ===== TABLES ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-mid); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead { background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark)); }
thead th { padding: 14px 18px; text-align: left; font-weight: 600; color: #fff; font-size: 13px; white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--border-mid); transition: background var(--transition); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(57,181,74,0.06); }
tbody td { padding: 13px 18px; color: var(--text-secondary); vertical-align: middle; }
tbody td:first-child { color: var(--text-primary); font-weight: 500; }
.td-check { color: var(--brand-green); font-size: 16px; }
.td-cross { color: var(--brand-red); font-size: 16px; }
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-green { background: rgba(57,181,74,0.15); color: var(--brand-green); }
.badge-gold { background: rgba(245,166,35,0.15); color: var(--brand-gold); }
.badge-red { background: rgba(229,57,53,0.15); color: var(--brand-red); }

/* ===== CHARTS / DIAGRAMS ===== */
.chart-bar { display: flex; flex-direction: column; gap: 12px; }
.chart-row { display: flex; align-items: center; gap: 12px; }
.chart-label { min-width: 140px; font-size: 13px; color: var(--text-secondary); text-align: right; }
.chart-track { flex: 1; background: rgba(255,255,255,0.06); border-radius: 40px; height: 10px; overflow: hidden; }
.chart-fill { height: 100%; border-radius: 40px; background: linear-gradient(90deg, var(--brand-green), var(--brand-green-light)); transition: width 1s ease; }
.chart-fill.gold { background: linear-gradient(90deg, var(--brand-gold), #f7c86a); }
.chart-fill.blue { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.chart-val { min-width: 44px; font-size: 13px; font-weight: 700; color: var(--brand-green); }

/* Donut / radial hint */
.rating-circle {
  width: 100px; height: 100px; border-radius: 50%;
  background: conic-gradient(var(--brand-green) var(--pct), rgba(255,255,255,0.08) 0);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.rating-circle::before {
  content: ''; position: absolute; width: 72px; height: 72px;
  border-radius: 50%; background: var(--brand-navy-card);
}
.rating-val { position: relative; z-index: 1; font-weight: 700; font-size: 1.1rem; color: var(--brand-green); }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--brand-navy-card); border: 1px solid var(--border-mid); border-radius: var(--radius-md); overflow: hidden; }
.faq-q {
  padding: 18px 22px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: background var(--transition); font-size: 15px;
}
.faq-q:hover { background: rgba(57,181,74,0.06); }
.faq-icon { font-size: 20px; color: var(--brand-green); transition: transform 0.3s; flex-shrink: 0; }
.faq-a { display: none; padding: 0 22px 18px; color: var(--text-secondary); line-height: 1.75; font-size: 14px; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ===== STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 20px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: #fff;
}
.step-body h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.step-body p { font-size: 14px; color: var(--text-secondary); }

/* ===== FEATURE CARDS ===== */
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(57,181,74,0.2), rgba(57,181,74,0.05));
  border: 1px solid rgba(57,181,74,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); }

/* ===== ARTICLE FIGURES ===== */
.article-figure {
  margin: 36px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(57,181,74,0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.article-figure img {
  width: 100%; height: auto; display: block;
  transition: transform 0.4s ease;
}
.article-figure:hover img { transform: scale(1.02); }
.article-figure figcaption {
  padding: 11px 18px;
  font-size: 12.5px;
  color: var(--text-secondary);
  background: rgba(0,0,0,0.28);
  border-top: 1px solid rgba(57,181,74,0.12);
  line-height: 1.5;
}


/* Image cards */
.feature-card-img {
  display: block; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--border-mid);
  background: var(--brand-navy-card);
  transition: all var(--transition);
  text-decoration: none; color: inherit;
  opacity: 0; transform: translateY(24px);
}
.feature-card-img.animate-in { opacity: 1; transform: translateY(0); }
.feature-card-img img {
  width: 100%; height: 180px; object-fit: cover;
  display: block; transition: transform 0.4s ease;
}
.feature-card-img:hover img { transform: scale(1.05); }
.feature-card-img:hover {
  border-color: var(--border-color);
  box-shadow: var(--shadow-card), var(--shadow-green);
  transform: translateY(-4px);
}
.card-img-body { padding: 18px 20px 20px; }
.card-img-body h3 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 8px;
  color: var(--text-primary);
}
.card-img-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ===== PAYMENT METHODS ===== */
.payment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.payment-item {
  background: var(--brand-navy-card); border: 1px solid var(--border-mid);
  border-radius: var(--radius-md); padding: 18px 12px; text-align: center;
  transition: all var(--transition);
}
.payment-item:hover { border-color: var(--border-color); transform: translateY(-3px); }
.payment-icon { font-size: 2rem; margin-bottom: 8px; }
.payment-name { font-size: 12px; font-weight: 600; color: var(--text-secondary); }

/* ===== AUTHOR BLOCK ===== */
.author-block {
  background: linear-gradient(135deg, var(--brand-navy-mid), var(--brand-navy-light));
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  padding: 30px; display: flex; gap: 24px; align-items: flex-start;
  margin: 60px 0 0;
}
.author-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--brand-green); }
.author-info h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.author-info .author-title { font-size: 12px; color: var(--brand-green); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.author-info p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ===== BONUS BANNER ===== */
.bonus-popup {
  position: fixed; bottom: 20px; right: 20px; z-index: 9999;
  width: 230px; background: linear-gradient(135deg, #1a2233, #232d42);
  border: 2px solid var(--brand-green); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.6), var(--shadow-green);
  animation: slideInRight 0.5s ease 2s both;
}
@keyframes slideInRight { from { transform: translateX(130%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.popup-close {
  position: absolute; top: 8px; right: 10px;
  background: none; border: none; color: var(--text-muted); font-size: 16px; cursor: pointer;
}
.popup-badge { background: var(--brand-green); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; margin-bottom: 8px; display: inline-block; }
.popup-title { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.popup-sub { font-size: 12px; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.4; }
.popup-btn { display: block; text-align: center; padding: 11px 16px; border-radius: 30px; background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark)); color: #fff !important; font-weight: 700; font-size: 13px; transition: all var(--transition); }
.popup-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(57,181,74,0.45); color: #fff !important; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 14px 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-green); }
.breadcrumb span { color: var(--text-primary); }

/* ===== ARTICLE ===== */
.article-body h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; margin: 40px 0 16px; color: var(--text-primary); }
.article-body h3 { font-size: 1.2rem; font-weight: 700; margin: 30px 0 12px; color: var(--text-primary); }
.article-body p { margin-bottom: 18px; color: var(--text-secondary); font-size: 15px; line-height: 1.8; }
.article-body ul, .article-body ol { margin: 16px 0 20px 20px; }
.article-body li { margin-bottom: 8px; color: var(--text-secondary); font-size: 15px; line-height: 1.7; }
.article-body ul li::marker { color: var(--brand-green); }
.article-body strong { color: var(--text-primary); }
.article-body .highlight-box {
  background: rgba(57,181,74,0.07); border-left: 4px solid var(--brand-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px; margin: 24px 0;
}
.article-body .highlight-box p { margin: 0; color: var(--text-primary); }

/* ===== FOOTER ===== */
footer {
  background: rgba(0,0,0,0.4); border-top: 1px solid var(--border-mid);
  padding: 50px 24px 24px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo img { height: 64px; width: auto; margin-bottom: 14px; }
.footer-logo p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
/* Hide contact column */
.footer-col-contact { display: none; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-primary); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--brand-green); }
.footer-bottom { border-top: 1px solid var(--border-mid); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-disclaimer { font-size: 11px; color: var(--text-muted); max-width: 700px; text-align: center; margin: 0 auto; padding-top: 16px; border-top: 1px solid var(--border-mid); margin-top: 16px; line-height: 1.6; }
.age-badge { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-red); color: #fff; font-size: 10px; font-weight: 800; }

/* ===== ANIMATIONS ===== */
.animate-in { opacity: 1 !important; transform: translateY(0) !important; }
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.animate-in { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-links, .lang-sw { display: none; }
  .hamburger { display: flex; }
  .header-actions { margin-left: auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .mobile-cta-bar { display: block; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 380px; }
  .section { padding: 50px 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .author-block { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .bonus-popup { right: 10px; width: 210px; }
  .step { flex-direction: column; align-items: flex-start; }
  .chart-label { min-width: 100px; font-size: 12px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .btn-primary, .btn-secondary { padding: 12px 20px; font-size: 14px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .bonus-popup { display: none; }
}
