/* ==========================================================================
   ORIGEN DE LA CREACIÓN · Lilian Ruiz
   Layout: one fixed 3D canvas behind three states (splash → célula → cueva);
   each state is a full-screen layer that fades in over the same particles.
   ========================================================================== */
:root {
  --indigo: #0A0F2E;      /* Deep Indigo */
  --purple: #3B0A6E;      /* Mystic Purple */
  --black: #000000;       /* True Velvet Black */
  --violet: #8A2BE2;      /* glittering violet */
  --gold: #D4AF37;        /* Sunlit Gold */
  --champagne: #F7E7C1;   /* Warm Champagne */
  --white: #FFFFFF;
  --ink: #F7F1E3;
  --ink-dim: rgba(247, 241, 227, .72);
  --glass: rgba(10, 15, 46, .62);
  --line: rgba(212, 175, 55, .38);
  --f-display: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --f-cinzel: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --f-body: 'Lora', Georgia, 'Times New Roman', serif;
  --f-ui: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body { background: radial-gradient(ellipse 120% 90% at 50% 40%, var(--purple) 0%, var(--indigo) 45%, var(--black) 100%); background-color: var(--black);
  color: var(--ink); font-family: var(--f-body); overflow: hidden; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--gold); }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }

#cosmos { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.veil { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 40%, rgba(0, 0, 0, .55) 100%); }

