/* Illary · edición del jardín encantado */
.castle-entry{position:absolute;inset:0;background:linear-gradient(#261f4150,#45273d55),url('assets/castillo-rosas.png') center/cover;pointer-events:none;animation:castleBreathe 18s ease-in-out infinite alternate}
.entry__content{background:linear-gradient(145deg,#fff9eef5,#fff3e5e8);box-shadow:0 0 0 7px #fff4da26,0 0 0 8px #d3b57580,0 25px 90px #1e102c80}
.entry__frame{border-color:#e6c58c}.entry__frame:after{border-color:#e6c58c66}
.storybook-chapter{max-width:1180px;margin:auto;display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:70px;padding:100px 55px;background:radial-gradient(ellipse,#fff5e5d9,transparent 75%)}
.chapter-art{position:relative;max-width:380px;margin:auto;border:8px solid #fff4dd;outline:1px solid #b49357;border-radius:200px 200px 12px 12px;box-shadow:0 20px 55px #67415633;transform:rotate(-3deg);transition:transform .8s}
.chapter-art img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:190px 190px 5px 5px}.chapter-art:hover{transform:rotate(0) translateY(-8px)}
.chapter-seal{position:absolute;bottom:-26px;right:25px;display:grid;place-items:center;width:66px;height:66px;border-radius:50%;background:radial-gradient(circle at 30% 20%,#c77c93,#7d3e59);border:4px double #ecc28e;color:#fff0ce;font:25px Georgia;box-shadow:0 5px 15px #603f4533}
.chapter-copy{text-align:center}.chapter-copy h2{font:500 clamp(36px,4vw,60px)/1.12 'Cormorant Garamond',serif;margin:20px 0;color:#78445a}.chapter-copy h2 em{font-family:Parisienne,cursive;font-weight:400}.chapter-copy p:not(.eyebrow){font:20px/1.8 'Cormorant Garamond',serif;color:#684a4e;max-width:460px;margin:20px auto}.rose-divider{display:block;color:#ad8554;letter-spacing:8px}.chapter-copy .chapter-signature{font-family:Parisienne,cursive!important;font-size:30px!important}
.castle-scene{position:relative;isolation:isolate;overflow:hidden;min-height:650px;display:grid;place-items:center;padding:80px 24px;text-align:center;color:#fff6e6;background:#332941}
.castle-scene:before{content:'';position:absolute;inset:-3%;z-index:-2;background:url('assets/castillo-rosas.png') center/cover;animation:castleBreathe 18s ease-in-out infinite alternate}.castle-scene:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#25172d75,#28192c55,#25172d75)}
.castle-scene__content{max-width:650px;text-shadow:0 2px 20px #170e20}.castle-scene .eyebrow{color:#ffe1a5}.castle-scene h2{font:500 clamp(54px,7vw,94px)/1.05 'Cormorant Garamond',serif;color:#fff6df;margin:25px 0}.castle-scene h2 em{font-family:Parisienne,cursive;color:#ffe4c7}.castle-scene p{font-size:17px;line-height:1.7}
.wish-button{margin-top:28px;padding:16px 28px;border:1px solid #eac58b;border-radius:50px;background:#fff1d915;color:#fff4df;font:14px 'DM Sans',sans-serif;cursor:pointer;backdrop-filter:blur(8px);transition:background .3s,transform .3s}.wish-button:hover{background:#fff1d930;transform:translateY(-3px)}.wish-message{min-height:3.4em;margin-top:16px}.wish-sparks{position:absolute;inset:0;pointer-events:none;overflow:hidden}.wish-star{position:absolute;left:var(--x);top:var(--y);color:#ffe5aa;font-size:var(--size);animation:wishRise 2.2s ease-out forwards;filter:drop-shadow(0 0 7px #ffcf67)}
.gown-medallion{width:180px;height:230px;margin:0 auto 35px;padding:8px;border:1px solid #b49357;border-radius:100px 100px 10px 10px;background:#fff8ed;box-shadow:0 12px 30px #6a345d20;animation:portraitFloat 7s ease-in-out infinite}.gown-medallion img{width:100%;height:100%;object-fit:contain;border-radius:100px 100px 5px 5px}
.aurora-portrait{width:150px;height:200px;padding:8px;margin:0 auto 30px;background:#fff9f1;border:4px double #b49357;border-radius:100px;box-shadow:0 14px 35px #78485c28}.aurora-portrait img{width:100%;height:100%;object-fit:contain;border-radius:90px}
.rsvp:before{display:none}.gallery__item{transition:transform .4s,box-shadow .4s}.gallery__item:hover{transform:translateY(-7px) rotate(.7deg);box-shadow:0 18px 45px #714c3938}.button{transition:transform .3s,box-shadow .3s}.button:hover{transform:translateY(-3px);box-shadow:0 8px 24px #6d3e5726}
@keyframes castleBreathe{from{transform:scale(1)}to{transform:scale(1.06)}}@keyframes portraitFloat{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-9px) rotate(2deg)}}@keyframes wishRise{0%{opacity:0;transform:translateY(30px) scale(.2)}25%{opacity:1}100%{opacity:0;transform:translateY(-100px) scale(1.2) rotate(100deg)}}
@media(max-width:700px){.storybook-chapter{grid-template-columns:1fr;gap:45px;padding:65px 28px}.chapter-art{width:min(70vw,280px)}.chapter-copy h2{font-size:39px}.castle-scene{min-height:590px}.castle-scene:before{background-position:53% center}.castle-entry{background-position:55% center}.entry__content{width:min(80vw,400px)}.gown-medallion{width:155px;height:200px}}
@media(prefers-reduced-motion:reduce){.castle-entry,.castle-scene:before,.gown-medallion,.wish-star{animation:none}.chapter-art,.gallery__item,.button,.wish-button{transition:none}.chapter-art:hover,.gallery__item:hover,.button:hover,.wish-button:hover{transform:none}}
.effects-paused .chapter-art:hover,.effects-paused .gallery__item:hover,.effects-paused .button:hover,.effects-paused .wish-button:hover{transform:none}
