/* ============================================================
   1. ROOT VARIABLES — palet warna seluruh web ada di sini.
      Ganti nilai ini kalau mau ubah tema warna semuanya.
============================================================ */
:root{
  --white:        #ffffff;
  --cream:        #fffaf9;
  --pastel-pink:  #ffd6e8;
  --pastel-pink-deep: #ff9fc7;
  --pastel-blue:  #d6ecff;
  --pastel-blue-deep: #a8d8ff;
  --pastel-lavender: #e6d9ff;
  --pastel-lavender-deep: #c7a9ff;
  --text-dark:    #5b4a5a;
  --text-soft:    #8a7a91;
  --shadow-soft:  0 10px 30px rgba(200, 170, 200, 0.25);
}

*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior: smooth; }

/* ============================================================
   PAGE-TO-PAGE TRANSITION (blur + fade)
============================================================ */
body{
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  opacity: 1;
  filter: blur(0);
  transition: opacity 0.65s ease, filter 0.65s ease;
}

body.blur-in-start{
  opacity: 0;
  filter: blur(16px);
  transition: none;
}

body.blur-out{
  opacity: 0;
  filter: blur(16px);
}

h1, h2, h3, .heading-font{
  font-family: 'Quicksand', sans-serif;
}

.page{
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}

/* ============================================================
   FLOATING HEARTS / STARS BACKGROUND LAYER
============================================================ */
#floating-bg{
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.floaty{
  position: absolute;
  bottom: -50px;
  font-size: 22px;
  opacity: 0.7;
  animation: floatUp linear infinite;
  user-select: none;
}

@keyframes floatUp{
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.8; }
  100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

/* ============================================================
   NAV DOTS — indikator halaman kecil di atas
============================================================ */
.page-nav{
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 50;
}

.page-nav a{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pastel-pink);
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-nav a.active{
  opacity: 1;
  transform: scale(1.3);
  background: var(--pastel-pink-deep);
}

/* ============================================================
   HERO PAGE (index.html)
============================================================ */
#hero{
  background: linear-gradient(180deg, var(--pastel-blue) 0%, var(--white) 100%);
  z-index: 2;
}

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* GIF ditampilkan polos, tanpa frame/border/shadow */
.gif-frame{
  max-width: 220px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gif-frame img{
  width: 100%;
  height: auto;
  display: block;
}

.hero-title{
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
}

.hero-title span{ color: var(--pastel-pink-deep); }

.hero-subtitle{
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 500;
  color: var(--text-soft);
}

.nav-btn{
  margin-top: 10px;
  padding: 16px 42px;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--pastel-pink-deep), var(--pastel-lavender-deep));
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 159, 199, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  display: inline-block;
}

.nav-btn:hover{
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 26px rgba(255, 159, 199, 0.6);
}

.nav-btn:active{ transform: translateY(-1px) scale(0.98); }

.nav-btn.secondary{
  background: var(--white);
  color: var(--pastel-lavender-deep);
  border: 2px solid var(--pastel-lavender-deep);
  box-shadow: none;
}

.scroll-hint{
  margin-top: 6px;
  font-size: 26px;
  animation: bounce 1.6s ease-in-out infinite;
  color: var(--pastel-lavender-deep);
}

@keyframes bounce{
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}

/* ============================================================
   CUTE FLOATING MUSIC BUTTON
============================================================ */
.music-btn{
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--pastel-blue-deep), var(--pastel-lavender-deep));
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.music-btn:hover{
  transform: scale(1.08);
  box-shadow: 0 12px 26px rgba(168, 216, 255, 0.6);
}

.music-btn:active{ transform: scale(0.95); }

.music-icon{
  font-size: 22px;
  transition: transform 0.3s ease;
}

.music-btn.playing .music-icon{
  animation: spinNote 3s linear infinite;
}

@keyframes spinNote{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

.music-btn.playing::after{
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--pastel-blue-deep);
  opacity: 0.6;
  animation: pulseRing 1.8s ease-out infinite;
}

