/* ========= GLOBAL ========= */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  -webkit-touch-callout: none;
  /* iOS long-press */
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: #fefefe;
}

.hidden {
  display: none;
}

/* ========= OPENING ========= */

/* TEXT ANIMATION BASE */
.opening-content>* {
  opacity: 0;
  transform: translateY(30px);
}


/* ================= DECOR POSITION + INITIAL STATE ================= */

/* ===== DAUN ATAS ===== */
.leaf-top {
  position: absolute;
  top: -68px;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;

  /* initial animation state */
  opacity: 0;
  transform: translateY(-40px) scale(1.3);
}


/* ===== DAUN TENGAH ===== */
.leaf-middle {
  position: absolute;
  bottom: -120px;
  left: 50%;
  width: 100%;
  max-width: 500px;
  z-index: 1;
  pointer-events: none;

  /* initial animation state */
  opacity: 0;
  transform: translateX(-50%) translateY(40px);
}


/* ===== BUNGA ===== */
.flower {
  position: absolute;
  width: 220px;
  z-index: 2;
  pointer-events: none;

  /* initial animation state */
  opacity: 0;
  transform: translateY(60px) scale(0.9);
}


/* bunga kiri */
.flower-left {
  left: -72px;
  bottom: -40px;
}


/* bunga kanan */
.flower-right {
  right: -72px;
  bottom: -40px;
}


/* TEXT PALING ATAS */
.opening-content {
  position: relative;
  z-index: 3;
}





.opening {
  position: fixed;
  inset: 0;
  height: 100vh;
  width: 100%;
  background: url("../assets/images/5.jpeg") center top / cover no-repeat;
  font-family: 'Cormorant Garamond', serif;
  overflow: hidden;
}

.opening .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, .35),
      rgba(0, 0, 0, .50));
}

.opening-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 40px 24px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  max-width: 380px;
  margin: 0 auto;
}


.small {
  font-size: 11px;
  letter-spacing: 3px;
  margin-bottom: 12px;
  opacity: 0.85;
}

.opening h1 {
  font-size: 38px;
  margin: 12px 0 18px;
  line-height: 1.2;
}

.line {
  width: 90px;
  height: 1px;
  background: rgba(255, 255, 255, .7);
  margin: 16px 0;
}

.opening button {
  padding: 10px 30px;
  border-radius: 30px;
  border: none;
  background: rgba(224, 221, 219, 0.5);
  color: #fff;
  letter-spacing: 1.5px;
}

.opening-content p:nth-of-type(3) {
  margin-top: 18px;
  font-size: 14px;
  opacity: 0.8;
}

/* BUNGKUSAN TAMU */
.guest-wrapper {
  margin-top: 28px;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Kepada */
.kepada {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 6px;
}

/* NAMA TAMU */
.guest-name {
  font-size: 22px;
  /* 🔥 lebih gede */
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 6px 16px;
}


/* ========= HERO ========= */
.hero {
  position: relative;
  min-height: 100vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;
  padding-top: 50px;
  overflow: hidden;
  color: #fff;
}

.hero .title {
  font-family: 'Playfair Display', serif;
  font-size: 37px;
  font-weight: 600;
  line-height: 1.2;
  margin: 12px 0;
}


/* background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease;
  z-index: 0;
}

.hero-bg.active {
  opacity: 1;
}

/* overlay biar gak terlalu terang */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .0);
  z-index: 1;
}

/* konten di atas background */
.hero>*:not(.hero-bg):not(.hero-overlay) {
  position: relative;
  z-index: 2;
}


.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  /* atur gelapnya */
}

.page.hero {
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: top;
  /* atas-tengah-bawah */
  align-items: center;
  /* kiri-tengah-kanan */
  text-align: center;
  padding-top: 50px;
}

.small {
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 7px;
}

/* ========= PROFILE ========= */
.profile {
  background: #ffffff;
}

.profile .photo {
  width: 260px;
  height: 420px;
  margin: 32px auto;
  border-radius: 50%;
  overflow: hidden;
}

.profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-intro {
  min-height: 100vh;
  background: url("../assets/images/3.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  color: #1a1a1a;
}

/* FRAME UTAMA */
.intro-frame {
  position: relative;
  max-width: 520px;
  padding: 56px 36px;
  text-align: center;
  border-radius: 26px;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);

  border: 1px solid rgb(139, 120, 93);
  box-shadow:
    0 0 0 1px rgba(255, 215, 160, 0.15),
    0 25px 60px rgba(0, 0, 0, 0.45);

  animation: fadeUp 1s ease both;
}

