/* Home cine + video de fondo (home / login / registro) */

.has-hero-video .stars { display: none !important; }

.tpda-hero-video-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.tpda-hero-video,
.tpda-hero-video-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tpda-hero-video-fallback {
  background-size: cover;
  background-position: center;
  background-color: #181715;
  z-index: 0;
}
.tpda-hero-video { z-index: 1; }
.tpda-hero-video.is-fallback { display: none; }
.tpda-hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(16, 14, 12, 0.52) 0%, rgba(16, 14, 12, 0.72) 48%, rgba(16, 14, 12, 0.94) 100%),
    linear-gradient(90deg, rgba(16, 14, 12, 0.58) 0%, rgba(16, 14, 12, 0.22) 55%, rgba(16, 14, 12, 0.62) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .tpda-hero-video { display: none; }
}

/* ---------- HOME HERO ---------- */
.lp-home { position: relative; }
.lp-hero {
  position: relative;
  min-height: min(78vh, calc(100vh - var(--nav-height, 72px)));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--text-primary, #f2efe9);
}
.lp-hero-inner {
  position: relative;
  z-index: 3;
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.4rem, 6vh, 4.5rem) 0 3.5rem;
}
.lp-hero-copy { max-width: 640px; }
.lp-hero .dr-display {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem) !important;
  line-height: 1.12;
  max-width: 20ch;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}
.lp-hero .dr-lede {
  max-width: 46ch;
  color: rgba(242, 239, 233, 0.88);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
}
.lp-float-grid {
  position: absolute;
  inset: 8% 4% 18%;
  z-index: 2;
  pointer-events: none;
}
.lp-float {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--dr-gold, #edb781);
  background: rgba(24, 23, 21, 0.42);
  border: 1px solid rgba(237, 183, 129, 0.28);
  backdrop-filter: blur(8px);
  font-size: 1.15rem;
}
.lp-float:nth-child(1) { top: 0; left: 0; }
.lp-float:nth-child(2) { top: 0; right: 0; }
.lp-float:nth-child(3) { bottom: 0; left: 4%; }
.lp-float:nth-child(4) { bottom: 8%; right: 2%; }
@media (max-width: 720px) { .lp-float-grid { display: none; } }

.lp-hero-copy { max-width: 640px; }
.lp-hero .dr-display {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem) !important;
  line-height: 1.12;
  max-width: 20ch;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}
.lp-hero .dr-lede {
  max-width: 46ch;
  color: rgba(242, 239, 233, 0.88);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
}
.lp-trust-line {
  color: rgba(237, 183, 129, 0.92);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin: 1.2rem 0 1.6rem;
}
.lp-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 0.4rem; }
.lp-hero-trust { margin: 1.15rem 0 0; }
.lp-hero-trust .dr-link { font-size: 0.92rem; }
.lp-scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  color: rgba(242, 239, 233, 0.55);
  font-size: 1.1rem;
  animation: lpBob 2.2s ease-in-out infinite;
}
@keyframes lpBob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}
@media (prefers-reduced-motion: reduce) { .lp-scroll { animation: none; } }

/* ---------- STATS + TICKER ---------- */
.lp-stats {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(20, 18, 16, 0.92);
  border-top: 1px solid rgba(237, 183, 129, 0.16);
  border-bottom: 1px solid rgba(232, 230, 225, 0.08);
}
.lp-stat {
  padding: 1.35rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(232, 230, 225, 0.07);
}
.lp-stat:last-child { border-right: 0; }
.lp-stat-n {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dr-gold, #edb781);
  line-height: 1.1;
}
.lp-stat-l {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #9a958c);
  margin-top: 6px;
}
@media (max-width: 800px) {
  .lp-stats { grid-template-columns: 1fr 1fr; }
  .lp-stat:nth-child(2) { border-right: 0; }
  .lp-stat:nth-child(1),
  .lp-stat:nth-child(2) { border-bottom: 1px solid rgba(232, 230, 225, 0.07); }
}