/* the three states share these rules */
.splash, .celula, .cueva { position: fixed; inset: 0; z-index: 2; opacity: 0; transition: opacity 1.2s ease; }
.is-on { opacity: 1; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 34px; border-radius: 999px; font-family: var(--f-ui); font-weight: 600; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; transition: transform .3s ease, box-shadow .3s ease; text-decoration: none; }
.btn--gold { color: #1d1302; background: linear-gradient(180deg, #f6e2a0 0%, var(--gold) 55%, #a8831f 100%); box-shadow: 0 0 0 1px rgba(247, 231, 193, .5) inset, 0 10px 40px rgba(212, 175, 55, .35); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(247, 231, 193, .7) inset, 0 14px 50px rgba(212, 175, 55, .5); }
.btn--ghost { color: var(--champagne); border: 1px solid var(--line); background: rgba(59, 10, 110, .35); }
.btn[aria-disabled="true"] { opacity: .6; cursor: default; }

/* ---------------- STATE 1 · splash ---------------- */
.splash::before { content: ''; position: absolute; left: 50%; top: 50%; width: min(980px, 140vw); height: min(620px, 90vh); transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(5, 4, 20, .82) 0%, rgba(5, 4, 20, .55) 40%, transparent 70%); }
.splash { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 24px 16px; }
.splash__logo { margin: 0; line-height: 0; }
.splash__logo img { width: min(440px, 74vw, 46vh); height: auto; filter: drop-shadow(0 0 26px rgba(212, 175, 55, .35)) drop-shadow(0 0 60px rgba(138, 43, 226, .35)); animation: logoIn 2.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes logoIn { from { opacity: 0; transform: scale(.92); filter: blur(8px); } }
.simbolo { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(212, 175, 55, .55)); }
.splash__name { margin: 0; font-family: var(--f-cinzel); letter-spacing: .5em; font-size: clamp(.78rem, 1.6vw, .95rem); color: var(--champagne); padding-left: .5em; }
.splash__title { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(3rem, 9vw, 6.6rem); line-height: 1.02; text-wrap: balance;
  background: linear-gradient(180deg, #fff6d8 0%, #f2d98b 35%, var(--gold) 65%, #9a7417 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, .35)); }
.splash__sub { margin: 0; font-family: var(--f-cinzel); font-weight: 500; letter-spacing: .32em; font-size: clamp(.86rem, 2vw, 1.25rem); color: var(--gold); padding-left: .32em; }
.splash__rule { display: flex; align-items: center; gap: 12px; width: min(420px, 80vw); color: var(--gold); }
.splash__rule span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.splash__rule img { width: 34px; height: 34px; object-fit: contain; }
.splash__tag { margin: 4px 0 18px; max-width: 30ch; font-style: italic; font-size: clamp(1.05rem, 2.3vw, 1.45rem); line-height: 1.5; color: var(--ink); text-wrap: balance; text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
.splash > * { opacity: 0; transform: translateY(14px); animation: rise 1.4s cubic-bezier(.2, .7, .2, 1) forwards; }
.splash > :nth-child(1) { animation-delay: .4s; } .splash > :nth-child(2) { animation-delay: .7s; } .splash > :nth-child(3) { animation-delay: 1s; }
.splash > :nth-child(4) { animation-delay: 1.3s; } .splash > :nth-child(5) { animation-delay: 1.5s; } .splash > :nth-child(6) { animation-delay: 1.7s; } .splash > :nth-child(7) { animation-delay: 2s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------------- shared top bar ---------------- */
.top { position: absolute; left: 0; right: 0; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: calc(14px + env(safe-area-inset-top, 0px)) clamp(16px, 3vw, 36px) 14px; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; color: var(--champagne); }
.brand i { font-family: var(--f-cinzel); font-style: normal; font-size: .62rem; letter-spacing: .28em; color: var(--gold); text-transform: uppercase; }
.menu { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(10, 15, 46, .55); border: 1px solid rgba(212, 175, 55, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.menu a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-family: var(--f-cinzel); font-size: .74rem; letter-spacing: .1em; color: var(--ink); }
.menu a:hover { background: rgba(138, 43, 226, .3); color: var(--champagne); }

/* ---------------- STATE 2 · the Célula Primordial ---------------- */
.celula { pointer-events: none; }
.celula .top, .celula .orbit, .celula .selector, .celula .orbit * { pointer-events: auto; }
.orbit { position: absolute; inset: 0; pointer-events: none !important; }
.land { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; will-change: transform; pointer-events: auto; transition: opacity .4s; }
.land__disc { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .16), rgba(10, 15, 46, .78) 70%);
  border: 1px solid color-mix(in srgb, var(--c) 70%, transparent); box-shadow: 0 0 26px color-mix(in srgb, var(--c) 45%, transparent), inset 0 0 16px color-mix(in srgb, var(--c) 25%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .35s ease, box-shadow .35s ease; }
.land__disc svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.land__label { font-family: var(--f-cinzel); font-weight: 600; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); white-space: nowrap; text-shadow: 0 0 10px #000, 0 0 3px #000; }
.land.is-front .land__disc { transform: scale(1.14); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 18%, transparent), 0 0 46px var(--c); }
.land:hover .land__disc { transform: scale(1.12); }
.land.is-behind { opacity: .38; }
.selector { position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(560px, calc(100% - 32px)); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.selector__kicker { margin: 0; font-family: var(--f-cinzel); letter-spacing: .4em; font-size: .66rem; color: var(--gold); text-transform: uppercase; }
.selector__row { display: flex; align-items: center; gap: 14px; }
.selector__name { margin: 0; min-width: 9ch; font-family: var(--f-display); font-style: italic; font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--champagne); }
.selector__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--gold); font-size: 1.1rem; background: rgba(10, 15, 46, .5); }
.selector__arrow:hover { background: rgba(138, 43, 226, .35); }
.selector__line { margin: 0 0 6px; font-style: italic; color: var(--ink-dim); min-height: 1.5em; }
.spin-cue { position: absolute; left: 50%; top: var(--cue-top, 110px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 11px; border-radius: 999px;
  background: rgba(10, 15, 46, .68); border: 1px solid rgba(212, 175, 55, .6); box-shadow: 0 0 22px rgba(138, 43, 226, .35); pointer-events: none; transition: opacity 1s; white-space: nowrap; animation: cueFloat 3.4s ease-in-out infinite; }
.spin-cue svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; animation: cueTurn 2.6s linear infinite; }
.spin-cue b { font-family: var(--f-cinzel); letter-spacing: .3em; font-size: .82rem; color: var(--champagne); }
.spin-cue i { font-size: .82rem; color: var(--ink-dim); }
.spin-cue.is-hidden { opacity: 0; }
@keyframes cueFloat { 50% { transform: translateX(-50%) translateY(-5px); } }
@keyframes cueTurn { to { transform: rotate(-360deg); } }

/* ---------------- STATE 3 · the cave ---------------- */
.cueva { overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.top--cueva { position: sticky; background: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent); }
.back, .sound { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 11px; border-radius: 999px; font-family: var(--f-ui); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--champagne); background: rgba(10, 15, 46, .6); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.back svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.4; }
.back:hover, .sound:hover { background: rgba(138, 43, 226, .35); }
.cueva__title { margin: 0; font-family: var(--f-cinzel); letter-spacing: .3em; font-size: .78rem; color: var(--gold); text-transform: uppercase; }
.cueva__stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); align-items: center; gap: clamp(20px, 4vw, 56px); max-width: 1220px; min-height: calc(100% - 80px); margin: 0 auto; padding: 8px clamp(16px, 3vw, 36px) 40px; }