/* GLOW HALUS */
.intro-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(120deg,
      transparent,
      rgba(239, 231, 220, 0.35),
      transparent);
  filter: blur(18px);
  z-index: -1;
}

/* TITLE */
.intro-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

/* GARIS PEMISAH */
.intro-divider {
  width: 80px;
  height: 2px;
  margin: 0 auto 22px;
  background: linear-gradient(to right, transparent, #636363, transparent);
}

/* PARAGRAF UTAMA */
.intro-text {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 16px;
}

/* SUB TEXT */
.intro-sub {
  font-size: 14px;
  letter-spacing: 0.4px;
  opacity: 0.85;
}

/* ANIMASI */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.with-love {
  min-height: 1400px;
  background: linear-gradient(#ffffff, #ffffff);
  padding: 120px 0;
  text-align: center;
  color: #fff;
  position: relative;
}

.with-love-title {
  font-family: 'Great Vibes', cursive;
  font-size: 46px;
  color: #dbdbe3;
  position: absolute;
  top: 70px;
  /* ⬅️ naik-turun di sini */
  left: 17%;
  transform: translateX(-50%);
  z-index: 5;
  /* pastiin di atas shape */
  letter-spacing: 2px;
  white-space: nowrap;
}

.shape-outer {
  width: 350px;
  height: 1800px;
  margin: 60px auto;
  box-shadow: #00000040 0px 6px 70px;
  background: linear-gradient(180deg,
      #ffffff 0%,
      #ffffff 50%,
      #ffffff 100%);
  border-radius: 260px;
  display: flex;
  flex-direction: column;
  /* susun atas → bawah */
  align-items: center;
  /* center horizontal */
  justify-content: flex-start;
  /* NEMPEL KE ATAS */
  padding-top: 40px;
  /* jarak dari atas */
  padding-bottom: 40px;
}

.shape-name {
  margin-top: 40px;
  font-family: 'Great Vibes', cursive;
  font-size: 43px;
  /* gede dikit biar elegan */
  font-weight: 400;
  color: #000000;
  /* gold lembut (opsional) */
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(245, 210, 139, 0.35);
}

.textP {
  font-size: 15px;
  margin-top: 40px;
  padding: 0 40px;
  color: #1b1b1b;
}



.ig-link {
  margin-top: 200px;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;
  color: #f5d28b;
  /* gold */
  font-size: 14px;
  letter-spacing: 0.5px;
}

.ig-link img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  /* biar putih */
}

.ig-link:hover {
  opacity: 0.75;
}

.shape-inner {
  width: 290px;
  height: 460px;
  border-radius: 180px;
  border: 3px solid #c6ae5e;
}

.shape-text {
  margin-top: 20px;
}

.shape-text .name {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.shape-text .desc {
  font-size: 13px;
  opacity: 0.85;
}

.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* WAJIB */
}

/* FOTO */
.photo-top {
  background: url("../assets/images/tes.jpeg") center/cover no-repeat;
}

.photo-bottom {
  background: url("../assets/images/tes2.jpeg") center/cover no-repeat;
  margin-top: 60px;
}

/* AMPERSAND */
.ampersand {
  margin: 80px 0;
  font-family: 'Great Vibes', cursive;
  font-size: 72px;
  color: #000000;
  text-align: center;
  text-shadow: 0 4px 18px rgba(230, 201, 138, .4);
}



/* ===== SAVE THE DATE ===== */
.event {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* ⬅️ ini penting */
  padding: 120px 24px;
  overflow: hidden;
  background: url("../assets/images/2.jpeg") center/cover no-repeat;
}

.bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  z-index: 0;
}

.bg-layer.active {
  opacity: 1;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 1;
}

.event-card {
  width: 100%;
  max-width: 420px;
  padding: 60px 32px;
  border-radius: 70px;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;

  /* frame */
  border: 2px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(6px);
}

/* title */
.event-title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* garis kecil */
.event-divider {
  width: 80px;
  height: 2px;
  background: #d8b26a;
  margin: 0 auto 32px;
}

/* date text */
.event-day {
  font-size: 18px;
  letter-spacing: 2px;
}

.event-date {
  font-size: 22px;
  font-weight: 500;
  margin: 8px 0;
}

.event-time {
  font-size: 16px;
  opacity: .85;
  margin-bottom: 32px;
}

/* lokasi */
.event-place strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.event-place span {
  font-size: 14px;
  opacity: .8;
}

/* button */
.btn-map {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 32px;
  border-radius: 30px;
  background: linear-gradient(135deg, #e3c07a, #caa25c);
  color: #000;
  font-weight: 500;
  text-decoration: none;
  transition: .3s ease;
}

.btn-map:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}

/* WRAPPER UNTUK 2 CARD */
.event-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
  align-items: center;
}

