@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&family=Caveat:wght@400;500&family=Playfair+Display:ital,wght@0,500;1,500&display=swap";:root{font-family:DM Sans,sans-serif;color:#50374e;background:#f5efeb;font-synthesis:none;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0}.message-section{max-width:1230px;min-height:100svh;margin:auto;padding:100px 65px;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:100px}h1{margin:0 0 36px;font-family:Playfair Display,Georgia,serif;font-size:clamp(52px,5.6vw,78px);font-weight:500;line-height:1.12;letter-spacing:-2.8px}h1 em{color:#a54765;font-weight:500}.message-body{max-width:455px}.message-body p{font-size:15px;line-height:1.95;color:#7d6777;margin:0 0 20px}.signature{font-family:Caveat,cursive;font-size:30px;color:#a54765;margin:30px 0 0}.photo-frame{padding:13px;background:#fff9f1;box-shadow:0 20px 55px #50374e16;rotate:3deg;position:relative}.photo-frame:before{content:"";position:absolute;inset:20px -20px -20px 20px;background:#d7d0e2;z-index:-1;rotate:-6deg}.photo-frame>img,.photo-placeholder{width:100%;aspect-ratio:4 / 5;object-fit:cover;display:block}.photo-placeholder{position:relative;overflow:hidden;background:#edd6d5}.sun{position:absolute;width:28%;aspect-ratio:1;background:#f9e9ca;border-radius:50%;top:17%;right:18%}.hill{position:absolute;width:150%;height:65%;border-radius:50% 50% 0 0}.hill-back{top:55%;left:-50%;background:#bda5bd;rotate:16deg}.hill-front{top:72%;left:0;background:#82617c;rotate:-18deg}.placeholder-label{position:absolute;bottom:25px;width:100%;text-align:center;font-family:Caveat,cursive;color:#f9e9df;font-size:23px}.video-section{padding:90px 6%;background:#50374e}.video-frame{max-width:1060px;margin:auto}.video-frame video{display:block;width:100%;max-height:85svh;background:#30232f;border-radius:5px}.video-placeholder{aspect-ratio:16 / 9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;border:1px solid #ffffff16;border-radius:5px;background:radial-gradient(ellipse at 25% 80%,#89657e,transparent 75%),#382938;color:#edd6d5}.play-symbol{border:1px solid #edd6d54d;border-radius:50%;width:68px;height:68px;display:grid;place-items:center;padding-left:4px;font-size:22px}.video-placeholder p{font-size:12px}@media(max-width:950px){.message-section{padding:80px 7%;gap:55px}.message-body p{font-size:14px}}@media(max-width:650px){.message-section{min-height:auto;grid-template-columns:1fr;padding:65px 8% 75px;gap:45px}h1{font-size:54px;letter-spacing:-2px;margin-bottom:30px}.message-body p{font-size:14px;line-height:1.9}.signature{margin-top:22px}.photo-frame{width:85%;max-width:360px;justify-self:center;padding:10px}.video-section{padding:50px 6%}.play-symbol{width:50px;height:50px;font-size:16px}}.gift-section{overflow:hidden;padding-top:45px;padding-bottom:35px}.gift-introduction{text-align:center;color:#f9e9df;margin-bottom:30px}.gift-heading{font-family:Playfair Display,Georgia,serif;font-size:clamp(28px,3vw,40px);margin:0 0 15px;letter-spacing:-1px}.gift-hint{font-size:12px;line-height:1.7;color:#d5b8cb;margin:0}.gift-stage{position:relative;max-width:1060px;margin:auto;--stage-height: clamp(360px, calc(100svh - 230px) , 760px);height:var(--stage-height);isolation:isolate}.gift-button{position:absolute;bottom:0;left:50%;translate:-50% 0;width:240px;height:225px;padding:0;border:0;background:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent;color:#50374e}.gift-button:focus-visible{outline:2px solid #edd6d5;outline-offset:12px;border-radius:12px}.gift-button:disabled{cursor:default}.gift-base{position:absolute;bottom:0;left:15px;width:210px;height:150px;border-radius:0 0 8px 8px;background:linear-gradient(90deg,#d8b1c0,#edd6d5 55%,#d8b1c0);box-shadow:0 16px 35px #25172333,inset 0 6px 8px #80536c30;z-index:3}.gift-base:before,.gift-lid:before{content:"";position:absolute;left:calc(50% - 19px);top:0;width:38px;height:100%;background:linear-gradient(90deg,#8d687f,#b28da4 50%,#8d687f)}.gift-tag{position:absolute;right:16px;top:50px;padding:9px 13px;background:#fff5e9;font-family:Caveat,cursive;font-size:20px;rotate:-12deg;box-shadow:0 2px 5px #50374e1a}.gift-lid{position:absolute;bottom:145px;left:5px;width:230px;height:45px;border-radius:5px;background:linear-gradient(90deg,#e1bdca,#f3dddd 55%,#dfbac7);box-shadow:0 4px 5px #50374e25;z-index:4;transition:transform .65s cubic-bezier(.22,1,.36,1),opacity .5s}.bow{position:absolute;bottom:40px;width:65px;height:42px;border:12px solid #b28da4;box-shadow:inset 0 1px 4px #50374e33,0 1px 3px #50374e22}.bow-left{right:50%;border-radius:55% 65% 0;rotate:20deg;transform-origin:bottom right}.bow-right{left:50%;border-radius:65% 55% 65% 0;rotate:-20deg;transform-origin:bottom left}.bow-knot{position:absolute;width:30px;height:27px;background:#9b758f;border-radius:8px;top:-14px;left:calc(50% - 15px)}.gift-glow{position:absolute;inset:0 -60px -30px;background:radial-gradient(ellipse,#e8b7c52b,transparent 70%);border-radius:50%}@media(hover:hover){.gift-button:not(:disabled):hover .gift-lid{transform:translateY(-8px) rotate(-3deg)}}.is-open .gift-lid{animation:open-gift-lid 1.1s cubic-bezier(.22,1,.36,1) both}@keyframes open-gift-lid{0%{transform:translate(0) rotate(0);opacity:1}20%{transform:translate(-6px,-6px) rotate(-5deg);opacity:1}55%{transform:translate(30px,-110px) rotate(15deg);opacity:1}to{transform:translate(100px,-190px) rotate(32deg);opacity:0}}.gift-video{position:absolute;bottom:205px;left:50%;translate:-50% 0;width:min(100%,calc((var(--stage-height) - 225px) * 1.777778));z-index:2;transform-origin:center bottom;padding:8px;border-radius:9px;background:#e8d5df;box-shadow:0 12px 45px #261a2a40;animation:unwrap-video 1.6s .45s cubic-bezier(.22,1,.36,1) both}.gift-video video{aspect-ratio:16 / 9;max-height:none}@keyframes unwrap-video{0%{opacity:0;transform:translateY(95px) scale(.08) rotate(-6deg)}15%{opacity:1}65%{opacity:1;transform:translateY(-12px) scale(1.02) rotate(1deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(0)}}.gift-sparkles{position:absolute;left:50%;bottom:160px;width:0;height:0;pointer-events:none;z-index:6}.gift-sparkles span{position:absolute;left:-12px;bottom:0;color:#ffe2ae;text-shadow:0 0 18px #ffd9b0;font-size:34px;opacity:0;animation:gift-sparkle 2.1s calc(.35s + var(--i) * .07s) ease-out both}@keyframes gift-sparkle{0%{opacity:0;transform:translate(0) scale(.2)}18%{opacity:1}65%{opacity:1}to{opacity:0;transform:translate(var(--x),var(--y)) rotate(60deg) scale(1.2)}}@media(max-width:650px){.gift-stage{--stage-height: clamp(360px, calc(100svh - 220px) , 560px)}.gift-button{scale:.85;transform-origin:center bottom}.gift-introduction{margin-bottom:35px}.gift-hint{font-size:11px}.gift-section{padding-bottom:50px}}@media(max-width:650px){.gift-video{bottom:190px;padding:5px}}
