/* ============================================================
   ORḤĀ · El Camino Cuántico
   Portal de Firma · v1.0
   Hereda coreografía de ECC/TQW con lenguaje de umbral ritual
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Space+Mono:wght@400;700&display=swap');

:root {
  --black: #000000;
  --black-deep: #050503;
  --void: #0a0908;
  --gold: #FFD700;
  --gold-glow: #FFE55C;
  --gold-dim: #B87333;
  --matrix: #00FF41;
  --matrix-dim: #009528;
  --matrix-glow: rgba(0, 255, 65, 0.4);
  --ash: #797876;
  --parchment: #EDE6D3;
  --border: rgba(255, 215, 0, 0.15);
  --border-strong: rgba(255, 215, 0, 0.35);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--parchment);
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* ── PARTÍCULAS DE FONDO ────────────────────────────────── */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.particles canvas { display: block; width: 100%; height: 100%; }

/* ── TERMINAL DE APERTURA ───────────────────────────────── */
#terminal {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  color: var(--matrix);
  font-size: 15px;
  text-shadow: 0 0 8px var(--matrix-glow);
  transition: opacity 1.2s ease;
}
#terminal.gone {
  opacity: 0;
  pointer-events: none;
}
#terminal .lines {
  max-width: 640px;
  padding: 0 24px;
}
#terminal .line {
  opacity: 0;
  white-space: pre;
}
#terminal .caret::after {
  content: '_';
  animation: blink 0.9s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* ── SCROLL CONTAINER ──────────────────────────────────── */
main {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.5s ease;
}
main.awake { opacity: 1; }

section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8vh 6vw;
  position: relative;
}

/* ── REVEAL ANIMATION ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.4s ease, transform 1.4s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.2s; }
.reveal.delay-2 { transition-delay: 0.4s; }
.reveal.delay-3 { transition-delay: 0.6s; }
.reveal.delay-4 { transition-delay: 0.8s; }

/* ── MOMENTO 2 · UMBRAL ────────────────────────────────── */
.umbral {
  text-align: center;
}
.umbral .sello {
  width: 180px;
  height: 180px;
  margin-bottom: 40px;
  color: var(--gold);
  filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.35)); }
  50% { transform: scale(1.03); filter: drop-shadow(0 0 45px rgba(255, 215, 0, 0.55)); }
}
.brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 92px);
  letter-spacing: 0.4em;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
  margin-bottom: 8px;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-dim);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 60px;
}
.umbral .call {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--parchment);
  max-width: 620px;
  line-height: 1.5;
}

/* ── MOMENTO 3 · CONTADOR ──────────────────────────────── */
.contador {
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 215, 0, 0.02) 50%, transparent 100%);
}
.contador .eyebrow {
  font-family: var(--font-mono);
  color: var(--matrix);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 40px;
  text-shadow: 0 0 6px var(--matrix-glow);
}
.contador .numero {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(60px, 12vw, 140px);
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.03em;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}
.contador .divider {
  font-family: var(--font-mono);
  color: var(--ash);
  font-size: clamp(24px, 4vw, 40px);
  margin: 12px 0;
}
.contador .total {
  font-family: var(--font-mono);
  font-size: clamp(20px, 3vw, 32px);
  color: var(--ash);
}
.contador .label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--parchment);
  margin-top: 40px;
  opacity: 0.75;
}

/* ── MOMENTO 4 · DOCTRINA ──────────────────────────────── */
.doctrina {
  text-align: center;
}
.doctrina .frase {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  color: var(--gold);
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}
.doctrina .cierre {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--parchment);
  max-width: 700px;
  margin-top: 60px;
  line-height: 1.6;
  opacity: 0.85;
}
.doctrina .cierre em {
  color: var(--gold);
  font-style: italic;
}

