@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0b0f14;
  color: #ffffff;
}

/* ---------- HERO SECTION ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at top, #1c2735, #05070a);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
}

.hero-content {
  position: relative;
  max-width: 700px;
  padding: 40px 20px;
}

.logo {
  width: 110px;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.tagline {
  font-size: 1.1rem;
  opacity: 0.85;
}

.divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #d4af37, #ffdd7e);
  margin: 25px auto;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 35px;
}

.cta-btn {
  padding: 16px 45px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #d4af37, #ffdd7e);
  color: #000;
  cursor: pointer;
  transition: 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.small-note {
  margin-top: 15px;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ---------- VOTE PAGE ---------- */

.vote-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #05070a, #0e141b);
  padding: 40px 20px;
}

.vote-header {
  text-align: center;
  max-width: 700px;
  margin: auto;
  margin-bottom: 30px;
}

.form-card {
  max-width: 650px;
  height: auto;
  margin: 0 auto;   /* ← THIS centers it */
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

iframe {
  display: block;
  width: 100%;
  min-width: 320px;         /* 👈 smallest mobile width */
  height: 460px;
  border: none;
}
.vote-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.vote-header p {
  font-size: 0.95rem;
  opacity: 0.75;
}
.footer-note {
  text-align: center;
  margin-top: 25px;
  font-size: 0.8rem;
  opacity: 0.6;
}

.vote-footer {
  text-align: center;
  margin-top: 25px;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ---------- ANIMATIONS ---------- */

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

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

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

@keyframes growLine {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(212, 175, 55, 0.0);
  }
  50% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  }
  100% {
    box-shadow: 0 0 0 rgba(212, 175, 55, 0.0);
  }
}

/* ---------- ANIMATION CLASSES ---------- */

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
  animation: fadeIn 1.2s ease forwards;
}

.fade-in-delay-2 {
  animation: fadeIn 1.4s ease forwards;
}

.fade-in-delay-3 {
  animation: fadeIn 1.6s ease forwards;
}

.slide-up {
  animation: slideUp 1s ease forwards;
}

.slide-down {
  animation: slideDown 1s ease forwards;
}

.grow-line {
  animation: growLine 1.2s ease forwards;
}

.pulse {
  animation: pulseGlow 2.5s infinite;
}
