/* ==========================================================================
   DEV KUMAR (RAJU GUPTA) — GRADUATE MLC CANDIDATE (VARANASI DIVISION)
   PREMIUM ANIMATED DIGITAL VISITING CARD & CAMPAIGN MICROSITE
   ========================================================================== */

/* 1. CSS VARIABLES & DESIGN TOKENS */
:root {
  /* Primary Royal Political Palette */
  --color-maroon: #720B0B;
  --color-burgundy-dark: #4A0508;
  --color-burgundy-deep: #2B0204;
  --color-maroon-glow: rgba(114, 11, 11, 0.45);

  /* Cream / Ivory */
  --color-cream: #F8F1E5;
  --color-cream-light: #FDFBF7;
  --color-cream-dark: #EADBC8;

  /* Gold Highlights */
  --color-gold: #D6A928;
  --color-gold-light: #FCE881;
  --color-gold-deep: #B38615;
  --color-gold-glow: rgba(214, 169, 40, 0.4);

  /* Sector Colors */
  --color-navy: #10284D;
  --color-navy-glow: rgba(16, 40, 77, 0.35);
  --color-green: #087A28;
  --color-green-glow: rgba(8, 122, 40, 0.35);
  --color-orange: #E86B00;
  --color-orange-glow: rgba(232, 107, 0, 0.35);
  
  /* Neutrals */
  --color-white: #FFFFFF;
  --color-dark: #111111;
  --color-text-dark: #221515;
  --color-text-muted: #665856;
  --color-text-light: #F5EDE0;
  --color-text-dim: #D1C5B4;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-dark: rgba(25, 3, 5, 0.75);
  --glass-bg-card: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(214, 169, 40, 0.28);
  --glass-border-subtle: rgba(255, 255, 255, 0.15);

  /* Typography */
  --font-hindi: 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Cinzel', 'Noto Sans Devanagari', serif;
  --font-sans: 'Outfit', sans-serif;

  /* Dimensions & Spacing */
  --max-width: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 2. BASE RESET & BOX SIZING */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-burgundy-deep);
  color: var(--color-text-light);
  font-family: var(--font-hindi);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 20%, #4A0508 0%, #2B0204 60%, #150102 100%);
  position: relative;
}

body.loading-active {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 3. PARTICLE CANVAS (GOLDEN AMBIENCE) */
.particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

/* 4. CINEMATIC SPLASH SCREEN */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #5A080C 0%, #300305 60%, #170102 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  pointer-events: none;
}

.splash-bg-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--color-gold-glow) 0%, rgba(214, 169, 40, 0) 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulseSlow 3s infinite alternate ease-in-out;
}

.splash-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.splash-portrait-wrapper {
  position: relative;
  width: 170px;
  height: 170px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-ring-pulsing {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  box-shadow: 0 0 25px var(--color-gold-glow), inset 0 0 15px var(--color-gold-glow);
  animation: rotateRing 8s linear infinite;
}

.gold-ring-pulsing::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(214, 169, 40, 0.6);
}