/* ── MOMENTO 5 · FÓRMULAS ──────────────────────────────── */
.formulas {
  padding: 12vh 6vw;
  min-height: auto;
}
.formulas .container {
  max-width: 900px;
  width: 100%;
}
.formulas .header {
  text-align: center;
  margin-bottom: 80px;
}
.formulas .header .eyebrow {
  font-family: var(--font-mono);
  color: var(--matrix);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-shadow: 0 0 6px var(--matrix-glow);
  margin-bottom: 20px;
}
.formulas .header h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 48px);
  color: var(--gold);
}
.formula-block {
  border-top: 1px solid var(--border);
  padding: 60px 0;
  text-align: center;
}
.formula-block:last-child {
  border-bottom: 1px solid var(--border);
}
.formula {
  font-family: var(--font-mono);
  font-size: clamp(32px, 6vw, 64px);
  color: var(--matrix);
  text-shadow: 0 0 20px var(--matrix-glow);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}
.formula-block .explanation {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--parchment);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}
.formula-block .explanation em {
  color: var(--gold);
  font-style: italic;
}

/* ── MOMENTO 6 · MATRIX DE LOS 12 ──────────────────────── */
.matrix-12 {
  padding: 12vh 4vw;
  min-height: auto;
}
.matrix-12 .container {
  max-width: 1100px;
  width: 100%;
}
.matrix-12 .header {
  text-align: center;
  margin-bottom: 60px;
}
.matrix-12 .header .eyebrow {
  font-family: var(--font-mono);
  color: var(--matrix);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-shadow: 0 0 6px var(--matrix-glow);
  margin-bottom: 20px;
}
.matrix-12 .header h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 48px);
  color: var(--gold);
  letter-spacing: 0.1em;
}
.matrix-12 .header .subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--parchment);
  opacity: 0.7;
  margin-top: 16px;
}
.consejo-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 14px;
  background: rgba(255, 215, 0, 0.02);
  border: 1px solid var(--border);
}
.consejo-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-dim);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: left;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}
.consejo-table td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.08);
  vertical-align: middle;
}
.consejo-table tr:last-child td { border-bottom: none; }
.consejo-table tr:hover td { background: rgba(255, 215, 0, 0.03); }
.consejo-table .sello-cell {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 13px;
}
.consejo-table .sello-cell img {
  width: 32px;
  height: 32px;
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5)) brightness(1.4) saturate(1.6);
}
.consejo-table .accion {
  color: var(--parchment);
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
}
.consejo-table .motor {
  color: var(--matrix);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-shadow: 0 0 4px var(--matrix-glow);
}
.consejo-table .motor.ars {
  font-size: 15px;
  font-weight: 700;
  color: var(--matrix);
  text-shadow: 0 0 10px var(--matrix-glow);
}
.consejo-table .motor.silent {
  color: var(--ash);
  font-style: italic;
  text-shadow: none;
}
.consejo-table .motor a.link-lombardian {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold-dim);
  padding-bottom: 1px;
  transition: all 0.3s ease;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
}
.consejo-table .motor a.link-lombardian:hover {
  color: var(--gold-glow);
  border-bottom-color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}
.matrix-12 .footer {
  text-align: center;
  margin-top: 60px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--gold);
}

/* ── MOMENTO 7 · LA ELECCIÓN ───────────────────────────── */
.eleccion {
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0, 255, 65, 0.02), transparent);
}
.eleccion .frase {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--parchment);
  line-height: 1.5;
  max-width: 720px;
  margin-bottom: 30px;
}
.eleccion .frase strong {
  color: var(--gold);
  font-weight: 500;
}
.eleccion .cierre {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--gold);
  margin-top: 40px;
}

/* ── MOMENTO 9 · INVITACIÓN ────────────────────────────── */
.invitacion {
  text-align: center;
  padding: 14vh 6vw;
}
.invitacion .precio {
  font-family: var(--font-mono);
  font-size: clamp(48px, 8vw, 88px);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}
.invitacion .precio-sub {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--matrix);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 16px;
  text-shadow: 0 0 6px var(--matrix-glow);
}
.invitacion .terms {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--parchment);
  margin: 60px 0;
  opacity: 0.8;
  line-height: 1.8;
}
.invitacion .cta {
  display: inline-block;
  padding: 22px 60px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.6s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.invitacion .cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(100%);
  transition: transform 0.6s ease;
  z-index: -1;
}
.invitacion .cta:hover {
  color: var(--black);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
}
.invitacion .cta:hover::before {
  transform: translateY(0);
}