/* the holographic projection */
.holo { position: relative; margin: 0; justify-self: center; width: min(100%, calc((100dvh - 150px) * 9 / 16), 430px); }
.holo__beam { position: absolute; left: 50%; bottom: -8%; width: 160%; height: 125%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 30% 9% at 50% 96%, rgba(247, 231, 193, .95), rgba(212, 175, 55, .35) 40%, transparent 70%),
              linear-gradient(0deg, rgba(212, 175, 55, .28) 0%, rgba(138, 43, 226, .14) 45%, transparent 85%);
  -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 38%, #000 62%, transparent 82%); mask-image: linear-gradient(90deg, transparent 18%, #000 38%, #000 62%, transparent 82%); filter: blur(2px); animation: beam 5s ease-in-out infinite; }
@keyframes beam { 50% { opacity: .75; } }
.holo__frame { position: relative; aspect-ratio: 9 / 16; max-width: 100%; border-radius: 26px; overflow: hidden; background: radial-gradient(ellipse at 50% 85%, rgba(138, 43, 226, .3), rgba(10, 15, 46, .22) 70%);
  border: 1px solid rgba(247, 231, 193, .35); box-shadow: 0 0 0 1px rgba(138, 43, 226, .35), 0 0 60px rgba(138, 43, 226, .45), 0 0 120px rgba(212, 175, 55, .2), inset 0 0 40px rgba(138, 43, 226, .35); }
.holo__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.holo.is-playing .holo__video { opacity: 1; }
.holo__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 24px; transition: opacity 1s; }
.holo__placeholder .simbolo--holo { width: 150px; height: 150px; filter: drop-shadow(0 0 24px rgba(212, 175, 55, .7)); animation: breathe 4s ease-in-out infinite; }
.holo__placeholder p { margin: 0; font-family: var(--f-display); font-style: italic; font-size: 1.25rem; line-height: 1.4; color: var(--champagne); }
.holo.is-playing .holo__placeholder { opacity: 0; pointer-events: none; }
@keyframes breathe { 50% { transform: scale(1.08); filter: drop-shadow(0 0 32px rgba(212, 175, 55, 1)); } }
/* the hologram feeling: fine drifting light lines and a soft edge glow, never hiding her */
.holo__lines { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(247, 231, 193, .05) 0 1px, transparent 1px 4px); mix-blend-mode: screen; animation: drift 8s linear infinite; }
.holo__frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 30px rgba(138, 43, 226, .45), inset 0 -60px 60px -30px rgba(212, 175, 55, .25); }
@keyframes drift { to { background-position: 0 120px; } }
.holo__cap { margin-top: 14px; text-align: center; font-family: var(--f-cinzel); letter-spacing: .4em; font-size: .7rem; color: var(--gold); text-transform: uppercase; }

