/* Hackeo — estilos compartidos por las 8 páginas.
   Paleta de Broker al Desnudo (monocromática + 3 acentos con significado)
   más el verde Matrix, autorizado solo para esta landing como acento extra. */

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

:root {
  color-scheme: dark;
  --night: #121212;
  --gray: #8A8C8E;
  --white-smoke: #F3F3F3;
  --white: #FFFFFF;
  --cyan: rgba(45, 212, 191, 0.85);    /* el orbe / voz de la verdad */
  --red: #c0392b;                       /* confidencial / errores */
  --green: #1D9E75;                     /* imita apps reales (WhatsApp), prueba social */
  --matrix: #39ff88;                    /* acento Matrix, solo esta landing */
  --matrix-dim: rgba(57, 255, 136, 0.5);
}

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

html, body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--night);
  color: var(--white-smoke);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

.mono { font-family: 'JetBrains Mono', monospace; }

#root {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  z-index: 2;
}

/* Lluvia Matrix — canvas fijo detrás de todo el contenido */
#matrix-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
}

/* Transición entre páginas */
.fade-overlay {
  position: fixed;
  inset: 0;
  background: var(--night);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 50;
}
.fade-overlay.on { opacity: 1; pointer-events: all; }

.brand-tag {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(180deg, rgba(18,18,18,0.96) 0%, rgba(18,18,18,0.85) 70%, rgba(18,18,18,0) 100%);
  text-align: center;
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 0.35em;
  color: rgba(57, 255, 136, 0.55);
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 5;
  pointer-events: none;
}

/* ---- Tipografía narrativa ---- */
.headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.45;
  color: var(--white);
  text-align: center;
}
.headline em { font-style: italic; color: rgba(255,255,255,0.9); }
/* Variante terminal — solo el headline del hero, no toca el resto de
   pantallas que reusan .headline (ej. recap) con su estilo serif normal. */
.headline-terminal {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.75;
  letter-spacing: 0.01em;
}
.hl-trading { color: var(--matrix); font-weight: 700; }
.hl-danger { color: rgba(220,70,70,0.95); font-weight: 700; }
.sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  text-align: center;
}

/* ---- Título "clasificado" (gate de entrada + menú de documentos) ---- */
.classified-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(220, 70, 70, 0.9);
  text-align: center;
  max-width: 380px;
  line-height: 1.5;
}
.redacted {
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: rgba(243, 243, 243, 0.95);
  color: rgba(243, 243, 243, 0.55);
  letter-spacing: 0.05em;
}

/* ---- Nota del hacker (mensaje in-story antes de cada documento) ---- */
.hacker-note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 380px;
  text-align: left;
  border-left: 2px solid var(--matrix-dim);
  padding-left: 16px;
}

/* ---- Tarjeta de archivo filtrado / terminal ---- */
.leak-card {
  width: 100%;
  max-width: 480px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(57,255,136,0.18);
  border-radius: 6px;
  padding: 20px 18px;
  position: relative;
  overflow: hidden;
}
.leak-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.leak-filename {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
}
.confidential-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(200,60,60,0.85);
  text-transform: uppercase;
  border: 1px solid rgba(200,60,60,0.35);
  border-radius: 3px;
  padding: 4px 8px;
  white-space: nowrap;
  animation: badge-glow 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes badge-glow {
  0%,100% { color: rgba(200,60,60,0.6); border-color: rgba(200,60,60,0.2); box-shadow: none; }
  50% { color: rgba(220,70,70,1); border-color: rgba(220,70,70,0.6); box-shadow: 0 0 8px 1px rgba(200,60,60,0.25); }
}
.leak-body {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(255,255,255,0.75);
  white-space: pre-wrap;
}
.leak-body .key {
  color: var(--matrix);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(57,255,136,0.4);
}
.leak-corrupt {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(200,60,60,0.25);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(200,60,60,0.75);
  line-height: 1.7;
}

/* ---- Gate de contraseña (reusado en index + doc2/3/4) ---- */
.gate-wrap {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.gate-boot {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(57,255,136,0.85);
  white-space: pre-wrap;
  text-align: left;
  width: 100%;
}
.gate-input-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  /* Aunque sea invisible, es el input que recibe el foco de verdad: si su
     font-size es menor a 16px, el navegador móvil hace zoom automático al
     enfocarlo (comportamiento de iOS Safari y de varios Chrome en Android).
     Como el resto de la página no está pensada para vivir con zoom, quedaba
     descuadrada al abrirse el teclado. */
  font-size: 16px;
}
/* Contenedor donde gate.js inyecta todo — centrado y con separación
   generosa entre casillas / mensaje de error / botón de pista. Selector por
   atributo porque cada sección tiene su propio id (entry-gate-container,
   doc2-gate-container, doc3-gate-container, doc4-gate-container). */