/* ── LANGUAGE SWITCH ───────────────────────────────────── */
.lang-switch {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 50;
  display: flex;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
}
.lang-switch a {
  color: var(--gold-dim);
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.lang-switch a.active {
  color: var(--gold);
  border-color: var(--border-strong);
}
.lang-switch a:hover:not(.active) {
  color: var(--gold);
}

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  padding: 40px 6vw;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-dim);
  letter-spacing: 0.2em;
  border-top: 1px solid var(--border);
  opacity: 0.6;
}

/* ── MOBILE ───────────────────────────────────────────── */
@media (max-width: 780px) {
  section { padding: 6vh 5vw; }
  .brand { letter-spacing: 0.25em; }
  .umbral .sello { width: 140px; height: 140px; }
  .consejo-table th:nth-child(2),
  .consejo-table td:nth-child(2) { display: none; }
  .consejo-table th, .consejo-table td { padding: 14px 12px; }
  .consejo-table .sello-cell { gap: 10px; font-size: 12px; }
  .consejo-table .motor { font-size: 11px; }
  .lang-switch { top: 20px; right: 20px; }
}

/* ── PIILDORA ROJA CUESTIONARIO ────────────────────────── */
.piildora-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8vh 6vw;
}
.piildora-inner {
  max-width: 720px;
  width: 100%;
}
.piildora-progress {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--matrix);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 40px;
  text-shadow: 0 0 6px var(--matrix-glow);
  text-align: center;
}
.piildora-pregunta {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--gold);
  line-height: 1.4;
  margin-bottom: 30px;
  text-align: center;
}
.piildora-contexto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--parchment);
  line-height: 1.7;
  margin-bottom: 50px;
  text-align: center;
  opacity: 0.85;
}
.piildora-opciones {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.piildora-opcion {
  padding: 24px 32px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--parchment);
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  cursor: pointer;
  text-align: left;
  transition: all 0.5s ease;
  position: relative;
  padding-left: 60px;
}
.piildora-opcion .pill {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.piildora-opcion.azul .pill { background: #1a4d8f; box-shadow: 0 0 12px rgba(26, 77, 143, 0.6); }
.piildora-opcion.roja .pill { background: #A12E2E; box-shadow: 0 0 12px rgba(161, 46, 46, 0.6); }
.piildora-opcion:hover {
  background: rgba(255, 215, 0, 0.03);
  border-color: var(--border-strong);
  color: var(--gold);
}
.piildora-opcion.roja:hover .pill { box-shadow: 0 0 24px rgba(220, 60, 60, 0.9); }

/* ── BLOQUEO / RESPUESTA ─────────────────────────────── */
.bloqueo, .revelacion {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8vh 6vw;
}
.bloqueo .inner, .revelacion .inner { max-width: 680px; }
.bloqueo h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  color: var(--gold);
  margin-bottom: 30px;
  line-height: 1.3;
}
.bloqueo .msg {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--parchment);
  line-height: 1.7;
  margin-bottom: 40px;
}
.bloqueo .countdown {
  font-family: var(--font-mono);
  font-size: 32px;
  color: var(--matrix);
  text-shadow: 0 0 12px var(--matrix-glow);
  letter-spacing: 0.15em;
  margin-top: 40px;
}

/* ── PÁGINA DOCTRINAL (PRIMER LOMBARDIAN) ────────────────── */
.doc-page section {
  min-height: auto;
  padding: 10vh 6vw;
}
.doc-umbral {
  min-height: 60vh !important;
  padding-top: 14vh !important;
  padding-bottom: 8vh !important;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.doc-sello {
  width: 100px;
  height: 100px;
  margin-bottom: 40px;
  color: var(--gold);
  filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.4));
  animation: pulse 4s ease-in-out infinite;
}
.doc-umbral .eyebrow {
  font-family: var(--font-mono);
  color: var(--matrix);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-shadow: 0 0 6px var(--matrix-glow);
  margin-bottom: 24px;
}
.doc-umbral h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 80px);
  color: var(--gold);
  letter-spacing: 0.05em;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.25);
  margin-bottom: 20px;
}
.doc-umbral .subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--parchment);
  opacity: 0.8;
}
.doc-section {
  border-bottom: 1px solid var(--border);
  padding: 12vh 6vw !important;
}
.doc-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.section-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--matrix);
  letter-spacing: 0.4em;
  text-shadow: 0 0 6px var(--matrix-glow);
  margin-bottom: 20px;
}
.doc-inner h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 48px);
  color: var(--gold);
  margin-bottom: 50px;
  letter-spacing: 0.03em;
}
.doc-inner p {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--parchment);
  line-height: 1.7;
  margin-bottom: 30px;
}
.doc-inner p.doc-lead {
  font-size: clamp(22px, 3vw, 28px);
  color: var(--gold);
  font-style: italic;
  margin-bottom: 50px;
}
.doc-inner p.doc-emphasis {
  font-style: italic;
  color: var(--gold);
  font-size: clamp(20px, 2.6vw, 26px);
  margin-top: 40px;
}
.doc-inner p.doc-note {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--gold-dim);
  font-style: normal;
  opacity: 0.85;
  line-height: 1.8;
  margin: 40px auto;
  max-width: 500px;
}
.doc-inline-sello {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 0.85em;
  padding: 2px 8px;
  border: 1px solid var(--border-strong);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}
