*{box-sizing:border-box} :root{--pink:#ffb8d2;--hot:#ec6eaa;--blue:#80c9e9;--ink:#51405f;--cream:#fffaf4} body{margin:0;background:radial-gradient(circle at 10% 15%,#fff 0 2px,transparent 3px),linear-gradient(145deg,#ffe2ee,#e7f7ff 55%,#fff0d9);background-size:34px 34px,auto;color:var(--ink);font-family:"Vazirmatn",Tahoma,sans-serif;min-height:100vh;padding:22px 12px}.page-shell{max-width:560px;margin:auto;position:relative}.invite-card{position:relative;background:var(--cream);border:5px solid white;border-radius:34px;overflow:hidden;box-shadow:0 18px 55px #9b709333;text-align:center}.top-ribbon{background:#8ccfe9;color:#fff;font-weight:900;letter-spacing:3px;padding:10px;font-size:13px}.hero-art{height:245px;position:relative;overflow:hidden;background:linear-gradient(#c8edfa 0 65%,#c6e9a8 65%);isolation:isolate}.sun{position:absolute;right:13%;top:24px;width:55px;height:55px;border-radius:50%;background:#ffe18c;box-shadow:0 0 0 10px #ffe18c44}.rainbow{position:absolute;width:220px;height:150px;border:13px solid #ff9dbd;border-bottom:0;border-radius:150px 150px 0 0;left:calc(50% - 110px);top:68px;z-index:-1}.rainbow i{position:absolute;inset:9px;border:11px solid #ffcf78;border-bottom:0;border-radius:140px 140px 0 0}.rainbow i:nth-child(2){inset:27px;border-color:#9bdcba}.rainbow i:nth-child(3){inset:45px;border-color:#9bc9f2}.cloud{position:absolute;width:90px;height:28px;background:white;border-radius:30px;top:45px}.cloud:before,.cloud:after{content:"";position:absolute;background:white;border-radius:50%;width:38px;height:38px;top:-18px;left:15px}.cloud:after{left:42px;width:30px;height:30px;top:-10px}.cloud-a{left:8%}.cloud-b{right:7%;top:95px;transform:scale(.75)}.balloon{position:absolute;width:35px;height:45px;border-radius:50% 50% 45% 45%;top:34px;z-index:2}.balloon:after{content:"";position:absolute;width:1px;height:62px;background:#987b91;top:43px;left:17px}.balloon-pink{left:12%;background:#ff92bd;transform:rotate(-12deg)}.balloon-blue{right:13%;background:#6fc4e7;transform:rotate(12deg)}.pup{position:absolute;bottom:2px;width:112px;height:154px;z-index:3}.pup-blue{left:calc(50% - 112px);transform:rotate(-3deg)}.pup-pink{left:calc(50% + 4px);transform:rotate(4deg)}.face{position:absolute;left:9px;top:14px;width:94px;height:91px;border:4px solid #554b62;border-radius:48% 48% 45% 45%;background:#80c9e9;z-index:2}.pup-pink .face{background:#f5a4c4}.ear{position:absolute;top:0;left:7px;width:33px;height:78px;border:4px solid #554b62;border-radius:60% 30% 60% 30%;background:#6db5d7;transform:rotate(-23deg)}.pup-pink .ear{left:70px;transform:rotate(23deg);background:#e98bb2}.eye{position:absolute;top:34px;left:25px;width:7px;height:10px;background:#44384c;border-radius:50%}.eye2{left:61px}.nose{position:absolute;top:48px;left:43px;width:13px;height:9px;background:#44384c;border-radius:50%}.smile{position:absolute;top:56px;left:37px;width:27px;height:13px;border-bottom:2px solid #44384c;border-radius:50%}.body{position:absolute;bottom:-8px;left:19px;width:77px;height:72px;background:#80c9e9;border:4px solid #554b62;border-radius:42% 42% 20% 20%}.pup-pink .body{background:#f5a4c4}.confetti{position:absolute;color:#fff;font-size:27px}.c1{left:27%;top:40%}.c2{right:22%;top:20%;color:#ff82b1}.c3{left:7%;top:58%}.intro{padding:22px 18px 8px}.eyebrow{color:#d86c9c;font-size:13px;font-weight:700;margin:0}.intro h1{font-size:clamp(25px,7vw,36px);margin:5px 0;color:#76548a;font-weight:900}.intro h1 span{color:#e96fa8}.subtitle{font-size:14px;margin:4px 0 12px}.age-line{display:inline-block;background:#fff0f6;border-radius:30px;padding:6px 18px;color:#d65e98;font-weight:700;font-size:20px}.details{margin:18px 22px 8px;padding:14px;background:#f1faff;border:2px dashed #b4dff0;border-radius:20px;text-align:right}.detail{display:flex;align-items:center;gap:12px;padding:7px 4px}.detail+.detail{border-top:1px solid #d8edf5}.detail-icon{width:37px;height:37px;display:grid;place-items:center;background:white;border-radius:13px;font-size:19px}.detail small{display:block;color:#9b83a3;font-size:11px}.detail strong{font-size:14px;color:#57466a}.countdown-wrap{padding:8px 15px 15px}.countdown-wrap p{font-size:13px;font-weight:700;color:#d36a9c;margin:0 0 8px}.countdown{display:flex;align-items:center;justify-content:center;gap:7px;direction:rtl}.countdown span{background:#ffe4ef;color:#bd5487;border-radius:10px;min-width:43px;padding:6px;font-weight:900;font-size:18px}.countdown small{font-size:10px;color:#927d9a;margin-left:5px}.rsvp-section{background:#fff0f6;padding:19px 22px 22px;text-align:right}.section-heading{display:flex;align-items:center;gap:8px;justify-content:center}.section-heading span{font-size:23px}.section-heading h2{font-size:19px;margin:0;color:#a65380}.rsvp-note{text-align:center;font-size:16px;margin:7px 0 15px;color:#806b83}form label{display:block;font-size:12px;font-weight:700;margin:11px 2px 5px}input,select{width:100%;height:46px;border:1.5px solid #e9c7d8;border-radius:13px;padding:0 13px;background:#fff;color:#57466a;font:inherit;font-size:14px;outline:none}input:focus,select:focus{border-color:#e779ad;box-shadow:0 0 0 3px #f8c6dd66}button{width:100%;border:0;border-radius:15px;background:linear-gradient(100deg,#ee80b1,#b68cda);color:#fff;font:inherit;font-size:15px;font-weight:800;padding:13px;margin-top:17px;box-shadow:0 7px 16px #d67ca544;cursor:pointer}button:disabled{opacity:.6;cursor:wait}.form-message{text-align:center;font-size:12px;min-height:20px;margin:8px 0 0;color:#4b9a75}footer{padding:15px;font-size:13px;color:#ce6e9e;font-weight:700}.tiny-note{text-align:center;font-size:11px;color:#8b7297;margin:14px}.floating-star{position:absolute;color:#ff9ec2;font-size:32px}.star-one{left:-12px;top:80px}.star-two{right:-10px;top:260px}@media(min-width:600px){body{padding:35px 15px}.hero-art{height:270px}}
/* Party buttons */
.party-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.party-actions button {
  border: none;
  border-radius: 30px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #ff8fba, #ffb8d2);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px #e88aad44;
}

#mapLink {
  display: inline-block;
  margin-top: 7px;
  color: #d94d88;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* Video popup */
.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #24152dcc;
}

.video-box {
  position: relative;
  width: min(550px, 100%);
  padding: 22px;
  border-radius: 22px;
  background: white;
  text-align: center;
}

.video-box video {
  display: block;
  width: 100%;
  max-height: 65vh;
  border-radius: 14px;
}

.close-video {
  position: absolute;
  top: 8px;
  left: 10px;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

/* Celebration effects */
#celebrationCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
}

/*==================*/

#welcomeScreen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: linear-gradient(135deg, #ffb6d5, #b9a5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.welcome-box {
    background: white;
    padding: 35px 25px;
    border-radius: 25px;
    max-width: 340px;
    width: 100%;
    box-shadow: 0 10px 40px #0002;
}

.welcome-box button {
    border: 0;
    border-radius: 30px;
    padding: 15px 30px;
    background: #ff4f91;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

#welcomeScreen.hidden {
    display: none;
}