/* ============================================================
   Votara — Global Theme Stylesheet
   Palette: navy/indigo base, cyan, violet, coral, gold accents
   Mobile-first responsive layout
   ============================================================ */

:root {
  /* Primary palette — navy / indigo base */
  --navy-900: #0b1437;
  --navy-800: #111c4a;
  --navy-700: #1a2a5e;
  --navy-600: #243b7a;
  --navy-500: #344b8f;
  --navy-400: #5a6fb0;
  --navy-300: #8498d0;
  --navy-200: #b8c5e8;
  --navy-100: #e0e6f5;
  --navy-50:  #f0f3fc;

  /* Accent — cyan */
  --cyan-600: #0e9fb8;
  --cyan-500: #11b8d4;
  --cyan-400: #2dd4ee;
  --cyan-300: #6fe3f5;
  --cyan-100: #d0f5fb;

  /* Accent — violet */
  --violet-600: #7c3aed;
  --violet-500: #8b5cf6;
  --violet-400: #a78bfa;
  --violet-200: #ddd6fe;

  /* Accent — coral */
  --coral-600: #e64a4a;
  --coral-500: #f0605a;
  --coral-400: #ff7a6e;
  --coral-100: #fde2dd;

  /* Accent — gold */
  --gold-600: #d4a017;
  --gold-500: #f4c430;
  --gold-400: #ffd84d;
  --gold-100: #fff5d0;

  /* Accent — green (success) */
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-100: #d1fae5;

  /* Status */
  --success: #16a34a;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Text */
  --text-dark: #0b1437;
  --text-body: #3d4566;
  --text-muted: #6b7394;
  --text-white-70: rgba(255,255,255,0.72);
  --text-white-60: rgba(255,255,255,0.56);

  /* Surfaces */
  --bg-cream: #f5f6fb;
  --bg-light: #eef1fa;
  --bg-card: #ffffff;

  /* Radii */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(11,20,55,0.07);
  --shadow: 0 6px 22px rgba(11,20,55,0.10);
  --shadow-lg: 0 18px 50px rgba(11,20,55,0.16);

  /* Fonts */
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-head: 'Sora', 'Plus Jakarta Sans', sans-serif;

  --header-h: 72px;
}

/* ---- Base ---- */
* { box-sizing: border-box; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-cream);
  line-height: 1.65;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); color: var(--text-dark); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; }
section { padding: 72px 0; }