[id$="gate-container"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}
.gate-input-box {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 20px 18px;
  background: rgba(255,255,255,0.02);
  cursor: text;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gate-input-box.focus { border-color: rgba(57,255,136,0.55); background: rgba(255,255,255,0.04); }
.gate-input-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  text-align: center;
  margin-top: 16px;
}
.gate-boxes {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  cursor: text;
}
.gate-box {
  width: 30px;
  height: 38px;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  transition: border-color 0.2s ease;
}
.gate-boxes.error .gate-box { border-color: rgba(192,57,43,0.7); animation: gate-shake 0.4s ease; }
.gate-boxes.focus .gate-box { border-color: rgba(57,255,136,0.6); }
@keyframes gate-shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.gate-feedback {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(192,57,43,0.75);
  text-transform: uppercase;
  height: 14px;
  text-align: center;
}
.gate-hint-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  padding: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.2s ease;
  animation: btn-unlock 0.6s ease;
}
.gate-hint-btn:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
@keyframes btn-unlock {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
  50% { box-shadow: 0 0 20px 4px rgba(255,255,255,0.15); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.gate-hint-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-align: center;
  max-width: 340px;
}

/* ---- Menú de documentos (hub) — orbe arriba + carpetas en cuadrícula 2x2 ----
   El espacio vacío que quedaba sobre el título ahora lo ocupa el orbe, y el
   gap general de la pantalla baja un poco para que las 4 carpetas + textos
   quepan en un solo alto de pantalla de celular sin scroll. */
.menu-screen { gap: 18px; }
.menu-orb { width: 76px; height: 76px; }

.doc-menu-grid {
  width: 100%;
  max-width: 300px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 20px;
}
.doc-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 6px 14px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.doc-tile:hover { background: rgba(255,255,255,0.03); transform: translateY(-2px); }

.doc-folder-icon { position: relative; width: 72px; height: 54px; }
.doc-folder-icon::before {
  content: '';
  position: absolute;
  top: 0; left: 6px;
  width: 40%; height: 11px;
  border-radius: 4px 4px 0 0;
  transition: all 0.3s ease;
}
.doc-folder-icon::after {
  content: '';
  position: absolute;
  top: 8px; left: 0;
  width: 100%; height: calc(100% - 8px);
  border-radius: 3px 8px 8px 8px;
  transition: all 0.3s ease;
}
.doc-tile.locked .doc-folder-icon::before,
.doc-tile.locked .doc-folder-icon::after {
  background: linear-gradient(160deg, rgba(138,140,142,0.2), rgba(138,140,142,0.05));
  border: 1px solid rgba(138,140,142,0.35);
}
.doc-tile.unlocked .doc-folder-icon::before,
.doc-tile.unlocked .doc-folder-icon::after {
  background: linear-gradient(160deg, rgba(57,255,136,0.34), rgba(57,255,136,0.08));
  border: 1px solid rgba(57,255,136,0.6);
  box-shadow: 0 0 20px -3px rgba(57,255,136,0.45);
}
.doc-tile.next .doc-folder-icon { animation: folder-pulse 2.4s ease-in-out infinite; }
@keyframes folder-pulse {
  0%,100% { filter: brightness(1); }
  50% { filter: brightness(1.4); }
}
.doc-tile-lock {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--night);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-tile-lock svg { width: 11px; height: 11px; }
.doc-tile-name {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  text-align: center;
}
.doc-tile-teaser {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 11.5px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  line-height: 1.35;
  max-width: 130px;
}

/* ---- Orbe "Voz de la Verdad" — mismo diseño que Hub/Llamada/Llaves (video
   real con anillos), único elemento cian de toda esta landing: es la única
   pieza visual que debe verse idéntica en todas las experiencias. ---- */
.voice-orb { position: relative; margin: 0 auto; }
.voice-orb .orb-ring { position: absolute; inset: -12.5%; border-radius: 50%; border: 1px solid rgba(45,212,191,0.35); animation: orb-pulse 3s ease-in-out infinite; }
.voice-orb .orb-ring:nth-child(2) { inset: -25%; animation-delay: 1s; }
@keyframes orb-pulse { 0%,100% { transform: scale(0.94); opacity: 0.6; } 50% { transform: scale(1.04); opacity: 0.15; } }
.voice-orb .orb-circle { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 1.5px solid rgba(45,212,191,0.4); z-index: 2; }
.voice-orb .orb-video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Confirmación "forzar ingreso sin clave" ---- */
.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.3s ease;
}
.confirm-overlay.show { opacity: 1; pointer-events: auto; background: rgba(0,0,0,0.72); }
.confirm-box {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 26px 22px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: #161616;
  text-align: center;
}
.confirm-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}
.confirm-box .btn { width: 100%; }
.btn-danger {
  background: rgba(192,57,43,0.12);
  border: 1px solid rgba(192,57,43,0.6);
  color: rgb(224,110,100);
}
.btn-danger:hover { background: rgba(192,57,43,0.22); border-color: rgba(192,57,43,0.85); color: #fff; }

/* ---- Transiciones de acceso: "forzar ingreso" (barra de progreso) y
   "clave correcta" (spinner + texto glitcheado) — las dos terminan yendo
   al menú de documentos, nunca se salta directo. ---- */
/* El anillo exterior del orbe (orb-ring, inset:-25%) sobresale ~26px más
   allá de la caja de 104px del orbe — con gap:26px el anillo prácticamente
   tocaba el spinner de abajo. Con más espacio queda clara la separación. */
.transition-wrap { gap: 46px; }
.force-progress-track {
  width: 220px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.force-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(57,255,136,0.5), var(--matrix));
  box-shadow: 0 0 10px 1px rgba(57,255,136,0.5);
  transition: width 5000ms linear;
}
.transition-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: rgba(57,255,136,0.85);
  text-transform: uppercase;
  text-align: center;
}
.access-granted-text {
  font-size: 15px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 400ms ease;
}
.access-granted-text.show { opacity: 1; }
/* Spinner en su propio keyframe — reusar el "spin" genérico (pensado para un
   elemento con position:absolute + translate(-50%,-50%) ya en su transform
   base) lo hacía "caminar" en diagonal en vez de girar quieto en su lugar. */
