*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-rounded,"Segoe UI",Arial,sans-serif;color:#35263e;background:#fff9fc}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}
:root{--pink:#ff4f9d;--vio:#7458ff;--muted:#7e7083;--line:rgba(80,50,80,.13);--shadow:0 24px 70px rgba(75,36,70,.14)}
.topbar{height:76px;padding:0 4vw;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:40;background:#ffffffdc;backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.brand{display:flex;gap:8px;align-items:baseline;font-size:22px}.brand small{font-size:11px;color:var(--muted)}.mark{width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,var(--pink),#ffab5d);display:grid;place-items:center;color:#fff}.topActions{display:flex;gap:10px}
.primary,.ghost{border:0;border-radius:999px;padding:12px 18px;font-weight:900;transition:.22s}.primary{background:linear-gradient(135deg,var(--pink),#ff7b58);color:#fff;box-shadow:0 10px 24px #e94d9033}.ghost{background:#fff;border:1px solid var(--line);color:#35263e}.primary:hover,.ghost:hover{transform:translateY(-2px)}.big{padding:15px 24px;font-size:16px}
.hero{min-height:calc(100vh - 76px);padding:6vw;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;overflow:hidden;background:radial-gradient(circle at 13% 8%,#fff0a5 0 7%,transparent 23%),radial-gradient(circle at 92% 10%,#ffd0e9 0 9%,transparent 24%),linear-gradient(135deg,#fff8f0,#fff0f8 55%,#eef6ff)}.heroCopy{max-width:720px}.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:1000;color:#e4408c}.hero h1{font-size:clamp(48px,7vw,88px);line-height:.96;letter-spacing:-.055em;margin:16px 0 22px}.hero h1 em{font-style:normal;color:var(--pink)}.hero p{font-size:18px;line-height:1.7;color:var(--muted)}.heroButtons{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.heroVisual{min-height:540px;position:relative;display:grid;place-items:center;perspective:1200px}.orb{position:absolute;width:68px;height:68px;border-radius:22px;background:#ffffffdf;display:grid;place-items:center;font-size:30px;box-shadow:var(--shadow);animation:orb 3s ease-in-out infinite}.o1{left:8%;top:18%}.o2{right:13%;top:12%;animation-delay:.5s}.o3{right:7%;bottom:22%;animation-delay:1s}.o4{left:14%;bottom:12%;animation-delay:1.5s}@keyframes orb{50%{transform:translateY(-15px) rotate(4deg)}}
.gift3d{width:280px;height:240px;position:relative;transform-style:preserve-3d;transform:rotateX(-12deg) rotateY(28deg);transition:.2s}.floaty{animation:gfloat 3s ease-in-out infinite}@keyframes gfloat{50%{transform:rotateX(-8deg) rotateY(34deg) translateY(-14px)}}.gift3d.large{width:330px;height:285px}.gift3d.huge{width:min(390px,72vw);height:330px;margin:30px auto}.boxbody{position:absolute;inset:60px 0 0;border-radius:18px;background:linear-gradient(145deg,#ff79b9,#ff4f9d);box-shadow:inset 0 10px 24px #ffffff55,inset 0 -16px 30px #841b551e,0 35px 55px #60254c3d;background-size:cover;background-position:center;overflow:hidden}.boxbody span{position:absolute;inset:0;display:grid;place-items:center;color:white;font-size:28px;font-weight:1000;text-shadow:0 3px 9px #5a173c66}.boxside{position:absolute;top:60px;bottom:0;right:-70px;width:70px;border-radius:0 18px 18px 0;background:#d93a85;transform-origin:left;transform:rotateY(90deg);opacity:.75}.boxlid{position:absolute;left:-12px;right:-12px;top:38px;height:76px;border-radius:18px;background:linear-gradient(145deg,#ff9dcc,#ff5ba4);box-shadow:0 13px 20px #74254f33;transform:translateZ(16px)}.boxlid i{position:absolute;left:50%;top:0;bottom:0;width:42px;transform:translateX(-50%);background:#ffd966aa}.boxlid b{position:absolute;left:50%;top:-42px;transform:translateX(-50%) rotate(90deg);font-size:78px;color:#ffd966}
.builder{min-height:calc(100vh - 76px);display:grid;grid-template-columns:250px 1fr;background:#f8f5fa}.steps{padding:28px 18px;border-right:1px solid var(--line);background:white;position:sticky;top:76px;height:calc(100vh - 76px)}.step{width:100%;border:0;background:transparent;padding:12px;border-radius:16px;text-align:left;font-weight:800;color:var(--muted);display:flex;gap:10px;align-items:center}.step b{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:#f5eef4}.step.active{background:#fff0f7;color:#d53a82}.step.active b{background:linear-gradient(135deg,var(--pink),#ff8f62);color:white}.workspace{padding:34px}.panel{max-width:1200px;margin:0 auto;background:white;border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:0 16px 45px #44233e0d}.panel h2{font-size:34px;margin:8px 0}.panel p{color:var(--muted);line-height:1.6}.recipientGrid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:24px}.recipient{border:1px solid var(--line);background:white;border-radius:20px;padding:18px 10px;text-align:center;font-weight:900}.recipient span{display:block;font-size:30px;margin-bottom:8px}.recipient.selected{background:#fff0f7;border-color:#ff88b9;color:#d73b83}.formGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:26px}label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:800;color:#66566c}input,select,textarea{border:1px solid var(--line);border-radius:14px;padding:13px 14px;background:white;outline:none}input:focus,select:focus,textarea:focus{border-color:#ff7fb5;box-shadow:0 0 0 4px #ffedf5}.navRow{display:flex;justify-content:flex-end;gap:10px;margin-top:28px}
.designer{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;margin-top:22px}.stage{min-height:480px;border-radius:24px;background:linear-gradient(145deg,#fdf1f7,#edf7ff);display:grid;place-items:center;perspective:1200px;overflow:hidden}.stage p{align-self:end;position:absolute;font-size:12px}.controls{display:flex;flex-direction:column;gap:14px}.swatches{display:flex;gap:8px;flex-wrap:wrap}.swatch{width:34px;height:34px;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px var(--line)}.templates{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.template{height:70px;border-radius:14px;border:1px solid var(--line);background-size:cover}
.titleRow{display:flex;justify-content:space-between;gap:20px}.cart{background:#fff0f7;color:#d83d83;border-radius:999px;padding:10px 14px;font-weight:900;height:max-content}.catalogTools{display:grid;grid-template-columns:1fr 220px auto;gap:10px;margin:20px 0}.catalog{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;max-height:64vh;overflow:auto;padding-right:6px}.giftCard{border:1px solid var(--line);border-radius:20px;padding:16px;display:flex;flex-direction:column;min-height:205px;background:linear-gradient(145deg,#fff,#fffafd);transition:.22s}.giftCard:hover{transform:translateY(-4px);box-shadow:0 14px 30px #552d4d1a}.giftEmoji{font-size:42px}.giftCard h4{margin:8px 0 5px}.giftCard p{font-size:12px;margin:0 0 12px}.giftCard button{margin-top:auto}
.drawLayout{display:grid;grid-template-columns:260px 1fr;gap:18px;margin-top:22px}.drawTools{display:flex;flex-direction:column;gap:12px}.toolRow{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.tool{border:1px solid var(--line);background:#fff;border-radius:12px;padding:9px;font-weight:800}.tool.active{background:#fff0f7;color:#d83982}.canvasViewport{min-height:600px;overflow:hidden;border-radius:24px;background:#e7e7ed;position:relative;touch-action:none}.paperTransform{width:100%;height:100%;display:grid;place-items:center;transform-origin:center}.paperTransform canvas{width:min(88%,900px);height:auto;background:#fff;box-shadow:0 20px 60px #2121283d;touch-action:none}
.notebookBuilder{display:grid;grid-template-columns:1fr 1fr;gap:30px}.notebookPreview{min-height:470px;display:grid;place-items:center;position:relative}.cover{width:min(340px,80%);aspect-ratio:3/4;border-radius:18px;background:#9c7cff;box-shadow:18px 18px 0 #5c4bb1,0 25px 50px #32235a40;display:grid;place-items:center;color:white;font-size:28px;font-weight:1000;text-align:center;padding:30px;background-size:cover;background-position:center}.spiral{position:absolute;left:calc(50% - 180px);height:340px;width:20px;background:repeating-linear-gradient(to bottom,#222 0 6px,transparent 6px 18px);z-index:2}.notebookTypes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.noteType{border:1px solid var(--line);border-radius:14px;padding:12px;text-align:center;font-weight:800}.noteType.selected{background:#f3efff;border-color:#9d8aff}
.reviewGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:24px}.reviewGrid div{border:1px solid var(--line);border-radius:18px;padding:18px;background:#fffafd}.reviewGrid small{display:block;color:var(--muted);margin-bottom:7px}.selectedList{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}.selectedItem{border:1px solid var(--line);border-radius:16px;padding:12px;display:flex;gap:10px;align-items:center}.selectedItem span{font-size:27px}.shareArea{text-align:center;margin-top:30px}#shareResult{margin-top:18px;word-break:break-all}.shareLink{display:inline-block;padding:12px 16px;background:#f3efff;border-radius:14px;color:#5b48c8;text-decoration:none;font-weight:900}
.modal{position:fixed;inset:0;z-index:70;background:#30162b73;backdrop-filter:blur(12px);display:grid;place-items:center;padding:16px}.modalCard{width:min(650px,96vw);max-height:90vh;overflow:auto;background:white;border-radius:28px;padding:28px;position:relative}.modalClose{position:absolute;right:14px;top:14px;width:40px;height:40px;border:0;border-radius:50%;background:var(--pink);color:#fff;font-size:22px}
.receiver{position:fixed;inset:0;z-index:80;overflow:auto;background:radial-gradient(circle at 10% 10%,#fff3aa 0 7%,transparent 25%),radial-gradient(circle at 90% 15%,#ffd1e8 0 8%,transparent 24%),linear-gradient(135deg,#fff7ed,#fff0f8,#eef7ff)}.receiverClose{position:fixed;right:18px;top:18px;z-index:90;border:0;width:44px;height:44px;border-radius:50%;background:#fff;color:#333;font-size:25px;box-shadow:var(--shadow)}.receiverIntro{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px}.receiverIntro h1{font-size:clamp(34px,6vw,70px);max-width:850px;margin:14px auto}.receiverGifts{padding:70px 6vw}.receiverGifts h2{text-align:center;font-size:44px}.unboxGrid{max-width:1100px;margin:25px auto;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.unboxCard{background:#ffffffd9;border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:var(--shadow);text-align:center}.unboxCard .bigE{font-size:56px}.unboxCard img{max-width:100%;border-radius:16px}.notePages textarea{width:100%;min-height:180px}
@media(max-width:900px){.hero{grid-template-columns:1fr}.heroVisual{min-height:400px}.builder{grid-template-columns:1fr}.steps{position:sticky;top:76px;height:auto;display:flex;overflow:auto;z-index:20;padding:10px;background:#fff}.step{min-width:145px}.workspace{padding:16px}.recipientGrid{grid-template-columns:repeat(3,1fr)}.designer,.notebookBuilder,.drawLayout{grid-template-columns:1fr}.catalog{grid-template-columns:repeat(2,1fr)}.reviewGrid{grid-template-columns:repeat(2,1fr)}.selectedList,.unboxGrid{grid-template-columns:1fr 1fr}.canvasViewport{min-height:430px}}@media(max-width:560px){.brand small,.topActions .ghost{display:none}.hero{padding:28px 20px}.hero h1{font-size:50px}.recipientGrid{grid-template-columns:repeat(2,1fr)}.formGrid{grid-template-columns:1fr}.catalogTools{grid-template-columns:1fr}.catalog{grid-template-columns:1fr}.reviewGrid,.selectedList,.unboxGrid{grid-template-columns:1fr}.panel{padding:20px}.gift3d.large{transform:scale(.82) rotateX(-12deg) rotateY(28deg)}}