.splash-portrait {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 3px solid var(--color-cream);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  animation: zoomReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.vote-badge-splash {
  position: absolute;
  bottom: 0;
  right: -5px;
  background: linear-gradient(135deg, #E86B00 0%, #B84E00 100%);
  color: var(--color-white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-gold-light);
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  animation: badgePop 0.8s 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.vote-badge-splash .vote-tag {
  font-size: 0.7rem;
  font-weight: 700;
}

.vote-badge-splash .vote-num {
  font-size: 1.1rem;
  font-weight: 900;
  font-family: var(--font-accent);
  color: var(--color-gold-light);
}

.splash-sub-badge {
  display: inline-block;
  background: rgba(214, 169, 40, 0.15);
  color: var(--color-gold-light);
  border: 1px solid var(--color-gold);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  animation: fadeInUp 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.splash-name {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--color-cream-light);
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  line-height: 1.25;
  margin-bottom: 6px;
  animation: fadeInUp 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.splash-nickname {
  color: var(--color-gold-light);
  font-weight: 700;
}

.splash-designation {
  font-size: 1rem;
  color: var(--color-cream-dark);
  font-weight: 600;
  margin-bottom: 12px;
  animation: fadeInUp 0.8s 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.splash-divider {
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 14px auto;
  position: relative;
  animation: expandLine 0.8s 0.8s ease backwards;
}

.divider-diamond {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 7px;
  height: 7px;
  background-color: var(--color-gold);
}

.splash-slogan {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-gold-light);
  letter-spacing: 0.5px;
  text-shadow: 0 0 15px var(--color-gold-glow);
  margin-bottom: 26px;
  animation: fadeInUp 0.8s 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.skip-splash-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--color-gold);
  color: var(--color-cream-light);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.skip-splash-btn:hover {
  background: var(--color-gold);
  color: var(--color-burgundy-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-gold-glow);
}

/* 5. APP WRAPPER */
.app-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 75px; /* Mobile Dock Space */
}

/* 6. TOP NAVIGATION BAR */
.top-nav-bar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(43, 2, 4, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--color-gold);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5), 0 0 12px rgba(214, 169, 40, 0.4);
  display: block;
}

.brand-vote-badge {
  position: absolute;
  bottom: -2px;
  right: -3px;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  background: var(--color-maroon);
  border: 1.2px solid var(--color-gold);
  color: var(--color-gold-light);
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.brand-vote-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-burgundy-dark) 100%);
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold-light);
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-cream-light);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--color-gold);
  font-weight: 500;
}

.top-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-tool-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(214, 169, 40, 0.3);
  color: var(--color-cream-light);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.icon-tool-btn:hover {
  background: rgba(214, 169, 40, 0.25);
  color: var(--color-gold-light);
  border-color: var(--color-gold);
  transform: translateY(-1px);
}

.icon-tool-btn.active-audio {
  background: var(--color-gold);
  color: var(--color-burgundy-deep);
  box-shadow: 0 0 12px var(--color-gold-glow);
}

.admin-trigger {
  opacity: 0.8;
}

/* 7. HERO SECTION */
.hero-section {
  position: relative;
  padding: 30px 18px 45px;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.4) saturate(1.1);
  transform: scale(1.03);
  transition: transform 6s ease-out;
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(43, 2, 4, 0.75) 0%, 
    rgba(74, 5, 8, 0.88) 55%, 
    rgba(31, 2, 4, 0.98) 100%);
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

/* Hero Portrait Column */
.hero-visual-card {
  display: flex;
  justify-content: center;
}

.portrait-halo-container {
  position: relative;
  width: 200px;
  height: 200px;
}

.glow-orb {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  animation: pulseSlow 3s infinite alternate ease-in-out;
}

.gold-frame-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2.5px solid var(--color-gold);
  box-shadow: 0 0 20px var(--color-gold-glow);
}

