/* === DEV MODE ONLY === 
#preloader { display: none !important; }
#cover-page { display: none !important; }
.groom-bride-section { display: block !important; opacity: 1 !important; }
.observe-anim { opacity: 1 !important; transform: none !important; }*/

@font-face {
  font-family: 'Bickham';
  src: url('../../fonts/Bickham.woff2') format('woff2'),
       url('../../fonts/Bickham.woff') format('woff'),
       url('../../fonts/Bickham.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Baskvill';
  src: url('../../fonts/BASKVILL.woff2') format('woff2'),
       url('../../fonts/BASKVILL.woff') format('woff'),
       url('../../fonts/BASKVILL.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.font-bickham { font-family: 'Bickham', cursive; }
.font-baskvill { font-family: 'Baskvill', serif; }

body {
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  overflow-x: hidden;
}

.main-wrapper {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: #fcfcfc;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fcfcfc;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease;
}

#preloader.fade-out {
  opacity: 0;
}

.loader-content {
  text-align: center;
  width: 200px;
}

.loader-logo {
  width: 60px;
  height: auto;
  margin-bottom: 20px;
}

.progress-container {
  width: 100%;
  height: 4px;
  background-color: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background-color: #7d6b58;
  transition: width 0.1s linear;
}

.loading-text {
  font-family: 'Baskvill', serif;
  font-size: 14px;
  color: #7d6b58;
  margin: 0;
  letter-spacing: 1px;
}

.vinyl-btn {
  position: fixed;
  bottom: 30px;
  right: calc(50% - 220px);
  width: 50px;
  height: 50px;
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (max-width: 480px) {
  .vinyl-btn {
    right: 20px;
    bottom: 20px;
  }
}

.vinyl-btn.visible {
  opacity: 1;
  transform: scale(1);
}

.rotating {
  animation: rotateVinyl 4s linear infinite;
}

.cover-section {
  width: 100%;
  height: 100vh;
  background-image: url('../../images/hasan-sasa/bgpembuka.webp');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  
  /* 1. Diubah dari 45px ke 25px agar posisi teks paling atas terdorong lebih naik */
  padding-top: 25px; 
  
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide-up-out {
  transform: translateY(-100vh);
}

.cover-section h1 {
  /* 1. Dikecilkan dari 82px ke 72px agar lebih sleek & proporsional */
  font-size: 72px; 
  margin: 0;
  color: #000000;
  font-weight: normal;
  line-height: 1;
}

.cover-section .date {
  font-size: 22px; /* Dikecilkan tipis dari 24px */
  letter-spacing: 2px;
  color: #000000;
  margin-top: 2px; /* Dirapatkan dari 5px */
  
  /* 1. Jarak ke elemen amplop di bawahnya dipangkas dari 20px ke 10px */
  margin-bottom: 10px; 
}

.envelope-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* 1. Jarak dari amplop ke info tamu dirapatkan dari 15px ke 5px */
  margin-bottom: 5px; 
}

.envelope-img {
  width: 110px; /* Di-scale down dikit dari 120px agar makin padat space-nya */
  height: auto;
}

.guest-info {
  color: #000000;
  
  /* 1. Jarak ke tombol Open Invitation dirapatkan dari 20px ke 12px */
  margin-bottom: 12px; 
  text-align: center;
}

.guest-info .dear {
  font-size: 18px; /* Dikecilkan tipis dari 20px */
  margin: 0 0 5px 0; /* Jarak bawah dirapatkan dari 10px ke 5px */
}

.guest-info .invited-text {
  font-size: 14px; /* Dikecilkan tipis dari 15px */
  line-height: 1.4;
  margin: 0;
}

.btn-open {
  background: none;
  border: none;
  border-bottom: 1px solid #000000;
  color: #000000;
  font-size: 15px;
  padding: 4px 10px;
  cursor: pointer;
  outline: none;
  transition: opacity 0.3s ease;
}

.btn-open:hover {
  opacity: 0.6;
}


.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes rotateVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


/* ID CSS Penanda: groom-bride-section */
.groom-bride-section {
  width: 100%;
  min-height: 100vh;
  padding: 20px 24px;
  box-sizing: border-box;
  display: none;
  opacity: 0;
  background-image: url('../../images/hasan-sasa/bggroombride.webp');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.groom-bride-section.active {
  display: block;
  opacity: 1;
}

.content-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Styling untuk Ayat Pembuka */
.opening-verse {
  width: 80%;
  padding: 0 10px;
  box-sizing: border-box;
  margin-top: 10px;
  margin-bottom: 35px; /* Memberi ruang sebelum masuk ke judul Groom & Bride */
  text-align: center;
}

.opening-verse .verse-text {
  font-size: 13.5px;
  line-height: 1.8;
  color: #333333;
  font-style: italic;
  margin: 0 0 10px 0;
}

.opening-verse .verse-reference {
  font-size: 12px;
  color: #7d6b58; /* Menggunakan tone warna cokelat hangat seperti progress bar lu */
  font-weight: normal;
  letter-spacing: 1px;
  margin: 0;
}

.groom-bride-title {
  font-family: 'Bickham', cursive;
  font-size: 68px;
  margin: 0 0 2px 0 !important;
  color: #000000;
  font-weight: normal;
}

.header-icon-wrapper {
  margin-top: -15px;
  margin-bottom: 15px;
}

.header-icon {
  width: 90px;
  height: auto;
}

.profile-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.photo-frame {
  width: 190px;
  height: 250px;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 25px;
  position: relative;
}

.photo-frame.no-bg {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-family: 'Baskvill', serif;
  font-size: 28px;
  color: #000000;
  font-weight: normal;
  line-height: 1.2;
  margin: 0 0 15px 0;
}

.parents-info {
  font-family: 'Baskvill', serif;
  color: #000000;
  font-size: 14px;
  line-height: 1.6;
}

.parents-info .son-of,
.parents-info .daughter-of {
  font-style: italic;
  font-size: 15px;
  margin: 0 0 8px 0;
  color: #000000;
}

.parents-info .parent-names {
  margin: 0;
  font-weight: normal;
}

.ampersand-divider {
  font-family: 'Bickham', cursive;
  font-size: 88px;
  color: #000000;
  margin: 15px 0;
  font-weight: normal;
  line-height: 1;
}

/* ID CSS Penanda: Animasi Premium Lewat Observers */
.observe-anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1), 
              transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1);
  will-change: transform, opacity;
}

.observe-anim.slide-in-premium {
  opacity: 1;
  transform: translateY(0);
}



/* ID CSS Penanda: save-date-section */
.save-date-section {
  width: 100%;
  min-height: auto; 
  box-sizing: border-box;
  padding-bottom: 80px; 
  background-image: url('../../images/hasan-sasa/bggroombride.webp');
  background-size: 100% auto; 
  background-position: top center;
  background-repeat: no-repeat;
}

.cover-date-wrapper {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.cover-date-img {
  width: 100%;
  height: auto;
  display: block;
}

.date-content-box {
  width: 100%;
  padding: 40px 24px 0 24px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.date-title {
  font-family: 'Bickham', cursive;
  font-size: 68px;
  color: #000000;
  margin: 0 0 15px 0;
  font-weight: normal;
  line-height: 1;
}

.date-sub-text {
  font-family: 'Baskvill', serif;
  font-size: 16px;
  color: #000000;
  margin: 0 0 15px 0;
}

.full-date {
  font-family: 'Baskvill', serif;
  font-size: 24px;
  letter-spacing: 2px;
  color: #000000;
  margin: 0 0 20px 0;
  font-weight: normal;
}

/* ID CSS Penanda: button-add-to-calendar */
.calendar-btn-wrapper {
  margin-bottom: 45px;
}

.btn-calendar {
  font-family: 'Baskvill', serif;
  background: none;
  border: none;
  color: #000000;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.btn-calendar::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #000000;
  transform: scaleX(1);
  transform-origin: bottom left;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-calendar:hover::after {
  transform: scaleX(0);
  transform-origin: bottom right;
}

/* ID CSS Penanda: countdown-text-layout */
.countdown-text-container {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.countdown-number-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.num-block {
  width: 60px;
  text-align: center;
}

.num-block span {
  font-family: 'Baskvill', serif;
  font-size: 52px;
  color: #000000;
  font-weight: normal;
  line-height: 1;
}

.sep {
  font-family: 'Baskvill', serif;
  font-size: 42px;
  color: #000000;
  margin: 0 8px;
  line-height: 1;
  position: relative;
  top: -4px;
}

.countdown-label-row {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
}

.label-block {
  width: 60px;
  text-align: center;
  font-family: 'Baskvill', serif;
  font-size: 13px;
  color: #555555;
}

.label-space {
  width: 32px; 
}

/* ID CSS Penanda: premium-anim-drift */
.premium-anim {
  opacity: 0;
  transform: translateX(-20px) scale(0.97);
  filter: blur(4px);
  transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

.premium-anim.slide-in-premium-drift {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
}


/* ID CSS Penanda: gallery-section */
.gallery-section {
  width: 100%;
  position: relative;
  background-image: url('../../images/hasan-sasa/bggroombride.webp');
  background-size: 100% 100%; /* Menarik satu background full dari atas sampai bawah tangga */
  background-position: center;
  background-repeat: no-repeat; /* Tidak ada repetisi gambar sama sekali */
  padding-bottom: 25px; /* Jarak sedikit di bawah tangga agar tidak mentok */
  box-sizing: border-box;
  
  display: none; 
}

/* Muncul secara simultan bersama section lain setelah Open Invitation diklik */
.gallery-section.active {
  display: block;
}

/* Lampu mepet ke bagian atas section */
.gallery-lamp {
  width: 100%;
  max-width: 180px;
  display: block;
  margin: 0 auto;
  position: relative;
  top: 0;
}

.gallery-header {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
}

.gallery-header h2 {
  font-size: 58px;
  color: #000000;
  margin: 0;
  font-weight: normal;
  line-height: 1;
}

.gallery-header p {
  font-size: 16px;
  color: #000000;
  margin: 5px 0 0 0;
  letter-spacing: 1px;
}

/* Layout Grid 2 Kolom Sejajar */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 24px;
  margin-bottom: 35px;
}

.gallery-item {
  width: 100%;
  aspect-ratio: 3 / 4; /* Menjaga proporsi bingkai emas vertikal */
  cursor: pointer;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* Penutup Tangga Sampai Ujung Screen Kanan-Kiri */
.gallery-footer {
  width: 100%;
  padding: 0;
  margin: 0;
}

.stair-divider {
  width: 100%;
  height: auto;
  display: block;
}

/* --- LIGHTBOX STYLING (PREMIUM SMOOTH BLUR) --- */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center; /* Kunci utama isi konten selalu di tengah vertikal */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content-wrapper {
  width: 100%;
  max-width: 85vw;
  height: 100%;
  max-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center; /* Memastikan foto horizontal/vertikal tetap center alignment */
  overflow: hidden;
}

#lightboxImg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Mengikuti ukuran asli gambar, tidak merusak aspek rasio */
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: block;
}

.lightbox-overlay.active #lightboxImg {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #ffffff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10002;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  outline: none;
  user-select: none;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.6);
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

/* --- CLASS ANIMASI UNIK (Gallery Reveal Smooth) --- */
.gallery-reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.gallery-reveal.show-smooth {
  opacity: 1;
  transform: translateY(0) scale(1);
}






/* ID CSS Penanda: venue-section */
.venue-section {
  width: 100%;
  position: relative;
  background-image: url('../../images/hasan-sasa/bgvenue.jpg');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 24px 60px 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  /* WAJIB: Terkunci rapat di awal agar tidak bleeding ke cover */
  display: none; 
}

.venue-section.active {
  display: flex;
}

.venue-title {
  font-family: 'Bickham', cursive;
  font-size: 68px;
  color: #000000;
  margin: 0 0 25px 0;
  font-weight: normal;
  line-height: 1;
}

/* Polaroid Image Sizing */
.venue-polaroid-wrapper {
  width: 100%;
  max-width: 320px;
  margin-bottom: 30px;
}

.venue-polaroid-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Frame Note Layout */
.venue-frame-container {
  width: 100%;
  max-width: 310px;
  position: relative;
  margin-bottom: 25px;
}

.venue-frame-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* Overlay text tepat di atas kertas framevenue.webp */
.venue-frame-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 30px 10px 30px;
  box-sizing: border-box;
  color: #000000;
}

.venue-frame-text h3 {
  font-size: 20px;
  font-weight: normal;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
}

.venue-frame-text p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

/* Jam Sesi Schedulle */
.venue-time-info {
  color: #000000;
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 25px;
}

.venue-time-info p {
  margin: 4px 0;
}

/* Button Premium Pill Shape Get Direction */
.venue-maps-btn-wrapper {
  width: 100%;
}

.btn-direction {
  display: inline-block;
  background-color: #8c6a53; /* Warna tone cokelat solid berdasar sampel tombol */
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  padding: 12px 45px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(140, 106, 83, 0.2);
  transition: background-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.btn-direction:hover {
  background-color: #73533f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(140, 106, 83, 0.35);
}

/* --- ANIMASI UNIK VENUE SECTION (Soft Scale & Fade Overlap) --- */
.venue-reveal-anim {
  opacity: 0;
  transform: scale(0.96) translateY(20px);
  transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1),
              transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.venue-reveal-anim.fade-in-premium-venue {
  opacity: 1;
  transform: scale(1) translateY(0);
}





/* ID CSS Penanda: rsvp-wishes-section */
.rsvp-wishes-section {
  width: 100%;
  position: relative;
  background-image: url('../../images/hasan-sasa/bgrsvpwish.webp');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px; /* Jarak antar card rsvp dan wishes agar proporsional */

  /* KUNCI DARI SEGALA KUNCI: Sembunyikan total di awal */
  display: none;
}

.rsvp-wishes-section.active {
  display: flex;
}

/* Base Card & Frame */
.rw-card {
  width: 100%;
  max-width: 360px;
  position: relative;
  box-sizing: border-box;
}

.rw-frame-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* Mapping Konten Presisi Tepat di Dalam Frame */
.rw-card-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 55px 40px 45px 40px; /* Padding disesuaikan dengan lekukan framerw.png */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rw-title {
  font-size: 36px;
  color: #ffffff;
  margin: 0 0 20px 0;
  font-weight: normal;
  letter-spacing: 1px;
}

.rw-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px; /* Merapatkan form yang tadinya kejauhan */
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 6px;
}

.form-group label {
  color: #ffffff;
  font-size: 15px;
}

.form-group .center-label {
  text-align: center;
  margin-bottom: 2px;
}

/* UX Upgrade: Glassmorphism Elegan untuk Field Input */
.rw-input, .rw-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 10px 14px;
  color: #ffffff;
  font-family: 'Baskerville', serif;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
  transition: all 0.3s ease;
}

.rw-input::placeholder, .rw-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.rw-input:focus, .rw-textarea:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.rw-textarea {
  resize: none;
}

/* UX Upgrade: Radio Button Bergaya Saklar Premium */
.attendance-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

.attendance-btn {
  cursor: pointer;
}

.attendance-btn input[type="radio"] {
  display: none; /* Sembunyikan bullet default */
}

.attendance-btn span {
  display: block;
  text-align: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* State ketika opsi dipilih (Mengambil sampel warna krem lembut dari gambar asli) */
.attendance-btn input[type="radio"]:checked + span {
  background-color: #f5ebd9;
  color: #000000;
  border-color: #f5ebd9;
  box-shadow: 0 4px 10px rgba(245, 235, 217, 0.3);
}

/* Premium Submit Button Pill-Shape */
.btn-rw-submit {
  background-color: #ffffff;
  color: #000000;
  border: none;
  font-family: 'Baskerville', serif;
  font-size: 14px;
  padding: 11px 0;
  width: 100%;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.btn-rw-submit:hover {
  background-color: #f5ebd9;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(245, 235, 217, 0.25);
}

/* --- ANIMASI REVEAL UNIK (Smooth Elegant Reveal) --- */
.rsvp-reveal-anim {
  opacity: 0;
  transform: translateY(35px) scale(0.97);
  transition: opacity 1.6s cubic-bezier(0.215, 0.610, 0.355, 1),
              transform 1.6s cubic-bezier(0.215, 0.610, 0.355, 1);
  will-change: transform, opacity;
}

.rsvp-reveal-anim.fade-in-premium-rsvp {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* --- TAMBAHKAN CSS INI DI BAWAH STYLING INPUT KAMU --- */

.rw-select-wrapper {
  position: relative;
  width: 100%;
}

.rw-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 10px 14px;
  color: #ffffff;
  font-family: 'Baskerville', serif;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
  cursor: pointer;
  appearance: none; /* Menghilangkan arrow bawaan sistem mobile/browser */
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 0.3s ease;
}

/* Custom Arrow Kanan Bergaya Minimalis */
.rw-select-wrapper::after {
  content: '▼';
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.rw-select:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

/* Mengatur warna teks opsi di dalam dropdown saat diklik */
.rw-select option {
  background-color: #332211; /* Mengikuti tone gelap agar teks putih terbaca */
  color: #ffffff;
}




/* ID CSS Penanda: closing-section */
.closing-section {
  width: 100%;
  position: relative;
  background-color: #f5ebd9; 
  padding: 0 0 50px 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  
  /* KUNCI UTAMA: Hide total di awal agar tidak bocor */
  display: none;
}

.closing-section.active {
  display: flex;
}

/* Ornamen Lampu Atas */
.closing-lamp {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-top: -2px; 
  display: block;
}

/* Container Digital Gift */
.digital-gift-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 40px 20px;
  box-sizing: border-box;
}

.gift-card-icon {
  width: 65px;
  height: auto;
  margin-bottom: 2px; /* 2. Jarak icon ke judul dirapatkan agar tidak terlalu jauh */
}

.title-digital-gift {
  font-size: 72px; /* 1. Ukuran font judul Digital Gift digedein (sebelumnya 42px) */
  color: #332211;
  margin: 0 0 5px 0;
  font-weight: normal;
}

/* Board Wrapper & Content Posisi Tengah */
.bank-board-wrapper {
  width: 100%;
  max-width: 350px;
  position: relative;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1; /* Memberikan konteks stacking layer */
}

.board-bg {
  width: 100%;
  height: auto;
  display: block;
}

.board-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 3. Padding atas dikurangi dari 55px/35px ke 20px untuk menaikkan posisi teks ke atas di dalam board */
  padding: 1px 25px 20px 25px; 
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #332211;
}

/* 3. Ukuran font seluruh data bank (BCA & Mandiri) dikecilkan sedikit agar lebih elegan */
.bank-name {
  font-size: 15px; /* Sebelumnya 18px */
  margin: 0 0 4px 0;
}

.bank-number {
  font-size: 17px; /* Sebelumnya 20px */
  font-weight: bold;
  letter-spacing: 0.5px;
  margin: 0 0 4px 0;
}

.account-holder {
  font-size: 14px; /* Sebelumnya 16px */
  margin: 0;
}

/* Tombol Copy Premium */
.btn-copy-account {
  background-color: #8c6a4a; 
  color: #ffffff;
  border: none;
  font-size: 13px;
  padding: 8px 24px;
  border-radius: 15px;
  cursor: pointer;
  margin-top: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* KUNCI UTAMA: Menaikkan layer tombol ke paling atas agar bisa di-klik */
  position: relative;
  z-index: 10; 
}

.btn-copy-account:hover {
  background-color: #735336;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-copy-account:active {
  transform: translateY(0) scale(0.95);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-copy-account.copied {
  background-color: #4a7c59; 
  transform: none;
  box-shadow: 0 3px 10px rgba(74, 124, 89, 0.3);
}
/* Bagian Image Full Width */
.closing-photo-wrapper {
  width: 100%;
  margin-bottom: 20px; /* Jarak bawah dipangkas agar Thank You section lebih rapat ke atas */
}

.closing-full-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Thank You & Nama Pasangan */
.thank-you-wrapper {
  width: 100%;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
  margin-top: -10px; /* Menggunakan negative margin untuk benar-benar mepetin jarak dengan gambar di atasnya */
}

.thank-you-text {
  font-size: 54px;
  color: #332211;
  margin: 0 0 10px 0; /* Jarak dari Thank You ke Hasan Sasa diperkecil */
  font-weight: normal;
}

.couple-closing-name {
  font-size: 20px; /* Ukuran font dikecilkan dikit agar proporsional dengan thank you text */
  color: #554433;
  margin: 0;
  letter-spacing: 1px;
}

/* --- ANIMASI CLOSING REVEAL --- */
.closing-reveal-anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1),
              transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.closing-reveal-anim.fade-in-premium-closing {
  opacity: 1;
  transform: translateY(0);
}

/* --- FOOTER SECTION --- */
.main-footer {
  width: 100%;
  background-color: #735343;
  padding: 15px 0;
  box-sizing: border-box;
  
  /* KUNCI: Hide di awal */
  display: none; 
}

.main-footer.active {
  display: block;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px; /* Jarak rapat antara logo/brand dengan teks copyright */
}

/* Link Wrapper untuk Logo & Brand */
.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Efek Hover Premium saat Logo atau Nama di-klik */
.footer-brand-link:hover {
  opacity: 0.8;
  transform: translateY(-1px); /* Efek drift naik tipis banget saat dihover */
}

.footer-logo {
  width: 18px; /* Ukuran icon kecil proporsional */
  height: auto;
  display: block;
}

.footer-brand-text {
  font-size: 13px;
  color: #f5ebd9; /* Menggunakan tone cream lembut agar kontrasnya nyaman di mata */
  font-weight: 500;
  letter-spacing: 0.5px;
}

.footer-copyright {
  font-size: 11px;
  color: rgba(245, 235, 217, 0.6); /* Warna cream tipis semi-transparan untuk copyright */
  letter-spacing: 0.3px;
}

/* Media query jika ingin tampil horizontal di layar yang agak lebar */
@media (min-width: 480px) {
  .footer-container {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }
}

.footer-reveal-anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.footer-reveal-anim.fade-in-premium-footer {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   SECTION PEMBUKA CUSTOM (DISCLAIMER)
   ========================================== */
.pembuka-custom {
  width: 100%;
  min-height: 100vh;
  padding: 40px 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url('../../images/hasan-sasa/bggroombride.webp');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
}

.custom-disclaimer-box {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto 0;
}

.disclaimer-badge {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7d6b58;
  border: 1px solid #7d6b58;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.disclaimer-title {
  font-size: 32px;
  color: #000000;
  margin: 0 0 16px 0;
  font-weight: normal;
}

.disclaimer-text {
  font-size: 14.5px;
  line-height: 1.8;
  color: #333333;
  margin: 0 0 35px 0;
}

/* Navigasi Scroll Down */
.scroll-down-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #7d6b58;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.scroll-down-wrapper:hover {
  opacity: 0.7;
}

.scroll-text {
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: #7d6b58;
}

.scroll-arrow {
  font-size: 20px;
  animation: bounceArrow 2s infinite;
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* Sembunyikan section pembuka dan main content saat awal load */
.pembuka-custom,
.groom-bride-section {
  display: none;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Kelas aktif saat di-show via JavaScript */
.pembuka-custom.active,
.groom-bride-section.active {
  display: block; /* atau display: flex untuk pembuka-custom */
  opacity: 1;
}

/* Khusus pembuka-custom butuh display flex saat aktif agar konten di tengah */
.pembuka-custom.active {
  display: flex;
}