@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');
:root{--ink:#56364d;--pink:#f5a8c5;--deep:#c95f91;--lav:#c9b9f3;--cream:#fff8f5;--mint:#dff3ee;--shadow:0 18px 55px #a96a8b20}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;color:var(--ink);font-family:'DM Sans',sans-serif;background:radial-gradient(circle at 15% 15%,#fff 0,transparent 26%),linear-gradient(140deg,#fff0f5,#f4edff 52%,#e9f8f4);overflow-x:hidden}
button,a,input{font:inherit}button{cursor:pointer}.ambient{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;color:#e98ab4}.ambient span{position:absolute;animation:float 12s linear infinite;opacity:.35;font-size:clamp(18px,4vw,32px)}.ambient span:nth-child(1){left:7%;top:18%}.ambient span:nth-child(2){left:86%;top:12%;animation-delay:-3s}.ambient span:nth-child(3){left:75%;top:68%;animation-delay:-5s}.ambient span:nth-child(4){left:18%;top:76%;animation-delay:-7s}.ambient span:nth-child(5){left:48%;top:9%;animation-delay:-2s}.ambient span:nth-child(6){left:92%;top:44%;animation-delay:-8s}.ambient span:nth-child(7){left:38%;top:83%;animation-delay:-4s}
@keyframes float{0%{transform:translateY(20px) rotate(0)}50%{transform:translateY(-35px) rotate(18deg)}100%{transform:translateY(20px) rotate(0)}}
.topbar{height:62px;position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(16px,5vw,56px);border-bottom:1px solid #e9cbdc66;background:#fff8f5b8;backdrop-filter:blur(12px)}.brand{text-decoration:none;color:var(--deep);font-weight:700;letter-spacing:.02em}.brand span{color:var(--ink);font-size:13px}.top-actions{display:flex;align-items:center;gap:14px}.step-count{font-size:11px;letter-spacing:.12em;color:#9a7890}.music-btn{border:1px solid #edc6d9;border-radius:30px;background:#fff;padding:8px 13px;color:var(--deep);font-size:12px}
main{position:relative;z-index:1;min-height:calc(100svh - 132px)}.screen{display:none;min-height:calc(100svh - 132px);padding:42px 20px 95px;max-width:900px;margin:auto;text-align:center;position:relative;animation:screenIn .65s ease both}.screen.active{display:flex;flex-direction:column;align-items:center;justify-content:center}@keyframes screenIn{from{opacity:0;transform:translateY(16px) scale(.99)}to{opacity:1;transform:none}}
h1,h2{font-family:'Playfair Display',serif;font-weight:500;line-height:1.08;margin:10px 0 12px}h1{font-size:clamp(42px,9vw,76px)}h2{font-size:clamp(32px,7vw,52px)}em{color:#cf6798;font-weight:500}.eyebrow,.section-kicker{font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:#b36b94;font-weight:700}.lead,.section-intro{max-width:520px;color:#886e82;line-height:1.7;font-size:14px;margin:8px auto 22px}.script{font-family:'Playfair Display',serif;font-style:italic;color:#b16d96;margin:0}.hero-content{max-width:580px;position:relative;z-index:1}.hero-heart{font-size:70px;color:#e77eaa;text-shadow:0 0 25px #f7a7c9;animation:heartbeat 1.7s infinite;margin:16px auto 8px}@keyframes heartbeat{50%{transform:scale(1.13)}}.primary{border:0;border-radius:40px;padding:14px 23px;color:white;background:linear-gradient(110deg,#e78bb2,#aa8de1);box-shadow:0 9px 24px #cb83b34a;font-weight:700;font-size:13px;transition:.25s}.primary:hover{transform:translateY(-2px);box-shadow:0 13px 28px #cb83b366}.primary:disabled{opacity:.45;cursor:not-allowed;transform:none}.tiny-note{font-size:10px;letter-spacing:.12em;color:#a9879d;margin-top:20px}.corner-bear{position:absolute;font-size:clamp(40px,8vw,72px);bottom:9%;animation:bob 3s ease-in-out infinite}.bear-pink{left:7%}.bear-lav{right:7%;animation-delay:-1.5s}@keyframes bob{50%{transform:translateY(-12px) rotate(5deg)}}
.storybook,.parade-stage,.candy-card,.game-card,.reason-card,.calendar-card{width:min(100%,620px);border:1px solid #f0d5e3;border-radius:28px;background:#fffafcdd;box-shadow:var(--shadow);padding:24px;position:relative;overflow:hidden}.couple-scene{display:flex;align-items:end;justify-content:center;gap:20px;padding:15px 0 20px}.bear-character{width:125px;height:145px;border-radius:48% 48% 38% 38%;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;box-shadow:inset 0 -9px #00000008;animation:bob 2.8s infinite}.bear-character:before,.bear-character:after{content:"";position:absolute;top:-10px;width:40px;height:40px;border-radius:50%;z-index:-1}.bear-character:before{left:5px}.bear-character:after{right:5px}.arjun-bear{background:#d9a15f;color:#68432e}.arjun-bear:before,.arjun-bear:after{background:#d9a15f}.jaanu-bear{background:#fff;color:#c76d92;border:1px solid #eee}.jaanu-bear:before,.jaanu-bear:after{background:#fff;border:1px solid #eee}.bear-face{font-size:45px}.bear-character span{font-size:12px;font-weight:700;margin-top:8px}.heart-bridge{font-size:38px;color:#e77eaa;align-self:center;animation:heartbeat 1.5s infinite}.scene-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.soft-btn{border:1px solid #edc4d9;background:#fff;border-radius:30px;padding:10px 16px;color:#a85e87;font-size:12px;font-weight:700}.scene-reaction{min-height:26px;margin-top:14px;color:#ba6592;font-family:'Playfair Display',serif;font-style:italic}.small-love{font-family:'Playfair Display',serif;font-style:italic;color:#a36c8d;margin:18px 0 0}.memory-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:min(100%,620px);margin-top:18px}.memory-gallery figure{margin:0;background:#fff;border:1px solid #f1d7e4;padding:8px;border-radius:18px;box-shadow:var(--shadow)}.memory-gallery img{width:100%;height:180px;object-fit:cover;object-position:center;border-radius:12px}.memory-gallery figcaption{font-size:10px;color:#9b748b;padding:8px 3px 3px}.memory-gallery.single{margin:18px auto}.memory-gallery.single img{height:155px;object-fit:contain;background:#fff7e6}
.letter-wrap{width:min(100%,660px);display:flex;flex-direction:column;align-items:center;gap:14px}.envelope{width:min(100%,570px);height:300px;position:relative;cursor:pointer;perspective:1000px;margin:10px auto}.envelope-back{position:absolute;inset:0;border-radius:12px;background:#ef9cbd;box-shadow:var(--shadow)}.envelope-front{position:absolute;inset:0;background:linear-gradient(145deg,#f8b4ce,#e78db1);clip-path:polygon(0 35%,50% 78%,100% 35%,100% 100%,0 100%);border-radius:0 0 12px 12px}.envelope-flap{position:absolute;inset:0 0 auto;height:75%;background:#f5b1ca;clip-path:polygon(0 0,100% 0,50% 72%);transform-origin:top;transition:transform .8s;z-index:4}.wax-seal{position:absolute;z-index:5;top:48%;left:50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:50%;background:#c95f91;color:white;display:grid;place-items:center;font-family:serif;box-shadow:0 3px 10px #94456555;transition:.4s}.letter-paper{position:absolute;z-index:2;left:5%;width:90%;top:12px;height:276px;overflow:auto;background:#fffdfb;border-radius:8px;padding:20px 22px;text-align:left;box-shadow:0 4px 15px #7c4d6420;transition:transform .9s cubic-bezier(.2,.8,.2,1),height .9s}.letter-copy{font-family:'Playfair Display',serif;font-size:13px;line-height:1.62;color:#65475a}.letter-copy p{margin:0 0 12px}.letter-copy p:first-child{font-weight:700;font-size:16px}.letter-stamp{float:right;color:#e28bb0;font-size:23px}.envelope.open .envelope-flap{transform:rotateX(180deg);z-index:1}.envelope.open .wax-seal{opacity:0;transform:translate(-50%,-30%) scale(.4)}.envelope.open .letter-paper{transform:translateY(-30px);height:min(68vh,600px);z-index:6}.hint{font-size:11px;color:#a48699}
.parade-row{display:flex;justify-content:center;gap:clamp(8px,3vw,24px);font-size:clamp(34px,8vw,60px);padding:10px}.pal{animation:bob 2.4s infinite}.pal:nth-child(even){animation-delay:-1s}.pal small{display:block;font-size:10px;color:#9b718b}.parade-banner{background:#fce1ed;border-radius:30px;padding:12px;color:#b35f8c;letter-spacing:.18em;font-size:11px;font-weight:700;margin:15px auto}.flower-field{font-size:25px;letter-spacing:5px;margin:15px}.sparkle-burst{min-height:28px;color:#d77ca7;margin-top:12px}
.candy-card{padding:28px 20px}.lollipop{width:138px;height:138px;border-radius:50%;margin:4px auto 0;position:relative;border:8px solid white;background:repeating-conic-gradient(#f78bb4 0 18deg,#fff1f7 18deg 36deg,#b99be8 36deg 54deg,#fff1f7 54deg 72deg);box-shadow:0 7px 20px #b56d963d;animation:spinCandy 16s linear infinite}.lollipop:after{content:"";position:absolute;top:124px;left:56px;width:10px;height:110px;border-radius:8px;background:linear-gradient(90deg,#e5d5e5,#fff)}.candy-shine{position:absolute;top:24px;left:27px;width:22px;height:9px;border-radius:50%;background:#fff9;transform:rotate(-35deg)}@keyframes spinCandy{to{transform:rotate(360deg)}}.candy-card p{margin:38px 0 17px;color:#956d87;font-family:'Playfair Display',serif;font-style:italic}.candy-spark{position:absolute;color:#e58ab1;font-size:25px}.s1{top:35px;left:18%}.s2{top:90px;right:16%}.s3{top:190px;left:15%}.candy-photo{display:block;width:150px;height:150px;object-fit:cover;border-radius:20px;margin:22px auto 0;border:5px solid white;box-shadow:var(--shadow)}
.game-card{padding:20px}.score-line{display:flex;justify-content:space-between;font-size:12px;color:#98778d}.score-line strong{color:#c45f91}.progress-track{height:8px;background:#f6e3ec;border-radius:20px;margin:10px 0 18px;overflow:hidden}.progress-track div{height:100%;width:0;background:linear-gradient(90deg,#e88db4,#ac93e4);transition:width .3s}.heart-playground{height:260px;background:linear-gradient(150deg,#fff0f6,#f1edff);border-radius:20px;position:relative;overflow:hidden}.game-cloud{position:absolute;top:15px;width:100%;color:#d59ab8}.collect-heart{position:absolute;border:0;background:transparent;color:#e778a5;font-size:34px;text-shadow:0 3px 8px #c66b9340;animation:heartBob 2s ease-in-out infinite}.collect-heart:active{transform:scale(1.3)}.collect-heart.hidden{display:none}.h1{left:12%;top:27%}.h2{left:40%;top:18%;animation-delay:-.5s}.h3{right:13%;top:32%;animation-delay:-1s}.h4{left:27%;bottom:17%;animation-delay:-1.4s}.h5{right:30%;bottom:14%;animation-delay:-.8s}@keyframes heartBob{50%{transform:translateY(-10px) rotate(9deg)}}.game-instruction{position:absolute;bottom:10px;width:100%;font-size:11px;color:#a37c98}.game-card>.primary{margin-top:16px}
.question-heart{font-size:68px;color:#e78bb3;text-shadow:0 0 28px #f4b1ce;animation:heartbeat 1.5s infinite}.answer-box{display:flex;flex-direction:column;gap:15px;align-items:center}.yes-btn{min-width:180px;font-size:16px}.no-btn{border:1px solid #e9d4df;background:#fff8fb;color:#b79baa;border-radius:30px;padding:11px 28px;opacity:.55;cursor:not-allowed}.answer-box p{font-size:12px;color:#a17d94}
.reason-card{padding:30px 22px}.reason-number{font-size:11px;letter-spacing:.2em;color:#b27b9d}.reason-icon{font-size:48px;margin:12px}.reason-text{font-family:'Playfair Display',serif;font-size:clamp(19px,4vw,25px);line-height:1.5;color:#805b76;min-height:78px}.reason-dots{display:flex;justify-content:center;gap:7px;margin:15px}.reason-dots i{width:6px;height:6px;border-radius:50%;background:#ead5e2}.reason-dots i.on{background:#d879a4;transform:scale(1.4)}
.calendar-card{max-width:430px;padding:30px}.calendar-icon{font-size:45px;margin-bottom:12px}.calendar-card label{display:block;font-size:12px;font-weight:700;color:#956b86;margin-bottom:9px}.calendar-card input{width:100%;padding:13px;border:1px solid #edcddd;border-radius:14px;background:#fff;color:#65475a}.date-note,.saved-date{font-size:12px;color:#a17d94;line-height:1.5;min-height:18px}.saved-date{color:#bd5f90;font-weight:700}
.final-screen{background:radial-gradient(ellipse at 50% 40%,#fff9fcaa,transparent 65%);border-radius:30px}.final-balloons{font-size:clamp(26px,6vw,44px);animation:bob 3s infinite}.cake{font-size:76px;margin:12px}.final-screen h1{font-size:clamp(42px,9vw,70px)}.final-message{max-width:530px;font-family:'Playfair Display',serif;font-size:17px;line-height:1.65;color:#88677e}.final-sign{font-family:'Playfair Display',serif;font-style:italic;line-height:1.8;color:#9c6e8a}.final-sign strong{font-size:20px;color:#c45f91}.final-pals{font-size:32px;margin:16px}
.walker-strip{height:36px;position:fixed;bottom:46px;left:0;right:0;z-index:4;display:flex;align-items:center;justify-content:space-around;overflow:hidden;background:linear-gradient(90deg,#fff5f8aa,#f3edffbb);border-top:1px solid #e9cbdc55}.walker-strip span{font-size:22px;animation:walk 2s ease-in-out infinite alternate}.walker-strip span:nth-child(even){animation-delay:-.8s}@keyframes walk{to{transform:translateY(-5px) translateX(5px)}}
.bottom-nav{height:46px;position:fixed;bottom:0;left:0;right:0;z-index:6;display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:#fffaf4ee;border-top:1px solid #ead4df}.bottom-nav button{border:0;background:transparent;color:#b35f8c;font-size:12px;font-weight:700;padding:9px}.bottom-nav button:disabled{opacity:.35}.bottom-nav span{font-size:10px;color:#a7899d;letter-spacing:.06em}.toast{position:fixed;z-index:20;bottom:95px;left:50%;transform:translate(-50%,15px);background:#69475f;color:white;padding:11px 18px;border-radius:30px;font-size:12px;opacity:0;pointer-events:none;transition:.3s;max-width:90%;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:700px){.screen{padding-top:55px}.letter-screen{padding-bottom:120px}.envelope{height:320px}.letter-paper{height:295px}.memory-gallery img{height:210px}}
@media(max-width:480px){.topbar{height:56px;padding:0 13px}.brand span{font-size:11px}.step-count{font-size:9px}.music-btn{padding:7px 10px}.screen{padding:32px 15px 100px;min-height:calc(100svh - 122px)}.hero-heart{font-size:60px}.corner-bear{bottom:5%}.storybook,.parade-stage,.candy-card,.game-card,.reason-card,.calendar-card{padding:19px 15px;border-radius:22px}.bear-character{width:105px;height:125px}.bear-face{font-size:37px}.memory-gallery img{height:140px}.memory-gallery figcaption{font-size:9px}.envelope{height:255px}.letter-paper{height:235px;padding:16px}.letter-copy{font-size:11px}.envelope.open .letter-paper{height:min(65vh,560px)}.parade-row{gap:9px}.pal small{font-size:8px}.bottom-nav{padding:0 9px}.bottom-nav span{font-size:9px}.walker-strip{bottom:46px}.final-message{font-size:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
