:root{
  --bg:#eaf5ff;
  --bg-soft:#f7fbff;
  --card:#ffffff;
  --line:#cfe7fb;
  --text:#17324d;
  --muted:#56738f;
  --gold:#2e93e6;
  --cream:#ffffff;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Inter,sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 10% -10%, #d7eeff 0, transparent 58%),
    radial-gradient(900px 500px at 100% 0, #c7e5ff 0, transparent 60%),
    var(--bg);
  overflow-x:hidden;
}
body.locked{height:100vh;overflow:hidden}

.ornament{position:fixed;top:0;bottom:0;width:80px;z-index:1;pointer-events:none;opacity:.15}
.ornament-left{left:0;background:linear-gradient(180deg,transparent,var(--gold),transparent);animation:floatY 8s ease-in-out infinite}
.ornament-right{right:0;background:linear-gradient(180deg,transparent,var(--gold),transparent);animation:floatY 10s ease-in-out infinite reverse}
@keyframes floatY{50%{transform:translateY(-10px)}}

.open-screen{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;
  background:linear-gradient(180deg,rgba(18,92,160,.40),rgba(16,72,128,.66)),url('/assets/couple-2.jpg') center 25%/cover no-repeat}
.open-card{
  width:min(760px,100%);text-align:center;
  border:none;border-radius:0;
  background:transparent;backdrop-filter:none;
  padding:20px 12px;box-shadow:none;
  animation:popIn .7s ease;
}
@keyframes popIn{from{opacity:0;transform:scale(.96) translateY(8px)}to{opacity:1;transform:none}}
.kicker{letter-spacing:.2em;text-transform:uppercase;font-size:10px;color:#d9ecff;text-shadow:0 2px 8px rgba(0,0,0,.35)}
.open-title{font-family:'Great Vibes',cursive;font-size:78px;line-height:1;margin:10px 0 4px}
.open-sub{color:#4f6f8f;margin:8px 0}
.guest-name{font-family:'Cormorant Garamond',serif;font-size:34px;color:var(--cream);margin:4px 0 16px}

.btn{
  border:none;border-radius:999px;padding:12px 24px;font-weight:700;cursor:pointer;
  background:linear-gradient(90deg,#59b1ff,#9bd4ff);color:#103a63;
  box-shadow:0 10px 24px rgba(62,147,220,.28);transition:.2s ease;
}
.btn:hover{transform:translateY(-1px);filter:brightness(1.03)}
.btn.ghost{background:#ffffff;border:1px solid #88bde8;color:#1c5b8c;box-shadow:none}

.hide{opacity:0;visibility:hidden;transition:.4s ease}

.wrap{max-width:1060px;margin:auto;padding:18px;position:relative;z-index:3}
.card{background:transparent;border:none;border-radius:0;box-shadow:none}
.hero{min-height:92vh;position:relative;overflow:hidden;display:grid;place-items:center;text-align:center}
.hero-bg{position:absolute;inset:0;background:url('/assets/couple-1.jpg') center 28%/cover no-repeat;filter:brightness(.55) saturate(1.08);transform:scale(1.06)}
.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,63,108,.42),rgba(12,48,86,.72))}
.hero-content{position:relative;z-index:2;padding:20px;animation:fadeUp .8s ease}
@keyframes fadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.hero-title{font-family:'Great Vibes',cursive;font-size:clamp(64px,11vw,130px);line-height:.92;margin:8px 0;color:#ffffff;text-shadow:0 4px 18px rgba(0,0,0,.45)}
.hero-date{color:#f3f9ff;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.hero-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}

section{margin-top:16px;padding:24px}
h3{font-family:'Cormorant Garamond',serif;font-size:42px;color:var(--gold);margin:0 0 8px}
.lead{color:var(--muted);margin:0 0 14px}

.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.box{background:#ffffffaa;border:1px solid #d8ebfb;border-radius:12px;padding:14px}
.box-kicker{color:#2e7ebd;text-transform:uppercase;letter-spacing:.1em;font-size:12px}
.box h4{margin:8px 0 6px}
.box p{margin:0;color:#4f6f8f}

.map-wrap{margin-top:14px;border:1px solid var(--line);border-radius:14px;overflow:hidden}

.timeline{position:relative;padding-left:16px}
.timeline:before{content:'';position:absolute;left:5px;top:4px;bottom:4px;width:2px;background:#9ac9ee}
.step{position:relative;margin-bottom:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--bg-soft)}
.step:before{content:'';position:absolute;left:-16px;top:14px;width:10px;height:10px;border-radius:50%;background:var(--gold)}
.step span{font-weight:700;color:#2b7fbd}

.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}
.gallery img{width:100%;height:200px;object-fit:cover;border-radius:10px;border:1px solid var(--line);cursor:zoom-in;transition:.25s}
.gallery img:hover{transform:translateY(-2px) scale(1.02)}
.gallery img:nth-child(3n){height:250px}
.gallery img:nth-child(4n){height:170px}

.rsvp-form{display:grid;gap:10px}
.rsvp-form input,.rsvp-form select,.rsvp-form textarea{width:100%;padding:12px;border-radius:10px;border:1px solid #b8daf7;background:#ffffff;color:#17324d}
.rsvp-form textarea{min-height:96px;resize:vertical}
.wish-list{display:grid;gap:10px;margin-top:14px;max-height:360px;overflow-y:auto;padding-right:4px}
.wish-item{background:#ffffff;border:1px solid #cfe7fb;border-radius:10px;padding:10px}
.wish-name{font-weight:700;color:#2d7fbf}
.wish-meta{font-size:10px;color:#6a8aa8;margin:2px 0 6px}
.tiny-note{font-size:10px;color:#7897b5;margin-top:10px}

.gift-section{text-align:center}
.gift-center{display:flex;justify-content:center;margin-top:12px}

.footer{text-align:center;color:#6a89a8;padding:24px}
.footer p{margin:6px 0}

.music-btn{position:fixed;bottom:16px;right:16px;background:linear-gradient(180deg,#6bbdff,#2d95ea);border:none;color:#ffffff;font-size:10px;padding:6px 18px;border-radius:999px;z-index:1001;box-shadow:0 12px 28px rgba(0,0,0,.45);cursor:pointer;transition:.2s}
.music-btn.hidden{opacity:0;visibility:hidden;pointer-events:none}

.lightbox{position:fixed;inset:0;z-index:10000;background:rgba(16,58,96,.78);display:none;place-items:center;padding:16px}
.lightbox.on{display:grid}
.lightbox img{max-width:min(1000px,96vw);max-height:88vh;border-radius:12px;border:1px solid #9fcff3;box-shadow:0 24px 60px rgba(0,0,0,.5)}
.lightbox-close{position:absolute;top:18px;right:18px;border:1px solid #9fcff3;background:#ffffff;color:#1d5f93;width:38px;height:38px;border-radius:999px;font-size:22px;line-height:1;cursor:pointer}

.modal{position:fixed;inset:0;z-index:10020;background:rgba(16,58,96,.55);display:none;place-items:center;padding:18px}
.modal.on{display:grid}
.modal-card{width:min(460px,100%);background:#ffffff;border:1px solid #bfe0fb;border-radius:16px;padding:18px;position:relative}
.modal-card h4{margin:6px 0 14px;font-family:'Cormorant Garamond',serif;font-size:34px;color:var(--gold)}
.modal-close{position:absolute;right:10px;top:10px;border:1px solid #bfe0fb;background:#eef7ff;color:#1d5f93;width:32px;height:32px;border-radius:999px;cursor:pointer}
.rekening-box{padding:10px;border:1px solid #bfe0fb;border-radius:10px;background:#f5faff;margin-bottom:10px}
.rekening-box strong{color:#287fc0}
.rekening-box p{font-size:22px;margin:8px 0;color:#17324d}
.copy-btn{border:none;background:#5eb4ff;color:#ffffff;padding:8px 14px;border-radius:999px;font-weight:700;cursor:pointer}

.reveal{opacity:0;transform:translateY(14px);transition:.7s ease}
.reveal.on{opacity:1;transform:none}

@media (max-width:640px){
  .open-title{font-size:56px}
  .guest-name{font-size:30px}
  h3{font-size:34px}
}


.mobile-nav{display:none}

@media (max-width:768px){
  body{padding-bottom:84px}
  .mobile-nav{
    position:fixed;left:8px;right:8px;bottom:8px;z-index:1005;
    display:grid;grid-template-columns:repeat(3,1fr);gap:6px;
    background:rgba(255,255,255,.96);border:1px solid #bfe0fb;border-radius:16px;
    padding:6px;backdrop-filter: blur(8px);
    box-shadow:0 12px 30px rgba(0,0,0,.35);
  }
  .mobile-nav-item{
    min-height:43px;border-radius:12px;border:1px solid #b9dcf8;
    background:#f4faff;color:#1f5f92;text-decoration:none;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    font-size:10px;font-weight:600;gap:2px;
  }
  .mobile-nav-item:active{transform:translateY(1px)}
  .mobile-nav-icon{font-size:14px;line-height:1}
  .mobile-nav-btn{cursor:pointer;font-family:Inter,sans-serif}

  .music-btn{bottom:88px;right:14px}
}

.wish-list::-webkit-scrollbar{width:8px}
.wish-list::-webkit-scrollbar-thumb{background:#7a5a42;border-radius:999px}
.wish-list::-webkit-scrollbar-track{background:#ffffff;border-radius:999px}


.countdown-grid{display:grid;grid-template-columns:repeat(4,minmax(70px,1fr));gap:10px}
.count-item{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--bg-soft);text-align:center}
.count-num{font-size:34px;font-weight:700;color:#f2ddad}
.count-lbl{font-size:12px;color:#c9b8a6;letter-spacing:.08em;text-transform:uppercase}

.dress-palette{display:flex;gap:10px;margin-top:8px;flex-wrap:wrap}
.dress-palette span{width:48px;height:48px;border-radius:999px;border:2px solid #ffffff33;display:inline-block}

@media (max-width:640px){
  .countdown-grid{grid-template-columns:repeat(2,minmax(70px,1fr))}
  .count-num{font-size:28px}
}


.wrap > section{padding:26px 0;border-bottom:1px solid #cfe7fb}
.wrap > section:last-of-type{border-bottom:none}


/* Force non-boxed layout */
.open-card,.card,.box{background:transparent !important;border:none !important;box-shadow:none !important;border-radius:0 !important;}
.wrap > section{padding:28px 0 !important;margin-top:0 !important;}
.hero{min-height:88vh;}
.map-wrap{border:none !important;border-radius:0 !important;}
.rekening-box,.wish-item{background:transparent !important;border:1px solid #cfe7fb !important;border-radius:10px !important;}



  .couple-wanita .couple-bio{order:2}
  .couple-photo{height:280px}
  .couple-bio h4{font-size:34px}
}


/* Editorial mempelai style */
.mempelai-editorial{padding-top:26px}
.editor-row{display:grid;grid-template-columns:240px 1fr;gap:30px;align-items:center;margin:24px 0}
.editor-photo{text-align:center;opacity:0;transform:translateX(-36px);transition:all .8s ease}

.editor-bio{opacity:0;transform:translateX(36px);transition:all .8s ease}

#mempelai.on .editor-photo,#mempelai.on .editor-bio{opacity:1;transform:translateX(0)}

.couple-photo{width:100%;max-width:360px;height:430px;object-fit:cover;display:block;margin:0 auto}
.photo-wanita .couple-photo{transform:rotate(-6deg)}
.photo-pria .couple-photo{transform:rotate(7deg)}
.editor-name{
  margin:8px 0 0;
  font-family:'Great Vibes',cursive;
  font-size:48px;
  line-height:.95;
  color:#1f5f92;
}
.ig-handle{
  font-family:'Cormorant Garamond',serif;
  font-size:26px;
  color:#2f7fbf;
  margin:0 0 8px;
}
.editor-desc{
  margin:4px 0;
  font-family:'Cormorant Garamond',serif;
  font-size:26px;
  line-height:1.2;
  color:#345f84;
}

@media (max-width:900px){
  .editor-desc{font-size:30px}
}
@media (max-width:768px){
  .editor-row{grid-template-columns:1fr;gap:10px;margin:16px 0}
  .editor-bottom .editor-bio{order:1}
  .editor-bottom .editor-photo{order:2}
  .couple-photo{height:240px;max-width:180px}
  .editor-name{font-size:42px}
  .ig-handle{font-size:24px;text-align:center}
  .editor-desc{font-size:22px;text-align:center}
}

/* force small couple photos - desktop */
@media (min-width: 769px){
  .mempelai-editorial .editor-row{grid-template-columns:220px 1fr !important;gap:28px !important;}
  .mempelai-editorial .editor-bottom{grid-template-columns:1fr 220px !important;}
  .mempelai-editorial .couple-photo{max-width:200px !important;height:250px !important;}
  .mempelai-editorial .editor-name{font-size:44px !important;}
  .mempelai-editorial .editor-desc{font-size:24px !important;}
}


/* ===== Force: editorial couple section like reference ===== */
#mempelai.mempelai-editorial{max-width:980px;margin:0 auto;padding:18px 6px !important}
#mempelai .editor-row{display:grid !important;align-items:center !important;gap:18px !important;margin:20px 0 !important}
#mempelai .editor-top{grid-template-columns:210px 1fr !important}
#mempelai .editor-bottom{grid-template-columns:1fr 210px !important}

#mempelai .editor-photo{text-align:center !important}
#mempelai .couple-photo{width:100% !important;max-width:190px !important;height:240px !important;object-fit:cover !important;display:block !important;margin:0 auto !important}
#mempelai .photo-wanita .couple-photo{transform:rotate(-6deg) !important}
#mempelai .photo-pria .couple-photo{transform:rotate(6deg) !important}

#mempelai .editor-name{
  font-family:'Great Vibes',cursive !important;
  font-size:52px !important;
  line-height:.95 !important;
  color:#8b2f38 !important;
  margin:8px 0 0 !important;
}
#mempelai .ig-handle{
  font-family:'Parisienne',cursive !important;
  font-size:36px !important;
  color:#8b2f38 !important;
  margin:0 0 6px !important;
}
#mempelai .editor-desc{
  font-family:'Parisienne',cursive !important;
  font-size:44px !important;
  line-height:1.15 !important;
  color:#8b2f38 !important;
  margin:2px 0 !important;
}

/* mobile tetap side-by-side seperti contoh */
@media (max-width:768px){
  #mempelai .editor-top{grid-template-columns:150px 1fr !important}
  #mempelai .editor-bottom{grid-template-columns:1fr 150px !important}
  #mempelai .couple-photo{max-width:145px !important;height:190px !important}
  #mempelai .editor-name{font-size:40px !important}
  #mempelai .ig-handle{font-size:28px !important}
  #mempelai .editor-desc{font-size:32px !important}
}
@media (max-width:430px){
  #mempelai .editor-top{grid-template-columns:130px 1fr !important}
  #mempelai .editor-bottom{grid-template-columns:1fr 130px !important}
  #mempelai .couple-photo{max-width:124px !important;height:168px !important}
  #mempelai .editor-name{font-size:36px !important}
  #mempelai .ig-handle{font-size:24px !important}
  #mempelai .editor-desc{font-size:28px !important}
}


/* flat background for mempelai section (no center white band) */
#mempelai.mempelai-editorial{
  max-width:none !important;
  width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  padding:26px 16px !important;
  background:#f1f2f4 !important;
}
#mempelai .lead,
#mempelai h3{max-width:980px;margin-left:auto;margin-right:auto}
#mempelai .editor-row{max-width:980px;margin-left:auto !important;margin-right:auto !important}


/* sky blue + white text for mempelai */
#mempelai.mempelai-editorial{background:#67b7f7 !important;}
#mempelai h3,
#mempelai .lead,
#mempelai .editor-name,
#mempelai .ig-handle,
#mempelai .editor-desc{color:#ffffff !important;text-shadow:0 2px 8px rgba(0,0,0,.22)}

/* Mempelai quote heading */
#mempelai .mempelai-quote-title,
#mempelai .mempelai-arab,
#mempelai .mempelai-quote{
  text-align:center !important;
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
  color:#ffffff !important;
  text-shadow:0 2px 8px rgba(0,0,0,.22);
}
#mempelai .mempelai-quote-title{
  font-family:'Parisienne',cursive !important;
  font-size:44px !important;
  margin:0 0 4px !important;
}
#mempelai .mempelai-arab{
  font-family:'Cormorant Garamond',serif !important;
  font-size:46px !important;
  margin:0 0 8px !important;
  line-height:1.1;
}
#mempelai .mempelai-quote{
  font-family:'Parisienne',cursive !important;
  font-size:34px !important;
  line-height:1.2;
  margin:0 auto 12px !important;
}
@media (max-width:768px){
  #mempelai .mempelai-quote-title{font-size:34px !important;}
  #mempelai .mempelai-arab{font-size:38px !important;}
  #mempelai .mempelai-quote{font-size:26px !important;}
}

/* refine quote typography: smaller + no shadow */
#mempelai .mempelai-quote-title,
#mempelai .mempelai-arab,
#mempelai .mempelai-quote,
#mempelai .editor-name,
#mempelai .ig-handle,
#mempelai .editor-desc,
#mempelai h3,
#mempelai .lead{
  text-shadow:none !important;
}
#mempelai .mempelai-quote-title{font-size:34px !important;}
#mempelai .mempelai-arab{font-size:36px !important;}
#mempelai .mempelai-quote{font-size:24px !important;line-height:1.25 !important;}

@media (max-width:768px){
  #mempelai .mempelai-quote-title{font-size:28px !important;}
  #mempelai .mempelai-arab{font-size:30px !important;}
  #mempelai .mempelai-quote{font-size:20px !important;}
}