.hero-portrait {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 4px solid var(--color-cream);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

/* Voting Callout Box */
.hero-voting-callout {
  position: absolute;
  bottom: -10px;
  right: -15px;
  background: linear-gradient(135deg, #E86B00 0%, #B84E00 100%);
  border: 2px solid var(--color-gold-light);
  border-radius: var(--radius-md);
  padding: 6px 12px;
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: pulseSubtle 2.5s infinite ease-in-out;
}

.vote-callout-header {
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
}

.vote-dot {
  width: 6px;
  height: 6px;
  background: #FFF;
  border-radius: 50%;
  display: inline-block;
}

.vote-digit-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vote-number-large {
  font-size: 1.55rem;
  font-weight: 900;
  font-family: var(--font-accent);
  color: var(--color-gold-light);
  line-height: 1;
}

.vote-stamp-icon {
  font-size: 0.95rem;
  color: #4ADE80;
}

/* Profession Chip */
.hero-profession-chip {
  position: absolute;
  top: 5px;
  left: -12px;
  background: rgba(16, 40, 77, 0.92);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  color: var(--color-cream-light);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Hero Info Card */
.hero-info-card {
  text-align: center;
}

.candidate-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(214, 169, 40, 0.15);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.pill-sparkle {
  color: var(--color-gold);
}

.hero-candidate-name {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--color-cream-light);
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.highlight-alias {
  color: var(--color-gold-light);
  font-weight: 700;
}

.hero-designation {
  font-size: 1.15rem;
  color: var(--color-cream-dark);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-slogan-box {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.slogan-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-deep) 100%);
  color: var(--color-burgundy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slogan-primary {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-gold-light);
  line-height: 1.25;
}

.slogan-secondary {
  font-size: 0.88rem;
  color: var(--color-cream);
  font-weight: 500;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-align: center;
  min-height: 48px;
}

.btn-gold {
  background: linear-gradient(135deg, #E5B83B 0%, #C49419 100%);
  color: #240204;
  box-shadow: 0 4px 15px rgba(214, 169, 40, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #FAD765 0%, #D6A928 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 169, 40, 0.5);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2EE070 0%, #169E8F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(214, 169, 40, 0.4);
  color: var(--color-cream-light);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(214, 169, 40, 0.2);
  border-color: var(--color-gold);
  color: var(--color-gold-light);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.hero-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* 8. SECTION STRUCTURE & HEADERS */
.section-container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 45px 18px;
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-subtag {
  display: inline-block;
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-cream-light);
  line-height: 1.25;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-dim);
  margin-top: 6px;
}

.section-title-line {
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 12px auto 0;
  border-radius: var(--radius-full);
}

/* 9. CANDIDATE PROFILE CARDS */
.profile-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.profile-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 16px;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-gold);
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.profile-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--color-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

.card-icon-bubble {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(214, 169, 40, 0.12);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-card-content {
  flex: 1;
}

.card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-gold);
  background: rgba(214, 169, 40, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.profile-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-cream-light);
  margin-bottom: 4px;
}

.profile-card-desc {
  font-size: 0.88rem;
  color: var(--color-cream-dark);
  line-height: 1.45;
}

/* 10. EDUCATION TIMELINE */
.timeline-stepper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.timeline-step {
  display: flex;
  gap: 16px;
  position: relative;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.node-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(43, 2, 4, 0.9);
  border: 2px solid var(--color-gold);
  color: var(--color-gold-light);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 10px var(--color-gold-glow);
}

.highlight-node {
  background: var(--color-gold);
  color: var(--color-burgundy-deep);
  font-size: 1.1rem;
}

.node-connector {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, var(--color-gold) 0%, rgba(214, 169, 40, 0.2) 100%);
  margin-top: 4px;
  margin-bottom: -16px;
}

.timeline-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  backdrop-filter: blur(8px);
  transition: transform var(--transition-fast);
}

.timeline-card:hover {
  transform: translateX(4px);
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.08);
}

.highlight-card {
  border-color: var(--color-gold);
  background: rgba(214, 169, 40, 0.1);
}

.step-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
}

.step-degree {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-cream-light);
  margin: 2px 0 4px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--color-cream-dark);
}

/* 11. VISION SANKALP BANNER */
.vision-section-wrapper {
  padding-top: 15px;
  padding-bottom: 25px;
}

.vision-banner-section {
  position: relative;
  width: 100%;
  padding: 40px 24px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at center, #720B0B 0%, #4A0508 70%, #2B0204 100%);
  border: 1.5px solid var(--color-gold);
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 25px rgba(214, 169, 40, 0.15);
  overflow: hidden;
}

.vision-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.vision-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.vision-top-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--color-gold-light);
  color: var(--color-gold-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.vision-main-heading {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-cream-light);
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.gold-gradient-divider {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 16px auto;
}

.vision-statement {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1.4;
  margin-bottom: 10px;
}

.vision-sub-support {
  font-size: 0.9rem;
  color: var(--color-cream-dark);
}

/* 12. COMMUNITY COMMITMENTS (ACCORDION) */
.commitments-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.commitment-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--glass-border-subtle);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

