.moonlight-storybook{padding:82px clamp(20px,7vw,110px);background:linear-gradient(155deg,#241546,#432477 48%,#17356e);color:#fff;overflow:hidden}.moonlight-heading{max-width:1050px;margin:0 auto 30px;display:flex;align-items:end;justify-content:space-between;gap:30px}.moonlight-heading h2{font:800 clamp(2.35rem,4vw,3.8rem)/1.02 "Baloo 2";margin:0;color:#fff}.moonlight-heading p:not(.eyebrow){max-width:720px;color:#e9e0ff}.moonlight-heading a{flex:0 0 auto;display:inline-flex;align-items:center;gap:10px;padding:13px 16px;border-radius:14px;background:#ffd84d;color:#17356e;text-decoration:none;font-weight:900;box-shadow:0 6px 0 #c99700}.storybook-shell{position:relative;max-width:780px;margin:auto}.storybook-stars{text-align:center;color:#ffd84d;font-size:1.3rem;letter-spacing:.25rem;margin-bottom:12px}.flipbook{position:relative;perspective:1800px;display:grid;place-items:center;min-height:720px;outline:none}.book-page{position:relative;transform-origin:left center;transform-style:preserve-3d;width:min(100%,540px);background:#fff;padding:9px;border-radius:9px;box-shadow:18px 18px 0 #150c2f,0 25px 60px #09051d99}.book-page:after{content:"";position:absolute;inset:9px auto 9px 9px;width:16px;background:linear-gradient(90deg,#0003,transparent);pointer-events:none}.book-page img{display:block;width:100%;height:auto;border-radius:3px}.book-page.turn-next{animation:turnNext .58s ease-in-out}.book-page.turn-previous{animation:turnPrevious .58s ease-in-out}.page-edge{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:58px;height:86px;border:3px solid #ffffff70;border-radius:22px;background:#ffffff24;color:#fff;font:800 3rem/1 "Baloo 2";backdrop-filter:blur(6px)}.previous-edge{left:0}.next-edge{right:0}.page-edge:disabled{opacity:.28;cursor:not-allowed}.storybook-controls{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;margin-top:18px}.storybook-controls>button{border:2px solid #ffffff60;border-radius:14px;background:#fff;color:#241546;padding:11px 16px;font-weight:900}.storybook-controls>button:disabled{opacity:.4}.storybook-controls>div{text-align:center}.storybook-progress{height:8px;background:#ffffff32;border-radius:99px;margin-top:7px;overflow:hidden}.storybook-progress span{display:block;width:10%;height:100%;background:linear-gradient(90deg,#ffd84d,#ff6fa8);transition:width .25s}.page-dots{display:flex;justify-content:center;gap:7px;margin-top:17px;flex-wrap:wrap}.page-dots button{width:13px;height:13px;padding:0;border:2px solid #fff;border-radius:50%;background:transparent}.page-dots button.active{background:#ffd84d;border-color:#ffd84d;transform:scale(1.2)}.swipe-note{text-align:center;color:#d9cfff;font-size:.9rem;font-weight:800}@keyframes turnNext{0%{transform:rotateY(0)}48%{transform:rotateY(-88deg);filter:brightness(.75)}52%{transform:rotateY(88deg);filter:brightness(.75)}100%{transform:rotateY(0)}}@keyframes turnPrevious{0%{transform:rotateY(0);transform-origin:right center}48%{transform:rotateY(88deg);filter:brightness(.75);transform-origin:right center}52%{transform:rotateY(-88deg);filter:brightness(.75);transform-origin:right center}100%{transform:rotateY(0);transform-origin:right center}}@media(max-width:760px){.moonlight-heading{align-items:flex-start;flex-direction:column}.flipbook{min-height:auto;padding:0 44px}.page-edge{width:42px;height:68px}.previous-edge{left:-3px}.next-edge{right:-3px}.storybook-controls{grid-template-columns:1fr 1fr}.storybook-controls>div{grid-column:1/-1;grid-row:1}.storybook-controls>button{width:100%}.book-page{padding:6px}.book-page:after{inset:6px auto 6px 6px}}@media(prefers-reduced-motion:reduce){.book-page.turn-next,.book-page.turn-previous{animation:none}.storybook-progress span{transition:none}}