.virtus-section .virtus-block {
  margin: 50px 0;
  padding: 30px 0;
  border-top: 1px solid var(--border);
}
.virtus-section .virtus-block:last-of-type {
  border-bottom: 1px solid var(--border);
}
.virtus-name {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--matrix);
  letter-spacing: 0.25em;
  text-shadow: 0 0 8px var(--matrix-glow);
  margin-bottom: 24px;
  font-weight: 700;
}
.doc-close {
  text-align: center;
  border-bottom: none;
}
.cta-back {
  display: inline-block;
  padding: 16px 40px;
  color: var(--gold);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.4s ease;
}
.cta-back:hover {
  background: rgba(255, 215, 0, 0.05);
  border-color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

/* ── PÍLDORA ROJA · Cuestionario ─────────────────────────── */
.pill-page {
  min-height: 100vh;
  position: relative;
}
.pill-screen {
  min-height: 100vh;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6vh 6vw 12vh;
  opacity: 0;
  transition: opacity 800ms ease;
  position: relative;
  gap: 0;
}
[data-screen="q4"] .pill-q {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 20px;
}
[data-screen="q4"] .pill-body {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  margin-bottom: 24px;
}
[data-screen="q4"] .pill-options {
  margin-top: 8px;
}
.pill-page footer {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255, 215, 0, 0.35);
  pointer-events: none;
  z-index: 1;
}
.pill-screen.active {
  display: flex;
  opacity: 1;
}
.pill-sello {
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
  color: var(--gold);
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
  animation: pulse 4s ease-in-out infinite;
}
.pill-eyebrow {
  font-family: var(--font-mono);
  color: var(--matrix);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-shadow: 0 0 6px var(--matrix-glow);
  margin-bottom: 20px;
}
.pill-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 80px);
  color: var(--gold);
  letter-spacing: 0.05em;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.25);
  margin-bottom: 40px;
}
.pill-lead {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--parchment);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}
.pill-lead em {
  color: var(--gold);
  font-style: italic;
}
.pill-note {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.4vw, 14px);
  color: var(--gold-dim);
  line-height: 1.9;
  opacity: 0.85;
  margin-bottom: 60px;
  max-width: 500px;
}
.pill-cta {
  padding: 20px 60px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all 0.4s ease;
  letter-spacing: 0.05em;
}
.pill-cta:hover {
  background: rgba(255, 215, 0, 0.05);
  border-color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  transform: translateY(-2px);
}
.pill-progress {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--ash);
  margin-bottom: 4px;
}
.pill-progress-active {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--matrix);
  text-shadow: 0 0 6px var(--matrix-glow);
  margin-bottom: 40px;
}
.pill-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 42px);
  color: var(--gold);
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}
.pill-q {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--parchment);
  line-height: 1.4;
  max-width: 800px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.pill-q .pill-sub {
  display: block;
  font-size: 0.7em;
  color: var(--gold-dim);
  font-style: italic;
  margin-top: 20px;
}
.pill-body {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--parchment);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 24px;
}
.pill-body em {
  color: var(--gold);
  font-style: italic;
}
.pill-body-emphasis {
  font-style: italic;
  color: var(--gold);
  font-size: clamp(22px, 2.8vw, 28px);
  margin-top: 30px;
  margin-bottom: 50px;
}
.pill-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 640px;
  margin-top: 40px;
}
.pill-option {
  padding: 24px 32px;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 20px);
  color: var(--parchment);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.4s ease;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.pill-option:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 215, 0, 0.04);
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}
.pill-option:disabled {
  cursor: default;
  opacity: 0.3;
}
.pill-option.picked {
  opacity: 1;
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  animation: pickedGlow 0.7s ease-out;
}
@keyframes pickedGlow {
  0% { box-shadow: 0 0 0 rgba(255, 215, 0, 0); }
  50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.3); }
  100% { box-shadow: 0 0 0 rgba(255, 215, 0, 0); }
}
.pill-loading {
  text-align: center;
}
.pill-loading-text {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--matrix);
  text-shadow: 0 0 8px var(--matrix-glow);
  margin-bottom: 30px;
  text-transform: uppercase;
}
.pill-loading-bar {
  width: 300px;
  height: 2px;
  background: var(--border);
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}
.pill-loading-fill {
  position: absolute;
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, transparent, var(--matrix), transparent);
  box-shadow: 0 0 12px var(--matrix-glow);
  animation: loadingSlide 1.6s ease-in-out infinite;
}
@keyframes loadingSlide {
  0% { left: -30%; }
  100% { left: 100%; }
}
.pill-footer {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ash);
  letter-spacing: 0.3em;
  z-index: 10;
}

