/* Ritualia · estilos (portada, rueda del zodiaco y lectura) */
:root{color-scheme:dark;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);--bg:#2a1556;--ink:#eef2ff;--dim:#d2c2f0;--gold:#f4d58d;--line:#ffd978;--emerald:#2f9aa3;--emerald-bright:#4fc0c2;--purple:#6a45b0;--purple-light:#8f6fd0}
html{scroll-padding-top:env(safe-area-inset-top,0px);scroll-snap-type:y proximity;scroll-behavior:smooth}
*{box-sizing:border-box}
body{margin:0;background:radial-gradient(ellipse at top,#3a8f9c 0,var(--bg) 60%) fixed;color:var(--ink);font-family:Cinzel,Georgia,"Times New Roman",serif}
header{min-height:80vh;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:2rem}
header h1{font-weight:700;text-transform:uppercase;font-size:clamp(2rem,7vw,4rem);margin:0;letter-spacing:.1em;background:linear-gradient(#fff6cf,#f4c542 60%,#e8a92b);-webkit-background-clip:text;background-clip:text;color:transparent}
header p{color:var(--dim);max-width:34ch}
.week{color:var(--gold);letter-spacing:.2em;text-transform:uppercase;font-size:.8rem}
header{justify-content:flex-start;padding:0 1rem 2rem}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:19;background:#36206c}
.nav{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:rgba(54,32,108,.88);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,215,130,.2);padding:.7rem clamp(1rem,4vw,3rem)}
.nav-in{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem}
.nb{display:flex;align-items:center;gap:.8rem;text-decoration:none}
.nb svg{width:50px;height:50px;flex:none}
.nb b{display:block;font:700 1.7rem/1 Cinzel,Georgia,serif;letter-spacing:.1em;background:linear-gradient(90deg,#f8de82,#eab02f);-webkit-background-clip:text;background-clip:text;color:transparent}
.nb small{display:block;margin-top:.35rem;font:500 .62rem/1 Outfit,sans-serif;letter-spacing:.3em;color:#d9a3f2;text-transform:uppercase}
.nav-links{display:flex;gap:2.6rem}
.nav-links a{font:600 1.15rem/1 "Cormorant Garamond",Georgia,serif;font-variant-caps:all-small-caps;letter-spacing:.08em;color:#eef2ff;text-decoration:none;padding:.4rem 0;transition:color .2s}
.nav-links a:hover{color:#f1d27a}
.hero{padding-top:clamp(3rem,8vh,5.5rem);display:flex;flex-direction:column;align-items:center}
.pill{display:inline-flex;align-items:center;gap:.7rem;padding:.55rem 1.3rem;border:1px solid rgba(248,150,196,.75);border-radius:999px;background:rgba(214,72,140,.38);font:600 .78rem/1.2 Outfit,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#e8b923}
.pill:before,.pill:after{content:"★";font-size:.95rem}
.pill .week{color:inherit;font:inherit;letter-spacing:inherit}
.hero h1{font-family:"Cormorant Garamond",Georgia,serif;font-weight:700;font-variant-caps:small-caps;text-transform:none;letter-spacing:.005em;font-size:clamp(2.3rem,6.2vw,5rem);line-height:1.08;margin:1.8rem 0 0;max-width:15em;text-wrap:balance;background:linear-gradient(90deg,#fff 35%,#f6c3df);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero h1 em{font-style:italic;background:linear-gradient(#ffe27a,#f2b72e);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero .lead{font:400 clamp(1rem,1.7vw,1.25rem)/1.65 Outfit,sans-serif;color:#e0d0f6;max-width:46ch;margin:1.6rem 0 0}
.cta{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-top:2rem}
.cta a{font:600 1rem/1 Outfit,sans-serif;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;padding:1.15rem 2.3rem;border-radius:999px;transition:transform .2s,filter .2s}
.cta .b1{background:linear-gradient(90deg,#f6cf5a,#eaa92e);color:#33196b}
.cta .b2{background:linear-gradient(90deg,#2f9aa3,#4fc0c2);color:#fff;border:1px solid rgba(190,245,245,.8)}
.cta a:hover{transform:translateY(-2px);filter:brightness(1.12)}
.cta a:focus-visible,.nav a:focus-visible{outline:2px solid #f1d27a;outline-offset:3px}
.hero .tip{font:400 .95rem/1.5 Outfit,sans-serif;color:var(--dim);max-width:46ch;margin:3rem 0 1rem}
header{min-height:0}
.nav-links a[aria-current]{color:#f1d27a;box-shadow:0 2px 0 #f1d27a}
@media(max-width:640px){.nav-in{grid-template-columns:auto 1fr}.nav-in>span{display:none}.nav-links{justify-self:end;gap:1.3rem}.nb small{display:none}.nb b{font-size:1.4rem}.nb svg{width:42px;height:42px}.cta a{padding:1rem 1.6rem}}
.arrow{margin-top:2rem;animation:bob 2s infinite;color:var(--dim)}
@keyframes bob{50%{transform:translateY(8px)}}
section{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1.2rem;scroll-snap-align:start}
button.sign{all:unset;cursor:pointer;display:flex;flex-direction:column;align-items:center;text-align:center;width:100%;max-width:560px}
button.sign:focus-visible{outline:2px solid var(--gold);outline-offset:8px;border-radius:12px}
button.sign svg{width:min(80vw,420px);height:auto;overflow:visible}
.fg{fill:none;stroke:rgba(255,215,130,.6);stroke-width:1;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset 2.4s ease;filter:drop-shadow(0 0 2px rgba(255,190,70,.8))}
section.in .fg{stroke-dashoffset:0}
.fg.fl{fill:rgba(255,190,70,0);transition:stroke-dashoffset 2.4s ease,fill 2s ease 1s}
section.in .fg.fl{fill:rgba(255,190,70,.16)}
.st{filter:drop-shadow(0 0 2px #ffe9a8)}
.st{fill:#fff;transition:r .3s;animation:tw 3s infinite alternate}
@keyframes tw{from{opacity:.55}to{opacity:1}}
button.sign:hover .st{fill:var(--gold)}
h2{font-weight:400;font-size:clamp(1.8rem,6vw,3rem);margin:.8rem 0 0;letter-spacing:.08em}
.d{color:var(--dim);font-size:.9rem;margin:.2rem 0 0}
.hint{margin-top:.8rem;color:var(--gold);font-size:.8rem;letter-spacing:.15em;text-transform:uppercase}
.panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s ease;width:100%;max-width:560px}
.panel>div{overflow:hidden}
section.open .panel{grid-template-rows:1fr}
.card{margin-top:1.2rem;padding:1.3rem 1.4rem;background:rgba(106,69,176,.35);border:1px solid rgba(160,115,224,.25);border-radius:16px;line-height:1.6}
.card h3{margin:.8rem 0 .2rem;font-size:.75rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);font-weight:400}
.card h3:first-child{margin-top:0}
.card p{margin:0}
section{position:relative}
.casa{font-size:.75rem;letter-spacing:.35em;text-transform:uppercase;color:var(--gold);margin-bottom:.4rem;opacity:.85}
.casa:before,.casa:after{content:"◆";margin:0 .6em;font-size:.6em}
.halo{filter:drop-shadow(0 0 4px rgba(255,200,90,.5))}
.aura{fill:rgba(79,192,194,.12);stroke:rgba(255,215,130,.3);stroke-width:.4;transform-box:fill-box;transform-origin:center;animation:pulse 4s ease-in-out infinite}
.orb{fill:none;stroke:#ffd978;stroke-width:.5;stroke-dasharray:1 2.2;transform-box:fill-box;transform-origin:center;animation:spin 60s linear infinite;opacity:.7}
.ray{stroke:#ffd978;stroke-width:.6;stroke-linecap:round;opacity:0;transition:opacity 1.6s ease .4s}
section.in .ray{opacity:.6}
@keyframes pulse{50%{transform:scale(1.06);fill:rgba(79,192,194,.22)}}
@keyframes spin{to{transform:rotate(360deg)}}
.st{fill:#fff6d6}
.card{border-color:rgba(255,215,130,.35);background:linear-gradient(rgba(79,192,194,.12),rgba(124,50,170,.2));box-shadow:0 0 24px rgba(79,192,194,.15)}
h2{background:linear-gradient(#fff6cf,#f4c542);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700;text-transform:uppercase}
.emb{opacity:0;transform-box:fill-box;transform-origin:center;transform:scale(.92);transition:opacity 2.2s ease 1.2s,transform 2.2s ease 1.2s;filter:drop-shadow(0 0 4px rgba(79,192,194,.6))}
section.in .emb{opacity:.92;transform:none}
.fg{stroke-width:.35;filter:none}
section.in .fg.fl{fill:none}
.st{filter:none}
.emb path{fill:rgba(79,192,194,.25);fill-rule:evenodd;stroke:none}
.fg{stroke:rgba(170,235,235,.9);stroke-width:.32;filter:drop-shadow(0 0 1.2px rgba(79,192,194,.9))}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.fg{stroke-dashoffset:0}}
@media (hover:hover){
section.in .fg{stroke-dashoffset:100}
section.in .emb{opacity:0;transform:scale(.92)}
button.sign:hover .fg,button.sign:focus-visible .fg,section.open .fg{stroke-dashoffset:0}
button.sign:hover .emb,button.sign:focus-visible .emb,section.open .emb{opacity:.92;transform:none}
}
body{background:radial-gradient(ellipse at 8% 14%,rgba(79,192,194,.36),transparent 48%),radial-gradient(ellipse at 92% 26%,rgba(169,138,230,.40),transparent 52%),radial-gradient(ellipse at 50% 95%,rgba(143,111,208,.50),transparent 58%),#2c185f;background-attachment:fixed}
#stars{position:fixed;left:0;top:0;width:1px;height:1px;pointer-events:none;z-index:-1}
header{min-height:100vh;position:relative}
.tp{position:absolute;bottom:5%;width:clamp(100px,19vw,240px);height:auto;pointer-events:none;z-index:-1;fill:rgba(79,192,194,.12);stroke:rgba(255,215,130,.3);stroke-width:.6}
.tp.l{left:1vw}.tp.r{right:1vw;bottom:14%;transform:scaleX(-1)}
.fg{stroke:rgba(255,217,120,.92);filter:drop-shadow(0 0 1.2px rgba(255,190,70,.9))}
.emb{filter:drop-shadow(0 0 4px rgba(255,190,70,.55))}
.emb path{fill:rgba(255,190,70,.13)}
#wheel{width:min(96vw,860px);margin:1rem 0}
#wheel svg{width:100%;height:auto;overflow:visible}
.wr{stroke:rgba(255,217,120,.55);stroke-width:1;fill:none}
.wg{fill:#ffd978;font-size:24px;text-anchor:middle;dominant-baseline:central;font-family:"Segoe UI Symbol","Noto Sans Symbols 2","DejaVu Sans",serif}
.wl{stroke:#ffd978;stroke-width:1;vector-effect:non-scaling-stroke;fill:none;opacity:.8}
.wd{fill:#fff6d6}
.wn{fill:var(--gold);font-size:12px;letter-spacing:.15em;dominant-baseline:central;text-transform:uppercase}
.we{cursor:pointer;filter:drop-shadow(0 0 3px rgba(79,192,194,.6));transition:filter .3s}
.we:hover{filter:drop-shadow(0 0 9px rgba(255,210,100,.95))}.we:hover .wl{stroke:#fff;opacity:1}.we:hover .wn{fill:#fff}
.sunr{transform-box:fill-box;transform-origin:center;animation:spin 80s linear infinite}
.tp{fill:rgba(79,192,194,.2);stroke:rgba(255,215,130,.45);filter:drop-shadow(0 0 6px rgba(79,192,194,.4))}
#wheel{width:min(96vw,780px);margin:.5rem 0 0}
.cap{margin:.2rem 0 1.5rem;min-height:3.4rem;text-align:center;color:var(--ink);letter-spacing:.12em;font-size:1rem}
.cap span{display:block;margin-top:.3rem;color:var(--dim);font-family:Outfit,sans-serif;letter-spacing:.04em;font-size:.85rem}
.wgs,.we,#cg{cursor:pointer;outline:none}
.wgb{fill:transparent;stroke:transparent;stroke-width:1;transition:fill .3s,stroke .3s}
.wgs:hover .wgb{fill:rgba(79,192,194,.2)}
.wgs.sel .wgb{fill:rgba(79,192,194,.35);stroke:rgba(255,217,120,.9)}
.we.sel{filter:drop-shadow(0 0 9px rgba(255,210,100,.95))}.we.sel .wl{stroke:#fff;opacity:1}.we.sel .wn{fill:#fff}
.we:focus-visible,.wgs:focus-visible,#cg:focus-visible{outline:2px solid #f1d27a;outline-offset:4px}
.wh{fill:var(--gold);font-size:11px;letter-spacing:.22em;text-anchor:middle;text-transform:uppercase}
#ctr{transition:opacity .6s,transform .6s;transform-box:fill-box;transform-origin:center}
#ctr.off{opacity:0;transform:scale(.8);pointer-events:none}
.cg .fg{stroke-width:.5;stroke-dashoffset:100;transition:stroke-dashoffset 2.4s ease}
.cg.on .fg{stroke-dashoffset:0}
.cg .emb{opacity:0;transform:scale(.92)}
.cg.on .emb{opacity:.92;transform:none}
.cg .ray{opacity:0}.cg.on .ray{opacity:.6}
@media(prefers-reduced-motion:reduce){.cg .fg{stroke-dashoffset:0}.cg .emb{opacity:.92;transform:none}.cg .ray{opacity:.6}}
.rv[hidden]{display:none}
.rv{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(54,32,108,.82);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .35s}
.rv.show{opacity:1}
.rvc{position:relative;max-width:520px;width:100%;max-height:90vh;overflow:auto;text-align:center;padding:2rem 1.6rem 1.6rem;border:1px solid rgba(255,215,130,.35);border-radius:20px;background:linear-gradient(#4fa8b4,#6a45b0);box-shadow:0 0 40px rgba(79,192,194,.25);transform:translateY(14px) scale(.97);transition:transform .35s}
.rv.show .rvc{transform:none}
.rvc .card{text-align:left;margin-top:1rem}
.rvc h2{margin:.4rem 0 0}
.rvs{width:110px;height:110px;overflow:visible;display:block;margin:0 auto .4rem}
.rvs .fg{stroke-width:.6}
.rvx{all:unset;cursor:pointer;position:absolute;top:.6rem;right:.9rem;font-size:1.8rem;line-height:1;color:var(--gold);padding:.2rem .5rem}
.rvx:focus-visible{outline:2px solid #f1d27a;border-radius:8px}
.rvc{max-width:560px;background:#f8f2fc;color:#3a2370;border:0;border-radius:32px;box-shadow:0 20px 60px rgba(42,21,86,.55),0 0 0 6px rgba(255,255,255,.18)}
.rvc h2{background:linear-gradient(#7a4ac0,#d4478a);-webkit-background-clip:text;background-clip:text;color:transparent}
.rvc .casa{color:#c2418a}
.rvc .d{color:#6b57a0}
.rvc .card{background:#ebe0f8;border:1px solid #cdb8ee;box-shadow:none;border-radius:24px;color:#3a2370;padding:1.4rem 1.5rem}
.rvc .card h3{color:#23808a;margin:1rem 0 .25rem}
.rvc .card h3:first-child{margin-top:0}
.rvc .card p{font-family:Outfit,sans-serif;font-size:.97rem;line-height:1.65}
.rvc .rtx{margin:.2rem 0 .2rem!important}
.rvc .nm{display:inline-grid;place-items:center;min-width:2.9rem;height:2.9rem;padding:0 .3rem;border-radius:50%;background:linear-gradient(135deg,#6a45b0,#8f6fd0);box-shadow:0 0 0 2px #f4c542;color:#fff3c4;font:600 1.05rem Cinzel,serif;margin:.3rem .35rem 0 0}
.rvc .rvx{color:#7a4ac0}
.rvs .fg{stroke:#7a4ac0;stroke-width:.7;filter:none}
.rvs .st{fill:#d4478a}
.rvs .emb path{fill:rgba(79,192,194,.2)}
#wheel{width:min(96vw,780px)}
.cap{min-height:6rem}
.cap b{display:block;font-size:clamp(1.8rem,6vw,2.8rem);font-weight:700;letter-spacing:.14em;text-transform:uppercase;background:linear-gradient(#fff6cf,#f4c542);-webkit-background-clip:text;background-clip:text;color:transparent;animation:capin .8s ease both}
.cap i{display:block;font-style:normal;color:var(--dim);letter-spacing:.12em;font-size:.9rem;margin-top:.2rem;animation:capin .8s ease .15s both}
@keyframes capin{from{opacity:0;transform:translateY(8px)}}
 
#fly{filter:drop-shadow(0 0 2px rgba(255,200,90,.95))}
#fly circle{fill:#fff6d6}
 
/* Estrellas de cada signo: al elegir uno, sus estrellas se van al centro y desaparecen de su lugar */
.we .st,.we .wd{transition:opacity .9s ease}
.we.sel .st,.we.sel .wd{animation:none;opacity:0;transition:opacity .15s}
.we .wn{fill:rgba(255,217,120,.78);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;text-anchor:middle;transition:fill .4s}
.we.sel .wn{fill:#fff}
 