/* La Biblia de Bry — estilo cinemático oscuro dorado (igual que los videos) */
:root {
  --gold: #F5C451;
  --gold-dark: #b88a2e;
  --ink: #04050d;
  --text: #e8e3d4;
  --muted: #a9a6b8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(ellipse at 50% 0%, #1c2147 0%, #0b0d1f 55%, #030308 100%) fixed;
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}
/* rayos de luz + partículas */
body::before {
  content: ''; position: fixed; inset: -20% -20% auto -20%; height: 90vh; pointer-events: none; z-index: 0;
  background: conic-gradient(from 180deg at 50% 0%, transparent 0deg, rgba(245,196,81,.10) 12deg, transparent 24deg,
    transparent 40deg, rgba(245,196,81,.07) 50deg, transparent 62deg, transparent 300deg,
    rgba(245,196,81,.07) 310deg, transparent 322deg, transparent 336deg, rgba(245,196,81,.10) 348deg, transparent 360deg);
  filter: blur(6px);
  -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent);
}
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.particles span {
  position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%;
  background: #ffd98a; box-shadow: 0 0 10px #ffcf6a; opacity: .6;
  animation: subir linear infinite;
}
@keyframes subir { to { transform: translateY(-110vh); opacity: 0; } }

.wrap { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: 28px 20px 48px; }

h1, h2, .cinzel { font-family: 'Cinzel', serif; color: var(--gold); text-shadow: 0 0 24px rgba(245,196,81,.35); }
h1 { font-size: clamp(30px, 8vw, 42px); line-height: 1.15; text-align: center; margin: 18px 0 12px; }
h2 { font-size: 24px; text-align: center; margin-bottom: 14px; }
.sub { text-align: center; font-size: 17px; color: var(--text); margin-bottom: 22px; }
.sub b { color: var(--gold); }

.top { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--muted); }
.top img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }

