*{box-sizing:border-box} :root{--bg:#090817;--cream:#fff5e9;--muted:#b9afc8;--pink:#f6a8c8;--gold:#f8d99b}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--cream);font-family:'DM Sans',sans-serif;overflow:hidden}
body{background:radial-gradient(ellipse at 50% 48%,#241936 0%,#111022 42%,#080713 100%)}
.grain{position:fixed;inset:-50%;pointer-events:none;z-index:20;opacity:.12;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E")}
.stars{position:fixed;inset:0;pointer-events:none}.star{position:absolute;width:2px;height:2px;border-radius:50%;background:#fff;opacity:.5;animation:twinkle 3s infinite alternate}
@keyframes twinkle{to{opacity:.12;transform:scale(.5)}}
.top-mark{position:fixed;top:28px;left:34px;font-size:12px;letter-spacing:3px;color:var(--gold);z-index:5}.top-mark span{color:#b8afc4;font-size:9px;margin-left:8px}
.counter{position:fixed;right:34px;top:30px;color:#9b91a9;font-size:10px;letter-spacing:2px;z-index:5}
main{height:100svh;position:relative}.scene{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:70px 24px;opacity:0;visibility:hidden;transform:translateY(22px) scale(.985);transition:opacity .9s ease,transform .9s cubic-bezier(.2,.7,.2,1),visibility .9s}
.scene.active{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.eyebrow{font-size:9px;letter-spacing:4px;color:var(--gold);margin:0 0 27px;font-weight:600}
h1,h2{font-family:'Playfair Display',serif;font-weight:500;line-height:1.12;letter-spacing:-1.5px;margin:0;font-size:clamp(40px,7vw,76px)}
h1 em,h2 em{font-weight:500;color:var(--pink)}.sub{color:var(--muted);font-size:14px;letter-spacing:.4px;margin:20px 0 0;line-height:1.7}
.intro-orb{width:130px;height:130px;border-radius:50%;margin-bottom:36px;background:radial-gradient(circle at 35% 30%,#fff4d5,#f4b6ce 18%,#9d6a9d 48%,#302243 70%);box-shadow:0 0 75px #eaa8d544,0 0 150px #8d65c333;animation:float 5s ease-in-out infinite}
@keyframes float{50%{transform:translateY(-12px) scale(1.04);filter:hue-rotate(10deg)}}
.primary,.next{margin-top:40px;border:1px solid #f6d7b76b;background:#fff8ef;color:#211729;border-radius:100px;padding:15px 23px;font:600 11px 'DM Sans';letter-spacing:.6px;cursor:pointer;transition:.3s}
.primary:hover,.next:hover{transform:translateY(-3px);box-shadow:0 10px 35px #f4b6ce33}.primary span,.next span{margin-left:16px;font-size:16px}
.scroll-note{position:absolute;bottom:34px;font-size:8px;letter-spacing:3px;color:#82788f}
.moon-wrap{height:190px;width:220px;position:relative;margin-bottom:28px;display:grid;place-items:center}.moon{width:116px;height:116px;border-radius:50%;background:linear-gradient(135deg,#fff2cf,#d6b5d2 70%);box-shadow:0 0 70px #e9c7e455;position:relative}.moon:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;background:#171329;left:28px;top:-12px}
.orbit{position:absolute;border:1px solid #e9c5df45;border-radius:50%;width:190px;height:90px;transform:rotate(-28deg)}.orbit-b{transform:rotate(52deg);width:205px;height:100px}
.flower-scene{height:230px;width:230px;position:relative;margin-bottom:12px}.stem{position:absolute;width:3px;height:140px;background:linear-gradient(#80a78d,#426d67);left:114px;top:90px;border-radius:4px}.leaf{position:absolute;width:52px;height:25px;background:linear-gradient(130deg,#8eb69a,#3d766b);top:165px}.leaf-left{left:67px;border-radius:100% 0 100% 0;transform:rotate(18deg)}.leaf-right{left:114px;border-radius:0 100% 0 100%;transform:rotate(-18deg)}
.flower{position:absolute;left:79px;top:32px;width:72px;height:72px;animation:float 4s infinite}.flower i{position:absolute;width:26px;height:37px;border-radius:50%;background:linear-gradient(#ffe4b2,#e98eb5);left:23px;top:0;transform-origin:13px 36px}.flower i:nth-child(2){transform:rotate(45deg)}.flower i:nth-child(3){transform:rotate(90deg)}.flower i:nth-child(4){transform:rotate(135deg)}.flower i:nth-child(5){transform:rotate(180deg)}.flower i:nth-child(6){transform:rotate(225deg)}.flower i:nth-child(7){transform:rotate(270deg)}.flower i:nth-child(8){transform:rotate(315deg)}.flower b{position:absolute;width:23px;height:23px;border-radius:50%;background:#f9d58f;left:24px;top:24px;box-shadow:0 0 20px #f9d58f88}
.spark{position:absolute;color:var(--gold);font-size:22px;animation:twinkle 2s infinite alternate}.s1{top:30px;left:25px}.s2{top:100px;right:18px}.s3{bottom:20px;left:38px}
.wish-cloud{height:180px;width:min(550px,90vw);position:relative;margin-bottom:20px}.w{position:absolute;padding:11px 18px;border:1px solid #e8c5dd55;border-radius:50px;color:#f4d9e7;font-family:'Playfair Display';font-style:italic;font-size:clamp(16px,2.5vw,23px);background:#ffffff08;backdrop-filter:blur(8px);animation:float 5s ease-in-out infinite}.w1{top:5px;left:10%}.w2{top:28px;right:8%;animation-delay:.6s}.w3{top:78px;left:28%;animation-delay:1s}.w4{top:120px;right:5%;animation-delay:.3s}.w5{top:115px;left:8%;animation-delay:1.3s}.w6{top:58px;right:30%;animation-delay:.8s}
.finale{background:radial-gradient(ellipse at 50% 75%,#4b274b55,transparent 48%)}
.cake-wrap{height:180px;width:230px;position:relative;margin-bottom:16px;display:flex;align-items:flex-end;justify-content:center;padding-bottom:22px}.cake-plate{position:absolute;bottom:13px;width:190px;height:13px;border-radius:50%;background:linear-gradient(#f5d7d9,#987b9c);box-shadow:0 8px 20px #0007}.cake-layer{position:absolute;left:44px;width:142px;border-radius:12px 12px 8px 8px;background:linear-gradient(90deg,#b86d91,#f2b5c5 48%,#b66a8e);box-shadow:inset 0 -8px 0 #9d587d}.layer-one{height:53px;bottom:27px}.layer-two{height:43px;bottom:78px;width:125px;left:52px;background:linear-gradient(90deg,#e7b5be,#fff0d4 50%,#d88ea8)}.cake-top{position:absolute;bottom:115px;left:52px;width:125px;height:15px;border-radius:50%;background:#fff0d8}.candle{position:absolute;z-index:2;bottom:128px;left:111px;width:8px;height:36px;background:repeating-linear-gradient(45deg,#fff 0 5px,#d88ab0 5px 9px);border-radius:3px}.flame{position:absolute;top:-18px;left:-3px;width:14px;height:20px;background:radial-gradient(ellipse at 50% 70%,#fff7b0 0 20%,#ffc15e 50%,#fa7c57 75%,transparent 78%);border-radius:50% 50% 50% 0;transform:rotate(-45deg);filter:drop-shadow(0 0 10px #ffb45d);animation:flicker .5s infinite alternate}
@keyframes flicker{to{transform:rotate(-38deg) scale(.88)}}
.birthday{font-size:clamp(38px,7vw,72px)}.birthday em{display:block;font-size:.58em;color:var(--pink);margin-top:8px}.final-message{max-width:440px;color:var(--muted);line-height:1.8;font-size:13px;margin:19px 0 0}.signature{margin-top:22px;font-family:'Playfair Display';font-style:italic;color:#e8cbdc;font-size:16px}.signature span{color:#f3a5c2;margin-left:6px}
.replay{margin-top:26px}.sound-toggle{background:none;border:0;color:#a89bb5;font:10px 'DM Sans';letter-spacing:1px;margin-top:12px;cursor:pointer}.progress{position:fixed;bottom:0;left:0;width:100%;height:2px;background:#ffffff14;z-index:30}.progress span{display:block;height:100%;width:20%;background:linear-gradient(90deg,#c58cbd,#f6d59b);transition:width .8s}
@media(max-width:600px){.top-mark{top:20px;left:18px}.counter{top:22px;right:18px}.scene{padding:65px 22px}.sub{font-size:12px}.wish-cloud{transform:scale(.88)}.birthday{font-size:43px}}