@keyframes pulseRing{
  0%   { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.music-note{
  position: absolute;
  top: 0;
  left: 50%;
  font-size: 14px;
  pointer-events: none;
  animation: noteFloat 1.4s ease-out forwards;
}

@keyframes noteFloat{
  0%   { transform: translate(-50%, 0) translateX(0) scale(0.8); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translate(-50%, -60px) translateX(var(--drift, 0px)) scale(1.1); opacity: 0; }
}

@media (max-width: 640px){
  .music-btn{ width: 46px; height: 46px; bottom: 18px; right: 18px; }
  .music-icon{ font-size: 18px; }
}

/* ============================================================
   HER LITTLE NOTE — tombol + kertas catatan yang bisa diedit
============================================================ */
.note-btn{
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--pastel-pink-deep), var(--pastel-lavender-deep));
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.note-btn:hover{
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 12px 26px rgba(255, 159, 199, 0.6);
}

.note-btn:active{ transform: scale(0.95); }

.note-icon{ font-size: 22px; }

.note-overlay{
  position: fixed;
  inset: 0;
  background: rgba(91, 74, 90, 0.35);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.note-overlay.open{
  opacity: 1;
  pointer-events: all;
}

.note-paper{
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--cream);
  border-radius: 18px;
  padding: 30px 26px 22px;
  box-shadow: 0 20px 50px rgba(91, 74, 90, 0.35);
  transform: scale(0.9) rotate(-1deg);
  transition: transform 0.35s ease;
  border: 2px dashed var(--pastel-pink-deep);
}

.note-overlay.open .note-paper{
  transform: scale(1) rotate(-1deg);
}

.note-close{
  position: absolute;
  top: 14px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--text-soft);
  font-size: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, color 0.2s ease;
}

.note-close:hover{
  transform: scale(1.1) rotate(90deg);
  color: var(--pastel-pink-deep);
}

.note-title{
  font-size: 20px;
  font-weight: 700;
  color: var(--pastel-pink-deep);
  margin-bottom: 6px;
  padding-right: 26px;
}

.note-hint{
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.5;
}

.note-textarea{
  width: 100%;
  min-height: 220px;
  border: none;
  background: repeating-linear-gradient(
    to bottom,
    var(--cream),
    var(--cream) 31px,
    var(--pastel-pink) 32px
  );
  background-attachment: local;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  line-height: 32px;
  color: var(--text-dark);
  resize: vertical;
  outline: none;
  padding: 0 2px;
}

.note-textarea::placeholder{
  color: var(--text-soft);
  opacity: 0.7;
}

.note-saved{
  display: block;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  color: var(--pastel-lavender-deep);
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-top: 6px;
}

.note-saved.show{ opacity: 1; }

@media (max-width: 640px){
  .note-btn{ width: 46px; height: 46px; bottom: 18px; left: 18px; }
  .note-icon{ font-size: 18px; }
  .note-paper{ padding: 26px 20px 18px; }
  .note-textarea{ min-height: 180px; }
}

/* ============================================================
   GALLERY PAGE (gallery.html) — INTERACTIVE SLIDESHOW
============================================================ */
#gallery{
  background: var(--white);
  z-index: 2;
  gap: 10px;
}

