body {
  background: #d8d2cd;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;       /* Tidak bisa scroll */
}


/* FRAME HP */
.phone-frame {
  width: 100%;          /* otomatis mengikuti ukuran HP */
  max-width: 430px;     /* batas maksimal, biar tampilan tetap rapi */
  height: 100vh;
  margin: 0 auto;
  background: #fff5f2;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0,0,0,0.18);
}

/* SEMUA HALAMAN FULL SCREEN */
.page {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  display: none;
}
.active-page {
  display: block;
}

/* HERO */
.hero {
  text-align: center;
  position: relative;
  height: 100%;
}

.hero .names {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  color: #68528c;
}

.hero img.couple {
  width: 50%;
  max-width: 300px;
}

.hero .tamu {
  font-size: 14px;
  margin-top: 15px;
  color: #68528c;
}

.hero .tamu span {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

/* SECTION SALAM */
.title-section {
  font-family: 'Playfair Display', serif;
  position: center;
  color: #68528c;
}
.text-block {
  color: #68528c;
  font-size: 14px;
}
.card-custom {
  font-size: 12px;
  background-color: #68528c;
  color: #ffffff;
}

/* SECTION BRIDE & GROOM */
.person-photo {
  width: 150px;
  border-radius: 50%;
  border: 6px solid #E8E3EE;
  margin-bottom: 15px;
}

/* FLOAT BUTTON (MASUK FRAME) */
.floating-buttons {
  position: absolute;
  right: 20px;
  bottom: 110px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-buttons img { width: 52px; }

/* NAVIGASI MENU */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px; 
  background:#68528c;
  padding: 12px 0 12px;
  z-index: 999;
}
.bottom-nav .nav-link {
  color: white;
  font-size: 12px;
}
.bottom-nav i {
  font-size: 18px;
}
.active-nav {
  background: #E8E3EE;
  color: #68528c !important;
  padding: 8px 14px;       
  margin: 0 4px;           
  border-radius: 14px;
  font-weight: 600;
}
.nav-link {
  display: flex;
  flex-direction: column;  /* icon di atas, teks di bawah */
  align-items: center;
  justify-content: center;
  font-size: 12px;
  gap: 2px; /* jarak icon dan teks */
}
.nav-link i {
  font-size: 20px; /* ukuran icon */
  display: block;
}
.nav-item {
  flex: 1; /* biar rata memenuhi layar */
  text-align: center;
}

/* BUNGA */
.bunga {
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1;
  pointer-events: none;
  max-width: 430px; 
}
.bunga-bawah {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 70px;
  width: 100%;
  max-width: 430px; 
  z-index: 1;
  pointer-events: none;
}

/* HP kecil */
@media (max-width: 360px) {
  .bunga-bawah {
      width: 100%;
      bottom: 180px; /* lebih tinggi dari navigasi */
    }
}

/* HP sedang */
@media (min-width: 361px) and (max-width: 480px) {
  .bunga-bawah {
    width: 100%;
    bottom: 140px;
  }
}

/* HP besar */
@media (min-width: 481px) {
    .bunga-bawah {
      width: 100%;
      bottom: 80px;
    }
}

.floating-buttons {
  position: absolute;
  right: 20px;
  bottom: 120px;
  z-index: 10;
}

/* HP kecil */
@media (max-width: 360px) {
  .floating-buttons {
    bottom: 200px; /* lebih tinggi supaya tidak tertutup navigasi */
  }
}

/* HP sedang */
@media (min-width: 361px) and (max-width: 480px) {
  .floating-buttons {
    bottom: 180px;
  }
}

/* HP besar */
@media (min-width: 481px) {
  .floating-buttons {
    bottom: 120px;
  }
}

#musicBtn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #E8E3EE;
  color: #68528c;
  border: none;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;
}

.nama {
  font-family: 'Playfair Display', serif;
  color: #68528c;
}
.tanggal {
  font-family: 'Playfair Display', serif;
  color: #68528c;
}

.tanggal .hari {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tanggal .garis {
  width: 60px;
  height: 1px;
  background-color: #68528c;
  margin: 8px auto;
}

.tanggal .tanggal-angka {
  font-size: 48px;
  font-weight: 600;
  display: block;
  line-height: 1;
}

.tanggal .bulan-tahun {
  font-size: 16px;
  letter-spacing: 1px;
}