/* libro 3D en CSS */
.book {
  width: 190px; height: 260px; margin: 8px auto 26px; padding: 22px 16px; position: relative;
  border-radius: 6px 16px 16px 6px; border-left: 16px solid #07081a;
  background: linear-gradient(150deg, #1f2456, #0b0d24);
  box-shadow: 0 0 40px rgba(245,196,81,.25), 18px 18px 40px rgba(0,0,0,.6);
  transform: perspective(700px) rotateY(-14deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px;
  outline: 1px solid rgba(245,196,81,.5); outline-offset: -8px;
}
.book .t { font-family: 'Cinzel', serif; color: var(--gold); font-size: 21px; line-height: 1.2; font-weight: 700; }
.book .s { font-size: 12px; font-weight: 600; color: var(--text); }
.book .a { position: absolute; bottom: 16px; font-size: 11px; color: var(--muted); letter-spacing: 2px; }

ul.check { list-style: none; margin: 0 auto 26px; }
ul.check li { padding: 9px 0 9px 34px; position: relative; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
ul.check li::before { content: '✦'; position: absolute; left: 6px; top: 8px; color: var(--gold); font-size: 18px; }

.card {
  background: rgba(11,13,36,.75); border: 1px solid rgba(245,196,81,.35); border-radius: 18px;
  padding: 22px 18px; margin-bottom: 26px; box-shadow: 0 0 30px rgba(245,196,81,.08);
}
.card.form { padding: 22px 18px 16px; }
#registro input[type=text], #registro input[type=email] {
  display: block; width: 100%; margin-bottom: 12px; padding: 15px 16px; border-radius: 12px;
  border: 1px solid rgba(245,196,81,.45); background: rgba(3,3,8,.6); color: var(--text);
  font: 600 16px 'Montserrat', sans-serif; outline: none;
}
#registro input:focus { border-color: var(--gold); box-shadow: 0 0 14px rgba(245,196,81,.35); }
#registro input::placeholder { color: var(--muted); }
#registro .trampa { position: absolute; left: -9999px; height: 0; opacity: 0; }
.acepto { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.acepto input { accent-color: var(--gold); margin-top: 3px; width: 18px; height: 18px; flex: none; }
.error { color: #ff8a8a; font-size: 14px; font-weight: 600; text-align: center; margin-top: 10px; }
.btn:disabled { opacity: .6; animation: none; cursor: wait; }
.nota { text-align: center; font-size: 13px; color: var(--muted); margin-top: 6px; }

.btn {
  display: block; width: 100%; text-align: center; text-decoration: none; cursor: pointer; border: 0;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: .5px;
  padding: 16px 18px; border-radius: 14px; margin-top: 14px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold)); color: var(--ink);
  box-shadow: 0 0 24px rgba(245,196,81,.45);
  animation: latido 2.2s ease-in-out infinite;
}
.btn.sec { background: transparent; color: var(--gold); border: 2px solid var(--gold); box-shadow: none; animation: none; }
@keyframes latido { 50% { transform: scale(1.03); } }

.precio { text-align: center; margin: 8px 0 2px; }
.precio .old { text-decoration: line-through; color: var(--muted); margin-right: 8px; }
.precio .new { font-size: 30px; font-weight: 800; color: var(--gold); }

.verso { text-align: center; font-family: 'Cinzel', serif; font-size: 17px; color: var(--text); margin: 10px 0 26px; font-style: italic; }
.verso small { display: block; font-family: 'Montserrat'; font-style: normal; color: var(--gold); font-size: 13px; margin-top: 6px; }

.lives { text-align: center; }
.lives .dias { font-size: 20px; font-weight: 800; color: var(--gold); margin: 4px 0; }

.redes { display: flex; gap: 10px; }
.redes .btn { flex: 1; font-size: 15px; padding: 13px 10px; }

/* ===== Landing: portada real del ebook ===== */
.etiqueta { text-align: center; margin-top: 18px; font-weight: 800; font-size: 13px; letter-spacing: 3px; color: var(--gold); }
.etiqueta + h1 { margin-top: 6px; }
.portada {
  display: block; width: 72%; max-width: 300px; margin: 6px auto 14px; border-radius: 8px;
  border: 1px solid rgba(245,196,81,.45);
  box-shadow: 0 0 50px rgba(245,196,81,.25), 0 24px 50px rgba(0,0,0,.7);
  transform: perspective(900px) rotateY(-8deg);
}
.datos { text-align: center; font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: 1px; }
ul.check li b { color: var(--gold); font-weight: 700; }
.cita { text-align: center; }
.cita p { font-family: 'Cinzel', serif; font-size: 20px; color: var(--gold); line-height: 1.4; }
.cita small { display: block; margin-top: 8px; color: var(--muted); }
.temas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.temas span {
  font-size: 13px; font-weight: 700; padding: 8px 10px; border-radius: 10px;
  background: rgba(245,196,81,.07); border: 1px solid rgba(245,196,81,.2);
}
.temas span:first-child { background: rgba(245,196,81,.22); border-color: var(--gold); color: var(--gold); }

/* ===== Gracias: el regalo (azul) ===== */
.card { position: relative; }
.cinta {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: 11px; font-weight: 800; letter-spacing: 2px; padding: 5px 14px; border-radius: 20px;
}
.cinta.gratis { background: #1c2a52; color: var(--gold); border: 1px solid var(--gold); }
.regalo .fila { display: flex; gap: 14px; align-items: center; margin-top: 8px; }
.regalo .fila img { width: 74px; border-radius: 4px; border: 1px solid rgba(245,196,81,.4); }
.titulo-mini { font-family: 'Cinzel', serif; color: var(--gold); font-size: 17px; line-height: 1.25; font-weight: 700; }
.separador { display: flex; align-items: center; gap: 12px; margin: 6px 0 30px; color: var(--muted); font-size: 14px; font-weight: 600; }
.separador::before, .separador::after { content: ''; flex: 1; height: 1px; background: rgba(245,196,81,.3); }

/* ===== Gracias: Bibliología (pergamino + vino, otro libro) ===== */
.card.biblio {
  background: linear-gradient(170deg, #f6ead0 0%, #ead7b0 100%);
  border: 2px solid #b8862e; color: #3a2416;
  box-shadow: 0 0 40px rgba(245,196,81,.25);
}
.biblio h2 { color: #7a1f2b; text-shadow: none; font-size: 27px; margin-top: 10px; }
.biblio .sub { color: #3a2416; }
.biblio .sub b, .biblio ul.check li b { color: #7a1f2b; }
.biblio ul.check li { border-bottom-color: rgba(122,31,43,.15); }
.biblio ul.check li::before { color: #7a1f2b; }
.biblio .nota { color: #6b5440; }
.cinta.preventa { background: #7a1f2b; color: #f6ead0; }
.libro-biblio {
  width: 170px; height: 235px; margin: 4px auto 22px; padding: 20px 14px; position: relative;
  border-radius: 4px 14px 14px 4px; border-left: 14px solid #4a0f18;
  background: radial-gradient(ellipse at 50% 30%, #9a2a38 0%, #6a1621 70%, #4a0f18 100%);
  box-shadow: 14px 16px 34px rgba(58,36,22,.45);
  transform: perspective(700px) rotateY(-12deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  outline: 2px solid #d9ae55; outline-offset: -9px;
}
.libro-biblio .k { position: absolute; top: 18px; font-size: 8px; letter-spacing: 1.5px; color: #f2d48a; font-weight: 700; }
.libro-biblio .t { font-family: 'Cinzel', serif; font-size: 21px; font-weight: 700; color: #f6ead0; }
.libro-biblio .s { font-family: 'Cinzel', serif; font-size: 15px; color: #f2d48a; }
.libro-biblio .l { width: 50px; height: 2px; background: #d9ae55; margin: 12px 0; }
.libro-biblio .d { font-size: 10.5px; color: #f6ead0; font-weight: 600; line-height: 1.4; }
.portada-biblio {
  display: block; width: 66%; max-width: 260px; margin: 4px auto 22px; border-radius: 6px;
  border: 1px solid #d9c39a; box-shadow: 14px 16px 34px rgba(58,36,22,.45);
  transform: perspective(900px) rotateY(-8deg);
}
.biblio .serie { text-align: center; font-family: 'Cinzel', serif; font-style: italic; color: #6b5440; font-size: 14px; margin-top: 12px; }
.biblio .serie + h2 { margin: 2px 0 2px; }
.biblio .lema { text-align: center; font-weight: 700; font-style: italic; color: #3a2416; margin-bottom: 10px; }
.biblio .precio .etq { display: block; font-size: 12px; font-weight: 800; letter-spacing: 2px; color: #7a1f2b; text-transform: uppercase; }
.biblio .precio .new { color: #7a1f2b; font-size: 40px; }
.biblio .precio .old { font-size: 22px; color: #9a8270; text-decoration: line-through; margin-right: 10px; font-weight: 700; }
.biblio .plazo { text-align: center; font-size: 13.5px; color: #3a2416; margin: 0 0 6px; }
.biblio .plazo b { color: #7a1f2b; }
.biblio .incluye { font-size: 13.5px; text-align: center; background: rgba(122,31,43,.08); border: 1px dashed rgba(122,31,43,.35); border-radius: 10px; padding: 10px 12px; margin: 4px 0 14px; color: #3a2416; }
.biblio .incluye b { color: #7a1f2b; }
.btn.rojo { background: linear-gradient(90deg, #6a1621, #9a2a38); color: #f6ead0; box-shadow: 0 6px 20px rgba(122,31,43,.4); }

footer { text-align: center; font-size: 12px; color: var(--muted); margin-top: 30px; }
/* Cuenta regresiva de la oferta */
.cuenta { text-align: center; margin: 10px 0 6px; }
.cuenta .ct-tit { display: block; font: 800 12px 'Montserrat', sans-serif; letter-spacing: 2px; text-transform: uppercase; color: #8a4d2a; margin-bottom: 8px; }
.cuenta .ct-num { display: flex; justify-content: center; gap: 8px; }
.cuenta .ct-num div { min-width: 64px; padding: 8px 6px 6px; border-radius: 12px; background: #3b2a22; box-shadow: 0 6px 16px rgba(58,36,22,.25); }
.cuenta .ct-num b { display: block; font: 900 28px 'Montserrat', sans-serif; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.cuenta .ct-num i { display: block; font: 700 10px 'Montserrat', sans-serif; font-style: normal; letter-spacing: 1px; text-transform: uppercase; color: #e8d9c4; margin-top: 4px; }
.oculto { display: none !important; }