.gallery-heading{
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.gallery-heading .heart{ color: var(--pastel-pink-deep); }

.gallery-sub{
  color: var(--text-soft);
  margin-bottom: 30px;
  font-size: 16px;
}

.slideshow-wrap{
  position: relative;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.corner-deco{
  position: absolute;
  top: -34px;
  right: -6px;
  width: 56px;
  height: 56px;
  z-index: 3;
  transform: rotate(12deg);
  pointer-events: none;
}

.corner-deco img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* small decorative gif tucked at the bottom-left of the polaroid */
.bottom-left-deco{
  position: absolute;
  bottom: -26px;
  left: -26px;
  width: 80px;
  height: 80px;
  z-index: 3;
  transform: rotate(-10deg);
  pointer-events: none;
}

.bottom-left-deco img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide-stage{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.arrow-btn{
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--pastel-pink-deep);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.arrow-btn:hover{
  transform: scale(1.12);
  background: var(--pastel-pink-deep);
  color: var(--white);
}

.arrow-btn:active{ transform: scale(0.94); }

.photo-stage{
  position: relative;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
}

.polaroid{
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 18px;
  padding: 14px 14px 14px;
  box-shadow: var(--shadow-soft);
  transform: rotate(var(--tilt, -2deg));
  transition: transform 0.3s ease;
  cursor: pointer;
}

.polaroid:hover{ transform: rotate(0deg) scale(1.02); }

.photo-frame{
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--pastel-blue);
}

.photo-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.55s ease, filter 0.55s ease, transform 0.55s ease;
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.photo-frame img.is-transitioning{
  opacity: 0;
  filter: blur(14px);
  transform: scale(1.06);
}

.mini-heart{
  position: absolute;
  font-size: 18px;
  pointer-events: none;
  animation: miniHeartPop 1s ease-out forwards;
  z-index: 5;
}

@keyframes miniHeartPop{
  0%   { transform: translateY(0) scale(0.6); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translateY(-70px) scale(1.1); opacity: 0; }
}

.caption{
  font-size: 15px;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.6;
  padding: 0 16px;
  min-height: 48px;
  max-width: 380px;
  transition: opacity 0.5s ease, filter 0.5s ease;
  opacity: 1;
  filter: blur(0);
}

.caption.is-transitioning{
  opacity: 0;
  filter: blur(6px);
}

.dots{
  display: flex;
  gap: 10px;
}

.dot{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--pastel-pink);
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.dot.active{
  opacity: 1;
  width: 24px;
  border-radius: 6px;
  background: var(--pastel-pink-deep);
}

.counter{
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: 0.5px;
}

.page-buttons{
  display: flex;
  gap: 18px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   REASONS PAGE (reasons.html)
============================================================ */
#reasons-page{
  background: linear-gradient(180deg, var(--pastel-lavender) 0%, var(--white) 40%);
  z-index: 2;
  gap: 6px;
}

.reasons-heading{
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.reasons-heading .heart{ color: var(--pastel-blue-deep); }

.reasons-sub{
  color: var(--text-soft);
  margin-bottom: 34px;
  font-size: 14.5px;
}

.clothesline-wrap{
  position: relative;
  width: 100%;
  max-width: 780px;
  padding-top: 26px;
  margin-bottom: 50px;
}

.clothesline-rope{
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--pastel-lavender-deep) 0px,
    var(--pastel-lavender-deep) 6px,
    transparent 6px,
    transparent 10px
  );
  opacity: 0.6;
  border-radius: 2px;
}

.hanging-photos{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  padding: 0 10px;
}

.hang-photo{
  position: relative;
  margin-top: var(--drop, 10px);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.25s ease;
}

.hang-photo:hover{
  transform: rotate(0deg) translateY(-4px);
}

.clip{
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 22px;
  border-radius: 3px;
  z-index: 4;
  box-shadow: 0 2px 4px rgba(91,74,90,0.25);
}

.clip::before, .clip::after{
  content: '';
  position: absolute;
  top: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
}
.clip::before{ left: 1px; }
.clip::after{ right: 1px; }

.clip-pink{ background: linear-gradient(180deg, var(--pastel-pink-deep), var(--pastel-pink)); }
.clip-blue{ background: linear-gradient(180deg, var(--pastel-blue-deep), var(--pastel-blue)); }
.clip-lavender{ background: linear-gradient(180deg, var(--pastel-lavender-deep), var(--pastel-lavender)); }

.mini-photo-frame{
  width: 108px;
  height: 108px;
  background: var(--white);
  padding: 6px 6px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.mini-photo-frame:hover{ transform: scale(1.05); }

.mini-photo-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.frame-pink{ border: 3px solid var(--pastel-pink); }
.frame-blue{ border: 3px solid var(--pastel-blue); }
.frame-lavender{ border: 3px solid var(--pastel-lavender); }

/* wrapper so we can position a decorative gif at its corner */
.reasons-box-wrap{
  position: relative;
  width: 100%;
  max-width: 560px;
}

/* small cute gif floating at the corner of the reasons box */
.reasons-corner-gif{
  position: absolute;
  top: -30px;
  left: -20px;
  width: 64px;
  height: 64px;
  z-index: 3;
  transform: rotate(-8deg);
  pointer-events: none;
}

.reasons-corner-gif img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reasons-box{
  width: 100%;
  background: linear-gradient(180deg, var(--pastel-blue) 0%, #eaf5ff 100%);
  border-radius: 26px;
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--white);
  max-height: 440px;
  overflow-y: auto;
  scroll-behavior: auto;
}

.reasons-box::-webkit-scrollbar{ width: 6px; }
.reasons-box::-webkit-scrollbar-thumb{
  background: var(--pastel-blue-deep);
  border-radius: 10px;
}

/* small cute gif sitting above the list, inside the box */
.reasons-gif-top{
  width: 72px;
  margin: 0 auto 16px;
}

.reasons-gif-top img{
  width: 100%;
  height: auto;
  display: block;
}

.reasons-list{
  list-style: none;
  counter-reset: reason-counter;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reasons-list li{
  counter-increment: reason-counter;
  position: relative;
  padding-left: 40px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dark);
}

.reasons-list li::before{
  content: counter(reason-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  color: var(--pastel-blue-deep);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(168, 216, 255, 0.5);
}

.lightbox-overlay{
  position: fixed;
  inset: 0;
  background: rgba(91, 74, 90, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox-overlay.open{
  opacity: 1;
  pointer-events: all;
}

.lightbox-img{
  max-width: min(90vw, 480px);
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 6px solid var(--white);
  transform: scale(0.92);
  transition: transform 0.35s ease;
}

.lightbox-overlay.open .lightbox-img{ transform: scale(1); }

.lightbox-close{
  position: absolute;
  top: 26px;
  right: 26px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--text-dark);
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}

.lightbox-close:hover{ transform: scale(1.1) rotate(90deg); }

/* ============================================================
   LETTER PAGE (letter.html)
============================================================ */
#letter-page{
  background: linear-gradient(180deg, var(--white) 0%, var(--pastel-lavender) 100%);
  z-index: 2;
}

.letter-card{
  max-width: 640px;
  width: 100%;
  background: var(--white);
  border-radius: 32px;
  padding: 44px 32px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border: 3px solid var(--pastel-pink);
}

.letter-title{
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 800;
  color: var(--pastel-pink-deep);
}

/* GIF ditampilkan polos, tanpa frame/border/shadow */
.celebration-gif-frame{
  max-width: 180px;
  width: 100%;
}

.celebration-gif-frame img{
  width: 100%;
  height: auto;
  display: block;
}

.letter-box{
  max-height: 320px;
  overflow-y: auto;
  text-align: left;
  padding: 10px 8px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-dark);
  scrollbar-width: thin;
  scrollbar-color: var(--pastel-pink-deep) var(--cream);
}

.letter-box::-webkit-scrollbar{ width: 6px; }
.letter-box::-webkit-scrollbar-thumb{
  background: var(--pastel-pink-deep);
  border-radius: 10px;
}

#letter-text .cursor{
  display: inline-block;
  width: 2px;
  background: var(--pastel-pink-deep);
  margin-left: 2px;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink{ 50% { opacity: 0; } }

.signature{
  margin-top: 6px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--pastel-lavender-deep);
  align-self: flex-end;
}

#confetti-canvas{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
}