/* ── BLOQUEO ─────────────────────────────────────────────── */
.block-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8vh 6vw;
}
.block-sello {
  width: 90px;
  height: 90px;
  color: var(--gold-dim);
  opacity: 0.4;
  margin-bottom: 40px;
  animation: pulse 6s ease-in-out infinite;
}
.block-eyebrow {
  font-family: var(--font-mono);
  color: #A13544;
  font-size: 11px;
  letter-spacing: 0.4em;
  margin-bottom: 24px;
  text-shadow: 0 0 8px rgba(161, 53, 68, 0.4);
}
.block-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--parchment);
  margin-bottom: 40px;
  line-height: 1.3;
  max-width: 700px;
}
.block-body {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--parchment);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 40px;
  opacity: 0.85;
}
.countdown {
  font-family: var(--font-mono);
  font-size: clamp(32px, 5vw, 48px);
  color: var(--gold);
  letter-spacing: 0.15em;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  margin: 40px 0;
  font-weight: 400;
}
.block-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 60px;
}

/* ── REVELACIÓN ──────────────────────────────────────────── */
.rev-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8vh 6vw;
}
.rev-sello {
  width: 120px;
  height: 120px;
  color: var(--gold);
  margin-bottom: 40px;
  filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.5));
  animation: revealPulse 2s ease-out;
}
@keyframes revealPulse {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.rev-eyebrow {
  font-family: var(--font-mono);
  color: var(--matrix);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-shadow: 0 0 8px var(--matrix-glow);
  margin-bottom: 24px;
}
.rev-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 80px);
  color: var(--gold);
  letter-spacing: 0.03em;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  margin-bottom: 40px;
  line-height: 1.15;
}
.rev-body {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--parchment);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 30px;
}
.rev-body em {
  color: var(--gold);
  font-style: italic;
}
.rev-price {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 88px);
  color: var(--gold);
  margin: 40px 0 10px 0;
  letter-spacing: 0.02em;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}