/* ---- Color helpers ---- */
.text-cyan { color: var(--cyan-500) !important; }
.text-cyan-light { color: var(--cyan-300) !important; }
.text-violet { color: var(--violet-400) !important; }
.text-coral { color: var(--coral-400) !important; }
.text-gold { color: var(--gold-400) !important; }
.text-gold-light { color: #ffd84d !important; }
.text-white-70 { color: var(--text-white-70) !important; }
.text-white-60 { color: var(--text-white-60) !important; }
.text-dark-gold { color: var(--gold-600); }
.bg-navy { background: var(--navy-900) !important; }
.bg-cyan { background: var(--cyan-500) !important; }
.bg-violet { background: var(--violet-500) !important; }
.bg-coral { background: var(--coral-500) !important; }

/* ---- Buttons ---- */
.btn { font-family: var(--font-body); font-weight: 600; border-radius: var(--radius-sm); transition: all .25s ease; }
.btn-cyan {
  background: var(--cyan-500);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(17,184,212,0.35);
}
.btn-cyan:hover { background: var(--cyan-600); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(17,184,212,0.45); }
.btn-cyan:disabled { opacity: .55; }
.btn-gold {
  background: var(--gold-500);
  color: #1a1a1a;
  border: none;
  box-shadow: 0 4px 14px rgba(244,196,48,0.35);
}
.btn-gold:hover { background: var(--gold-600); color: #1a1a1a; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(244,196,48,0.45); }
.btn-gold:disabled { opacity: .55; }
.btn-outline-cyan { border: 2px solid var(--cyan-500); color: var(--cyan-500); background: transparent; }
.btn-outline-cyan:hover { background: var(--cyan-500); color: #fff; }
.btn-outline-gold { border: 2px solid var(--gold-400); color: var(--gold-400); background: transparent; }
.btn-outline-gold:hover { background: var(--gold-400); color: #1a1a1a; }
.btn-outline-navy { border: 2px solid var(--navy-700); color: var(--navy-700); background: transparent; }
.btn-outline-navy:hover { background: var(--navy-700); color: #fff; }

/* ---- Navbar ---- */
.votara-navbar {
  background: var(--navy-900);
  padding: 14px 0;
  transition: all .3s ease;
}
.votara-navbar.scrolled {
  background: rgba(11,20,55,0.96);
  box-shadow: var(--shadow);
  padding: 8px 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: #fff; }
.brand-tagline { font-size: .72rem; color: var(--cyan-400); font-weight: 500; }
.votara-navbar .nav-link { color: rgba(255,255,255,0.82); font-weight: 500; padding: .5rem 1rem; border-radius: var(--radius-sm); }
.votara-navbar .nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.votara-navbar .nav-link:focus { color: var(--cyan-300); }

/* ---- Section headers ---- */
.section-header { margin-bottom: 44px; }
.section-eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  display: block; margin-bottom: 8px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.section-subtitle { font-size: 1.08rem; color: var(--text-muted); max-width: 620px; margin: 12px auto 0; }
.subsection-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; }
.sample-note { font-size: .85rem; color: var(--text-muted); font-style: italic; }

/* ---- Hero ---- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(17,184,212,0.10) 0%, transparent 45%),
    radial-gradient(ellipse at 15% 85%, rgba(139,92,246,0.12) 0%, transparent 50%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
  color: #fff;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.min-vh-100-with-nav { min-height: calc(100vh - var(--header-h)); padding: 40px 0; }
.hero-eyebrow {
  font-weight: 600; font-size: .85rem; padding: .5rem .9rem; border-radius: 50px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(17,184,212,0.14);
  color: var(--cyan-300);
  border: 1px solid rgba(17,184,212,0.25);
}
.dot-pulse { width: 8px; height: 8px; background: var(--cyan-400); border-radius: 50%; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.4; transform:scale(1.4); } }
.hero-title { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; color: #fff; margin-bottom: 20px; letter-spacing: -.02em; }
.hero-title .accent-cyan { color: var(--cyan-400); }
.hero-title .accent-violet { color: var(--violet-400); }
.hero-lead { font-size: 1.15rem; color: var(--text-white-70); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; }
.trust-num { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--cyan-400); }
.trust-label { font-size: .82rem; color: var(--text-white-60); }
.trust-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 60px; }

/* Hero feature cards */
.hero-card-stack { position: relative; height: 420px; }
.hero-feature-card {
  position: absolute; width: 250px; background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-feature-card-1 { top: 0; right: 30px; transform: rotate(4deg); animation: float1 5s ease-in-out infinite; }
.hero-feature-card-2 { bottom: 20px; right: 120px; transform: rotate(-5deg); animation: float2 6s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-12px); } }
@keyframes float2 { 0%,100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(10px); } }
.hero-feature-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: rgba(255,255,255,0.05); }
.hero-feature-badge { background: var(--cyan-500); color: #fff; font-weight: 700; font-size: .75rem; padding: 2px 10px; border-radius: 6px; }
.hero-feature-badge-violet { background: var(--violet-500); }
.hero-feature-badge-coral { background: var(--coral-500); }
.hero-feature-badge-gold { background: var(--gold-500); color: #1a1a1a; }
.hero-feature-tag { color: var(--text-white-70); font-size: .72rem; font-weight: 500; }
.hero-feature-body { padding: 24px 16px; text-align: center; }
.hero-feature-body h4 { color: #fff; font-size: 1.05rem; margin: 12px 0 4px; }
.hero-feature-body p { color: var(--text-white-70); font-size: .82rem; margin: 0; }
.hero-feature-footer { padding: 10px 16px; background: rgba(255,255,255,0.04); font-size: .72rem; color: var(--text-white-60); text-align: center; }

/* ---- Avatars ---- */
.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-weight: 700; font-family: var(--font-head); flex-shrink: 0; }
.avatar-md { width: 48px; height: 48px; font-size: 1.1rem; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.4rem; }
.avatar-xl { width: 80px; height: 80px; font-size: 1.8rem; margin: 0 auto; }

/* ---- Poster generator ---- */
.poster-generator { background: var(--bg-light); }
.poster-placeholder { background: #fff; border: 2px dashed var(--navy-400); border-radius: var(--radius-xl); padding: 56px 32px; max-width: 640px; margin: 32px auto 0; }
.poster-placeholder-inner { text-align: center; }
.poster-placeholder-inner h4 { font-size: 1.4rem; margin-bottom: 12px; }
.poster-placeholder-inner p { color: var(--text-muted); max-width: 440px; margin: 0 auto 24px; }
.poster-note { font-size: .8rem; color: var(--text-muted); margin-top: 16px; margin-bottom: 0; }

/* Poster gen layout */
.poster-gen-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; max-width: 1100px; margin: 0 auto; }
.poster-gen-controls { display: flex; flex-direction: column; gap: 28px; }
.poster-gen-step { display: flex; flex-direction: column; gap: 14px; }
.poster-gen-step-label { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--text-dark); display: flex; align-items: center; gap: 8px; }
.poster-gen-step-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--cyan-500); color: #fff; font-size: .82rem; font-weight: 700; flex-shrink: 0; }

/* Template cards */
.poster-template-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.poster-template-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px; background: #fff; border: 2px solid #e2e8f5; border-radius: var(--radius); cursor: pointer; transition: all .2s ease; }
.poster-template-card:hover { border-color: var(--cyan-400); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.poster-template-card.selected { border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(17,184,212,0.15); }
.poster-template-preview { width: 100%; aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 2px solid; position: relative; }
.poster-template-preview img { width: 100%; height: 100%; object-fit: cover; }
.poster-template-initials { font-family: var(--font-head); font-weight: 800; font-size: 2rem; }
.poster-template-info { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.poster-template-name { font-weight: 600; font-size: .82rem; color: var(--text-dark); text-align: center; }
.poster-template-party { font-size: .7rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }

/* Form */
.poster-gen-form { display: flex; flex-direction: column; gap: 18px; }
.poster-gen-field { display: flex; flex-direction: column; gap: 6px; }
.poster-gen-field .form-label { font-weight: 600; font-size: .88rem; color: var(--text-dark); }
.poster-upload-area { position: relative; border: 2px dashed #c5cee0; border-radius: var(--radius); padding: 24px; text-align: center; cursor: pointer; transition: all .2s ease; background: #fff; }
.poster-upload-area:hover { border-color: var(--cyan-400); background: rgba(17,184,212,0.03); }
.poster-upload-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); font-size: .88rem; }
.poster-upload-preview { max-width: 100%; max-height: 160px; border-radius: 8px; object-fit: contain; margin: 0 auto; display: block; }

/* Preview */
.poster-gen-preview { display: flex; flex-direction: column; align-items: center; gap: 20px; position: sticky; top: 80px; }
.poster-gen-canvas-wrap { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; display: flex; align-items: center; justify-content: center; min-height: 400px; width: 100%; }
#posterCanvas { max-width: 100%; height: auto; border-radius: 8px; display: none; }
.poster-gen-empty { text-align: center; color: var(--text-muted); padding: 60px 20px; }
.poster-gen-empty p { margin-top: 12px; font-size: .9rem; }
.poster-gen-actions { display: flex; gap: 12px; width: 100%; }
.poster-gen-actions .btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* ---- Directory ---- */
.directory { background: #fff; }
.directory-controls { background: var(--bg-light); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.search-wrap { position: relative; }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.search-wrap .form-control { padding-left: 44px; border-radius: var(--radius); border: 1.5px solid #dde3ef; }
.form-select, .form-control { border: 1.5px solid #dde3ef; }
.form-select:focus, .form-control:focus { border-color: var(--cyan-500); box-shadow: 0 0 0 .2rem rgba(17,184,212,0.12); }
.directory-results-bar { margin-bottom: 16px; }
.directory-clear-row { margin: -8px 0 16px; }
.directory-clear-link { font-size: .875rem; color: var(--cyan-600); text-decoration: none; cursor: pointer; }
.directory-clear-link:hover { text-decoration: underline; color: var(--cyan-700); }
.result-count { font-size: .9rem; color: var(--text-muted); font-weight: 500; }

/* Program card */
.politician-card { background: #fff; border: 1.5px solid #e8edf5; border-radius: var(--radius-lg); overflow: hidden; transition: all .3s ease; height: 100%; display: flex; flex-direction: column; }
.politician-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--cyan-400); }
.politician-card-top { padding: 20px; text-align: center; position: relative; }
.politician-card-avatar { width: 72px; height: 72px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.6rem; font-family: var(--font-head); margin-bottom: 12px; }
.politician-card-body { padding: 0 20px 20px; flex-grow: 1; display: flex; flex-direction: column; }
.politician-card-body h5 { font-size: 1.1rem; margin-bottom: 4px; }
.politician-card-position { font-size: .88rem; color: var(--text-muted); margin-bottom: 12px; }
.politician-card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.party-chip { font-size: .72rem; font-weight: 700; color: #fff; padding: 3px 10px; border-radius: 50px; }
.level-chip { font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; border: 1px solid #dde3ef; color: var(--text-muted); }
.politician-card-state { font-size: .82rem; color: var(--text-muted); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.politician-card-actions { margin-top: auto; display: flex; gap: 8px; }
.politician-card-actions .btn { flex: 1; font-size: .82rem; padding: 7px 12px; }
.no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.no-results h4 { margin: 16px 0 8px; }

/* ---- Regions ---- */
.states-section { background: var(--bg-light); }
.state-list-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; }
.state-list-header { padding: 16px 20px; background: var(--navy-800); color: #fff; display: flex; justify-content: space-between; align-items: center; }
.state-list-header h4 { color: #fff; font-size: 1.1rem; margin: 0; }
.state-count { font-size: .78rem; color: var(--cyan-300); }
.state-list-scroll { max-height: 480px; overflow-y: auto; }
.state-item { width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid #eef2f8; padding: 14px 20px; display: flex; align-items: center; gap: 8px; cursor: pointer; transition: background .2s ease; }
.state-item:hover { background: var(--bg-light); }
.state-item.active { background: rgba(17,184,212,0.08); border-left: 3px solid var(--cyan-500); }
.state-name { font-weight: 600; color: var(--text-dark); flex: 1; }
.state-lga-count { font-size: .78rem; color: var(--text-muted); }
.state-chevron { color: var(--text-muted); }
.state-item.active .state-chevron { color: var(--cyan-500); }

.lga-display-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 32px; min-height: 300px; height: 100%; display: flex; align-items: center; justify-content: center; }
.lga-display-empty { text-align: center; color: var(--text-muted); }
.lga-display-empty h4 { margin: 16px 0 8px; }
.lga-state-name { font-size: 1.6rem; margin-bottom: 20px; color: var(--navy-700); }
.lga-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.lga-chip { background: var(--bg-light); border: 1.5px solid #dde3ef; border-radius: 50px; padding: 8px 18px; font-size: .88rem; font-weight: 500; color: var(--text-dark); transition: all .2s ease; cursor: default; }
.lga-chip:hover { border-color: var(--cyan-400); background: rgba(17,184,212,0.06); }

/* ---- Featured ---- */
.featured { background: #fff; }
.feature-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .3s ease; height: 100%; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card-top { padding: 28px 20px; text-align: center; position: relative; }
.feature-rank { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.2); color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 50px; }
.feature-avatar { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.9); color: var(--navy-800); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.3rem; font-family: var(--font-head); }
.feature-card-body { padding: 16px 20px 20px; }
.feature-card-body h5 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-position { font-size: .84rem; color: var(--text-muted); margin-bottom: 12px; }
.feature-meta { display: flex; align-items: center; gap: 8px; }
.feature-state { font-size: .8rem; color: var(--text-muted); }

.mini-poster { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: all .3s ease; height: 100%; }
.mini-poster:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-poster-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--navy-800); }
.mini-poster-badge { color: #fff; font-weight: 700; font-size: .72rem; padding: 2px 8px; border-radius: 4px; }
.mini-poster-flag { color: var(--text-white-70); font-size: .7rem; }
.mini-poster-body { padding: 20px 14px; text-align: center; }
.mini-poster-body .avatar { margin: 0 auto 10px; }
.mini-poster-body h6 { font-size: .95rem; margin-bottom: 2px; }
.mini-poster-body p { font-size: .78rem; color: var(--text-muted); margin: 0 0 6px; }
.mini-poster-slogan { font-size: .82rem; color: var(--cyan-600); font-style: italic; font-weight: 500; }
.mini-poster-footer { padding: 8px 14px; background: var(--bg-cream); font-size: .68rem; color: var(--text-muted); display: flex; justify-content: space-between; }

/* ---- Stats ---- */
.stats {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(139,92,246,0.10) 0%, transparent 45%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  position: relative;
}
.stat-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; transition: all .3s ease; height: 100%; }
.stat-card:hover { background: rgba(255,255,255,0.10); transform: translateY(-4px); }
.stat-icon { width: 56px; height: 56px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.stat-icon-gold { background: rgba(244,196,48,0.18); color: var(--gold-400); }
.stat-icon-cyan { background: rgba(17,184,212,0.18); color: var(--cyan-400); }
.stat-icon-violet { background: rgba(139,92,246,0.18); color: var(--violet-400); }
.stat-icon-coral { background: rgba(240,96,90,0.18); color: var(--coral-400); }
.stat-number { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.stat-label { font-size: .92rem; color: var(--text-white-70); }

/* ---- Civic / community info ---- */
.election-info { background: var(--bg-cream); }
.civic-card { background: #fff; border-radius: var(--radius-lg); padding: 32px 24px; box-shadow: var(--shadow-sm); transition: all .3s ease; height: 100%; }
.civic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.civic-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.civic-icon-cyan { background: rgba(17,184,212,0.12); color: var(--cyan-600); }
.civic-icon-gold { background: rgba(244,196,48,0.18); color: var(--gold-600); }
.civic-icon-violet { background: rgba(139,92,246,0.12); color: var(--violet-600); }
.civic-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.civic-card p { font-size: .92rem; color: var(--text-muted); margin-bottom: 16px; }
.civic-link { color: var(--cyan-600); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.civic-link:hover { color: var(--violet-600); }

.election-timeline { margin-top: 32px; }
.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--cyan-500), var(--violet-500)); }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -32px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--cyan-500); }
.timeline-content { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.timeline-date { font-size: .78rem; font-weight: 700; color: var(--violet-500); text-transform: uppercase; letter-spacing: .05em; }
.timeline-content h5 { font-size: 1.05rem; margin: 6px 0 6px; }
.timeline-content p { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-900); color: var(--text-white-70); padding: 64px 0 24px; }
.footer-brand { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: #fff; }
.footer-tagline { color: var(--cyan-400); font-weight: 600; margin-bottom: 12px; }
.footer-desc { font-size: .92rem; color: var(--text-white-70); }
.footer-heading { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-white-70); font-size: .92rem; }
.footer-links a:hover { color: var(--cyan-400); }
.footer-label { color: var(--cyan-400); font-weight: 600; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .82rem; transition: all .2s ease; }
.social-btn:hover { background: var(--cyan-500); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); margin-top: 40px; padding-top: 24px; font-size: .88rem; }
.footer-bottom a { color: var(--text-white-70); }
.footer-bottom a:hover { color: var(--cyan-400); }
.footer-note { font-size: .78rem; color: var(--text-white-60); margin-top: 12px; }

/* ---- Sample badge ---- */
.sample-badge { display: inline-block; margin-left: 12px; font-size: .75rem; background: var(--gold-100); color: var(--gold-600); padding: 3px 10px; border-radius: 50px; font-weight: 600; }

/* Scrollbar polish */
.state-list-scroll::-webkit-scrollbar { width: 6px; }
.state-list-scroll::-webkit-scrollbar-thumb { background: #cdd6e8; border-radius: 3px; }
.state-list-scroll::-webkit-scrollbar-track { background: transparent; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- Notification bell ---- */
.btn-notif {
  background: none; border: none; color: rgba(255,255,255,0.82); cursor: pointer;
  padding: 6px; border-radius: var(--radius-sm); position: relative; transition: color .2s;
}
.btn-notif:hover { color: var(--cyan-300); }
.notif-dot {
  position: absolute; top: 4px; right: 4px; width: 8px; height: 8px;
  background: var(--coral-500); border-radius: 50%; border: 1.5px solid var(--navy-900);
}

/* ---- Hero category pills ---- */
.hero-categories { display: flex; flex-direction: column; gap: 10px; }
.hero-categories-label { font-size: .82rem; color: var(--text-white-60); font-weight: 600; }
.hero-cat-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-cat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 50px; font-weight: 600; font-size: .85rem;
  color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12); transition: all .25s ease;
}
.hero-cat-pill:hover { background: rgba(255,255,255,0.14); color: #fff; transform: translateY(-2px); }
.hero-cat-politics:hover { border-color: var(--cyan-400); color: var(--cyan-300); }
.hero-cat-sports:hover { border-color: var(--coral-400); color: var(--coral-400); }
.hero-cat-youth:hover { border-color: var(--violet-400); color: var(--violet-400); }
.hero-cat-community:hover { border-color: var(--green-500); color: var(--green-500); }
.hero-cat-others:hover { border-color: var(--gold-400); color: var(--gold-400); }

/* Hero icon colors */
.hero-icon-wrap { width: 56px; height: 56px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.hero-icon-cyan { background: rgba(17,184,212,0.18); color: var(--cyan-400); }
.hero-icon-violet { background: rgba(139,92,246,0.18); color: var(--violet-400); }

/* ---- Search bar row ---- */
.search-bar-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.search-bar-row .search-wrap { flex: 1 1 200px; }
.search-go-btn { flex: 0 0 auto; }
.filter-toggle-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; }
.search-filters { margin-top: 16px; }
.politician-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.search-type-badge { position: absolute; top: 12px; right: 12px; color: #fff; font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 50px; display: inline-flex; align-items: center; gap: 4px; }
.politician-card-top { position: relative; }
.politician-card-desc { font-size: .82rem; color: var(--text-muted); margin-bottom: 8px; line-height: 1.5; }

/* ---- Voting section ---- */
.voting-section { background: var(--bg-cream); }
.voting-grid { margin-bottom: 8px; }
.voting-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.voting-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all .3s ease; height: 100%;
  display: flex; flex-direction: column;
}
.voting-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.voting-card-cover { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--navy-800); }
.voting-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.voting-card-cover-placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); }
.voting-cat-icon { width: 64px; height: 64px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; }
.voting-cat-politics { background: rgba(17,184,212,0.15); color: var(--cyan-400); }
.voting-cat-sports { background: rgba(240,96,90,0.15); color: var(--coral-400); }
.voting-cat-youth { background: rgba(139,92,246,0.15); color: var(--violet-400); }
.voting-cat-community { background: rgba(34,197,94,0.15); color: var(--green-500); }
.voting-cat-others { background: rgba(244,196,48,0.15); color: var(--gold-400); }
.voting-card-body { padding: 16px 18px 18px; flex-grow: 1; display: flex; flex-direction: column; }
.voting-card-cat { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.voting-cat-badge { font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; text-transform: uppercase; letter-spacing: .04em; }
.voting-cat-badge.voting-cat-politics { background: rgba(17,184,212,0.12); color: var(--cyan-600); }
.voting-cat-badge.voting-cat-sports { background: rgba(240,96,90,0.12); color: var(--coral-600); }
.voting-cat-badge.voting-cat-youth { background: rgba(139,92,246,0.12); color: var(--violet-600); }
.voting-cat-badge.voting-cat-community { background: rgba(34,197,94,0.12); color: var(--green-600); }
.voting-cat-badge.voting-cat-others { background: rgba(244,196,48,0.12); color: var(--gold-600); }
.voting-featured-badge { font-size: .68rem; font-weight: 700; background: var(--gold-500); color: #1a1a1a; padding: 3px 8px; border-radius: 50px; }
.voting-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: var(--text-dark); }
.voting-card-desc { font-size: .85rem; color: var(--text-muted); margin-bottom: 10px; flex-grow: 1; }
.voting-card-region { font-size: .8rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
.voting-card-cta { font-size: .88rem; font-weight: 700; color: var(--cyan-600); display: inline-flex; align-items: center; gap: 5px; margin-top: auto; }
.voting-card:hover .voting-card-cta { color: var(--cyan-500); }

/* ---- Poster create cards ---- */
.poster-create-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all .3s ease; height: 100%;
  display: flex; flex-direction: column;
}
.poster-create-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.poster-create-card-photo { width: 100%; aspect-ratio: 1; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.poster-create-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.poster-create-initials { font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; }
.poster-create-party-img { position: absolute; bottom: 8px; right: 8px; width: 36px; height: 36px; border-radius: 8px; object-fit: cover; border: 2px solid #fff; }
.poster-create-card-body { padding: 14px 16px 16px; flex-grow: 1; display: flex; flex-direction: column; }
.poster-create-cat { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--cyan-600); margin-bottom: 4px; }
.poster-create-card-body h5 { font-size: 1rem; margin-bottom: 2px; }
.poster-create-party { font-size: .75rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.poster-create-msg { font-size: .8rem; color: var(--text-muted); margin-bottom: 0; flex-grow: 1; }

/* ---- Empty state card ---- */
.empty-state-card {
  text-align: center; padding: 56px 24px; background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  color: var(--text-muted); max-width: 480px; margin: 0 auto;
}
.empty-state-card svg { margin-bottom: 12px; }
.empty-state-card h4 { font-size: 1.2rem; margin-bottom: 6px; color: var(--text-dark); }
.empty-state-card p { font-size: .9rem; margin-bottom: 0; }

/* ---- Poster generator page ---- */
.poster-page { padding-top: calc(var(--header-h) + 32px); padding-bottom: 64px; min-height: 80vh; }
.poster-direct-link-box { max-width: 1100px; margin: 24px auto 0; background: var(--bg-light); border-radius: var(--radius); padding: 16px 20px; }
.poster-direct-link-box label { font-size: .82rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; display: block; }
.poster-link-row { display: flex; gap: 10px; align-items: center; }
.poster-link-row input { flex: 1; background: #fff; border: 1.5px solid #dde3ef; border-radius: var(--radius-sm); padding: 8px 12px; font-size: .85rem; }

/* ---- Vote / Ballot page ---- */
.vote-page { padding-top: calc(var(--header-h) + 32px); padding-bottom: 64px; min-height: 80vh; }
.vote-not-found { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.vote-not-found h2 { margin: 16px 0 8px; }
.vote-not-found p { margin-bottom: 16px; }

.vote-event-header { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 28px; }
.vote-event-cover { width: 100%; height: 200px; background-size: cover; background-position: center; }
.vote-event-cover-placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); }
.vote-event-info { padding: 24px 28px; }
.vote-event-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.vote-event-region { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; color: var(--text-muted); }
.vote-event-title { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; margin-bottom: 8px; }
.vote-event-desc { font-size: .95rem; color: var(--text-body); margin-bottom: 12px; }
.vote-event-stats { display: flex; align-items: center; gap: 16px; font-size: .88rem; color: var(--text-muted); }
.vote-event-stats strong { color: var(--text-dark); font-weight: 700; }
.vote-stat-divider { width: 1px; height: 20px; background: #dde3ef; }

.vote-alert { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--radius); margin-bottom: 24px; }
.vote-alert-success { background: var(--green-100); color: var(--green-600); }
.vote-alert-error { background: #fde2dd; color: var(--coral-600); }
.vote-alert strong { font-weight: 700; }
.vote-alert div { flex: 1; }

.vote-closed-banner { text-align: center; padding: 32px; background: var(--bg-light); border-radius: var(--radius-lg); margin-bottom: 24px; }
.vote-closed-banner h3 { margin: 8px 0 4px; }
.vote-closed-banner p { color: var(--text-muted); margin: 0; }

.vote-results-section { margin-bottom: 32px; }
.vote-results-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }
.vote-results-note { font-size: .88rem; color: var(--text-muted); margin-bottom: 20px; }
.vote-results-list { display: flex; flex-direction: column; gap: 16px; }
.vote-result-row { background: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-sm); }
.vote-result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.vote-result-identity { display: flex; align-items: center; gap: 12px; }
.vote-result-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.vote-result-initials { width: 48px; height: 48px; border-radius: 50%; background: var(--navy-700); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-head); }
.vote-result-identity h5 { font-size: 1rem; margin-bottom: 0; }
.vote-result-party { font-size: .78rem; color: var(--text-muted); }
.vote-result-numbers { text-align: right; }
.vote-result-count { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--text-dark); }
.vote-result-pct { font-size: .82rem; color: var(--text-muted); }
.vote-result-bar { width: 100%; height: 10px; background: var(--bg-light); border-radius: 50px; overflow: hidden; }
.vote-result-bar-fill { height: 100%; background: linear-gradient(90deg, var(--cyan-500), var(--cyan-600)); border-radius: 50px; transition: width .8s ease; }

.vote-ballot { margin-bottom: 32px; }
.ballot-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }
.ballot-instructions { font-size: .88rem; color: var(--text-muted); margin-bottom: 20px; }
.ballot-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.ballot-item { cursor: pointer; display: block; }
.ballot-radio { position: absolute; opacity: 0; width: 0; height: 0; }
.ballot-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px;
  background: #fff; border: 2px solid #e8edf5; border-radius: var(--radius);
  transition: all .25s ease; position: relative;
}
.ballot-item:hover .ballot-card { border-color: var(--cyan-400); }
.ballot-item.selected .ballot-card { border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(17,184,212,0.15); }
.ballot-check {
  width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid #dde3ef;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all .25s ease; color: transparent;
}
.ballot-item.selected .ballot-check { background: var(--cyan-500); border-color: var(--cyan-500); color: #fff; }
.ballot-photo-wrap { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.ballot-photo { width: 100%; height: 100%; object-fit: cover; }
.ballot-photo-placeholder { background: var(--navy-700); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-family: var(--font-head); font-size: 1.3rem; }
.ballot-info { flex: 1; min-width: 0; }
.ballot-info h5 { font-size: 1.05rem; margin-bottom: 2px; }
.ballot-party { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--text-muted); font-weight: 600; }
.ballot-party-logo { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; }
.ballot-desc { font-size: .82rem; color: var(--text-muted); margin: 4px 0 0; }
.ballot-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.ballot-note { font-size: .8rem; color: var(--text-muted); font-style: italic; }

/* ---- Voting / Posters listing pages ---- */
.voting-page, .posters-page { padding-top: calc(var(--header-h) + 32px); padding-bottom: 64px; min-height: 80vh; }

/* ---- Green button ---- */
.btn-green { background: var(--green-600); color: #fff; border: none; box-shadow: 0 4px 14px rgba(22,163,74,0.3); }
.btn-green:hover { background: var(--green-500); color: #fff; transform: translateY(-1px); }
.btn-outline-secondary { border: 2px solid #c5cee0; color: var(--text-muted); background: transparent; }
.btn-outline-secondary:hover { background: #f0f3fc; color: var(--text-dark); }
.btn-outline-danger { border: 2px solid var(--coral-500); color: var(--coral-600); background: transparent; }
.btn-outline-danger:hover { background: var(--coral-500); color: #fff; }
.btn-outline-warning { border: 2px solid var(--warning); color: var(--warning); background: transparent; }

/* ============================================================
   Mobile-first responsive — small screens get priority
   ============================================================ */
@media (max-width: 575.98px) {
  section { padding: 48px 0; }
  .hero { padding-top: calc(var(--header-h) + 8px); }
  .hero-title { font-size: 2rem; line-height: 1.15; }
  .hero-lead { font-size: 1.02rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; padding-left: 1rem; padding-right: 1rem; }
  .hero-actions .btn-lg { width: 100%; }
  .hero-trust { gap: 14px; }
  .trust-num { font-size: 1.4rem; }
  .trust-divider { display: none; }
  .stat-number { font-size: 1.7rem; }
  .poster-placeholder { padding: 36px 18px; }
  .poster-gen-layout { grid-template-columns: 1fr; gap: 24px; }
  .poster-template-list { grid-template-columns: 1fr 1fr; }
  .poster-gen-preview { position: static; }
  .directory-controls { padding: 14px; }
  .lga-display-card { padding: 20px; }
  .civic-card { padding: 24px 18px; }
  .timeline { padding-left: 24px; }
  .footer-social { flex-wrap: wrap; }
  .section-header { margin-bottom: 32px; }
  .search-bar-row { flex-direction: column; }
  .search-bar-row .btn { width: 100%; }
  .hero-cat-pills { gap: 8px; }
  .hero-cat-pill { font-size: .78rem; padding: 6px 12px; }
  .ballot-card { flex-wrap: wrap; }
  .ballot-photo-wrap { width: 56px; height: 56px; }
  .vote-event-info { padding: 18px 16px; }
  .vote-event-cover { height: 140px; }
  .vote-result-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 767.98px) {
  .hero-card-stack { display: none; }
  .state-list-scroll { max-height: 360px; }
  .poster-gen-layout { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) {
  .votara-navbar .navbar-nav { padding-top: 12px; }
  .votara-navbar .nav-item.ms-lg-2 { margin-top: 8px; }
}