/* Theme Borders & Glows */
.commitment-card.theme-teachers {
  border-left: 5px solid #2B5EA4;
}
.commitment-card.theme-teachers.active {
  background: rgba(16, 40, 77, 0.45);
  border-color: #3B7AD4;
  box-shadow: 0 10px 25px var(--color-navy-glow);
}

.commitment-card.theme-youth {
  border-left: 5px solid var(--color-green);
}
.commitment-card.theme-youth.active {
  background: rgba(8, 122, 40, 0.35);
  border-color: #22C55E;
  box-shadow: 0 10px 25px var(--color-green-glow);
}

.commitment-card.theme-advocates {
  border-left: 5px solid var(--color-maroon);
}
.commitment-card.theme-advocates.active {
  background: rgba(114, 11, 11, 0.45);
  border-color: var(--color-gold);
  box-shadow: 0 10px 25px var(--color-maroon-glow);
}

.commitment-card.theme-traders {
  border-left: 5px solid var(--color-orange);
}
.commitment-card.theme-traders.active {
  background: rgba(232, 107, 0, 0.35);
  border-color: #FB923C;
  box-shadow: 0 10px 25px var(--color-orange-glow);
}

.commitment-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.commitment-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.commit-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-cream-light);
  transition: transform var(--transition-normal);
}

.commitment-card.theme-teachers .commit-icon-badge { color: #60A5FA; }
.commitment-card.theme-youth .commit-icon-badge { color: #4ADE80; }
.commitment-card.theme-advocates .commit-icon-badge { color: var(--color-gold-light); }
.commitment-card.theme-traders .commit-icon-badge { color: #FB923C; }

.commitment-card.active .commit-icon-badge {
  transform: scale(1.08) rotate(3deg);
}

.commit-sector-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold);
}

.commit-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-cream-light);
}

.commit-toggle-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cream-light);
  transition: transform var(--transition-normal);
}

.commitment-card.active .commit-toggle-arrow {
  transform: rotate(180deg);
  background: rgba(214, 169, 40, 0.3);
  color: var(--color-gold-light);
}

/* Accordion Body */
.commitment-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
}

.commitment-card.active .commitment-body {
  max-height: 400px;
  padding: 0 20px 20px 20px;
}

.commit-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

.commit-points-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-cream);
  line-height: 1.45;
}

.bullet-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(214, 169, 40, 0.2);
  color: var(--color-gold-light);
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

/* 13. CONSTITUENCY COVERAGE (8 DISTRICTS) */
.districts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.district-chip {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(214, 169, 40, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--color-cream-light);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.district-chip:hover {
  background: rgba(214, 169, 40, 0.15);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.district-chip.active {
  background: linear-gradient(135deg, rgba(214, 169, 40, 0.25) 0%, rgba(114, 11, 11, 0.5) 100%);
  border-color: var(--color-gold);
  color: var(--color-gold-light);
  box-shadow: 0 4px 15px rgba(214, 169, 40, 0.25);
}

.district-pin {
  font-size: 1rem;
}

.district-info-box {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeIn 0.3s ease;
}

.info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-gold-light);
  margin-bottom: 2px;
}

.info-text p {
  font-size: 0.88rem;
  color: var(--color-cream);
  line-height: 1.4;
}

/* 14. DIGITAL VISITING CARD BOX */
.visiting-card-box {
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  border: 3px solid var(--color-gold);
}

