/* ========== RESET & BASE ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: #eee;
  display: flex; justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: 'Cormorant Garamond', serif;
}

.container {
  width: 414px;
  max-width: 100%;
  min-height: 100vh;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  position: relative;
  overflow: visible;
}


/* ========== HERO / COVER ========== */
.hero{
  background-image: url('../img/bg2.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  min-height: 100vh;
  position: relative;
  overflow: visible;
  /*height: 100dvh;*/
}

.hero-overlay{
  position: relative;
  width: 100%;
  height: 100dvh;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;   /* fallback untuk browser lama */
}

.tagline{
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  font-size: 0.9rem; color: #222; font-weight: 300; text-align: left;
}

/* --- Huruf besar (W/R) ---  TANPA AOS */
.huruf.besar{
  font-size: 13rem;
  font-weight: bold;
  color: #111;
  position: absolute;
  line-height: 0.75;
  margin: 0; padding: 0;

  opacity: 0;
  filter: blur(2px);
  transition:
    opacity 1.8s ease-out,
    transform 1.8s ease-out,
    filter 1.8s ease-out;
}

/* Posisi + offset awal (24px) */
.huruf.w{ top: 0; right: 2rem; transform: translateY(-10%) translateY(24px) scale(0.96); }
.huruf.r{ bottom: 0; right: 2rem; transform: translateY( 10%) translateY(24px) scale(0.96); }

/* Saat .hero.play, transisi halus */
.hero.play .huruf.w{
  opacity: 1; filter: blur(0);
  transform: translateY(-10%) translateY(0) scale(1);
  transition-delay: .25s;
}
.hero.play .huruf.r{
  opacity: 1; filter: blur(0);
  transform: translateY(10%) translateY(0) scale(1);
  transition-delay: .55s;
}

/* "&" tampil setengah dari sisi kiri */
.and-wrapper{
  position: absolute;
  top: 50%; left: 0;
  width: 5rem; height: 20rem;
  transform: translateY(-50%);
  overflow: hidden;
  pointer-events: none;
}
.huruf.and-smooth{
  font-size: 11rem;
  color: #111;
  position: relative;
  left: -2rem;
  top: 90px;

  opacity: 0;
  filter: blur(2px);
  transform: translateY(24px) scale(0.96);
  transition:
    opacity 1.8s ease-out,
    transform 1.8s ease-out,
    filter 1.8s ease-out;
}
.hero.play .huruf.and-smooth{
  opacity: 1; filter: blur(0);
  transform: translateY(0) scale(1);
  transition-delay: .40s; /* di antara W & R */
}

/* Nama mempelai (kanan-tengah) */
.nama-mempelai{
  position: absolute;
  right: 6.5rem;
  top: 45%;
  transform: translateY(-50%);
  text-align: right;
}
.nama-atas, .nama-bawah{ font-size: 1.5rem; color:#111; font-weight: 400; }
.dan{ text-align: center; font-style: italic; }


/* Tombol Open Invitation — kiri bawah dekat R */
/*.open-invite-wrapper{*/
/*  position: absolute;*/
/*  left: 1.25rem;*/
/*  bottom: 6.5rem;*/
/*  z-index: 10;*/
/*}*/
/*.open-btn{*/
/*  padding: .75rem 1.5rem;*/
/*  font-size: 1rem; font-weight: bold;*/
/*  background-color: #000;*/
/*  color: #fff;*/
/*  border: none; border-radius: 30px;*/
/*  cursor: pointer;*/
/*  transition: background-color .3s ease;*/
/*}*/
/*.open-btn:hover{ background-color: #777; }*/

/* ========== HALAMAN 2: QUOTE ========== */
.quote-section{
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  text-align: center;
  padding: 50px 20px;

  background-image: url('../img/bg2.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

/* animasi kemunculan rumah gadang */
@keyframes fadeInRumah {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  100%{ opacity: 0.8; transform: translateY(0) scale(1); }
}

/* gambar rumah gadang di belakang shape */
.quote-section::before {
  content: "";
  position: absolute;
  top: 270px; left: 0;
  width: 100%; height: 100%;
  background: url('../img/rumah_gadang.png') no-repeat center center;
  background-size: 500px;
  z-index: 0.5;
  opacity: 0.8;
  animation: fadeInRumah 2.5s ease-out forwards;
  animation-delay: 0.8s;
}

/* shape abu transparan */
.shape{
  position: absolute;
  top: 10%; left: 10%; right: 10%; bottom: 10%;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 1; border-radius: 15px;
}

/* inisial besar W/R di quote */
.initial{
  position: absolute; font-size: 100px; font-weight: bold; z-index: 2; color: #000;
}
.initial.left{  left: 30%;  top: 22%; }
.initial.right{ right: 30%; top: 22%; }

/* paragraf quote */
.quote-text{
  position: relative; z-index: 2;
  margin-top: 40vh;
  font-size: 16px; color: #333;
  max-width: 300px; margin-left: auto; margin-right: auto;
}

/* ==== Bunga wrapper + “breathe” (zoom/rotate) ==== */
.flower{
  position: absolute;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}
.flower.tl{ top: 0; left: 0; }
.flower.tr{ top: 0; right: 0; }
.flower.bl{ bottom: 0; left: 0; }
.flower.br{ bottom: 0; right: 0; }

.flower-img{
  display: block;
  width: 180px;
  will-change: transform;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.12));
  animation: breathe 7s ease-in-out infinite alternate;
}

/* kunci sisi potong */
.flower.tl .flower-img{ transform-origin: 0%   0%;   }
.flower.tr .flower-img{ transform-origin: 100% 0%;   }
.flower.bl .flower-img{ transform-origin: 0%   100%; }
.flower.br .flower-img{ transform-origin: 100% 100%; }

/* zoom + sedikit rotate, tanpa translate (agar potongan tetap stay) */
@keyframes breathe{
  0%   { transform: scale(1)    rotate(0deg);   }
  40%  { transform: scale(1.06) rotate(0.6deg); }
  100% { transform: scale(1.10) rotate(1.2deg); }
}

@media (prefers-reduced-motion: reduce){
  .flower-img{ animation: none; }
}

/* ========== HALAMAN 3: MEMPELAI ========== */
.mempelai-section{
  position: relative;
  min-height: 100vh;
  padding: 48px 20px 72px;
  background-image: url('../img/bg2.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex; align-items: center; justify-content: center;
}

.mempelai-card{
  width: 86%;
  max-width: 360px;                 /* nilai ini akan dioverride oleh .card-shared */
  margin: 0 auto;
  padding: 28px 22px 32px;          /* dioverride oleh .card-shared */
  background: rgba(255,255,255,0.5);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  position: relative;
  text-align: center;
  backdrop-filter: blur(2px);
}

/* avatar lingkaran */
.mempelai .avatar{
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 6px solid rgba(255,255,255,.85);
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
  margin: 4px auto 14px;
  display: block;
}

/* nama & orangtua */
.mempelai .nama{
  font-size: 1.4rem;
  font-weight: 600;
  color: #1b1b1b;
  letter-spacing: .2px;
  margin-bottom: 8px;
}

.mempelai .orangtua{
  font-size: 0.95rem;
  color: #4b4b4b;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* separator "dengan" */
.separator{
  margin: 8px 0 16px;
  position: relative;
}
.separator::before,
.separator::after{
  content:"";
  height: 1px; width: 32%;
  background: rgba(0,0,0,.15);
  position: absolute; top: 50%;
}
.separator::before{ left: 0; }
.separator::after { right: 0; }
.separator span{
  font-family: 'Dancing Script', cursive;
  font-size: 1.25rem;
  color: #333;
}

/* spacing antar blok */
.mempelai.pria   { margin-bottom: 6px; }
.mempelai.wanita { margin-top: 6px;  }

/* Pastikan section jadi anchor absolut */
.mempelai-section { position: relative; }
/* Kartu di atas bunga */
.mempelai-card { position: relative; z-index: 1; }
/* Bunga di belakang kartu */
.mempelai-section .flower { z-index: 0; }
/* Ukuran bunga halaman mempelai */
.mempelai-section .flower-img { width: 200px; }

/* responsif kecil */
@media (max-width: 420px){
  .mempelai-card{ width: 90%; }
  .mempelai .nama{ font-size: 1.35rem; }
  .mempelai .orangtua{ font-size: .95rem; }
}

/* ========== HALAMAN 4: AKAD ========== */
.akad-section{
  position: relative;
  min-height: 100vh;
  padding: 48px 20px 72px;
  background-image: url('../img/bg2.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;

  display: flex; align-items: center; justify-content: center;
}

/* bunga ada di belakang kartu */
.akad-section .flower{ z-index: 0; }
.akad-card{ position: relative; z-index: 1; }

.akad-card{
  width: 86%;
  max-width: 360px;                 /* dioverride oleh .card-shared */
  margin: 0 auto;
  padding: 28px 22px 32px;          /* dioverride oleh .card-shared */
  background: rgba(255,255,255,0.78);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  text-align: center;
  backdrop-filter: blur(2px);
}

/* ikon rumah gadang kecil */
.akad-icon{
  width: 110px;
  height: auto;
  margin: 4px auto 12px;
  display: block;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.08));
}

/* typografi isi */
.akad-title{
  font-weight: 600;
  color: #8a6a1f;
  letter-spacing: .3px;
  margin-bottom: 6px;
  font-size: 25px;
}

.akad-time{
  color: #555;
  font-size: .98rem;
  margin-bottom: 14px;
}

.akad-day{
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  line-height: 1;
  color: #3a2d1a;
  margin-bottom: 8px;
  letter-spacing: .6px;
}

/* tanggal besar dengan bulan kecil di tengah */
.akad-date{
  font-size: 2.4rem;
  font-weight: 600;
  color: #b08a35;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.akad-date span{
  font-size: 1.15rem;
  color: #444;
  margin: 0 6px;
  position: relative; top: -4px;
}

.akad-place-title{
  font-weight: 600;
  color: #8a6a1f;
  margin-bottom: 6px;
  font-size: 25px;
}

.akad-address{
  color: #444;
  font-size: .98rem;
  line-height: 1.55;
}

@media (max-width: 420px){
  .akad-card{ width: 90%; }
  .akad-date{ font-size: 2.2rem; }
  .akad-day{ font-size: 1.9rem; }
}

/* ========== CARD BERSAMA (SAMAKAN UKURAN) ========== */
/* Taruh PALING BAWAH agar override efektif */
.card-shared{
  width: 86%;
  max-width: 420px;          /* ukuran card disamakan di sini */
  padding: 40px 28px;        /* padding disamakan di sini */
  background: rgba(255,255,255,0.78);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  text-align: center;
  backdrop-filter: blur(2px);
  position: relative;
  z-index: 1;
}

/* ========== HALAMAN 5: RESEPSI ========== */
.resepsi-section{
  position: relative;
  min-height: 100vh;
  padding: 48px 20px 72px;
  background-image: url('../img/bg2.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;

  display: flex; align-items: center; justify-content: center;
}

/* bunga di resepsi harus di belakang card */
.resepsi-section .flower{ z-index: 0; }

/* card resepsi di atas bunga + pakai ukuran .card-shared */
.resepsi-card{
  position: relative;
  z-index: 1;
}

/* (opsional) kalau mau ukuran bunga di resepsi beda:
.resepsi-section .flower-img { width: 200px; }
*/

/* ========== HALAMAN 6: RSVP / SAVE THE DATE ========== */
.rsvp-section{
  position: relative;
  min-height: 100vh;
  padding: 48px 20px 72px;
  background-image: url('../img/bg2.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;

  display: flex; align-items: center; justify-content: center;
}
.rsvp-section .flower{ z-index: 0; }
.rsvp-card{ position: relative; z-index: 1; }

/* judul */
.rsvp-title{
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  color: #8a6a1f;
  margin-bottom: 16px;
}

/* countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  justify-items: center;
}

.cd-item {
  background-color: rgba(255, 215, 0, 0.8);
  padding: 10px 15px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  min-width: 80px;
}

.cd-item{
  background: rgba(176,138,53,0.18);      /* nuansa emas lembut transparan */
  border: 1px solid rgba(176,138,53,0.35);
  border-radius: 12px;
  width: 78px; height: 66px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.cd-item span{
  font-weight: 700;
  font-size: 1.2rem;
  color: #3a2d1a;
  line-height: 1;
}
.cd-item small{
  font-size: .8rem;
  color: #5b4a2a;
  margin-top: 2px;
}

/* catatan & tombol */
.rsvp-note{
  color: #444;
  font-size: .98rem;
  line-height: 1.55;
  margin: 8px auto 16px;
  max-width: 280px;
}
.btn-rsvp{
  display: inline-block;
  padding: .7rem 1.25rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 28px;
  font-weight: 700;
  transition: background-color .3s ease;
}
.btn-rsvp:hover{ background: #777; }

@media (max-width: 420px){
  .cd-item{ width: 74px; height: 64px; }
}

/* ===== MODAL RSVP ===== */
.modal-rsvp{
  position: fixed; inset: 0;
  display: none;                 /* hidden by default */
  align-items: center; justify-content: center;
  z-index: 999;                  /* di atas semua */
}
.modal-rsvp.show{ display: flex; }

.modal-backdrop{
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
}

.modal-dialog{
  position: relative;
  width: min(520px, 92vw);
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,.25);
  padding: 18px 18px 22px;
  z-index: 1;
}

.modal-title{
  text-align: center;
  font-size: 1.5rem;
  margin: 6px 0 14px;
  font-weight: 600;
  letter-spacing: .4px;
}

.modal-close{
  position: absolute; left: 50%; bottom: -56px; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: none; cursor: pointer;
  background: #f8b4b4; color: #fff; font-size: 20px;
  box-shadow: 0 8px 16px rgba(0,0,0,.18);
}

#rsvpForm{ display: grid; gap: 14px; }

#rsvpForm label{ display: grid; gap: 6px; color: #2c2c2c; font-size: .96rem; }

#rsvpForm input[type="text"],
#rsvpForm input[type="tel"],
#rsvpForm select,
#rsvpForm textarea{
  width: 100%; border-radius: 8px; border: 1px solid rgba(0,0,0,.15);
  padding: 12px 12px; font-size: .98rem; outline: none;
  background: #fff;
}
#rsvpForm textarea{ resize: vertical; }

.wa-wrap{ display: grid; grid-template-columns: 64px 1fr; }
.wa-prefix{
  display: grid; place-items: center; border: 1px solid rgba(0,0,0,.15);
  border-radius: 8px 0 0 8px; background: #fafafa; color:#555;
}
.wa-wrap input{ border-left: none; border-radius: 0 8px 8px 0; }

.btn-submit{
  margin-top: 6px;
  padding: .9rem 1.25rem;
  width: 100%;
  border: none; border-radius: 10px;
  background: #b08a35; color: #fff; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 16px rgba(176,138,53,.25);
  transition: transform .12s ease, filter .2s ease;
}
.btn-submit:hover{ filter: brightness(1.05); }
.btn-submit:active{ transform: translateY(1px); }

@media (max-width: 420px){
  .modal-dialog{ width: 94vw; padding: 16px 14px 20px; }
}

/* ========== HALAMAN: MAPS (card putih & rapi) ========== */
.maps-section{
  position: relative;
  min-height: 100vh;
  padding: 48px 20px 72px;
  background-image: url('../img/bg2.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex; align-items: center; justify-content: center;
}

.maps-section .flower{ z-index: 0; }
.maps-card{ position: relative; z-index: 1; }

.maps-card{
  width: 86%;
  max-width: 360px;
  margin: 0 auto;
  padding: 26px 18px 30px;
  background: rgba(255,255,255,0.82);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
  text-align: center;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(0,0,0,.04);
}

/* judul lebih elegan */
.maps-title{
  font-family: 'Dancing Script', cursive;   /* sudah kamu load */
  font-size: 28px;
  color: #b08a35;                           /* gold lembut */
  letter-spacing: .4px;
  margin-bottom: 8px;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}

/* garis kecil dekoratif */
.maps-divider{
  width: 54px; height: 2px;
  background: linear-gradient(90deg,#d6bf74,#b08a35);
  border-radius: 2px;
  margin: 0 auto 14px;
}

/* frame peta lebih “premium” */
.map-embed.framed{
  width: 100%;
  aspect-ratio: 4 / 3;        /* responsif */
  padding: 8px;               /* jarak untuk frame putih */
  background: #fff;
  border-radius: 16px;
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,.04),
    0 6px 18px rgba(0,0,0,.10);
  margin-bottom: 16px;
}
.map-embed.framed iframe{
  width: 100%; height: 100%; border: 0; border-radius: 10px;
  filter: saturate(1.02) contrast(1.03);     /* sentuhan kecil */
}

/* tipografi lokasi */
.maps-place{
  font-weight: 700;
  color: #1b1b1b;
  font-size: 18px;
  margin-bottom: 4px;
  letter-spacing: .2px;
}
.maps-address{
  color: #4a4a4a;
  font-size: .98rem;
  margin-bottom: 16px;
}

/* tombol sama gaya dengan tombol lain (hitam -> abu saat hover) */
.btn-gmaps{
  display: inline-block;
  padding: .7rem 1.3rem;
  background: #000;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(0,0,0,.14);
  transition: background-color .25s ease, transform .15s ease, box-shadow .25s ease;
}
.btn-gmaps:hover{
  background-color: #777;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.18);
}

@media (max-width: 420px){
  .maps-card{ width: 90%; }
  .maps-title{ font-size: 26px; }
}

/* ========== HALAMAN: LOVE STORY ========== */
.love-section{
  position: relative;
  min-height: 100vh;
  padding: 48px 20px 72px;
  background-image: url('../img/bg2.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex; align-items: center; justify-content: center;
}

.love-section .flower{ z-index: 0; }
.love-card{ position: relative; z-index: 1; }

.love-card{
  width: 86%;
  max-width: 360px;
  margin: 0 auto;
  padding: 26px 18px 30px;
  background: rgba(255,255,255,0.82);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
  text-align: center;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(0,0,0,.04);
}

/* judul & garis kecil */
.love-title{
  font-family: 'Dancing Script', cursive;
  font-size: 28px;
  color: #b08a35;
  letter-spacing: .4px;
  margin-bottom: 8px;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}
.love-divider{
  width: 54px; height: 2px;
  background: linear-gradient(90deg,#d6bf74,#b08a35);
  border-radius: 2px;
  margin: 0 auto 16px;
}

/* wadah video 9:16 agar responsif & rapi */
.video-vertical{
  width: 100%;
  aspect-ratio: 9 / 16;          /* portrait */
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.video-vertical video{
  width: 100%;
  height: 100%;
  object-fit: cover;             /* isi penuh tanpa bar hitam */
  display: block;
  outline: none;
  border: 0;
  background: #000;
}

@media (max-width: 420px){
  .love-card{ width: 90%; }
  .love-title{ font-size: 26px; }
}

/* Halaman GIFT */

/* ========== GIFT / TANDA KASIH ========== */
.gift-section{
  position: relative;
  min-height: 100vh;
  padding: 48px 20px 72px;
  background-image: url('../img/bg2.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex; align-items: center; justify-content: center;
}

.gift-section .flower{ z-index: 0; }
.gift-card{ position: relative; z-index: 1; }

.gift-card{
  width: 86%;
  max-width: 360px;
  margin: 0 auto;
  padding: 28px 22px 32px;
  background: rgba(255,255,255,0.85);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  text-align: center;
  backdrop-filter: blur(2px);
}

.gift-title{
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  color: #b08a35;
  margin-bottom: 12px;
}

.gift-text{
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 18px;
}

/* tombol cashless */
.cashless-btn{
  background: #b08a35;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  padding: .6rem 1.4rem;
  cursor: pointer;
  transition: background-color .3s ease;
  margin-bottom: 18px;
}
.cashless-btn:hover{ background: #8a6a1f; }

/* blok rekening */
.gift-bank{
  margin-bottom: 20px;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 14px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.05);
}
.bank-logo{ width: 100px; margin-bottom: 6px; }
.bank-no{ font-size: 1.2rem; font-weight: bold; color: #111; margin-bottom: 4px; }
.bank-name{ font-size: .9rem; color: #555; margin-bottom: 8px; }
.copy-btn{
  background: #000;
  color: #fff;
  font-size: .85rem;
  padding: .4rem 1rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color .3s ease;
}
.copy-btn:hover{ background: #777; }

/* ========== TERIMA KASIH ========== */
.thanks-section{
  position: relative;
  min-height: 100vh;
  padding: 48px 20px 72px;
  background-image: url('../img/bg2.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex; align-items: center; justify-content: center;
}

.thanks-section .flower{ z-index: 0; }
.thanks-card{ position: relative; z-index: 1; }

.thanks-card{
  width: 86%;
  max-width: 360px;
  margin: 0 auto;
  padding: 32px 24px;
  background: rgba(255,255,255,0.85);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  text-align: center;
  backdrop-filter: blur(2px);
}

.thanks-photo img{
  width: 100%;
  max-width: 200px;
  border-radius: 12px;
  margin: 0 auto 18px;
  display: block;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.thanks-text{
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 18px;
}

.thanks-sign{
  font-size: .95rem;
  color: #666;
  margin-bottom: 10px;
  font-style: italic;
}

.thanks-names{
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  font-weight: 600;
  color: #b08a35;
}

.music-control {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 20px;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  user-select: none;
  transition: background 0.3s ease;
}

.music-control:hover {
  background: rgba(0,0,0,0.9);
}