/* the land panel next to the video */
.panel { min-width: 0; align-self: center; display: flex; flex-direction: column; gap: 14px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { padding: 9px 14px; border-radius: 999px; font-family: var(--f-cinzel); font-size: .72rem; letter-spacing: .1em; color: var(--ink); border: 1px solid rgba(212, 175, 55, .25); background: rgba(10, 15, 46, .55); }
.tabs button[aria-selected="true"] { color: #1d1302; background: linear-gradient(180deg, #f6e2a0, var(--gold)); border-color: transparent; }
.tierra { padding: clamp(20px, 3vw, 32px); border-radius: 22px; background: var(--glass); border: 1px solid rgba(212, 175, 55, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45); max-height: calc(100dvh - 252px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(212, 175, 55, .4) transparent; }
.tierra.is-entering { animation: tierraIn .7s cubic-bezier(.2, .7, .2, 1); }
@keyframes tierraIn { from { opacity: 0; transform: translateY(12px); } }
.tierra__eyebrow { margin: 0 0 10px; font-family: var(--f-cinzel); letter-spacing: .26em; font-size: .7rem; text-transform: uppercase; color: var(--c, var(--gold)); }
.tierra h2 { margin: 0 0 16px; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.45rem, 2.6vw, 1.95rem); line-height: 1.25; color: var(--champagne); text-wrap: balance; }
.tierra p { margin: 0 0 12px; line-height: 1.7; color: var(--ink); }
.tierra h3 { margin: 22px 0 10px; font-family: var(--f-cinzel); font-weight: 600; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.tierra__img { display: block; width: 100%; height: auto; border-radius: 14px; margin: 0 0 18px; border: 1px solid rgba(212, 175, 55, .25); }
.camino { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; counter-reset: paso; }
.camino li { counter-increment: paso; padding: 10px 12px; border-radius: 12px; background: rgba(59, 10, 110, .35); border: 1px solid rgba(138, 43, 226, .35); font-size: .9rem; line-height: 1.45; color: var(--ink-dim); }
.camino b { display: block; font-family: var(--f-cinzel); font-size: .8rem; letter-spacing: .12em; color: var(--champagne); }
.camino b::before { content: counter(paso) ' · '; color: var(--gold); }
.lista { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; line-height: 1.6; }
.lista li::marker { color: var(--gold); }
.preguntas { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.preguntas li { font-style: italic; color: var(--champagne); padding-left: 14px; border-left: 2px solid var(--violet); line-height: 1.55; }
.accion { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(212, 175, 55, .16), rgba(138, 43, 226, .14)); border: 1px solid rgba(212, 175, 55, .35); }
.accion b { display: block; font-family: var(--f-cinzel); font-size: .72rem; letter-spacing: .22em; color: var(--gold); text-transform: uppercase; margin-bottom: 6px; }
.accion p { margin: 0; }
.sello { margin: 20px 0 0; font-family: var(--f-display); font-style: italic; font-size: 1.12rem; line-height: 1.5; color: var(--gold); }
.tierra .btn { margin-top: 18px; }
.aviso { margin: 0; font-size: .74rem; line-height: 1.5; color: var(--ink-dim); }

/* phones & narrow screens: video on top, the land below; the cave scrolls */
@media (max-width: 860px) {
  .cueva__stage { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 22px; }
  .holo { width: min(78vw, calc((70dvh) * 9 / 16), 360px); }
  .tierra { max-height: none; overflow: visible; }
  .cueva__title { display: none; }
  .menu { width: 100%; justify-content: center; }
  .menu a { padding: 7px 10px; font-size: .66rem; }
  .land__disc { width: 58px; height: 58px; } .land__disc svg { width: 28px; height: 28px; }
  .land__label { font-size: .62rem; letter-spacing: .1em; }
  .spin-cue i { display: none; }
}
@media (max-width: 420px) { .back span { display: none; } .back { padding: 9px; } .camino { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .splash > * { animation: none; opacity: 1; transform: none; }
  .holo__beam, .holo__lines, .holo__placeholder .simbolo--holo, .spin-cue, .spin-cue svg { animation: none; }
}

/* ---- Sobre Lilian: the goddess temple of photos ---- */
.cueva.is-templo .cueva__stage { grid-template-columns: minmax(0, .8fr) minmax(0, 640px); max-width: 1340px; }
.templo { position: relative; display: grid; grid-template-columns: 1fr 1.32fr 1fr; align-items: center; gap: clamp(10px, 1.6vw, 18px); margin: 26px -6px 30px; padding: 26px 4px 10px; isolation: isolate; }
.templo--2 { grid-template-columns: 1.2fr 1fr; }
.templo--1 { grid-template-columns: minmax(0, 340px); justify-content: center; }
.templo__rayos { position: absolute; inset: -30px -10% 10%; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 180deg at 50% 0%, rgba(247, 231, 193, .16) 0deg 3deg, transparent 3deg 11deg);
  -webkit-mask: radial-gradient(ellipse 60% 80% at 50% 0%, #000 20%, transparent 75%); mask: radial-gradient(ellipse 60% 80% at 50% 0%, #000 20%, transparent 75%);
  animation: rayos 14s ease-in-out infinite alternate; }
@keyframes rayos { from { transform: rotate(-4deg); opacity: .7; } to { transform: rotate(4deg); opacity: 1; } }
.templo::after { content: ""; position: absolute; left: 50%; top: 50%; width: 80%; height: 70%; transform: translate(-50%, -50%); z-index: -2; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, .28), rgba(138, 43, 226, .18) 45%, transparent 70%); filter: blur(20px); animation: respira 6s ease-in-out infinite; }
@keyframes respira { 50% { opacity: .55; transform: translate(-50%, -50%) scale(1.08); } }
.diosa { position: relative; margin: 0; }
.diosa:not(.diosa--centro) { margin-top: 18%; }
.templo--2 .diosa:not(.diosa--centro) { margin-top: 12%; }
.diosa__aura { position: absolute; inset: -9px; border-radius: 999px 999px 26px 26px; z-index: -1;
  background: conic-gradient(from 0deg, #D4AF37, #F7E7C1, #b986ff, #8A2BE2, #F7E7C1, #D4AF37); filter: blur(12px); opacity: .75; }
.diosa--centro .diosa__aura { inset: -12px; filter: blur(16px); opacity: .95; }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.diosa__aura { background: conic-gradient(from var(--ang), #D4AF37, #F7E7C1, #b986ff, #8A2BE2, #F7E7C1, #D4AF37); animation: giro 8s linear infinite; }
@keyframes giro { to { --ang: 360deg; } }
.diosa__marco { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 2 / 3; padding: 0; overflow: hidden; cursor: zoom-in;
  border-radius: 999px 999px 20px 20px; border: 1.5px solid rgba(247, 231, 193, .85);
  background: radial-gradient(ellipse at 50% 30%, rgba(247, 231, 193, .35), rgba(212, 175, 55, .12) 40%, transparent 70%), linear-gradient(180deg, #2a1258, #0d0a2a);
  box-shadow: 0 0 0 4px rgba(10, 15, 46, .6), 0 0 34px rgba(212, 175, 55, .55), inset 0 0 30px rgba(247, 231, 193, .25); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s; }
.diosa--centro .diosa__marco { aspect-ratio: 2 / 3.25; }
.diosa__marco:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 0 0 4px rgba(10, 15, 46, .6), 0 0 60px rgba(247, 231, 193, .75), inset 0 0 30px rgba(247, 231, 193, .25); }
.diosa__simbolo { width: 62%; height: auto; filter: drop-shadow(0 0 14px rgba(212, 175, 55, .8)); animation: latido 3.2s ease-in-out infinite; }
@keyframes latido { 50% { transform: scale(1.08); opacity: .75; } }
.diosa__marco .diosa__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.diosa__marco::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 248, 230, .28) 48%, transparent 60%) no-repeat; background-size: 250% 100%; animation: brillo 7s ease-in-out infinite; }
@keyframes brillo { 0%, 60% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
.chispa { position: absolute; left: var(--x); top: var(--y); width: 4px; height: 4px; border-radius: 50%; z-index: 2; pointer-events: none; background: #fff8e6;
  box-shadow: 0 0 6px #F7E7C1, 0 0 14px #D4AF37; animation: chispa var(--d) ease-in-out var(--w) infinite; }
@keyframes chispa { 0%, 100% { opacity: 0; transform: translateY(6px) scale(.4); } 50% { opacity: 1; transform: translateY(-10px) scale(1); } }
.cita { margin: 0 0 18px; padding: 4px 0 4px 18px; border-left: 2px solid var(--gold); font-family: var(--f-display); font-style: italic; font-size: 1.12rem; line-height: 1.55; color: var(--champagne); }
@media (max-width: 860px) { .cueva.is-templo .cueva__stage { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .templo--3 { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
  .templo--3 .diosa--centro { grid-column: 1 / -1; order: -1; width: 74%; justify-self: center; }
  .templo--3 .diosa:not(.diosa--centro) { margin-top: 0; }
}
/* lightbox */
.luz { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 56px 16px; background: rgba(5, 6, 22, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s; }
.luz.is-on { opacity: 1; }
.luz img { max-width: min(100%, 720px); max-height: 100%; border-radius: 18px; box-shadow: 0 0 0 1px rgba(247, 231, 193, .5), 0 0 60px rgba(212, 175, 55, .45); }
.luz__x { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 50%; font-size: 1.8rem; line-height: 1; color: var(--champagne); background: rgba(10, 15, 46, .7); border: 1px solid rgba(212, 175, 55, .4); cursor: pointer; }
.luz__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; color: var(--champagne); background: rgba(10, 15, 46, .7); border: 1px solid rgba(212, 175, 55, .4); cursor: pointer; font-size: 1.2rem; }
.luz__prev { left: 14px; } .luz__next { right: 14px; }
@media (prefers-reduced-motion: reduce) { .diosa__aura, .templo__rayos, .templo::after, .chispa, .diosa__simbolo, .diosa__marco::after { animation: none; } }

/* ---- background music toggle ---- */
.musica { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 999px;
  font-family: var(--f-cinzel); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne);
  background: rgba(10, 15, 46, .6); border: 1px solid rgba(212, 175, 55, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; }
.musica svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.musica[aria-pressed="false"] { opacity: .6; }
.musica[aria-pressed="false"] svg { stroke-dasharray: 2 2; }
body.is-splash .musica { display: none; }
@media (max-width: 600px) {
  .musica { left: auto; right: 16px; top: 16px; bottom: auto; width: 40px; height: 40px; padding: 0; justify-content: center; }
  .musica span { display: none; }
}

/* ---- course land buttons ---- */
.botones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tierra a.btn--ghost { text-decoration: none; }
.nota { margin-top: 14px; font-size: .85rem; opacity: .75; }
.botones .btn { margin-top: 0; padding: 13px 22px; font-size: .78rem; }
.precio { display: inline-block; margin-top: 18px; padding: 10px 16px; border-radius: 14px; border: 1px solid rgba(212, 175, 55, .45); background: rgba(212, 175, 55, .1); color: var(--champagne); }
.precio b { color: var(--gold); font-size: 1.15em; }
.tierra__marca { margin: 0 0 6px; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; background: linear-gradient(180deg, #fff6d8, #f2d98b 45%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 16px rgba(212, 175, 55, .35)); }
@media (max-width: 600px) { body.is-cueva .musica { top: 70px; } }

/* ---- hologram v2: no frame, soft mask, organic aura, play / pause ---- */
.holo__frame { border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; isolation: auto; }
.holo__frame::after, .holo__lines { display: none; }
.holo__aura { position: absolute; left: -12%; top: 0; width: 124%; height: 80%; pointer-events: none; border-radius: 50%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(247, 231, 193, 0) 28%, rgba(247, 231, 193, .42) 40%, rgba(212, 175, 55, .34) 50%, rgba(138, 43, 226, .26) 62%, transparent 74%);
  filter: blur(22px); animation: auraLilian 6s ease-in-out infinite; }
@keyframes auraLilian { 50% { opacity: .65; } }
.holo__video, .holo.is-playing .holo__video { opacity: 1; cursor: pointer;
  -webkit-mask-image: radial-gradient(ellipse 52% 80% at 50% 52%, #000 56%, rgba(0, 0, 0, .55) 80%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: radial-gradient(ellipse 52% 80% at 50% 52%, #000 56%, rgba(0, 0, 0, .55) 80%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%); mask-composite: intersect; }
.holo__luz { position: absolute; inset: -4% -10%; pointer-events: none; z-index: 2; mix-blend-mode: screen;
  background: radial-gradient(ellipse 36% 40% at 50% 42%, transparent 55%, rgba(247, 231, 193, .28) 72%, rgba(212, 175, 55, .22) 84%, transparent 100%),
              radial-gradient(ellipse 30% 10% at 50% 100%, rgba(247, 231, 193, .35), transparent 70%);
  filter: blur(14px); animation: auraLilian 6s ease-in-out infinite; }
.holo__placeholder { opacity: 0; pointer-events: none; }
.holo.is-missing .holo__placeholder { opacity: 1; }
.holo.is-missing .holo__video, .holo.is-missing .holo__play, .holo.is-missing .holo__pause { display: none; }
.holo__play { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(247, 231, 193, .55); background: rgba(10, 15, 46, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--champagne);
  box-shadow: 0 0 30px rgba(212, 175, 55, .35); transition: opacity .5s, transform .5s; z-index: 3; }
.holo__play span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #f6e2a0, var(--gold)); box-shadow: 0 0 22px rgba(212, 175, 55, .8); animation: latido 2.8s ease-in-out infinite; }
.holo__play svg { width: 20px; height: 20px; fill: #1d1302; margin-left: 3px; }
.holo__play b { font-family: var(--f-cinzel); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.holo__play:hover { transform: translateX(-50%) scale(1.04); }
.holo__pause { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; cursor: pointer; z-index: 3;
  border: 1px solid rgba(247, 231, 193, .4); background: rgba(10, 15, 46, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--champagne);
  font-family: var(--f-cinzel); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .5s; }
.holo__pause svg { width: 14px; height: 14px; fill: currentColor; }
.holo.is-playing .holo__play { opacity: 0; pointer-events: none; }
.holo.is-playing .holo__pause { opacity: .55; pointer-events: auto; }
.holo.is-playing:hover .holo__pause, .holo__pause:focus-visible { opacity: 1; }
@media (hover: none) { .holo.is-playing .holo__pause { opacity: .9; } }

/* ---- footer: disclaimer, studio credit, copyright ---- */
.pie { display: flex; flex-direction: column; gap: 6px; }
.pie p { margin: 0; font-size: .74rem; line-height: 1.5; color: rgba(236, 230, 245, .62); }
.pie a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(212, 175, 55, .35); }
.pie a:hover { color: var(--champagne); }
.pie__copy { letter-spacing: .06em; }
.pie--splash { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0 auto; width: min(760px, calc(100% - 32px)); text-align: center; }
.pie--splash .aviso { font-size: .68rem; }
@media (max-height: 760px), (max-width: 600px) { .pie--splash { position: static; margin-top: 18px; } }
.pronto { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; font-family: var(--f-cinzel); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #1d1302; background: linear-gradient(180deg, #f6e2a0, var(--gold)); vertical-align: middle; box-shadow: 0 0 12px rgba(212, 175, 55, .45); }
.tierra__fig { position: relative; margin: 0 0 18px; }
.tierra__fig .tierra__img { display: block; margin: 0; }
.tierra__hot { position: absolute; border-radius: 999px; transition: box-shadow .3s, background .3s; }
.tierra__hot:hover, .tierra__hot:focus-visible { background: rgba(247, 231, 193, .12); box-shadow: 0 0 24px rgba(212, 175, 55, .6); outline: none; }