.vcard-header-bar {
  background: #200406;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vcard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.vcard-dot.red { background: #EF4444; }
.vcard-dot.yellow { background: #F59E0B; }
.vcard-dot.green { background: #10B981; }

.vcard-label {
  margin-left: 8px;
  color: var(--color-gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.vcard-body {
  padding: 24px 20px;
}

.vcard-top-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.vcard-avatar-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.vcard-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 2.5px solid var(--color-maroon);
}

.vcard-badge-num {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-maroon);
  color: var(--color-gold-light);
  border: 1.5px solid var(--color-gold);
  font-size: 0.85rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vcard-meta {
  flex: 1;
}

.vcard-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-maroon);
  line-height: 1.2;
}

.vcard-nick {
  color: #B84E00;
}

.vcard-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 2px;
}

.vcard-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.vcard-qual {
  font-size: 0.75rem;
  color: #555;
  margin-top: 4px;
  font-weight: 500;
}

.vcard-divider {
  height: 1px;
  background: #E5E7EB;
  margin: 18px 0;
}

.vcard-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.vcard-contact-item {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
  color: inherit;
}

.vcard-contact-item:not(.no-click):hover {
  background: #FFFBEB;
  border-color: var(--color-gold);
  transform: translateX(3px);
}

.contact-item-icon {
  font-size: 1.25rem;
}

.contact-item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.72rem;
  color: #6B7280;
  font-weight: 600;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
}

.contact-action-badge {
  background: var(--color-maroon);
  color: var(--color-white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.whatsapp-badge {
  background: #25D366;
}

.vcard-qr-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  background: #F8F9FA;
  border-radius: var(--radius-lg);
  padding: 16px;
}

.qr-code-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qr-canvas-box {
  width: 140px;
  height: 140px;
  background: #FFF;
  padding: 8px;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-canvas-box svg, .qr-canvas-box canvas {
  width: 100%;
  height: 100%;
}

.qr-caption {
  font-size: 0.78rem;
  color: #6B7280;
  margin-top: 8px;
  font-weight: 600;
}

.vcard-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vcard-action-buttons .btn-outline {
  color: var(--color-maroon);
  border-color: var(--color-maroon);
  background: transparent;
}
.vcard-action-buttons .btn-outline:hover {
  background: var(--color-maroon);
  color: var(--color-white);
}

/* 15. FINAL APPEAL SECTION */
.final-appeal-section {
  padding: 20px 18px 40px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.appeal-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.appeal-number-mark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-deep) 100%);
  color: var(--color-burgundy-deep);
  font-size: 1.8rem;
  font-weight: 900;
  font-family: var(--font-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 0 20px var(--color-gold-glow);
}

.appeal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-gold-light);
  margin-bottom: 4px;
}

.appeal-candidate {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-cream-light);
}

.appeal-desig {
  font-size: 0.95rem;
  color: var(--color-cream-dark);
  margin-bottom: 12px;
}

.appeal-motto {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 14px;
}

.appeal-phone-link {
  font-size: 1rem;
  color: var(--color-cream);
}
.appeal-phone-link a {
  font-weight: 800;
  color: var(--color-gold-light);
  text-decoration: underline;
}

/* 16. APP FOOTER */
.app-footer {
  background: #180102;
  border-top: 1px solid var(--glass-border);
  padding: 35px 18px 25px;
  color: var(--color-cream);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-maroon);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  font-size: 1.2rem;
  font-weight: 900;
  font-family: var(--font-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-cream-light);
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--color-gold);
}

.footer-districts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 600px;
}

.district-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(214, 169, 40, 0.2);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--color-cream-dark);
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-link {
  color: var(--color-gold-light);
}

.footer-dot {
  color: var(--color-gold);
}

.footer-social-row {
  display: flex;
  gap: 10px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(214, 169, 40, 0.25);
  color: var(--color-cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--color-gold);
  color: var(--color-burgundy-deep);
  transform: translateY(-2px);
}

.footer-credits {
  font-size: 0.78rem;
  color: #887B79;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
  width: 100%;
}

.footer-sub-credit {
  color: #6B5E5C;
  margin-top: 2px;
}

/* 17. MOBILE BOTTOM DOCK */
.mobile-bottom-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(27, 2, 4, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 99;
  padding: 0 6px;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #B3A49E;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.dock-item svg {
  transition: transform var(--transition-fast);
}

.dock-item:hover, .dock-item.active {
  color: var(--color-gold-light);
}