/* DESKTOP: SEJAJAR */
@media (min-width: 768px) {
  .event-wrapper {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }
}


/* ========= COUNTDOWN ========= */
.countdown-page {
  min-height: 100vh;
  padding: 100px 20px;
  background: radial-gradient(circle at top,
      #ffffff,
      #f7f7f7 70%);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FRAME UTAMA */
.countdown-frame {
  height: 900px;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg,
      rgba(138, 136, 136, 0.06),
      rgba(255, 255, 255, .02));
  border-radius: 260px;
  padding: 40px 24px 60px;
  text-align: center;
  position: relative;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
}

/* =========================
   FOTO
========================= */
.countdown-photo {
  width: 280px;
  height: 420px;
  margin: 0 auto 28px;
  border-radius: 200px;
  background: url("../assets/images/9.jpeg") center/cover no-repeat;
  border: 4px solid rgba(255, 255, 255, .85);
  box-shadow: 0 25px 50px rgba(0, 0, 0, .30);
}

/* =========================
   TIMER
========================= */
.countdown-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.time-box {
  background: linear-gradient(180deg,
      #dfd9cb,
      #c9a85f);
  border-radius: 16px;
  padding: 23px 0;
  color: #000000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
  margin-top: 30px;
}

.time-box span {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

.time-box small {
  font-size: 12px;
  letter-spacing: 1px;
}

/* =========================
   BUTTON
========================= */
.countdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg,
      #e9c97f,
      #c9a85f);
  color: #1c1c1c;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.countdown-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
}

/* =========================
   NOTE
========================= */
.countdown-note {
  margin-top: 18px;
  font-size: 14px;
  opacity: .85;
}

/* ===== DRESSCODE ===== */
.dresscode {
  min-height: 300px;
  padding: 80px 24px;
  background: linear-gradient(#afada8, #4b5b76);
  text-align: center;
}

/* judul */
.dresscode-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* deskripsi kecil */
.dresscode-desc {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 32px;
}

/* container warna */
.dresscode-colors {
  display: flex;
  justify-content: center;
  gap: 18px;
}

/* bulatan warna */
.dresscode-colors .color {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5);
  transition: transform .3s ease, box-shadow .3s ease;
}

/* hover halus */
.dresscode-colors .color:hover {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(255, 255, 255, .25);
}

/* warna */
.color.black {
  background: #000000;
}

.color.white {
  background: #fff;
}

.color.pink {
  background: #e3c381;
}


/* ================= RSVP PAGE ================= */
.rsvp {
  min-height: 90vh;
  padding: 100px 20px;
  background: url("../assets/images/19.jpeg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.rsvp .bg-layer {
  z-index: 0;
}

.rsvp .bg-overlay {
  z-index: 1;
}



/* CARD */
.rsvp-card {
  width: 100%;
  max-width: 420px;
  padding: 40px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(7px);
  text-align: center;
  animation: fadeUp 1s ease;
  position: relative;
  z-index: 2;
}

/* TITLE */
.rsvp-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
}

.rsvp-desc {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 30px;
}

/* FORM */
.rsvp-form .field {
  margin-bottom: 18px;
  text-align: left;
}

.rsvp-form label {
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
  opacity: 0.8;
}

.rsvp-form input,
.rsvp-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: none;
  outline: none;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.9);
}

/* BUTTON */
.rsvp-btn {
  margin-top: 10px;
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #e0b873, #cfa35a);
  color: #111;
  font-weight: 600;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.rsvp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(224, 184, 115, .4);
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= GALLERY ================= */

.gallery {
  padding: 70px 20px 130px;
  background: linear-gradient(to bottom, #f4f4f4, #dcdcdc);
  text-align: center;
}

.gallery-title {
  font-size: 32px;
  margin-bottom: 60px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #1b1b1b;
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 500px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .15);
  transition: transform .8s ease, opacity .8s ease;
}

/* pakai sistem reveal yang sudah ada */
.gallery-item.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.gallery-item.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform .8s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}