.lp-ticker {
  overflow: hidden;
  background: rgba(38, 36, 33, 0.9);
  border-bottom: 1px solid rgba(232, 230, 225, 0.07);
  padding: 0.85rem 0;
}
.lp-ticker-track {
  display: flex;
  gap: 0.7rem;
  width: max-content;
  animation: lpTicker 32s linear infinite;
}
.lp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary, #bdb8ae);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) { .lp-ticker-track { animation: none; } }
@keyframes lpTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- SECTIONS ---------- */
.lp-section { padding: clamp(3.4rem, 7vw, 5.8rem) 0; }
.lp-section--alt { background: rgba(32, 30, 27, 0.45); }
.lp-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(173, 212, 217, 0.1);
  border: 1px solid rgba(173, 212, 217, 0.24);
  color: var(--dr-teal, #add4d9);
  border-radius: 999px;
  padding: 0.28rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.lp-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.lp-svc {
  background: var(--bg-elevated, #262522);
  border: 1px solid var(--border-subtle, rgba(232, 230, 225, 0.09));
  border-radius: var(--radius-lg, 14px);
  padding: 1.7rem 1.55rem 1.4rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.lp-svc:hover {
  transform: translateY(-5px);
  border-color: rgba(237, 183, 129, 0.38);
}
.lp-svc h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.7rem 0 0.45rem;
}
.lp-svc p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin: 0 0 0.8rem; }
.lp-svc ul {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.7;
  flex: 1;
}
.lp-svc li::before { content: '· '; color: var(--dr-gold, #edb781); font-weight: 700; }
.lp-svc .dr-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .lp-svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .lp-svc-grid { grid-template-columns: 1fr; } }

.lp-trust-anchor {
  scroll-margin-top: calc(var(--nav-height, 72px) + 1.1rem);
  background: rgba(24, 23, 21, 0.72);
  border-top: 1px solid rgba(237, 183, 129, 0.22);
  border-bottom: 1px solid rgba(237, 183, 129, 0.12);
}
.lp-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.lp-trust-card {
  background: #181715;
  border: 1px solid rgba(237, 183, 129, 0.16);
  border-radius: var(--radius-lg, 14px);
  padding: 1.55rem 1.4rem 1.35rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.lp-trust-card:hover {
  transform: translateY(-4px);
  border-color: rgba(237, 183, 129, 0.4);
}
.lp-trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.65rem 0 0.4rem;
}
.lp-trust-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}
.lp-trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}
@media (max-width: 960px) { .lp-trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .lp-trust-grid { grid-template-columns: 1fr; } }

.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  counter-reset: lpstep;
}
.lp-step {
  background: var(--bg-elevated, #262522);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.35rem;
}
.lp-step::before {
  counter-increment: lpstep;
  content: counter(lpstep, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--dr-gold, #edb781);
  display: block;
  margin-bottom: 0.85rem;
}
.lp-step h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.4rem; color: var(--text-primary); }
.lp-step p { margin: 0; color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }
@media (max-width: 900px) { .lp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lp-steps { grid-template-columns: 1fr; } }

.lp-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
}
.lp-band.is-flip { grid-template-columns: 0.95fr 1.05fr; }
.lp-band.is-flip .lp-band-visual { order: 2; }
.lp-band-visual {
  min-height: 280px;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(24, 23, 21, 0.2), rgba(24, 23, 21, 0.55)),
    url('../images/tarot_hero.jpg') center/cover;
  border: 1px solid rgba(237, 183, 129, 0.18);
}
.lp-band-visual.is-pro {
  background:
    linear-gradient(160deg, rgba(24, 23, 21, 0.25), rgba(24, 23, 21, 0.6)),
    url('../images/auth_tarot.jpg') center/cover;
}
.lp-band ul { margin: 1rem 0 1.4rem; padding-left: 1.1rem; color: var(--text-secondary); }
.lp-band li { margin-bottom: 0.35rem; }
@media (max-width: 800px) {
  .lp-band,
  .lp-band.is-flip { grid-template-columns: 1fr; }
  .lp-band.is-flip .lp-band-visual { order: 0; }
  .lp-band-visual { min-height: 200px; }
}

.lp-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.lp-quote {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.45rem;
  position: relative;
}
.lp-quote p {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-primary);
  margin: 0 0 1rem;
}
.lp-quote cite {
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dr-gold);
}
@media (max-width: 800px) { .lp-quotes { grid-template-columns: 1fr; } }

.lp-cta {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: clamp(2.2rem, 5vw, 3.4rem);
  background:
    linear-gradient(120deg, rgba(205, 115, 79, 0.22), rgba(24, 23, 21, 0.4) 45%, rgba(173, 212, 217, 0.12)),
    var(--bg-elevated);
  border: 1px solid rgba(237, 183, 129, 0.28);
}
.lp-cta-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.6rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.lp-cta ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--text-secondary); }
@media (max-width: 800px) { .lp-cta-grid { grid-template-columns: 1fr; } }

.lp-carta { margin-top: 0; }

