/* =========================
   BASE
========================= */

@import url('https://fonts.googleapis.com/css2?family=Edu+NSW+ACT+Cursive:wght@400..700&family=Special+Gothic+Expanded+One&display=swap');

body {
  min-height: 100vh;
  background: radial-gradient(1200px 600px at 50% -200px, #1e293b, #020617);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: #e5e7eb;
}

/* =========================
   CARD
========================= */

.vote-card {
  width: 260px;
  background: rgba(18, 26, 43, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

/* Hover tipo Apple */
.vote-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* =========================
   BADGE
========================= */

.badge-number {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
  z-index: 3;
  backdrop-filter: blur(6px);
}

/* =========================
   IMAGE
========================= */

.vote-card img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.vote-card:hover img {
  transform: scale(1.06);
}

/* =========================
   CONTENT
========================= */

.card-body-custom {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Nombre */
.candidate-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  color: #d1d5db;
  line-height: 1.3;
}

/* =========================
   BUTTON
========================= */

.vote-card .btn-primary {
  border-radius: 14px;
  background: linear-gradient(180deg, #2563eb, #1e40af);
  border: none;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 10px 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.3s ease;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.45);
}

.vote-card .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.6);
}

.vote-card .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.45);
}

/* Estado votado */
.vote-card .btn-secondary {
  background: #374151;
  border: none;
  border-radius: 14px;
  opacity: 0.85;
}

/* =========================
   SCROLL ANIMATIONS
========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* =========================
   iOS STYLE — HERO CARD FIXED
========================= */

@media (max-width: 576px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .vote-card {
    width: 100%;
    max-width: 530px;
    height: 90vh;
    margin: 0 auto;
    border-radius: 34px;
    background: #0b1220;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
  }

  /* ===== IMAGE ===== */
  .vote-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  /* ===== FOOTER OVERLAY ===== */
  .card-body-custom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(
      180deg,
      rgba(11, 18, 32, 0) 0%,
      rgba(11, 18, 32, 0.75) 35%,
      #0b1220 100%
    );
    padding: 28px 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .candidate-name {
    font-size: 2.65rem;
    font-weight: 500;
    text-align: center;
    color: #f9fafb;
  }

  /* ===== BUTTON ===== */
  .vote-card .btn-primary,
  .vote-card .btn-secondary {
    padding: 16px 0;
    font-size: 2.05rem;
    border-radius: 22px;
  }

  /* ===== BADGE ===== */
  .badge-number {
    top: 25px;
    left: 16px;
    width: 60px;
    height: 60px;
    font-size: 27px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
  }

  /* Quitar hover en móvil */
  .vote-card:hover {
    transform: none;
  }

  .row.g-4 {
    row-gap: 2.5rem;
  }

  .tittle {
    font-size: 40px;
    bottom: 20px;
  font-family: "Special Gothic Expanded One", sans-serif;
  }
}
/* ===== FOOTER BASE ===== */
.site-footer {
  margin-top: 60px;
  padding: 18px 12px;
  font-size: 0.85rem;
  color: #9ca3af;
  text-align: center;
}

/* ===== LINK ===== */
.site-footer .footer-link {
  color: #9ca3af;
  text-decoration: none;
  font-weight: 500;
}
.gold{
color: #efb810;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 576px) {
  .site-footer {
    font-size: 0.95rem;       /* texto más grande */
    color: #e5e7eb;           /* más contraste */
  }

  .site-footer .footer-link {
    color: #ffffff;           /* enlace claramente visible */
    font-weight: 600;
  }
.gold{
color: #efb810;
}
}

/* ===== DESKTOP HOVER ===== */
@media (min-width: 577px) {
  .site-footer .footer-link {
    transition: color 0.3s ease, text-decoration 0.3s ease;
  }

  .site-footer .footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
  }
.gold{
color: #efb810;
}
}