footer{
  text-align: center;
  padding: 30px 10px 50px;
  color: var(--text-soft);
  font-size: 13px;
  z-index: 2;
  position: relative;
}

/* ============================================================
   RESPONSIVE — MOBILE
============================================================ */
@media (max-width: 640px){
  .gif-frame{ max-width: 170px; }
  .celebration-gif-frame{ max-width: 150px; }
  .letter-card{ padding: 32px 20px; }
  .page{ padding: 60px 16px; }
  .page-nav{ top: 14px; }
  .photo-stage{ width: 220px; height: 220px; }
  .arrow-btn{ width: 40px; height: 40px; font-size: 20px; }
  .corner-deco{ width: 46px; height: 46px; top: -26px; right: 0; }
  .bottom-left-deco{ width: 56px; height: 56px; bottom: -18px; left: -18px; }
  .mini-photo-frame{ width: 78px; height: 78px; }
  .hanging-photos{ gap: 10px; }
  .reasons-box{ padding: 22px 18px; max-height: 380px; }
  .reasons-list li{ font-size: 13.5px; padding-left: 34px; }
  .reasons-list li::before{ width: 24px; height: 24px; font-size: 11px; }
  .reasons-corner-gif{ width: 48px; height: 48px; top: -22px; left: -10px; }
  .reasons-gif-top{ width: 56px; }
}