.access-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid rgba(57,255,136,0.2);
  border-top-color: var(--matrix);
  animation: spin-in-place 0.8s linear infinite;
}
@keyframes spin-in-place {
  to { transform: rotate(360deg); }
}

/* ---- Campos de formulario (captura progresiva del lead) ---- */
.form-fields { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 12px; }
.field-wrap { display: flex; flex-direction: column; gap: 5px; }
.field-label { font-size: 9px; font-weight: 400; letter-spacing: 0.25em; color: rgba(255,255,255,0.5); text-transform: uppercase; padding-left: 2px; }
.field-input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 13px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  outline: none;
  transition: all 0.2s ease;
  -webkit-appearance: none;
}
/* Safari (iOS) y Chrome (Android) a veces ignoran `color` en un input y lo
   pintan con su propio texto oscuro sobre nuestro fondo oscuro — el usuario
   escribe y no ve nada. -webkit-text-fill-color fuerza el color real, y el
   override de :-webkit-autofill evita que el autocompletado imponga su
   fondo claro encima. Mismo fix ya aplicado en Snake, donde el bug se
   confirmó en un iPhone real. */
.field-input { -webkit-text-fill-color: rgba(255,255,255,0.9); caret-color: rgba(255,255,255,0.9); }
.field-input:-webkit-autofill,
.field-input:-webkit-autofill:hover,
.field-input:-webkit-autofill:focus {
  -webkit-text-fill-color: rgba(255,255,255,0.9) !important;
  -webkit-box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
  transition: background-color 9999s ease-in-out 0s;
}
.field-input::placeholder { color: rgba(255,255,255,0.32); }
.field-input:focus { border-color: rgba(57,255,136,0.5); background: rgba(255,255,255,0.04); }
.field-input.error { border-color: rgba(192,57,43,0.6); }
.field-input.valid { border-color: rgba(57,255,136,0.4); }
.field-error { font-size: 10px; font-weight: 300; color: rgba(200,80,80,0.75); letter-spacing: 0.05em; padding-left: 2px; height: 0; overflow: hidden; transition: height 0.2s ease; }
.field-error.show { height: 16px; }
.field-select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 13px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
}
.field-select:focus { border-color: rgba(57,255,136,0.5); }
.field-select option { background: #1a1a1a; color: rgba(255,255,255,0.85); }

/* ---- Botones ---- */
.btn {
  padding: 14px 32px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.7); color: #fff; }
.btn:active { transform: scale(0.98); }
.btn-ghost {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.03); }