/* ===============================
   GALLERY MODAL ANIMATION
================================ */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.gallery-modal.active {
  display: block;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(6px);
  opacity: 0;
  animation: fadeIn .4s forwards;
}

.gallery-preview {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.95);

  width: 90vw;
  max-width: 700px;
  /* 🔥 ini bikin lebih besar */
  max-height: 90vh;

  background: #ccd1d7;
  padding: 20px;
  border-radius: 28px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6);

  opacity: 0;
  animation: zoomIn .4s ease forwards;
}


@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* IMAGE */
.gallery-preview img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 20px;
}


/* CLOSE */
.gallery-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

/* NAV */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .85);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}

.gallery-nav.prev {
  left: -18px;
}

.gallery-nav.next {
  right: -18px;
}

/* ===============================
   INDICATOR DOTS
================================ */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.gallery-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.gallery-dots span.active {
  background: #e5c27a;
}

/* ========= WISHES ========= */
.wishes {
  padding: 90px 20px 120px;
  background: linear-gradient(to bottom, #ffffff, #636466);
  color: #000000;
  text-align: center;
}

.wishes-title {
  font-size: 30px;
  margin-bottom: 6px;
}

.wishes-subtitle {
  opacity: .8;
  margin-bottom: 36px;
}

/* ===============================
   FORM
================================ */
.wish-form {
  max-width: 420px;
  margin: 0 auto 50px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}

.wish-form input,
.wish-form textarea {
  border: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
}

.wish-form textarea {
  min-height: 90px;
  resize: none;
}

.wish-form button {
  margin-top: 6px;
  padding: 12px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #ffffff, #ffc04b);
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

/* ===============================
   WISH LIST
================================ */
.wishes-list {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wish-card {
  background: rgba(255, 255, 255, 0.95);
  color: #0b2038;
  border-radius: 20px;
  padding: 18px 20px;
  text-align: left;
  animation: wishFade .6s ease both;
}

.wish-card h4 {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
}

.wish-card p {
  font-size: 14px;
  line-height: 1.5;
  opacity: .9;
}

/* ===============================
   PAGINATION
================================ */
.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .25);
  color: #fff;
  cursor: pointer;
}

.pagination button.active {
  background: #e0b96a;
  color: #000;
  font-weight: 600;
}

/* ===============================
   ANIMATION
================================ */
@keyframes wishFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ========= MUSIC ========= */
.music-btn {
  position: fixed;
  bottom: 20px;
  right: 15px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: rgba(202, 197, 197, 0.30);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s ease;
}

.music-btn:hover {
  transform: scale(1.08);
}

.icon-play,
.icon-pause {
  width: 18px;
  height: 18px;
  position: relative;
}

/* PLAY */
.icon-play::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0;
  width: 0;
  height: 0;
  border-left: 18px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

/* PAUSE */
.icon-pause::before,
.icon-pause::after {
  content: "";
  position: absolute;
  top: 0;
  width: 5px;
  height: 20px;
  background: #fff;
}

.icon-pause::before {
  left: 2px;
}

.icon-pause::after {
  right: 2px;
}


/* =========================
   FOOTER
========================= */
.footer {
  padding: 40px 20px 50px;
  background: #333334;
  text-align: center;
  color: #fff;
}

.footer-credit {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 18px;
}

/* SOCIAL ICON */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}

.footer-social a:hover {
  background: #d6b36a;
  transform: translateY(-3px);
}

