:root {
  --gold: #d4af37;
  --gold-light: #f2d675;
  --navy: #0a1330;
  --navy-2: #101c44;
  --blue: #1e4fd6;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--navy);
  color: #f5f5f5;
}

.font-display {
  font-family: 'Playfair Display', serif;
}

.text-gold {
  color: var(--gold);
}

.bg-gold {
  background-color: var(--gold);
}

.gradient-gold {
  background-image: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, #a9791f);
}

.gradient-navy {
  background-image: linear-gradient(180deg, rgba(10, 19, 48, 0.2), rgba(10, 19, 48, 0.96) 65%, var(--navy) 100%);
}

.glass-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.glass-card-strong {
  background: rgba(16, 28, 68, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.hero-bg {
  background-image: linear-gradient(180deg, rgba(6, 10, 26, 0.55) 0%, rgba(6, 10, 26, 0.75) 55%, var(--navy) 100%),
    url('https://kalbaslespwa.com/vote/header.png');
  background-size: cover;
  background-position: center;
}

.animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.animated-bg span {
  position: absolute;
  bottom: -10%;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35), transparent 70%);
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-120vh) scale(1.4); opacity: 0; }
}

.progress-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  height: 10px;
}

.progress-fill {
  height: 100%;
  border-radius: 9999px;
  background-image: linear-gradient(90deg, var(--blue), var(--gold));
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.countdown-box {
  min-width: 64px;
}

.qty-btn {
  transition: transform 0.15s ease;
}
.qty-btn:active {
  transform: scale(0.9);
}

.modal-backdrop {
  background: rgba(4, 8, 24, 0.85);
  backdrop-filter: blur(6px);
}

.candidate-photo {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.tick-flash {
  animation: flash 0.6s ease;
}
@keyframes flash {
  0% { color: var(--gold-light); }
  100% { color: inherit; }
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--navy);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 9999px;
}