@media (prefers-reduced-motion: reduce){
  .floaty, .scroll-hint, #letter-text .cursor{ animation: none !important; }
  html{ scroll-behavior: auto; }
  body{ transition: none; }
}

/* প্রপোজ পেজের উত্তর বাটন */
.proposal-actions{display:flex;gap:12px;justify-content:center;align-items:center;flex-wrap:wrap;margin:22px 0 8px}
.proposal-actions .nav-btn{border:0;cursor:pointer;font-family:inherit}
.proposal-result{min-height:28px;margin:10px auto 0;font-weight:700;opacity:0;transform:translateY(6px);transition:.3s ease}
.proposal-result.show{opacity:1;transform:translateY(0)}

/* ============================================================
   YOUR SWETY × YOU SWEET — ROMANTIC PROPOSAL THEME
============================================================ */
:root{
  --cream:#fff8fc;
  --pastel-pink:#ffe0ee;
  --pastel-pink-deep:#ff78ad;
  --pastel-blue:#e7e1ff;
  --pastel-blue-deep:#9f8cff;
  --pastel-lavender:#f0dcff;
  --pastel-lavender-deep:#bd7bea;
  --text-dark:#4d3046;
  --text-soft:#806a7b;
}

body{
  background:
    radial-gradient(circle at 10% 10%, rgba(255,180,215,.24), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(190,170,255,.22), transparent 30%),
    linear-gradient(135deg,#fff9fc 0%,#fff 48%,#f8f5ff 100%);
}

#hero{
  background:
    radial-gradient(circle at 50% 25%, rgba(255,255,255,.85), transparent 30%),
    linear-gradient(135deg,#ffe8f2 0%,#f8edff 48%,#e9f4ff 100%);
}

.hero-content,.letter-card,.slideshow-wrap,.reasons-box-wrap{
  filter: drop-shadow(0 18px 35px rgba(171,116,158,.10));
}

.hero-title span{
  background:linear-gradient(135deg,#ff5f9e,#a66cff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.nav-btn{
  background:linear-gradient(135deg,#ff6fa8 0%,#c27cf0 100%);
  box-shadow:0 10px 25px rgba(225,112,174,.32);
}

.nav-btn:hover{
  box-shadow:0 15px 32px rgba(225,112,174,.42);
}

.music-btn{
  background:linear-gradient(135deg,#ff76aa,#aa8af5);
}

.music-btn.playing{
  box-shadow:0 10px 28px rgba(190,120,210,.35);
}

.page-nav a{
  box-shadow:0 0 0 3px rgba(255,255,255,.55);
}

.page-nav a.active{
  background:#ff72aa;
}

@media(max-width:640px){
  .hero-content{gap:18px;padding:0 8px;}
  .hero-title{font-size:clamp(27px,8vw,38px);}
  .hero-subtitle{line-height:1.7;}
}