/* ---- Estado de éxito / desenlace (recap.html) ---- */
.success-state { display: none; flex-direction: column; align-items: center; gap: 22px; text-align: center; max-width: 380px; width: 100%; }
.success-state.show { display: flex; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(57,255,136,0.4); display: flex; align-items: center; justify-content: center; animation: success-appear 0.6s ease forwards; }
@keyframes success-appear { 0%{transform:scale(0.7);opacity:0} 100%{transform:scale(1);opacity:1} }
.success-eye { font-size: 26px; animation: eye-pulse 3s ease-in-out infinite; }
@keyframes eye-pulse { 0%,100%{opacity:0.4} 50%{opacity:0.85} }
.desenlace-text { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; line-height: 2; color: rgba(255,255,255,0.7); text-align: left; white-space: pre-wrap; }
.join-label { font-size: 10px; font-weight: 300; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); text-transform: uppercase; }
.join-btns { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.join-btn { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-radius: 8px; cursor: pointer; text-decoration: none; transition: all 0.2s ease; }
.join-btn.telegram { background: rgba(41,182,246,0.08); border: 1px solid rgba(41,182,246,0.25); }
.join-btn.telegram:hover { background: rgba(41,182,246,0.15); border-color: rgba(41,182,246,0.5); }
.join-btn.whatsapp { background: rgba(37,211,102,0.08); border: 1px solid rgba(37,211,102,0.25); }
.join-btn.whatsapp:hover { background: rgba(37,211,102,0.15); border-color: rgba(37,211,102,0.5); }
.join-btn.instagram { background: rgba(225,48,108,0.08); border: 1px solid rgba(225,48,108,0.25); }
.join-btn.instagram:hover { background: rgba(225,48,108,0.15); border-color: rgba(225,48,108,0.5); }
.join-btn-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.join-btn.telegram .join-btn-icon { background: rgba(41,182,246,0.15); }
.join-btn.whatsapp .join-btn-icon { background: rgba(37,211,102,0.15); }
.join-btn.instagram .join-btn-icon { background: rgba(225,48,108,0.15); }
.join-btn-text { flex: 1; text-align: left; }
.join-btn-title { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.85); display: block; margin-bottom: 2px; }
.join-btn-sub { font-size: 10px; font-weight: 300; color: rgba(255,255,255,0.5); }
.join-btn-arrow { color: rgba(255,255,255,0.4); font-size: 14px; }
.share-divider { width: 100%; display: flex; align-items: center; gap: 12px; }
.share-divider::before, .share-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.share-divider span { font-size: 9px; letter-spacing: 0.25em; color: rgba(255,255,255,0.4); text-transform: uppercase; white-space: nowrap; }
.share-cta { width: 100%; margin: 0; padding: 16px 18px; background: linear-gradient(135deg, rgba(57,255,136,0.12) 0%, rgba(57,255,136,0.04) 100%); border: 1px solid rgba(57,255,136,0.4); border-radius: 4px; font-family: 'Cormorant Garamond', serif; font-size: 16px; font-style: italic; color: rgba(255,255,255,0.9); text-align: center; display: flex; align-items: center; justify-content: center; gap: 10px; }
.share-opt svg { display: block; }
.share-options { width: 100%; display: flex; gap: 10px; }
.share-opt { flex: 1; padding: 12px 8px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; font-family: 'Montserrat', sans-serif; font-size: 9px; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); text-transform: uppercase; }
.share-opt:hover { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.7); }
.copied-toast { font-size: 10px; letter-spacing: 0.15em; color: rgba(57,255,136,0.75); text-transform: uppercase; opacity: 0; transition: opacity 0.3s ease; height: 0; }
.copied-toast.show { opacity: 1; height: auto; }
.counter-row { display: flex; align-items: center; gap: 8px; justify-content: center; }
.counter-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: cdot 2s ease-in-out infinite; }
@keyframes cdot { 0%,100%{opacity:1} 50%{opacity:0.4} }
.counter-text { font-size: 10px; font-weight: 300; letter-spacing: 0.12em; color: rgba(29,158,117,0.7); }
.counter-num { color: rgba(29,158,117,0.95); font-weight: 500; }
.submit-btn { position: relative; overflow: hidden; }
.submit-btn.loading { color: transparent; pointer-events: none; }
.submit-btn.loading::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 16px; height: 16px; border: 1.5px solid rgba(255,255,255,0.3); border-top-color: rgba(255,255,255,0.9); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* ---- Layout genérico de pantalla ----
   Páginas con una sola escena: <div class="screen active">.
   Páginas con varias escenas (ej. index.html: hero + gate): toggle de
   la clase .active para mostrar/ocultar, igual que en "Llamada". */
.screen {
  display: none;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 64px 24px 48px;
  position: relative;
  z-index: 2;
}
.screen.active { display: flex; }