/* ICON BASE */
.icon {
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* ICON IMAGE */
.icon.ig {
  background-image: url("../assets/icons/instagram.svg");
}

.icon.wa {
  background-image: url("../assets/icons/whatsapp.svg");
}

.footer-copy {
  font-size: 12px;
  opacity: 0.6;
}

/* ===============================
   SCROLL REVEAL (SECTION)
================================ */

.reveal {
  opacity: 0;
  transform: translateY(70px);

  transition:
    transform 1.2s cubic-bezier(.22,.61,.36,1),
    opacity 1.2s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   ELEMENT REVEAL
================================ */

.reveal-title {
  opacity: 0;
  transform: translateY(50px) scale(.96);
  filter: blur(8px);

  transition:
    transform 1.3s cubic-bezier(.22,.61,.36,1),
    opacity 1.2s ease,
    filter 1.3s ease;
}

.reveal-title.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-divider {
  position: relative;
  overflow: hidden;

  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
}

.reveal-divider::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  opacity: 0;
}

.reveal-divider.active {
  transform: scaleX(1);
}

.reveal-divider.active::after {
  opacity: 1;
  animation: sweepLight 1.2s ease forwards;
}

@keyframes sweepLight {
  to {
    transform: translateX(100%);
  }
}

/* ===============================
   FULL PHOTO SECTION
================================ */

.photo-section {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: unset;
  padding: 0;
  overflow: hidden;
}

.photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.photo-bg.active {
  opacity: 1;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  /* atur gelap di sini */
}

/* ===============================
   WEDDING INTRO SECTION
================================ */

.wedding-intro {
  min-height: 100vh;
  padding: 120px 24px;
  background: radial-gradient(circle at top, #ffffff, #ffffff);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #000000;
}

.wedding-frame {
  max-width: 520px;
  width: 100%;
}

/* SUBTITLE */
.wedding-sub {
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 40px;
  opacity: 0.85;
}

/* PHOTO FRAME */
.wedding-photo {
  width: 300px;
  height: 420px;
  margin: 0 auto 40px;
  border-radius: 220px;
  padding: 8px;
  background: linear-gradient(135deg, #e6c98a, #b88b4c);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
}

.wedding-photo .main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 200px;
}

.photo-ornament {
  border-radius: 0 !important;
  height: auto !important;
}

/* NAMES */
.wedding-names {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  position: relative;
  color: #111;
}

/* garis elegan bawah nama */
.wedding-names::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  margin: 18px auto 0;
  background: linear-gradient(to right, transparent, #c9a85f, transparent);
}


/* TEXT */
.wedding-text {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.9;
  max-width: 420px;
  margin: 0 auto;
}

/* ===============================
   WEDDING GIFT ULTRA PREMIUM FIX
================================ */

.wedding-gift {
  padding: 140px 20px;
  background: url("../assets/images/6.jpeg") center/cover no-repeat;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* DARK OVERLAY */
.wedding-gift::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 0;
}

/* Content above overlay */
.gift-wrapper {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  gap: 50px;
}

.gift-title {
  font-size: 34px;
  margin-bottom: 12px;
}

.gift-sub {
  font-size: 14px;
  opacity: .85;
  margin-bottom: 60px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ===============================
   CARD
================================ */

.gift-card {
  position: relative;
  padding: 35px 35px;
  border-radius: 32px;

  background: linear-gradient(145deg,
      rgba(204, 200, 200, 0.50),
      rgba(255, 255, 255, 0.65));

  backdrop-filter: blur(18px);

  border: 1px solid rgba(200, 170, 120, .4);

  box-shadow:
    0 40px 100px rgba(0, 0, 0, .25),
    inset 0 0 0 1px rgba(255, 255, 255, .5);

  overflow: hidden;
  transition: transform .5s ease, box-shadow .5s ease;
}

/* Hover float */
.gift-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 45px 110px rgba(0, 0, 0, .3),
    0 0 40px rgba(200, 170, 120, .3);
}

/* ===============================
   FIXED SHIMMER (NO HARD EDGE)
================================ */

.gift-card::before {
  content: "";
  position: absolute;
  top: -150%;
  left: -150%;
  width: 400%;
  height: 400%;
  pointer-events: none;
  border-radius: inherit;

  background: linear-gradient(120deg,
      transparent 30%,
      rgba(255, 255, 255, 0.838) 50%,
      transparent 70%);

  transform: rotate(25deg);
  animation: shimmerMove 7s ease-in-out infinite;
}

@keyframes shimmerMove {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }

  100% {
    transform: translateX(100%) rotate(25deg);
  }
}

/* ===============================
   LOGO
================================ */

.gift-bank-logo img {
  width: 130px;
  margin-bottom: 40px;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, .2));
}

/* ===============================
   NOMOR
================================ */

.gift-number-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.gift-number {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #111;
  transition: all .4s ease;
}

.toggle-visibility {
  background: transparent;
  border: none;
  cursor: pointer;
}

.toggle-visibility img {
  width: 22px;
  height: 22px;
  opacity: .7;
  transition: transform .3s ease, opacity .3s ease;
}

.toggle-visibility:hover img {
  transform: scale(1.1);
  opacity: 1;
}

/* ===============================
   NAME
================================ */

.gift-name {
  font-size: 14px;
  margin-bottom: 35px;
  opacity: .85;
  color: #222;
}