.rev-price-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--matrix);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 60px;
  text-shadow: 0 0 6px var(--matrix-glow);
}
.rev-cta {
  padding: 24px 72px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--black);
  background: var(--gold);
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.4s ease;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
}
.rev-cta:hover {
  background: var(--gold-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

/* ── Página de firma / pago ─────────────────────────── */
.pay-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  gap: 20px;
  text-align: center;
}
.pay-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 72px);
  color: var(--gold);
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1.1;
}
.pay-body {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.3vw, 22px);
  color: var(--parchment);
  line-height: 1.7;
  max-width: 560px;
  margin: 0;
  font-style: italic;
  opacity: 0.85;
}
.pay-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 460px;
  margin-top: 20px;
}
.pay-form input[type="email"] {
  width: 100%;
  padding: 20px 24px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--parchment);
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.05em;
  text-align: center;
  transition: border-color 0.3s ease, background 0.3s ease;
  outline: none;
  border-radius: 0;
}
.pay-form input[type="email"]:focus {
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.6);
}
.pay-form input[type="email"]::placeholder {
  color: rgba(240, 230, 200, 0.35);
  letter-spacing: 0.08em;
}
.pay-form input[type="email"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pay-error {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #ff6b6b;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
  min-height: 16px;
  margin-top: -8px;
}
.pay-error.show { opacity: 1; }
.pay-cta {
  min-width: 320px;
  transition: opacity 0.3s ease, transform 0.2s ease, background 0.3s ease;
}
.pay-cta:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}
.pay-cta-loading {
  font-family: var(--font-display);
  font-style: italic;
}
.pay-fine {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--matrix);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 24px;
  opacity: 0.9;
}
.pay-secure {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(240, 230, 200, 0.45);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 4px;
}

.numero-highlight {
  font-family: var(--font-mono);
  font-size: clamp(56px, 8vw, 96px);
  color: var(--gold);
  letter-spacing: 0.08em;
  font-weight: 400;
  display: inline-block;
  margin: 0 0.15em;
  text-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

/* ── Código del pacto (blockchain-style) ───────────────── */
.codigo-pacto-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 20px 28px;
  background: rgba(255, 215, 0, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 4px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.codigo-pacto-wrap:hover {
  border-color: rgba(255, 215, 0, 0.4);
  background: rgba(255, 215, 0, 0.05);
}
.codigo-pacto-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--matrix);
  letter-spacing: 0.25em;
  margin: 0;
  text-transform: uppercase;
  opacity: 0.85;
}
.codigo-pacto {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.6vw, 18px);
  color: var(--gold);
  letter-spacing: 0.12em;
  font-weight: 400;
  padding: 4px 0;
  word-break: break-all;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
  user-select: all;
}
.codigo-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--parchment);
  background: transparent;
  border: 1px solid rgba(240, 230, 200, 0.3);
  padding: 6px 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 2px;
}
.codigo-copy:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.codigo-copy.copied {
  color: var(--matrix);
  border-color: var(--matrix);
}

/* ── Dashboard miembro ─────────────────────────────── */
.member-hero {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.member-numero-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-mono);
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}
.member-numero-prefix {
  font-size: clamp(28px, 4vw, 44px);
  opacity: 0.55;
  font-weight: 300;
}
.member-numero {
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.member-sello {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--parchment);
  margin: 0;
}
.member-sello-dot {
  opacity: 0.4;
  margin: 0 6px;
  font-style: normal;
}
.member-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0 8px;
  padding: 20px 0;
  border-top: 1px solid rgba(240, 230, 200, 0.12);
  border-bottom: 1px solid rgba(240, 230, 200, 0.12);
  width: 100%;
  max-width: 480px;
}
.member-meta div {
  text-align: center;
}
.member-meta dt {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--matrix);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.75;
}
.member-meta dd {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--parchment);
  margin: 0;
  font-style: italic;
}
.member-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  width: 100%;
  max-width: 380px;
}
.pay-cta-secondary {
  background: transparent !important;
  color: var(--parchment) !important;
  border: 1px solid rgba(240, 230, 200, 0.35) !important;
}
.pay-cta-secondary:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  background: transparent !important;
}
.member-logout {
  color: rgba(240, 230, 200, 0.4);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.member-logout:hover {
  color: var(--parchment);
}
.codigo-input {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.25);
  padding: 14px 20px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  letter-spacing: 0.1em;
  border-radius: 3px;
  outline: none;
  transition: border-color 0.2s;
}
.codigo-input:focus {
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.06);
}
.codigo-input::placeholder {
  color: rgba(240, 230, 200, 0.3);
  letter-spacing: 0.05em;
}
