/* ===== BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


.hidden {
  display: none;
}

html, body {
  background: #ffffff;
  color: #1a1a1a;
  font-family: 'Indie Flower', cursive;
  font-weight: 100;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,p {
    color: #253859;
}

.wish-section {
  overflow: visible;
}

#vinylControl {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

/* Animasi vinyl muter */
#vinylControl.playing {
  animation: spin 4s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsif Mobile */
@media (max-width: 768px) {
  #vinylControl {
    width: 50px;
    height: 50px;
    bottom: 15px;
    left: 15px;
  }
}


/* ===== GATES SECTION ===== */
.gates-section {
  min-height: 100vh;
  background: #ffffff; /* FORCE LIGHT MODE */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* WRAPPER */
.gates-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* HEART ICON */
.gates-heart img {
  width: 450px;
}

/* TYPING TEXT */
.gates-typing {
  font-size: 18px;
  color: #2c2c2c;
  letter-spacing: 0.5px;
  min-height: 24px;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #253859;
}

/* DEAR */
.gates-dear {
  font-size: 16px;
}

/* BUTTON */
.open-btn {
  margin-top: 10px;
  padding: 10px 28px;
  border-radius: 30px;
  background: #253859;
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-family: 'Caveat';
}


/* ANIMATION */
@keyframes floatHeart {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .gates-heart img {
    width: 340px;
  }

  .gates-typing {
    font-size: 16px;
  }
}

/* ===== SECTION ISI ===== */
.section-first-memory {
  width: 100%;
  min-height: 100vh;
  padding: 30px 20px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ===== CHILDHOOD ===== */
/* ===== CHILDHOOD WRAPPER ===== */
.memory-childhood-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 520px;
  margin: 0 auto 10px;
}

/* ===== BASE PHOTO ===== */
.memory-photo {
  position: absolute;
  width: 380px;
  animation: memoryWave 6s ease-in-out infinite;
  transform-origin: center top;
}

.memory-photo img {
  width: 100%;
  display: block;
}

/* ===== GROOM (LEFT, ON TOP) ===== */
.memory-photo-groom {
  top: 0;
  left: 100px;
  transform: rotate(-6deg);
  z-index: 1;
}

/* ===== BRIDE (RIGHT, BEHIND) ===== */
.memory-photo-bride {
  top: 60px;
  left: 480px;
  transform: rotate(10deg);
  z-index: 2;
}

/* ===== WAVE ANIMATION ===== */
@keyframes memoryWave {
  0% {
    transform: rotate(var(--rot, 0deg));
  }
  50% {
    transform: rotate(calc(var(--rot, 0deg) + 2deg));
  }
  100% {
    transform: rotate(var(--rot, 0deg));
  }
}

/* custom rotation per image */
.memory-photo-groom {
  --rot: -6deg;
}

.memory-photo-bride {
  --rot: 6deg;
}

.memory-couple {
  width: 800px;
  animation: memoryWave 5s ease-in-out infinite;
  transform-origin: center top;
}

.memory-couple img {
  width: 100%;
  display: block;
}

/* individual timing */
.memory-photo-groom {
  animation-delay: 0s;
}

.memory-photo-bride {
  animation-delay: 0s;
}

.memory-photo-couple {
  animation-delay: 0.8s;
}

@media (max-width: 768px) {
  .memory-childhood-wrapper {
    height: 420px;
  }

  .memory-photo {
    width: 300px;
  }

  .memory-photo-groom {
    left: 40px;
  }

  .memory-photo-bride {
    left: 240px;
    top: 50px;
  }
}

@media (max-width: 480px) {
  .memory-childhood-wrapper {
    height: 340px;
  }

  .memory-photo {
    width: 240px;
  }

  .memory-photo-groom {
    left: -20px;
    z-index: 2;
  }

  .memory-photo-bride {
    left: 200px;
    top: 40px;
    z-index: 1;
  }
}

/* ===== EQUATION ===== */
.memory-equation-wrapper {
  margin-bottom: 30px;
}

.memory-equation-text {
  font-size: 78px;
  font-family: 'Caveat';
}

.memory-equation-symbol {
  font-size: 24px;
  margin: 6px 0;
}

.memory-icon-ring {
  width: 120px;
  margin: auto;
  animation: memoryWave 4s ease-in-out infinite;
}

.memory-icon-ring img {
  width: 100%;
}

/* ===== TITLE ===== */
.memory-title-wrapper {
  margin-bottom: 60px;
}

.memory-title-main {
  font-size: 46px;
  font-family: 'Caveat';
  line-height: 50px;
}

.memory-title-sub {
  margin-top: 20px;
  font-size: 18px;
  opacity: 0.85;
}

/* ===== COUPLE ===== */
.memory-couple-wrapper {
  position: relative;
}

.memory-icon-star {
  position: absolute;
  top: -20px;
  right: -30px;
  width: 30px;
  animation: memoryWave 3.5s ease-in-out infinite;
}

.memory-icon-star img {
  width: 100%;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .memory-couple{
    width: 400px;
  }

  .memory-title-main {
    font-size: 30px;
  }
}

@media (max-width: 480px) {

  .memory-childhood-wrapper {
    gap: 20px;
  }

  .memory-title-main {
    font-size: 32px;
    line-height: 35px;
  }
}

/* ===== SECTION BASE ===== */
.section-wedding-schedule-unique {
  width: 100%;
  background: #ffffff;
  padding: 20px 20px;
  text-align: center;
  font-family: 'Indie Flower', cursive;
  color: #23324d;
}

/* ===== INTRO ===== */
.schedule-intro-wrapper-unique {
  max-width: 700px;
  margin: 0 auto 80px;
}

.schedule-intro-title-unique {
  font-size: 66px;
  margin-bottom: 16px;
  font-family: 'Caveat';
}

.schedule-intro-text-unique {
  font-size: 18px;
  line-height: 1.6;
}

/* ===== DATE IMAGE ===== */
.schedule-date-image-wrapper-unique {
  margin-top: 20px;
  margin-bottom: -25px;
}

.schedule-date-image-wrapper-unique img {
  width: 320px;
  max-width: 90%;
}

/* ===== TITLE ===== */
.schedule-title-wrapper-unique {
  margin-bottom: 60px;
}

.schedule-title-text-unique {
  font-size: 64px;
  font-family: 'Caveat';
}

/* ===== LIST ===== */
.schedule-list-wrapper-unique {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* ===== ITEM ===== */
.schedule-item-unique {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  text-align: left;
}

/* TIME */
.schedule-time-unique {
  font-size: 22px;
  min-width: 60px;
}

/* STAR ICON (NEW CLASS, NO CONFLICT) */
.schedule-star-icon-unique {
  width: 62px;
  flex-shrink: 0;
}

.schedule-star-icon-unique img {
  width: 100%;
}

/* INFO */
.schedule-info-unique {
  max-width: 400px;
}

.schedule-event-title-unique {
  font-size: 44px;
  margin-bottom: 3px;
  font-family: 'Caveat';
}

.schedule-event-desc-unique {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .schedule-item-unique {
    align-items: flex-start;
  }

  .schedule-intro-title-unique {
    font-size: 40px;
  }

  .schedule-title-text-unique {
    font-size: 38px;
  }
}

@media (max-width: 480px) {
  .schedule-date-image-wrapper-unique {
    margin-top: 10px;
    margin-bottom: 20px; 
    display: flex;
    justify-content: center;
  }

  .schedule-date-image-wrapper-unique img {
    width: 240px;
    max-width: 85%; 
    height: auto;
    display: block;
  }

  .schedule-intro-title-unique {
    font-size: 36px; 
    padding: 0 10px;
  }

  .schedule-title-text-unique {
    font-size: 34px;
    margin-bottom: 30px;
  }

  .schedule-item-unique {
    gap: 12px;
    padding: 0 5px;
  }
  
  .schedule-event-title-unique {
    font-size: 28px;
  }
}


.schedule-countdown-wrapper-unique {
  margin-top: 10px;
  text-align: center;
}

.schedule-countdown-title-unique {
  font-size: 62px;
  margin-bottom: 30px;
  font-family: 'Caveat';
}

.schedule-countdown-timer-unique {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px; /* Gap default desktop */
  flex-wrap: nowrap; /* Paksa satu baris */
}

.schedule-countdown-unit-unique {
  min-width: 70px;
}

.schedule-countdown-unit-unique span {
  display: block;
  font-size: 40px;
  line-height: 1;
}

.schedule-countdown-unit-unique small {
  font-size: 14px;
  opacity: 0.8;
}

.schedule-countdown-separator-unique {
  font-size: 28px;
  margin-top: -10px;
}

/* ===== RESPONSIVE (SAFARI & CHROME FRIENDLY) ===== */
@media (max-width: 768px) {
  .schedule-countdown-title-unique {
    font-size: 34px;
  }

  .schedule-countdown-timer-unique {
    gap: 10px; /* Perkecil jarak antar angka */
  }

  .schedule-countdown-unit-unique span {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .schedule-countdown-timer-unique {
    gap: 4px; /* Jarak sangat rapat agar cukup satu baris */
  }

  .schedule-countdown-unit-unique {
    min-width: 45px; /* Perkecil lebar wadah angka */
  }

  .schedule-countdown-unit-unique span {
    font-size: 24px; /* Sesuaikan ukuran font angka */
  }

  .schedule-countdown-unit-unique small {
    font-size: 11px; /* Teks 'Days', 'Hours' diperkecil */
  }

  .schedule-countdown-separator-unique {
    font-size: 18px;
    margin-top: -8px;
  }
}

/* Perbaikan khusus untuk layar sangat kecil (iPhone SE / 320px) */
@media (max-width: 360px) {
  .schedule-countdown-timer-unique {
    gap: 2px;
  }
  .schedule-countdown-unit-unique {
    min-width: 40px;
  }
  .schedule-countdown-unit-unique span {
    font-size: 20px;
  }
}

/* ===== SECTION BASE ===== */
.section-venue-dress-unique {
  width: 100%;
  padding: 120px 20px;
  background: #ffffff;
  text-align: center;
  font-family: 'Indie Flower', cursive;
  color: #23324d;
}

/* ===== VENUE ===== */
.venue-wrapper-unique {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-bottom: 120px;
}

.venue-item-unique {
  max-width: 620px;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: -30px;
}

.venue-title-unique {
  font-size: 66px;
  margin-bottom: 10px;
  font-family: 'Caveat';
}

.venue-image-wrapper-unique {
  width: 100%;
}

.venue-image-wrapper-unique img {
  width: 100%;
  display: block;
}

/* subtle animation */
.venue-image-animate-unique {
  animation: venueFloatUnique 6s ease-in-out infinite alternate;
}

@keyframes venueFloatUnique {
  0% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(1deg);
  }
  100% {
    transform: rotate(-1deg);
  }
}

.venue-description-unique {
  margin-top: 30px;
  font-size: 18px;
  line-height: 1.6;
}

.venue-button-unique {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #253859;
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 24px;
  font-family: 'Caveat';
}

/* ===== DRESS CODE ===== */
.dresscode-wrapper-unique {
  max-width: 620px;
  margin-top: -50px;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.dresscode-title-unique {
  font-size: 62px;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'Caveat';
}

.dresscode-description-unique {
  font-size: 18px;
  margin-bottom: 50px;
}

/* ===============================
   EACH DRESSCODE SECTION
================================ */

.dresscode-section-unique {
  margin-bottom: 40px;
}

.dresscode-subtitle-unique {
  font-size: 40px;
  margin-bottom: 18px;
  position: relative;
  font-family: 'Caveat';
}


/* ===============================
   COLOR PALETTE
================================ */

.dresscode-color-list-unique {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.dresscode-color-item-unique {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

/* hover effect */
.dresscode-color-item-unique:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 600px) {
  .dresscode-title-unique {
    font-size: 46px;
  }

  .dresscode-subtitle-unique {
    font-size: 32px;
  }

  .dresscode-color-item-unique {
    width: 36px;
    height: 36px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .venue-wrapper-unique {
    gap: 90px;
  }

  .venue-title-unique {
    font-size: 40px;
  }
}

@media (max-width: 480px) {

  .venue-item-unique {
    max-width: 400px;
    margin-top: -50px;
  }
}

.wedding-gift-section-ux91 {
  padding-bottom: 100px;
  padding-top: 0;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  margin-top: -20px;
}

/* ===== TITLES ===== */
.gift-title-ux91 {
  font-size: 62px;
  margin-bottom: 24px;
  font-family: 'Caveat';
}

.gift-subtitle-ux91 {
  font-size: 42px;
  font-family: 'Caveat';
}

/* ===== ICON ANIMATION ===== */
.gift-rotate-anim-ux91 {
  width: 70px;
  margin: 20px auto;
  animation: giftRotateUx91 3s ease-in-out infinite;
}

@keyframes giftRotateUx91 {
  0% { transform: rotate(-2deg); }
  50% { transform: rotate(0deg); }
  100% { transform: rotate(-2deg); }
}

/* ===== DESCRIPTION ===== */
.gift-desc-ux91,
.digital-gift-desc-ux91,
.physical-gift-desc-ux91 {
  max-width: 520px;
  margin: 0 auto 30px;
  font-size: 18px;
}

/* ===== SEPARATOR ===== */
.gift-separator-ux91 {
  margin: 40px auto 60px;
}

.gift-separator-ux91 img {
  width: 360px;
  max-width: 130%;
  display: block;
  margin: 0 auto;
}

/* ===== BANK ===== */
.bank-card-ux91 {
  margin: 40px auto;
  max-width: 320px;
}

.bank-logo-ux91 {
  margin-bottom: 14px;
}

.bank-logo-ux91 img {
  width: 120px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.bank-number-ux91 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #253859;
}

.copy-btn-ux91 {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 28px;
  background: #253859;
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 20px;
  font-family: 'Caveat';
}


/* ===== ADDRESS ===== */
.gift-address-ux91 {
  font-size: 16px;
  margin: 24px 0;
  color: #253859;
}

/* ===== CONFIRM BUTTON ===== */
.confirm-gift-btn-ux91 {
  display: inline-block;
  padding: 12px 26px;
  background: #23324d;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 20px;
  font-family: 'Caveat';
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .gift-title-ux91{
    font-size: 44px;
  }
  .gift-subtitle-ux91 {
    font-size: 40px;
  }

  .gift-desc-ux91,
  .digital-gift-desc-ux91,
  .physical-gift-desc-ux91 {
    font-size: 18px;
  }
}

/* ===== SECTION BASE ===== */
.section-moments-glimpse-ux91 {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 0;
  padding-bottom: 40px;
  text-align: center;
  background: #ffffff;
}

/* title */
.moments-title-ux91 {
  font-size: 60px;
  margin-bottom: 20px;
  font-family: 'Caveat';
}

/* ===== GALLERY GRID ===== */
.moments-gallery-ux91 {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.moment-img-ux91 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.moment-img-ux91:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ===== LIGHTBOX ===== */
.moment-lightbox-ux91 {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
  z-index: 9999;
}

.moment-lightbox-ux91.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-image-ux91 {
  max-width: 90%;
  max-height: 85%;
  border-radius: 18px;
}

.lightbox-close-ux91 {
  position: absolute;
  top: 24px;
  right: 30px;
  font-size: 42px;
  color: #000000;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .moments-gallery-ux91 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .moments-title-ux91 {
    font-size: 42px;
  }

  .moments-gallery-ux91 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.lightbox-nav-ux91 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  color: #000000;
  cursor: pointer;
  padding: 12px;
  user-select: none;
  opacity: 0.8;
}

.lightbox-nav-ux91:hover {
  opacity: 1;
}

.lightbox-nav-ux91.prev {
  left: 20px;
}

.lightbox-nav-ux91.next {
  right: 20px;
}

/* mobile friendly */
@media (max-width: 480px) {
  .lightbox-nav-ux91 {
    font-size: 34px;
  }
}


/* ===== RSVP SECTION ===== */
.rsvp-section {
  width: 100%;
  padding: 30px 20px;
  text-align: center;
  background: transparent;
  font-family: 'Indie Flower', cursive;
}

.rsvp-section .section-title {
  font-size: 62px;
  margin-bottom: 14px;
  font-family: 'Caveat';
}

.rsvp-subtitle {
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* form */
.rsvp-form {
  max-width: 420px;
  margin: 0 auto;
}

.rsvp-input-name,
.rsvp-input-guest {
  width: 100%;
  border: none;
  border-bottom: 2px solid #dadada;
  background: transparent;
  padding: 12px 6px;
  font-size: 18px;
  font-family: 'Indie Flower', cursive;
  color: #253859;
  margin-bottom: 32px;
}

.rsvp-input-name::placeholder {
  color: #9bb2c9;
}

.rsvp-input-name:focus,
.rsvp-input-guest:focus {
  outline: none;
  border-bottom-color: #253859;
}

.rsvp-btn-send {
  background: transparent;
  border: 2px solid #ffffff;
  color: #253859;
  padding: 12px 34px;
  border-radius: 30px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Indie Flower', cursive;
}

.rsvp-btn-send:hover {
  background: #253859;
  color: #ffffff;
}

.rsvp-feedback {
  margin-top: 26px;
  font-size: 16px;
  color: #7fa8cc;
}

/* ===== WISHES SECTION ===== */
.wish-section {
  width: 100%;
  padding: 10px 20px;
  text-align: center;
  background: transparent;
  font-family: 'Indie Flower', cursive;
}

.wish-section .section-title {
  font-size: 62px;
  margin-bottom: 14px;
  font-family: 'Caveat';
}

.wish-subtitle {
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* form */
.wish-form {
  max-width: 520px;
  margin: 0 auto 80px;
}

.wish-input-name,
.wish-input-text {
  width: 100%;
  border: none;
  border-bottom: 2px solid #c7d9ea;
  background: transparent;
  padding: 12px 6px;
  font-size: 18px;
  font-family: 'Indie Flower', cursive;
  color: #23324d;
  margin-bottom: 32px;
}

.wish-input-text {
  min-height: 90px;
  resize: none;
}

.wish-input-name::placeholder,
.wish-input-text::placeholder {
  color: #9bb2c9;
}

.wish-input-name:focus,
.wish-input-text:focus {
  outline: none;
  border-bottom-color: #7fa8cc;
}

.wish-btn-send {
  background: transparent;
  border: 2px solid #ffffff;
  color: #253859;
  padding: 12px 34px;
  border-radius: 30px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Indie Flower', cursive;
}

.wish-btn-send:hover {
  background: #253859;
  color: #ffffff;
}

.wish-list {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;

  /* INI KUNCI UTAMA */
  max-height: 380px;      /* ± 4–5 wishes */
  overflow-y: auto;
  overflow-x: hidden;

  padding-right: 10px;
  box-sizing: border-box;
}

/* pastikan setiap item full width */
.wish-list > div {
  display: block;
  width: 100%;
}

/* Scrollbar halus */
.wish-list::-webkit-scrollbar {
  width: 6px;
}

.wish-list::-webkit-scrollbar-thumb {
  background: #c7d9ea;
  border-radius: 10px;
}

.wish-list::-webkit-scrollbar-track {
  background: transparent;
}

/* Firefox */
.wish-list {
  scrollbar-width: thin;
  scrollbar-color: #c7d9ea transparent;
}

/* ===== WISH ITEM SPACING & DIVIDER ===== */
.wish-list > div {
  padding: 26px 0;                 /* jarak atas–bawah */
  border-bottom: 1.5px dashed #b6cde2;
}

.wish-list > div:last-child {
  border-bottom: none;
}

/* Nama pengirim */
.wish-list strong {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;             /* jarak nama ke pesan */
  color: #23324d;
}

/* Pesan */
.wish-list p {
  font-size: 16px;
  line-height: 1.7;                /* biar lega dibaca */
  color: #4a6280;
}

/* OPTIONAL: kasih jarak antar wish lebih "bernafas" */
.wish-list > div + div {
  margin-top: 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .rsvp-section,
  .wish-section {
     padding: 10px 20px;
  }

  .section-title {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 30px;
  }

  .rsvp-input-name,
  .rsvp-input-guest,
  .wish-input-name,
  .wish-input-text {
    font-size: 16px;
  }
}

/* ===== CLOSING SECTION ===== */
.closing-section-unique {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  background: #ffffff;
  text-align: center;
}

/* title */
.closing-title-unique {
  font-size: 62px;
  margin-bottom: 26px;
  font-family: 'Caveat';
}

/* heart */
.closing-heart-wrapper-unique {
  margin-bottom: 40px;
}

.closing-heart-wrapper-unique img {
  width: 60px;
  height: auto;
}

/* image */
.closing-image-wrapper-unique {
  max-width: 420px;
  margin: 0 auto 60px;
  text-align: center;
}

.closing-image-wrapper-unique img {
  width: 100%;
  display: block;

  /* posisi awal miring */
  transform: rotate(-4deg);
}

/* footer */
.closing-footer-unique {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.closing-instagram-unique img {
  width: 28px;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.closing-instagram-unique:hover img {
  opacity: 1;
}

.closing-copyright-unique {
  font-size: 14px;
  color: #6c84a1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .closing-section-unique {
    padding-left: 20px;
      padding-right: 20px;
      padding-top: 10px;
      padding-bottom: 10px;
  }

  .closing-title-unique {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .closing-title-unique {
    font-size: 40px;
  }

  .closing-heart-wrapper-unique img {
    width: 50px;
  }

  .closing-image-wrapper-unique {
    max-width: 300px;
  }
}

/* =============================== */
/* MEMORY CINEMATIC ANIMATION     */
/* =============================== */

.memory-cinematic-section * {
  box-sizing: border-box;
}

/* STATE AWAL (SEBELUM MASUK VIEWPORT) */
.memory-equation-wrapper,
.memory-title-wrapper,
.memory-couple-wrapper {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

/* KHUSUS RING ICON */
.memory-icon-ring {
  transform: scale(0.7) rotate(-10deg);
  opacity: 0;
  transition: all 1.4s ease;
}

/* COUPLE IMAGE */
.memory-photo-couple img {
  transform: scale(1.08);
  opacity: 0;
  transition: transform 1.6s ease, opacity 1.6s ease;
}

/* =============================== */
/* SAAT AKTIF (MASUK VIEWPORT)     */
/* =============================== */

.memory-cinematic-active .memory-equation-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.memory-cinematic-active .memory-icon-ring {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.memory-cinematic-active .memory-title-wrapper {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.memory-cinematic-active .memory-couple-wrapper {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.memory-cinematic-active .memory-photo-couple img {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.8s;
}

/* OPTIONAL: subtle floating star */
.memory-icon-star {
  animation: memoryFloatStar 4s ease-in-out infinite;
}

@keyframes memoryFloatStar {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* ===== CINEMATIC BASE ===== */
.cinematic-trigger {
  overflow: hidden;
}

/* Initial state (SEBELUM masuk viewport) */
.cinematic-title,
.cinematic-text,
.cinematic-image {
  transform: translateY(40px);
  will-change: transform;
}

/* ===== TITLE ANIMATION ===== */
.cinematic-title {
  letter-spacing: 0.25em;
  transform: translateY(60px);
  transition:
    transform 1.4s cubic-bezier(0.25, 1, 0.5, 1),
    letter-spacing 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ===== TEXT ANIMATION ===== */
.cinematic-text {
  transform: translateX(-40px);
  transition:
    transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== IMAGE ANIMATION ===== */
.cinematic-image {
  transform: translateY(30px) scale(1.08);
  transition:
    transform 1.6s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ===== ACTIVE STATE ===== */
.cinematic-trigger.is-visible .cinematic-title {
  transform: translateY(0);
  letter-spacing: 0.05em;
}

.cinematic-trigger.is-visible .cinematic-text {
  transform: translateX(0);
}

.cinematic-trigger.is-visible .cinematic-image {
  transform: translateY(0) scale(1);
}

/* ===== STAGGER DELAY ===== */
.cinematic-trigger.is-visible .cinematic-title {
  transition-delay: 0.1s;
}

.cinematic-trigger.is-visible .cinematic-text {
  transition-delay: 0.35s;
}

.cinematic-trigger.is-visible .cinematic-image {
  transition-delay: 0.6s;
}

/* ===== CINEMATIC BASE ===== */
.cinematic-trigger {
  overflow: hidden;
}

/* Initial state */
.cinematic-from-left {
  transform: translateX(-60px);
  will-change: transform;
}

.cinematic-from-right {
  transform: translateX(60px);
  will-change: transform;
}

/* Animation timing */
.cinematic-from-left,
.cinematic-from-right {
  transition: transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ===== ACTIVE ===== */
.cinematic-trigger.is-visible .cinematic-from-left,
.cinematic-trigger.is-visible .cinematic-from-right {
  transform: translateX(0);
}

/* ===== STAGGER (BIAR CINEMATIC) ===== */
.cinematic-trigger.is-visible .cinematic-from-left:nth-of-type(1) {
  transition-delay: 0.1s;
}

.cinematic-trigger.is-visible .cinematic-from-right {
  transition-delay: 0.35s;
}

.cinematic-trigger.is-visible .cinematic-from-left:last-child {
  transition-delay: 0.6s;
}

/* ===== BASE ===== */
.anim-wrap {
  overflow: hidden;
}

/* INITIAL */
.anim-left {
  transform: translateX(-70px);
  will-change: transform;
}

.anim-right {
  transform: translateX(70px);
  will-change: transform;
}

.anim-left,
.anim-right {
  transition: transform 1.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ACTIVE */
.anim-wrap.is-visible .anim-left,
.anim-wrap.is-visible .anim-right {
  transform: translateX(0);
}

/* STAGGER */
.anim-wrap.is-visible .anim-left {
  transition-delay: 0.15s;
}

.anim-wrap.is-visible .anim-right {
  transition-delay: 0.45s;
}


/* ===== VENUE ANIMATION BASE ===== */
.venue-anim-scope {
  overflow: hidden;
}

.venue-anim-item {
  overflow: hidden;
}

/* INITIAL STATE */
.venue-anim-up {
  transform: translateY(40px);
  will-change: transform;
}

.venue-anim-left {
  transform: translateX(-80px);
  will-change: transform;
}

.venue-anim-right {
  transform: translateX(80px);
  will-change: transform;
}

.venue-anim-soft {
  transform: translateY(20px);
  will-change: transform;
}

/* TRANSITION */
.venue-anim-up,
.venue-anim-left,
.venue-anim-right,
.venue-anim-soft {
  transition: transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ACTIVE */
.venue-anim-item.is-visible .venue-anim-up,
.venue-anim-item.is-visible .venue-anim-left,
.venue-anim-item.is-visible .venue-anim-right,
.venue-anim-item.is-visible .venue-anim-soft {
  transform: translate(0);
}

/* STAGGER DELAY */
.venue-anim-item.is-visible .venue-anim-up {
  transition-delay: 0.15s;
}

.venue-anim-item.is-visible .venue-anim-left,
.venue-anim-item.is-visible .venue-anim-right {
  transition-delay: 0.35s;
}

.venue-anim-item.is-visible .venue-anim-soft {
  transition-delay: 0.55s;
}

.venue-anim-item.is-visible .venue-button-unique {
  transition-delay: 0.75s;
}

/* ===== DRESS FADE ANIMATION ===== */
.dress-fade-scope {
  overflow: hidden;
}

/* INITIAL */
.dress-fade-item {
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
  transition:
    opacity 1.2s ease,
    transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ACTIVE */
.dress-fade-scope.is-visible .dress-fade-item {
  opacity: 1;
  transform: translateY(0);
}

/* STAGGER */
.dress-fade-scope.is-visible .dress-fade-item:nth-child(1) {
  transition-delay: 0.1s;
}

.dress-fade-scope.is-visible .dress-fade-item:nth-child(2) {
  transition-delay: 0.3s;
}

.dress-fade-scope.is-visible .dress-fade-item:nth-child(3) {
  transition-delay: 0.5s;
}

.dress-fade-scope.is-visible .dress-fade-item:nth-child(4) {
  transition-delay: 0.7s;
}

.gift-anim-scope {
  overflow: hidden;
}

/* INITIAL STATES */
.gift-anim-rise {
  transform: translateY(30px);
  will-change: transform;
}

.gift-anim-slide {
  transform: translateX(-30px);
  will-change: transform;
}

.gift-anim-card {
  transform: translateY(40px);
  will-change: transform;
}

.gift-anim-cta {
  transform: translateY(25px);
  will-change: transform;
}

/* ICON SPECIAL */
.gift-anim-icon {
  transform: rotate(-6deg) translateY(20px);
  will-change: transform;
}

/* TRANSITION */
.gift-anim-rise,
.gift-anim-slide,
.gift-anim-card,
.gift-anim-cta,
.gift-anim-icon {
  transition: transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ACTIVE */
.gift-anim-scope.is-visible .gift-anim-rise,
.gift-anim-scope.is-visible .gift-anim-slide,
.gift-anim-scope.is-visible .gift-anim-card,
.gift-anim-scope.is-visible .gift-anim-cta,
.gift-anim-scope.is-visible .gift-anim-icon {
  transform: translate(0) rotate(0);
}

/* STAGGER */
.gift-anim-scope.is-visible .gift-anim-rise { transition-delay: 0.15s; }
.gift-anim-scope.is-visible .gift-anim-icon { transition-delay: 0.3s; }
.gift-anim-scope.is-visible .gift-anim-slide { transition-delay: 0.45s; }
.gift-anim-scope.is-visible .gift-anim-card { transition-delay: 0.6s; }
.gift-anim-scope.is-visible .gift-anim-cta { transition-delay: 0.8s; }

/* ===== MOMENTS ANIMATION ===== */
.moments-anim-scope {
  overflow: hidden;
}

/* TITLE */
.moments-anim-title {
  transform: translateY(30px);
  will-change: transform;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* GRID ITEM INITIAL */
.moments-anim-item {
  transform: translateX(-20px);
  opacity: 0.98; /* sangat halus, bukan fade-in */
  will-change: transform;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* alternate direction */
.moments-anim-item:nth-child(even) {
  transform: translateX(20px);
}

/* ACTIVE */
.moments-anim-scope.is-visible .moments-anim-title {
  transform: translateY(0);
}

.moments-anim-scope.is-visible .moments-anim-item {
  transform: translateX(0);
}

/* STAGGER */
.moments-anim-scope.is-visible .moments-anim-item:nth-child(1) { transition-delay: 0.15s; }
.moments-anim-scope.is-visible .moments-anim-item:nth-child(2) { transition-delay: 0.3s; }
.moments-anim-scope.is-visible .moments-anim-item:nth-child(3) { transition-delay: 0.45s; }
.moments-anim-scope.is-visible .moments-anim-item:nth-child(4) { transition-delay: 0.6s; }
.moments-anim-scope.is-visible .moments-anim-item:nth-child(5) { transition-delay: 0.75s; }
.moments-anim-scope.is-visible .moments-anim-item:nth-child(6) { transition-delay: 0.9s; }

/* ================= PRELOADER ================= */
#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-content {
  width: 200px; /* Lebar area loading */
  text-align: center;
}

/* Logo Favicon */
.loader-logo {
  width: 40px;
  height: auto;
  margin-bottom: 20px;
  animation: fadeIn 0.8s ease;
}

/* Progress Bar Container */
.progress-container {
  width: 100%;
  height: 2px; /* Tipis biar elegan */
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

/* Progress Bar Inner */
.progress-bar {
  width: 0%; /* Start dari 0 */
  height: 100%;
  background: #1a1a1a; /* Warna bar gelap premium */
  transition: width 0.4s ease; /* Transisi pas nambah % */
}

.loading-text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888888;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ===== LOVE STORY SECTION ===== */
.section-love-story-unique {
  width: 100%;
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
  font-family: 'Indie Flower', cursive;
  color: #23324d;
}

.story-wrapper-unique {
  max-width: 800px;
  margin: 0 auto;
}

.story-title-unique {
  font-size: 64px;
  font-family: 'Caveat';
  margin-bottom: 40px;
}

.story-image-wrapper-unique {
  margin-bottom: 40px;
}

.story-image-wrapper-unique img {
  width: 100%;
  max-width: 600px; 
  height: auto;
  border-radius: 10px;
}

.story-names-text-unique {
  font-size: 30px;
  font-family: 'Caveat';
  margin: 30px 0;
}

/* CLOSING PART */
.story-closing-wrapper-unique {
  margin-top: 60px;
  border-top: 1px solid #eee;
  padding-top: 40px;
}

.story-closing-img-unique {
  width: 180px;
  margin-bottom: 20px;
  opacity: 0.8;
}

.story-closing-text-unique {
  font-size: 20px;
  font-style: italic;
}

/* ===== RESPONSIVE LOVE STORY ===== */
@media (max-width: 768px) {
  .story-title-unique {
    font-size: 45px;
  }
  .story-names-text-unique {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .section-love-story-unique {
    padding: 50px 15px;
  }
  .story-title-unique {
    font-size: 38px;
  }
  .story-image-wrapper-unique img {
    max-width: 100%; /* Full lebar di HP */
  }
  .story-names-text-unique {
    font-size: 32px;
  }
  .story-closing-img-unique {
    width: 140px;
  }
}