/* ===============================
   COPY BUTTON
================================ */

.gift-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 28px;
  border-radius: 40px;
  border: none;

  background: linear-gradient(135deg, #e3c07a, #caa25c);
  color: #111;

  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
}

.gift-copy-btn img {
  width: 18px;
}

.gift-copy-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .3);
}

/* ===== OPENING ACTIVE STATE ===== */

.opening.animate .leaf-top {
  opacity: 1;
  transform: translateY(0) scale(1.3);
  transition: all 1.2s ease;
}

.opening.animate .leaf-middle {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: all 1.4s ease;
}

.opening.animate .flower {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 1.6s ease;
}

/* ===============================
   TRANSITION SCENE BASE
================================ */

.transition-scene {
  position: fixed;
  /* nutup seluruh layar */
  inset: 0;
  /* full layar */
  overflow: hidden;
  /* cegah scroll */
  z-index: 9999;
  /* di atas semua */
  background: #000;
}


/* ==================================================
   CLASSIC INTRO SECTION
================================================== */

.classic-intro {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* ==================================================
   BACKGROUND BASE
================================================== */

.classic-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;

  transition:
    transform 12s cubic-bezier(.22, .61, .36, 1),
    opacity 5s ease;
}

/* ================= BG1 ================= */

.classic-bg.bg1 {
  background-image: url("../assets/elements/classicBg1.png");
  z-index: 1;

  transform: scale(1);
}

/* 👉 ZOOM IN SLOW */
.classic-intro.zoom-in .bg1 {
  transform:
    scale(3) translateY(-20px);
}

/* ================= BG2 ================= */

.classic-bg.bg2 {
  background-image: url("../assets/elements/classicBg2.png");
  z-index: 2;

  opacity: 0;

  transform:
    scale(1) translateY(-20px);
}

/* 👉 SWITCH BG HALUS */
.classic-intro.switch-bg .bg2 {
  opacity: 1;

  transform:
    scale(1.3) translateX(10px);
}

.classic-intro.switch-bg .bg1 {
  opacity: 0;
}

/* ==================================================
   CLOUD
================================================== */

.cloud {
  position: absolute;
  top: 0;
  width: 230%;
  height: 100%;
  object-fit: cover;
  z-index: 5;

  transition: transform 4s cubic-bezier(.77, 0, .18, 1), opacity 2s ease;
}

.cloud-left {
  left: 0;
}

.cloud-right {
  right: 0;
}

.classic-intro.cloud-open .cloud-left {
  transform: translateX(-120%);
}

.classic-intro.cloud-open .cloud-right {
  transform: translateX(120%);
}

.classic-intro.cloud-hide .cloud {
  opacity: 0;
}


/* ==================================================
   GATE
================================================== */

.gate {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 420px;

  transform: translateX(-50%) scale(.8);
  opacity: 0;
  z-index: 4;

  transition:
    transform 8s cubic-bezier(.22, .61, .36, 1),
    opacity 3s ease;
}

.classic-intro.show-gate .gate {
  opacity: 1;
}

.classic-intro.zoom-in .gate {
  transform: translateX(-50%) scale(1.15);
}

/* ==================================================
   CONTENT (JANGAN UBAH YANG LAIN)
================================================== */

.classic-content {
  position: relative;
  z-index: 10;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  perspective: 1200px;
  /* buat efek depth */
}

/* ==================================================
   FRAME CINEMATIC
================================================== */

.classic-frame {
  position: relative;

  padding: 250px 1000px;

  background: url("../assets/elements/bordertext.png") center no-repeat;
  background-size: contain;

  color: #9b7a10;
  /* STATE AWAL (HIDDEN DEPTH) */
  transform:
    scale(.5) rotateX(35deg) translateY(120px);

  opacity: 0;

  transition:
    transform 1.6s cubic-bezier(.22, .61, .36, 1),
    opacity 1.2s ease;
}

/* SAAT MUNCUL */
.classic-intro.show-content .classic-frame {
  transform:
    scale(1) rotateX(0deg) translateY(0);

  opacity: 1;
}

/* ==================================================
   TEXT MASUK NAIK + CLEAR
================================================== */

.classic-frame>* {
  opacity: 0;
  transform: translateY(50px);
  filter: blur(6px);
  transition: all 1.2s cubic-bezier(.22, .61, .36, 1);
}