.dock-item.active svg {
  transform: scale(1.15);
  stroke: var(--color-gold-light);
}

/* Floating Action Buttons */
.floating-fab-group {
  position: fixed;
  right: 18px;
  bottom: 78px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 98;
}

.fab {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.fab:hover {
  transform: scale(1.1) translateY(-2px);
}

.fab-wa {
  background: #25D366;
}

.fab-call {
  background: linear-gradient(135deg, #E86B00 0%, #C45800 100%);
}

/* 18. MODALS & POPUPS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #260204;
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-card {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(214, 169, 40, 0.2);
  padding-bottom: 12px;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-gold-light);
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--color-cream);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--color-cream-dark);
  margin-bottom: 20px;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.share-channel-btn {
  padding: 12px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #FFF;
  transition: transform var(--transition-fast);
}

.share-channel-btn:hover {
  transform: translateY(-2px);
}

.share-channel-btn.wa { background: #25D366; }
.share-channel-btn.fb { background: #1877F2; }
.share-channel-btn.x { background: #000000; border: 1px solid #333; }
.share-channel-btn.tg { background: #229ED9; }

.copy-box {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.copy-input {
  flex: 1;
  background: none;
  border: none;
  padding: 10px 14px;
  color: var(--color-cream-light);
  font-size: 0.88rem;
  outline: none;
}

.copy-action-btn {
  background: var(--color-gold);
  color: var(--color-burgundy-deep);
  border: none;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.copy-action-btn:hover {
  background: var(--color-gold-light);
}

/* Admin Form Modal Styles */
.admin-modal-card {
  max-width: 540px;
}

.admin-notice {
  font-size: 0.85rem;
  color: var(--color-gold-light);
  background: rgba(214, 169, 40, 0.12);
  border-left: 3px solid var(--color-gold);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-cream-dark);
}

.form-input, .form-textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(214, 169, 40, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--color-white);
  font-size: 0.95rem;
  outline: none;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.12);
}

.admin-btn-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

/* 19. TOAST NOTIFICATIONS */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: rgba(43, 2, 4, 0.95);
  border: 1.5px solid var(--color-gold);
  color: var(--color-cream-light);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  animation: toastIn 0.3s ease forwards;
  pointer-events: auto;
}

/* 20. ANIMATIONS & KEYFRAMES */
@keyframes pulseSlow {
  0% { transform: scale(0.95); opacity: 0.4; }
  100% { transform: scale(1.15); opacity: 0.7; }
}

@keyframes pulseSubtle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes zoomReveal {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes badgePop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeInUp {
  0% { transform: translateY(15px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes expandLine {
  0% { width: 0; opacity: 0; }
  100% { width: 140px; opacity: 1; }
}

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

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal helper class */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Utility Hidden */
.hidden {
  display: none !important;
}

/* 21. RESPONSIVE MEDIA QUERIES */
/* Tablet & Desktop Layout Enhancements */
@media (min-width: 768px) {
  .hero-content-wrapper {
    grid-template-columns: 280px 1fr;
    text-align: left;
    gap: 40px;
  }

  .portrait-halo-container {
    width: 250px;
    height: 250px;
  }

  .hero-info-card {
    text-align: left;
  }

  .hero-candidate-name {
    font-size: 2.8rem;
  }

  .hero-designation {
    font-size: 1.35rem;
  }

  .hero-cta-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .profile-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .commitments-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 20px;
  }

  .districts-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .vcard-qr-row {
    grid-template-columns: 180px 1fr;
  }

  .vcard-body {
    padding: 32px;
  }

  .vcard-avatar-wrap {
    width: 100px;
    height: 100px;
  }

  .vcard-name {
    font-size: 1.7rem;
  }

  .vcard-contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .app-wrapper {
    padding-bottom: 0; /* No dock space needed on large desktops */
  }

  .mobile-bottom-dock {
    display: none; /* Hide bottom dock on desktop */
  }

  .floating-fab-group {
    bottom: 30px;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