/* Ritual (home) */
.ritual-container { max-width: 680px; margin: 0 auto; text-align: center; }
.ritual-start-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(237,183,129,0.1); border: 1px solid rgba(237,183,129,0.35);
  color: var(--dr-gold); font-size: 0.98rem; font-weight: 600;
  padding: 13px 30px; border-radius: 100px; cursor: pointer;
}
.ritual-start-btn:hover { background: rgba(237,183,129,0.18); }
#ritual-breath { display: none; }
.breath-ring {
  width: 160px; height: 160px; border-radius: 50%; margin: 0 auto 2rem;
  background: radial-gradient(circle, rgba(237,183,129,0.22) 30%, rgba(173,212,217,0.08) 100%);
  border: 2px solid rgba(237,183,129,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; font-weight: 600; color: var(--dr-gold);
}
.breath-ring.inhale { animation: breatheIn 4s ease-in-out forwards; }
.breath-ring.exhale { animation: breatheOut 4s ease-in-out forwards; }
@keyframes breatheIn {
  from { transform: scale(0.85); opacity: 0.6; }
  to   { transform: scale(1.25); opacity: 1; }
}
@keyframes breatheOut { from { transform: scale(1.25); opacity: 1; } to { transform: scale(0.85); opacity: 0.6; } }
.breath-instruction { font-size: 1.35rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; font-family: var(--font-display); }
.breath-subtext { font-size: 0.88rem; color: var(--text-muted); }
#ritual-cards { display: none; }
.ritual-cards-row { display: flex; justify-content: center; gap: 1.1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.ritual-card {
  width: 96px; height: 152px;
  background: linear-gradient(150deg, rgba(205,115,79,0.18) 0%, rgba(237,183,129,0.12) 100%);
  border: 1px solid rgba(237,183,129,0.28); border-radius: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.ritual-card:hover { transform: translateY(-10px); border-color: var(--dr-gold); }
.card-back-text { opacity: 0.4; color: var(--dr-gold); user-select: none; }
.ritual-card.chosen {
  background: linear-gradient(150deg, #cd734f, #edb781) !important;
  border-color: #fff; transform: translateY(-18px) scale(1.06) !important;
}
.chosen-icon { font-size: 2.4rem; color: #fff; }
#ritual-message { display: none; }
.message-glow-box {
  background: var(--bg-elevated); border: 1px solid rgba(237,183,129,0.3);
  border-radius: 16px; padding: 2rem 2.4rem;
}
.message-quote { font-size: 1.18rem; font-weight: 500; color: var(--text-primary); line-height: 1.6; margin-bottom: 1rem; font-family: var(--font-display); }
.message-cta-btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--dr-terracotta);
  color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 12px 28px; border-radius: 100px;
}

.carta-dia-box {
  max-width: 820px; margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--dr-gold);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.carta-dia-num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  color: var(--dr-gold); line-height: 1;
}
.carta-dia-kw {
  display: inline-block; background: rgba(173,212,217,0.1);
  border: 1px solid rgba(173,212,217,0.24); color: var(--dr-teal);
  border-radius: 50px; padding: 2px 11px; font-size: 0.72rem; margin: 2px;
}
.carta-dia-cta {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 50px; padding: 8px 18px; font-size: 0.82rem;
  font-weight: 600; text-decoration: none;
}

/* ---------- AUTH + VIDEO ---------- */
.auth-wrap--video {
  position: relative;
  isolation: isolate;
  overflow: auto;
  min-height: calc(100vh - var(--nav-height, 72px));
}
.auth-wrap--video > .tpda-hero-video-layer { z-index: 0; }
.auth-wrap--video .auth-visual,
.auth-wrap--video .auth-form-panel {
  position: relative;
  z-index: 1;
}
.auth-wrap--video .auth-visual {
  background: transparent !important;
}
/* Same video overlay as home: do not stack photo, hat fallback, or extra scrims. */
.auth-wrap--video .auth-visual-photo,
.auth-wrap--video .auth-visual-overlay,
.auth-wrap--video .auth-visual-icon-fallback {
  display: none !important;
}
.auth-wrap--video .auth-visual-content,
.auth-wrap--video .reg-visual-content {
  background: none;
}
.auth-wrap--video .auth-title,
.auth-wrap--video .auth-headline,
.auth-wrap--video .auth-subtitle {
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}
.auth-wrap--video .auth-form-panel {
  background: rgba(16, 14, 12, 0.18);
  backdrop-filter: none;
}
@media (max-width: 900px) {
  .auth-wrap--video .auth-form-panel {
    background: rgba(16, 14, 12, 0.22);
  }
}