.classic-frame h2 {
  font-size: 23px;
  margin-bottom: 70px;
  letter-spacing: 0.1px;
  white-space: nowrap;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.classic-frame h1 {
  font-size: 35px;
  margin-bottom: 90px;
  font-family: 'Great Vibes', cursive;
  letter-spacing: 2px;
}

.classic-frame p {

  font-size: 17px;
}

.classic-intro.show-content .classic-frame>* {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.classic-intro.show-content .classic-frame>*:nth-child(1) {
  transition-delay: .4s;
}

.classic-intro.show-content .classic-frame>*:nth-child(2) {
  transition-delay: .7s;
}

.classic-intro.show-content .classic-frame>*:nth-child(3) {
  transition-delay: 1s;
}

/* ======================== =======
   OPENING EXIT ANIMATION
================================ */

.opening.closing {
  animation: openingClose 1.2s ease forwards;
}

@keyframes openingClose {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
  }

  100% {
    opacity: 0;
    transform: scale(1.1);
    filter: blur(8px);
  }
}

@keyframes btnClick {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
}

/* tombol klik efek kecil */
.opening button.clicked {
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

/* ===============================
   CLASSIC BOTTOM ELEMENTS
================================ */

.classic-bottom-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

/* BASE STATE (HIDDEN) */
.bottom-el {
  position: absolute;
  opacity: 0;
  transform: translateY(100px) scale(.9);
  transition: all 1.6s cubic-bezier(.22, .61, .36, 1);
}

/* POSISI */
.bottom-left {
  left: -80px;
  bottom: -50px;
  width: 220px;
}

.bottom-right {
  right: -80px;
  bottom: -50px;
  width: 220px;
}

.bottom-center {
  left: 15%;
  bottom: -70px;
  width: 280px;
  transform: translateX(-50%) translateY(100px) scale(.9);
}

/* MUNCUL SAAT BG2 AKTIF */
.classic-intro.switch-bg .bottom-el {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.classic-intro.switch-bg .bottom-left {
  transition-delay: .4s;
}

.classic-intro.switch-bg .bottom-center {
  transition-delay: .7s;
}

.classic-intro.switch-bg .bottom-right {
  transition-delay: 1s;
}

/* ===============================
   CLASSIC ORNAMENTS
================================ */

.classic-ornaments {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

/* BASE STATE */
.ornament {
  position: absolute;
  opacity: 0;
  transition: all 1.6s cubic-bezier(.22, .61, .36, 1);
}

/* ================= TOP ================= */

.top-left {
  top: -50px;
  left: -90px;
  width: 280px;
  transform: translateY(-80px) scale(.9);
}

.top-right {
  top: -200px;
  right: -80px;
  width: 260px;
  transform: translateY(-80px) scale(.9);
}

/* ================= BOTTOM ================= */

.bottom-left {
  bottom: -40px;
  left: -70px;
  width: 220px;
  transform: translateY(100px) scale(.9);
}

.bottom-center {
  bottom: -80px;
  left: 15%;
  width: 300px;
  transform: translateX(-50%) translateY(100px) scale(.9);
}

.bottom-right {
  bottom: -40px;
  right: -80px;
  width: 220px;
  transform: translateY(100px) scale(.9);
}

/* ================= MUNCUL SAAT BG2 ================= */

.classic-intro.switch-bg .ornament {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* DELAY BERTAHAP BIAR CINEMATIC */

.classic-intro.switch-bg .top-left {
  transition-delay: .2s;
}

.classic-intro.switch-bg .top-right {
  transition-delay: .4s;
}

.classic-intro.switch-bg .bottom-left {
  transition-delay: .6s;
}

.classic-intro.switch-bg .bottom-center {
  transition-delay: .8s;
}

.classic-intro.switch-bg .bottom-right {
  transition-delay: 1s;
}

/* ===============================
   PAGE INTRO ORNAMENT
================================ */

.page-intro {
  position: relative;
  overflow: hidden;
}

/* base ornament */
/* ===============================
   SAFE PREMIUM ANIMATION
================================ */

.intro-ornament {
  position: absolute;
  left: 50%;
  opacity: 0;
  z-index: 6;
  pointer-events: none;

  transform: translate(-50%, 0) scale(.6);
  transition:
    transform 2s cubic-bezier(.22,.61,.36,1),
    opacity 1.2s ease;

  filter: drop-shadow(0 15px 25px rgba(0,0,0,.25));
}

/* ATAS */
.intro-top {
  top: 0;
  width: 320px;
  transform: translate(-50%, -50%) scale(.6);
}

/* BAWAH */
.intro-bottom {
  bottom: 0;
  width: 280px;
  transform: translate(-50%, 50%) scale(.6);
}

/* AKTIF */
.page-intro.reveal.active .intro-top {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: .3s;
}

.page-intro.reveal.active .intro-bottom {
  opacity: 1;
  transform: translate(-50%, 50%) scale(1);
  transition-delay: .6s;
}

/* ===============================
   WEDDING FRAME ORNAMENT
================================ */

.wedding-frame {
  position: relative;
}

/* ===============================
   WEDDING PHOTO 3 ORNAMENT FIX
================================ */

/* ===============================
   WEDDING PHOTO ORNAMENT PX FIX
================================ */

.wedding-photo {
  position: relative;
  overflow: visible;
}

/* BASE */
.photo-ornament {
  position: absolute;
  pointer-events: none;
  z-index: 30; /* paling atas */
  opacity: 0;

  transition:
    transform 3.3s cubic-bezier(.22,.61,.36,1),
    opacity 0.8s ease;

  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* ======================
   POSISI FULL PX CONTROL
====================== */

/* KIRI */
.leaf-left {
  width: 150px;     /* UBAH DI SINI */
  left: -50px;      /* UBAH DI SINI */
  top: 140px;       /* UBAH DI SINI */
  transform: scale(.6);
}

/* KANAN */
.leaf-right {
  width: 250px;     /* UBAH DI SINI */
  right: -100px;     /* UBAH DI SINI */
  top: 180px;       /* UBAH DI SINI */
  transform: scale(.6);
}

/* TENGAH */
.flower-center {
  width: 280px;     /* UBAH DI SINI */
  left: 48%;
  bottom: -60px;    /* UBAH DI SINI */
  transform: translateX(-50%) scale(.6);
}

/* ======================
   ANIMASI MASUK
====================== */

.wedding-intro.reveal.active .leaf-left {
  opacity: 1;
  transform: scale(1);
  transition-delay: .4s;
}

.wedding-intro.reveal.active .leaf-right {
  opacity: 1;
  transform: scale(1);
  transition-delay: .6s;
}

.wedding-intro.reveal.active .flower-center {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  transition-delay: .8s;
}

.wedding-photo .main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===============================
   WITH LOVE SCALE PREMIUM
================================ */

.shape-inner {
  position: relative;
  overflow: visible;
}

/* BASE STATE */
.love-flower-top,
.love-flower-bottom {
  position: absolute;
  left: 50%;
  pointer-events: none;
  z-index: 5;

  opacity: 0;
  transform: translateX(-50%) scale(.6);

  transition:
    transform 3s cubic-bezier(.22,.61,.36,1),
    opacity 1.2s ease;
}

/* FOTO ATAS */
.love-flower-top {
  width: 240px;      
  bottom: -48px;

  transition-delay: .4s;   /* 🔥 ATUR DELAY ATAS DI SINI */
}

/* FOTO BAWAH */
.love-flower-bottom {
  width: 230px;
  bottom: -48px;

  transition-delay: .1s;   /* 🔥 ATUR DELAY BAWAH DI SINI */
}

/* ACTIVE */
.with-love.reveal.active .love-flower-top,
.with-love.reveal.active .love-flower-bottom {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ===============================
   EVENT CARD ORNAMENT PREMIUM
================================ */

.event-card {
  position: relative;
  overflow: visible;
}

/* BASE */
.event-ornament {
  position: absolute;
  left: 50%;
  pointer-events: none;
  z-index: 5;

  opacity: 0;
  transform: translateX(-50%) scale(.6);

  transition:
    transform 3s cubic-bezier(.34,1.56,.64,1),
    opacity 1.2s ease;
}

/* POSISI ATAS */
.event-top {
  width: 200px;   /* UBAH DI SINI */
  top: -60px;     /* UBAH DI SINI */
}

/* POSISI BAWAH */
.event-bottom {
  width: 220px;   /* UBAH DI SINI */
  bottom: -50px;  /* UBAH DI SINI */
}

/* ===============================
   ACTIVE (trigger section event)
================================ */

.event.reveal.active .top-1 {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  transition-delay: .4s;
}

.event.reveal.active .bottom-1 {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  transition-delay: .7s;
}

.event.reveal.active .top-2 {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  transition-delay: 1s;
}

.event.reveal.active .bottom-2 {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  transition-delay: 1.3s;
}