/* =============================================
   PÁGINA DE ANIVERSARIO — /aniversario
   Estilos provisionales con la paleta del tema.
   Reemplazar con el diseño final de Figma.
   Solo se carga en esta página (ver functions.php).
============================================= */

.aniv-hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: 130px 0 80px;          /* 70px del header fijo + aire */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Tono vino (distinto al café oscuro del footer) */
  background:
    radial-gradient(ellipse at top, rgba(200, 16, 46, 0.45), transparent 65%),
    linear-gradient(180deg, #2a0c0a 0%, #4a1016 100%);
  color: var(--cream);
  text-align: center;
  position: relative;
}

/* Franja dorada/roja que separa la página del footer */
.aniv-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold) 50%, var(--red) 100%);
}

/* Aire extra entre la franja y el footer */
.pagina-aniversario #site-footer { padding-top: 56px; }

.aniv-inner {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aniv-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.aniv-titulo {
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.aniv-mensaje {
  max-width: 640px;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(250, 243, 232, 0.88);
  margin-bottom: 2.5rem;
}
.aniv-mensaje p + p { margin-top: 0.8em; }

/* ── Contador ─────────────────────────────── */
.aniv-contador {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 20px);
  width: 100%;
  max-width: 620px;
  margin-bottom: 0.75rem;
}

.aniv-unidad {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 168, 67, 0.45);
  border-radius: 8px;
  padding: clamp(12px, 3vw, 24px) 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aniv-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 3.75rem);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.aniv-lbl {
  margin-top: 8px;
  font-size: clamp(0.65rem, 1.8vw, 0.8rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 243, 232, 0.7);
}

.aniv-fecha-texto {
  font-size: 0.95rem;
  color: rgba(250, 243, 232, 0.7);
  margin-bottom: 2.5rem;
}

/* ── Video (16:9 responsivo) ──────────────── */
.aniv-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--gold);
  margin-bottom: 2.5rem;
  background: #000;
}
.aniv-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Botón y letra pequeña ─────────────────── */
.aniv-boton:hover { color: var(--white); }

.aniv-letra-pequena {
  margin-top: 2rem;
  max-width: 600px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(250, 243, 232, 0.55);
}

@media (max-width: 420px) {
  .aniv-lbl { letter-spacing: 0.05em; font-size: 0.62rem; }
}

/* ── Panel de verificación (solo administradores) ── */
.aniv-hero > .container { width: 100%; }

.aniv-debug {
  margin: 3rem auto 0;
  max-width: 620px;
  text-align: left;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px dashed rgba(212, 168, 67, 0.6);
  border-radius: 6px;
  padding: 14px 18px;
  color: rgba(250, 243, 232, 0.85);
}
.aniv-debug-titulo {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.aniv-debug dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
}
.aniv-debug dt { color: rgba(250, 243, 232, 0.55); }
.aniv-debug dd { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .aniv-debug dl { grid-template-columns: 1fr; gap: 0; }
  .aniv-debug dd { margin-bottom: 8px; }
}
