/* Alma Gemela · quiz. Estilo copiado de Elyon (tu-almagemela.com/quiz-latam, 17/11/2026):
   noche violeta, dorado, Fraunces para títulos y Jost para el texto. */
:root {
  --noche: #120c24;
  --violeta: #2a1752;
  --carta: rgba(52, 30, 92, .55);
  --oro: #d9b25f;
  --oro-claro: #f6e3a8;
  --oro-linea: rgba(217, 178, 95, .38);
  --texto: #f3eefe;
  --gris: #b9b0d0;
  --opcion: rgba(255, 255, 255, .05);
  --opcion-borde: rgba(255, 255, 255, .12);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); color: var(--texto); min-height: 100vh; min-height: 100dvh;
  background: linear-gradient(180deg, #2a1652 0%, #1a1035 38%, var(--noche) 100%) fixed;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* estrellas del fondo */
.cielo { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .8;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent), radial-gradient(1px 1px at 82% 9%, #fff 50%, transparent),
    radial-gradient(1.5px 1.5px at 4% 32%, var(--oro) 50%, transparent), radial-gradient(1px 1px at 93% 30%, #fff 50%, transparent),
    radial-gradient(1px 1px at 38% 48%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 92% 66%, var(--oro) 50%, transparent),
    radial-gradient(1px 1px at 18% 72%, #fff 50%, transparent), radial-gradient(1px 1px at 63% 82%, #fff 50%, transparent),
    radial-gradient(1px 1px at 86% 82%, #fff 50%, transparent), radial-gradient(1px 1px at 8% 92%, #fff 50%, transparent),
    radial-gradient(1px 1px at 52% 96%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 70% 22%, var(--oro) 50%, transparent);
}
.cielo::after { content: ""; position: absolute; right: -30%; bottom: -10%; width: 80%; height: 50%;
  background: radial-gradient(closest-side, rgba(120, 80, 200, .22), transparent); }

/* cabecera: marca y estrellas de avance */
.top { position: relative; z-index: 2; text-align: center; padding: 22px 16px 0; }
body.limpio .top { display: none; }
.marca { display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--serif); font-style: italic; font-size: 18px; color: #e6dcf5; }
.marca::before, .marca::after { content: ""; width: 24px; height: 1px; background: var(--oro-linea); }
.estrellas { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 10px; height: 20px; }
.estrellas i { width: 10px; height: 10px; background: rgba(255, 255, 255, .28); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); transition: all .3s; }
.estrellas i.ok { background: var(--oro); }
.estrellas i.act { width: 18px; height: 18px; background: var(--oro-claro); filter: drop-shadow(0 0 4px var(--oro)); }

main { position: relative; z-index: 1; max-width: 26rem; margin: 0 auto; padding: 24px 16px 48px; }
.screen { display: none; animation: entra .35s ease; }
.screen.on { display: block; }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* la tarjeta con marco dorado de cada pregunta */
.carta { position: relative; padding: 30px 20px 22px; border-radius: 20px; background: var(--carta);
  border: 1px solid var(--oro-linea); box-shadow: 0 20px 50px rgba(0, 0, 0, .35), inset 0 0 0 7px rgba(18, 12, 36, .4), inset 0 0 0 8px rgba(217, 178, 95, .18); }
.esq { position: absolute; width: 10px; height: 10px; background: var(--oro); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.esq.a { top: -5px; left: -5px; } .esq.b { top: -5px; right: -5px; } .esq.c { bottom: -5px; left: -5px; } .esq.d { bottom: -5px; right: -5px; }
.romano { display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--serif); font-style: italic; color: var(--oro); font-size: 19px; margin-bottom: 12px; }
.romano::before, .romano::after { content: ""; width: 36px; height: 1px; background: var(--oro-linea); }

.q { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.22; text-align: center; color: #fff; margin-bottom: 10px; }
.q.grande { font-size: 30px; }
.sub { text-align: center; color: var(--gris); font-size: 15.5px; margin-bottom: 4px; }

/* opciones */
.opts { margin-top: 22px; }
.opts.emo { display: flex; flex-direction: column; gap: 14px; }
.opts.emo .opt { display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px 16px 12px 12px; text-align: left;
  background: var(--opcion); border: 1px solid var(--opcion-borde); border-radius: 14px; transition: border-color .2s, background .2s, transform .1s; }
.opt .emo { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 21px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.opt .lbl { flex: 1; font-weight: 500; font-size: 16.5px; }
.arrow { flex: none; color: var(--oro); }
.arrow svg { width: 18px; height: 18px; display: block; }
.opt:active { transform: scale(.98); }
.opt.sel, .opts.emo .opt:hover { border-color: var(--oro); background: rgba(217, 178, 95, .1); }

.opts.signos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opts.signos .opt { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 4px 12px;
  background: var(--opcion); border: 1px solid var(--opcion-borde); border-radius: 14px; transition: border-color .2s, background .2s, transform .1s; }
.glifo { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 40% 35%, #fffaf0, #efe4cc); color: #6b3c99; font-size: 30px; line-height: 1;
  box-shadow: 0 0 0 2px rgba(217, 178, 95, .55), 0 4px 12px rgba(0, 0, 0, .3); }
.opts.signos .lbl { font-size: 14px; }

.volver { display: block; margin: 26px auto 0; color: var(--gris); font-size: 15px; }

/* nombre */
.nombre { display: block; width: 100%; margin: 30px 0 22px; padding: 6px 0 12px; background: none; border: 0; border-bottom: 1px solid var(--oro-linea);
  outline: 0; text-align: center; color: #fff; font-family: var(--serif); font-style: italic; font-size: 27px; }
.nombre::placeholder { color: rgba(185, 176, 208, .55); }
.nombre:focus { border-bottom-color: var(--oro); }

/* botón dorado */
.cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 0 20px; border-radius: 999px;
  background: linear-gradient(100deg, #b98d34 0%, #e2c072 45%, #fbefc8 100%); color: #2a1a10; font-weight: 600; font-size: 18px;
  box-shadow: 0 8px 28px rgba(217, 178, 95, .35); transition: transform .1s, opacity .2s; }
.cta b { font-size: 22px; font-weight: 500; }
.cta:active { transform: scale(.98); }
.cta:disabled { opacity: .5; cursor: default; }

/* carga */
.abanico { position: relative; height: 140px; margin: 40px auto 34px; width: 220px; }
.abanico i { position: absolute; top: 0; left: 50%; width: 78px; height: 118px; margin-left: -39px; border-radius: 10px;
  background: linear-gradient(160deg, #3a2468, #23154a); border: 1px solid var(--oro-linea);
  box-shadow: inset 0 0 0 5px rgba(18, 12, 36, .45), inset 0 0 0 6px rgba(217, 178, 95, .25), 0 12px 30px rgba(0, 0, 0, .4); }
.abanico i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; background: var(--oro);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.abanico i:nth-child(1) { transform: translateX(-58px) rotate(-14deg); }
.abanico i:nth-child(3) { transform: translateX(58px) rotate(14deg); }
.abanico i:nth-child(2) { z-index: 1; animation: late 1.6s ease-in-out infinite; }
@keyframes late { 50% { transform: translateY(-6px); } }
.pasos-load { list-style: none; text-align: center; min-height: 26px; margin-top: 6px; }
.pasos-load li { display: none; font-family: var(--serif); font-style: italic; color: var(--oro); font-size: 17px; opacity: .85; }
.pasos-load li.ok { display: block; animation: entra .35s ease; }
.pasos-load li.ok:has(+ li.ok) { display: none; }
.load .tr { width: 200px; height: 3px; margin: 22px auto 0; background: rgba(255, 255, 255, .12); border-radius: 3px; overflow: hidden; }
.load .tr i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #b98d34, var(--oro-claro)); transition: width .08s linear; }

/* lectura lista */
body.limpio main { padding-top: 40px; }
.kicker { text-align: center; color: var(--oro); font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 8px; }
.resumen { text-align: center; font-family: var(--serif); font-style: italic; color: var(--oro); font-size: 17px; margin-bottom: 24px; }
.velada { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; width: 156px; height: 236px; margin: 0 auto 30px;
  border-radius: 14px; background: repeating-linear-gradient(45deg, rgba(217, 178, 95, .06) 0 1px, transparent 1px 18px), repeating-linear-gradient(-45deg, rgba(217, 178, 95, .06) 0 1px, transparent 1px 18px), linear-gradient(160deg, #3a2468, #23154a);
  border: 1px solid var(--oro-linea); box-shadow: inset 0 0 0 6px rgba(18, 12, 36, .45), inset 0 0 0 7px rgba(217, 178, 95, .3), 0 0 60px rgba(217, 178, 95, .12), 0 16px 40px rgba(0, 0, 0, .45); }
.corazon { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--oro-claro);
  background: radial-gradient(circle, rgba(217, 178, 95, .35), rgba(217, 178, 95, .12)); box-shadow: 0 0 0 1px var(--oro-linea), 0 0 0 7px rgba(217, 178, 95, .1); }
.velada em { font-family: var(--serif); font-size: 16px; color: var(--oro); }
.txt { text-align: center; font-size: 16.5px; line-height: 1.55; margin-bottom: 28px; }
.cta.buy { animation: brillo 2.4s ease-in-out infinite; }
@keyframes brillo { 50% { box-shadow: 0 8px 40px rgba(217, 178, 95, .6); } }
.pie { text-align: center; color: var(--gris); font-size: 13px; margin-top: 14px; }
