

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=DM+Sans:wght@200;300;400;500&family=Great+Vibes&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=DM+Sans:wght@200;300;400;500;600;700&family=Great+Vibes&display=swap");

/* --- Variables --- */
:root {
  --white: #ffffff;
  --cream: #ffffff;
  --cream-dark: #f7faf7;
  --sage: #6fa67a;
  --sage-light: #dfeee2;
  --sage-pale: #f3faf4;
  --green-soft: #8bbd95;
  --green-deep: #4f7d58;
  --green-glow: #eef8f0;

  /* TAMBAHAN */
  --rose: #5f8f69;
  --rose-deep: #416848;
  --blush: #cfe3d3;
  --blush-light: #e8f3ea;
  --blush-pale: #f5fbf6;
  --gold: #c7b37a;
  --gold-light: #e7d7ab;

  --text: #1f2b22;
  --text-mid: #5f6d62;
  --text-light: #9aa79d;

  --font-display: "Playfair Display", serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "DM Sans", sans-serif;

  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --bottom-nav-h: 68px;
  --radius: 18px;

  --shadow-soft: 0 6px 28px rgba(111, 166, 122, 0.12);
  --shadow-card: 0 4px 18px rgba(111, 166, 122, 0.08);
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: var(--text);
  overflow-x: hidden;
  padding-bottom: calc(var(--bottom-nav-h) + 24px);
}

/* ============================================================
   FLORAL DECORATIVE SVG (CSS-based petals)
   ============================================================ */
.floral-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 24px 0;
  color: var(--blush);
  font-size: 18px;
  letter-spacing: 6px;
  opacity: 0.7;
}

.floral-corner {
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.12;
  pointer-events: none;
}
.floral-corner svg {
  width: 100%;
  height: 100%;
}


/* ============================================================
   OPENING (ANIMASI GERBANG)
   ============================================================ */
.opening-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 480px !important;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: visibility 1.5s ease-in-out;
    background: var(--cream);
}

.gate {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: var(--sage); 
    background-size: cover;
    z-index: 1;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.1);
}

.left-gate {
    left: 0;
    border-right: 2px solid var(--gold);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.83v58.34h-58.34l-.83-.83L54.627 0zM29.627 0l.83.83v28.34h-28.34l-.83-.83L29.627 0z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.right-gate {
    right: 0;
    border-left: 2px solid var(--gold);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.83v58.34h-58.34l-.83-.83L54.627 0zM29.627 0l.83.83v28.34h-28.34l-.83-.83L29.627 0z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* Kartu Putih di Tengah Gerbang */
.opening-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px 24px 20px; 
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    border: 1px solid var(--gold-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 85%;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Animasi Buka Gerbang */
.opening-container.is-open .opening-content {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
}
.opening-container.is-open .left-gate {
    transform: translateX(-100%);
    transition-delay: 0.3s; 
}
.opening-container.is-open .right-gate {
    transform: translateX(100%);
    transition-delay: 0.3s;
}
.opening-container.is-hidden {
    visibility: hidden;
    pointer-events: none;
}

/* Teks di dalam kartu Opening */
.opening-flower { font-size: 48px; margin-bottom: 20px; opacity: 0; animation: bloomIn 1s ease 0.2s forwards; filter: drop-shadow(0 4px 12px rgba(95, 143, 105, 0.3)); }
.opening-floral-icon { width: 40px; height: auto; margin-bottom: 15px; animation: floatUpDown 4s ease-in-out infinite; }
.opening-sub { font-family: var(--font-body); font-weight: 600; font-size: 10px; letter-spacing: 5px; text-transform: uppercase; color: var(--rose); margin-bottom: 16px; opacity: 0; animation: fadeUp 0.8s ease 0.5s forwards; }
.opening-to { font-family: var(--font-body); font-size: 12px; letter-spacing: 2px; color: var(--text-light); margin-bottom: 6px; opacity: 0; animation: fadeUp 0.8s ease 0.7s forwards; }


.opening-guest { 
    font-family: var(--font-display); 
    font-size: clamp(22px, 5vw, 36px); 
    font-weight: 500; 
   color: var(--gold);
    margin-bottom: 16px; 
    opacity: 0; 
    animation: fadeUp 0.8s ease 0.9s forwards; 
}
.opening-names { 
    /* Ubah font-family menjadi var(--font-script) */
    font-family: var(--font-script); 
    font-size: clamp(42px, 10vw, 85px); /* Saya perbesar sedikit agar lebih proporsional */
    color: var(--rose); 
    line-height: 1.1; 
    margin-bottom: 8px; 
    opacity: 0; 
    animation: fadeUp 0.8s ease 1s forwards; 
    text-shadow: 0 2px 12px rgba(95, 143, 105, 0.2); 
}

.opening-names .ampersand { 
    /* Agar tanda & juga mengikuti gaya script atau tetap elegan */
    font-family: var(--font-script);
    font-size: 0.8em; 
    color: var(--sage); 
}
.opening-ornament { 
    display: flex; 
    align-items: center; 
    justify-content: center; /* Menambahkan ini agar seluruh konten di tengah */
    gap: 10px; 
    margin: 16px auto; 
    opacity: 0; 
    animation: fadeUp 0.8s ease 1.1s forwards; 
    width: 100%; /* Memastikan kontainer mengambil ruang penuh */
}

.opening-ornament span { 
    display: block; 
    width: 40px; /* Menentukan lebar yang pasti agar seimbang kiri-kanan */
    height: 1px; 
    background: var(--blush); 
}
.opening-ornament i { color: var(--blush); font-style: normal; font-size: 12px; }
.opening-date { font-size: 11px; letter-spacing: 2px; color: var(--text-light); margin-top: 20px; opacity: 0; animation: fadeUp 0.8s ease 1.5s forwards; }


.opening-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    animation: fadeUp 0.8s ease 1.3s forwards, pulseGlow 2.5s infinite 2.5s; 
    box-shadow: 0 8px 28px rgba(95, 143, 105, 0.35);
    margin-top: 24px;
}
.opening-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(95, 143, 105, 0.45); }

/* ============================================================
   PROGRESS BAR LADING
   ============================================================ */
.hero-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 480px; 
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    z-index: 10000;
    transition: width 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.hero-progress-bar.loading { width: 100%; }
.hero-progress-bar.done { opacity: 0; transition: opacity 0.5s ease; }


/* ============================================================
   HERO SECTION
   ============================================================ */
/* Update agar bagian atas lebih "berisi" */
/* Perbaikan Ikon Couple */
.couple-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.hero-ornament-top {
    font-size: 10px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 5px; /* Margin diperkecil */
    opacity: .8;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Ubah dari center ke flex-start agar mulai dari atas */
    min-height: auto;           /* Ubah dari 100vh ke auto */
    padding: 40px 20px 60px;    /* Atur jarak atas di sini (40px) */
    box-sizing: border-box;
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(247, 250, 247, 0.9) 100%), 
                url("https://www.transparenttextures.com/patterns/cream-paper.png");
    border-bottom: 2px solid var(--sage-light);
}
.hero-frame {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    right: 20px;
    border: 1px solid rgba(199, 179, 122, 0.3);
    border-radius: 16px;
    pointer-events: none;
    z-index: 0;
}

.hero-corner { position: absolute; width: 120px; height: 120px; z-index: 0; pointer-events: none; }
.hero-corner.top-left { top: 0; left: 0; }
.hero-corner.bottom-right { bottom: 0; right: 0; }


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 380px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease .5s, transform 1.5s ease .5s;
}

body.is-opened .hero-content { opacity: 1; transform: translateY(0); }

.hero-bismillah { 
    font-family: var(--font-display); 
    font-style: italic; 
    font-size: 14px; 
    color: var(--sage-deep); 
    border-bottom: 1px solid var(--blush); 
    display: inline-block; 
    padding-bottom: 5px; 
    margin-bottom: 20px; 
}


.hero-label{
    font-family:var(--font-body);
    font-size:10px;
    letter-spacing:4px;
    text-transform:uppercase;
    color:var(--rose);

    margin-bottom:10px;

    opacity:.8;
}




.hero-names .ampersand { font-size: .9em; line-height: 1; color: var(--sage); }

.hero-date-line{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;

    margin:14px 0;

    color:var(--blush);
}




.hero-date-line::before, .hero-date-line::after { content: ""; width: 48px; height: 1px; background: currentColor; }
.hero-date { font-family: var(--font-body); font-size: 11px; letter-spacing: 2.5px; color: var(--text-mid); }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 2;
}
.hero-scroll::after { content: "↓"; display: block; text-align: center; margin-top: 4px; font-size: 14px; }


/* ============================================================
   TOP NAVBAR & BOTTOM NAV
   ============================================================ */
.navbar-wedding { display: none; }
.navbar-wedding.scrolled { box-shadow: 0 2px 20px rgba(95, 143, 105, 0.1); }
.navbar-brand { font-family: var(--font-script); font-size: 26px; color: var(--rose); text-decoration: none; text-shadow: 0 1px 6px rgba(95, 143, 105, 0.15); }

.bottom-nav {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 456px;
  height: 62px;
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(111, 166, 122, 0.12), 0 2px 8px rgba(61, 44, 44, 0.05);
  overflow: hidden;
}
.bottom-nav::before { content: "🌸"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); opacity: 0.12; font-size: 20px; }
.bottom-nav::after { content: "❀"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); opacity: 0.1; font-size: 18px; }

.bottom-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none;
  color: var(--text-light); font-family: var(--font-body); font-size: 9px; font-weight: 400; letter-spacing: 0.5px;
  text-transform: uppercase; transition: var(--transition); cursor: pointer; border: none; min-width: 0; background: none;
  padding: 8px 4px; -webkit-tap-highlight-color: transparent; position: relative;
}
.bottom-nav-item .nav-icon { font-size: 18px; line-height: 1; transition: transform 0.25s ease; }
.bottom-nav-item:hover, .bottom-nav-item.active { color: var(--rose); }
.bottom-nav-item.active .nav-icon { transform: translateY(-2px) scale(1.12); }
.bottom-nav-item.active::after { content: ""; position: absolute; width: 42px; height: 42px; background: rgba(95, 143, 105, 0.12); border-radius: 50%; z-index: -1; animation: navPulse 2s infinite; }

.bottom-nav-item.nav-cta { color: var(--white); }
.bottom-nav-item.nav-cta .nav-icon-wrap { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--rose), var(--rose-deep)); display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 4px 16px rgba(95, 143, 105, 0.4); margin-top: -14px; transition: var(--transition); }
.bottom-nav-item.nav-cta:hover .nav-icon-wrap, .bottom-nav-item.nav-cta.active .nav-icon-wrap { transform: scale(1.08); box-shadow: 0 6px 22px rgba(95, 143, 105, 0.55); }
.bottom-nav-item.nav-cta::before { display: none; }


/* ============================================================
   SECTIONS — GENERAL
   ============================================================ */
.section { padding: 64px 20px; }
.section-inner { max-width: 640px; margin: 0 auto; }
.section-label { display: inline-block; font-family: var(--font-body); font-size: 9px; font-weight: 400; letter-spacing: 5px; text-transform: uppercase; color: var(--rose); margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: clamp(28px, 6vw, 44px); font-weight: 500; font-style: italic; color: var(--text); line-height: 1.2; margin-bottom: 16px; }
.section-text { font-size: 14px; color: var(--text-mid); line-height: 1.8; font-weight: 500; }

/* ============================================================
   COUPLE SECTION
   ============================================================ */
.couple-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 40px; }
.couple-photo { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden; border: 3px solid var(--blush-light); box-shadow: 0 4px 20px rgba(95, 143, 105, 0.15); }

/* Tambahkan ini di bagian COUPLE SECTION pada guest.css */
.couple-photo img {
    width: 60%; /* Agar ikon tidak terlalu penuh di lingkaran */
    height: 60%;
    object-fit: contain;
    margin: auto;
}


.couple-name { font-family: var(--font-display); font-size: 20px; font-style: italic; color: var(--text); margin-bottom: 6px; text-align: center; }
.couple-parents { font-size: 11px; color: var(--text-light); line-height: 1.7; text-align: center; letter-spacing: 0.3px; }
.couple-ampersand { font-family: var(--font-script); font-size: 52px; color: var(--rose); line-height: 1; text-align: center; text-shadow: 0 2px 12px rgba(95, 143, 105, 0.2); }

/* ============================================================
   EVENT CARDS (GLASSMORPHISM)
   ============================================================ */
.event-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
.event-card { background: rgba(255, 255, 255, 0.8) !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.9) !important; border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.event-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blush), var(--rose), var(--sage-light)); }
.event-icon { font-size: 32px; display: block; margin-bottom: 14px; }
.event-type { font-family: var(--font-body); font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--rose); margin-bottom: 6px; }
.event-name { font-family: var(--font-display); font-size: 22px; font-style: italic; color: var(--text); margin-bottom: 16px; }
.event-detail { font-size: 13px; color: var(--text-mid); line-height: 1.9; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 32px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 12px; cursor: pointer; aspect-ratio: 1; background: var(--cream-dark); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-overlay { position: absolute; inset: 0; background: rgba(95, 143, 105, 0); display: flex; align-items: center; justify-content: center; font-size: 28px; opacity: 0; transition: var(--transition); border-radius: 12px; }
.gallery-item:hover .gallery-overlay { opacity: 1; background: rgba(95, 143, 105, 0.3); }

/* ============================================================
   LOCATION / MAP
   ============================================================ */
.map-embed { width: 100%; height: 280px; border: none; display: block; filter: saturate(70%) brightness(1.05); }
.location-info { background: var(--white); padding: 32px 20px; }
.location-name { font-family: var(--font-display); font-size: 24px; font-style: italic; color: var(--text); margin-bottom: 8px; }
.location-address { font-size: 13px; color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; }
.btn-maps { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 50px; border: 1.5px solid var(--rose); color: var(--rose); text-decoration: none; font-family: var(--font-body); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; transition: var(--transition); background: transparent; cursor: pointer; }
.btn-maps:hover { background: var(--rose); color: #fff; box-shadow: 0 4px 16px rgba(95, 143, 105, 0.3); text-decoration: none; }

/* ============================================================
   RSVP SECTION
   ============================================================ */
.rsvp-section { background: linear-gradient(170deg, #ffffff 0%, #f5fbf6 100%); }
.rsvp-form { background: var(--white); border-radius: var(--radius); padding: 32px 24px; box-shadow: var(--shadow-soft); border: 1px solid rgba(111, 166, 122, 0.2); max-width: 480px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-label-gold { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--rose); margin-bottom: 8px; font-weight: 500; }
.form-input-gold { width: 100%; padding: 13px 16px; border: 1.5px solid rgba(111, 166, 122, 0.4); border-radius: 10px; background: var(--cream); color: var(--text); font-family: var(--font-body); font-size: 14px; font-weight: 500; outline: none; transition: var(--transition); -webkit-appearance: none; }
.form-input-gold:focus { border-color: var(--rose); background: var(--white); box-shadow: 0 0 0 3px rgba(95, 143, 105, 0.1); }
.form-input-gold::placeholder { color: var(--text-light); }

.rsvp-toggle { display: flex; gap: 10px; }
.rsvp-toggle-btn { flex: 1; padding: 13px; border: 1.5px solid rgba(111, 166, 122, 0.4); border-radius: 10px; background: var(--cream); color: var(--text-mid); font-family: var(--font-body); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: var(--transition); font-weight: 400; }
.rsvp-toggle-btn.active { border-color: var(--rose); background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff; box-shadow: 0 4px 14px rgba(95, 143, 105, 0.3); }

.btn-gold { width: 100%; padding: 15px; border-radius: 50px; background: linear-gradient(135deg, var(--rose), var(--rose-deep)); border: none; color: #fff; font-family: var(--font-body); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; cursor: pointer; transition: var(--transition); font-weight: 400; box-shadow: 0 6px 20px rgba(95, 143, 105, 0.35); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(95, 143, 105, 0.45); }

/* ============================================================
   WISHES / UCAPAN
   ============================================================ */
.wishes-list { display: flex; flex-direction: column; gap: 12px; max-height: 380px; overflow-y: auto; padding-right: 4px; }
.wishes-list::-webkit-scrollbar { width: 3px; }
.wishes-list::-webkit-scrollbar-track { background: var(--cream-dark); border-radius: 2px; }
.wishes-list::-webkit-scrollbar-thumb { background: var(--blush); border-radius: 2px; }
.wish-item { padding: 18px 20px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-card); border-left: 3px solid var(--blush); }
.wish-name { font-family: var(--font-display); font-size: 15px; font-style: italic; color: var(--text); margin-bottom: 4px; }
.wish-text { font-size: 13px; color: var(--text-mid); line-height: 1.7; font-style: italic; }
.wish-time { font-size: 10px; color: var(--text-light); letter-spacing: 0.5px; margin-top: 6px; }

/* ============================================================
   GIFT / REKENING
   ============================================================ */
.gift-card, .rekening-card { background: var(--white); border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow-soft); border: 1px solid rgba(111, 166, 122, 0.15); max-width: 420px; margin: 0 auto 16px; position: relative; transition: var(--transition); }
.gift-card:hover, .rekening-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(95, 143, 105, 0.14); }
.gift-bank, .rekening-bank { font-family: var(--font-body); font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--rose); margin-bottom: 12px; }
.gift-account, .rekening-number { font-family: var(--font-display); font-size: 30px; font-style: italic; color: var(--text); letter-spacing: 2px; margin-bottom: 6px; }
.gift-name, .rekening-name { font-size: 12px; color: var(--text-mid); margin-bottom: 24px; letter-spacing: 0.5px; }
.rekening-divider { width: 40px; height: 1px; background: var(--blush); margin: 0 auto 20px; }
.rekening-icon { font-size: 32px; display: block; margin-bottom: 16px; }
.btn-copy { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 50px; border: 1.5px solid var(--rose); background: transparent; color: var(--rose); font-family: var(--font-body); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: var(--transition); }
.btn-copy:hover { background: var(--rose); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: linear-gradient(170deg, #416848, #2f4f35); padding: 60px 24px 32px; text-align: center; }
.footer-names { font-family: var(--font-script); font-size: clamp(40px, 9vw, 64px); color: #fff; margin-bottom: 16px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15); }
.footer-divider { width: 48px; height: 1px; background: rgba(255, 255, 255, 0.3); margin: 20px auto; }
.footer-text { font-size: 12px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.5px; line-height: 1.9; }

/* ============================================================
   MUSIC BUTTON
   ============================================================ */
.music-btn { position: fixed; bottom: calc(var(--bottom-nav-h) + 16px); right: 16px; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--rose), var(--rose-deep)); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; z-index: 50; box-shadow: 0 4px 16px rgba(95, 143, 105, 0.35); transition: var(--transition); color: #fff; }
.music-btn:hover { transform: scale(1.1); }
.music-btn.playing { animation: musicPulse 2s ease infinite; }

/* ============================================================
   SCROLL REVEAL (UPGRADED STAGGER & CUBIC-BEZIER)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(50px) scale(0.98); transition: opacity 0.8s cubic-bezier(0.33, 1, 0.68, 1), transform 0.8s cubic-bezier(0.33, 1, 0.68, 1); }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.gallery-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.gallery-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.gallery-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.gallery-grid .reveal:nth-child(5) { transition-delay: 0.4s; }


/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bloomIn { from { opacity: 0; transform: scale(0.5) rotate(-20deg); } to { opacity: 1; transform: scale(1) rotate(0deg); } }
@keyframes scrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@keyframes musicPulse { 0%, 100% { box-shadow: 0 4px 16px rgba(95, 143, 105, 0.35); } 50% { box-shadow: 0 4px 32px rgba(95, 143, 105, 0.6); } }
@keyframes petaldrop { 0% { transform: translateY(-20px) rotate(0deg); opacity: 0; } 10% { opacity: 0.6; } 100% { transform: translateY(100vh) rotate(360deg); opacity: 0; } }
@keyframes pulseGlow { 0% { box-shadow: 0 0 0 0 rgba(95, 143, 105, 0.4); transform: scale(1); } 70% { box-shadow: 0 0 0 15px rgba(95, 143, 105, 0); transform: scale(1.02); } 100% { box-shadow: 0 0 0 0 rgba(95, 143, 105, 0); transform: scale(1); } }
@keyframes sway { 0% { transform: translateX(-50%) rotate(-2deg); } 50% { transform: translateX(-50%) rotate(2deg); } 100% { transform: translateX(-50%) rotate(-2deg); } }
@keyframes leafSway { 0% { transform: rotate(0deg) scale(1); } 100% { transform: rotate(12deg) scale(1.08); } }
@keyframes flowerFloat { 0% { transform: translateY(0) rotate(0deg) scale(0.9); } 100% { transform: translateY(-15px) rotate(20deg) scale(1.1); } }

/* ============================================================
   ASSETLESS BOTANICAL ORNAMENTS (PURE SVG)
   ============================================================ */
.section { position: relative; overflow: hidden; }
.section::before {
  content: ""; position: absolute; top: -20px; left: -20px; width: 160px; height: 160px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23cfe3d3' d='M8 60C8 60 4 34 26 12C48 -10 64 4 64 4C64 4 58 30 38 50C18 70 8 60 8 60Z'/%3E%3Cpath fill='%236fa67a' d='M18 52C18 52 16 34 32 18C48 2 60 10 60 10C60 10 56 28 42 42C28 56 18 52 18 52Z'/%3E%3Cpath fill='none' stroke='%23416848' stroke-width='1.5' d='M10 58L55 10'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain; opacity: 0.25; z-index: 0; pointer-events: none; animation: leafSway 7s ease-in-out infinite alternate; transform-origin: top left;
}
.section::after {
  content: ""; position: absolute; bottom: -30px; right: -30px; width: 140px; height: 140px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23f5fbf6' d='M32 32 C 32 -10, 74 10, 32 32 Z'/%3E%3Cpath fill='%23e8f3ea' d='M32 32 C 74 32, 54 74, 32 32 Z'/%3E%3Cpath fill='%23cfe3d3' d='M32 32 C 32 74, -10 54, 32 32 Z'/%3E%3Cpath fill='%23f5fbf6' d='M32 32 C -10 32, 10 -10, 32 32 Z'/%3E%3Ccircle cx='32' cy='32' r='5' fill='%23c7b37a'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain; opacity: 0.3; z-index: 0; pointer-events: none; animation: flowerFloat 9s ease-in-out infinite alternate; transform-origin: center;
}
#lokasi::before, #lokasi::after { display: none; }
.section-inner { position: relative; z-index: 1; }

/* ============================================================
   SAFE AREA & FORCE MOBILE LAYOUT
   ============================================================ */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  body { padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); }
  .bottom-nav { padding-bottom: env(safe-area-inset-bottom); height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); }
}
html, body { background: #ffffff !important; overflow-x: hidden; }
body { max-width: 480px; margin: 0 auto; min-height: 100vh; position: relative; background: #fff; box-shadow: 0 0 30px rgba(0, 0, 0, 0.04); }
.section, .hero, .countdown-section, .footer, .navbar-wedding, .bottom-nav, #opening { width: 100%; max-width: 480px; margin-left: auto; margin-right: auto; }
body::before { content: ""; position: fixed; inset: 0; background: #ffffff; z-index: -999; }
.map-embed { width: 100%; max-width: 480px; margin: 0 auto; display: block; }
@media (min-width: 768px) { body { margin-top: 0; margin-bottom: 0; border-left: 1px solid #f3f3f3; border-right: 1px solid #f3f3f3; } }
.container, .container-fluid, .row, .col, [class*="col-"] { width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.section-inner { width: 100%; max-width: 480px; margin: 0 auto; padding-left: 20px; padding-right: 20px; text-align: center; }
.section, .section * { text-align: center; }
.section-label { display: block; width: 100%; text-align: center; }
.btn-maps { margin-left: auto; margin-right: auto; }
.row { display: flex !important; flex-direction: column !important; align-items: center !important; }
.row > * { width: 100% !important; max-width: 100% !important; }
@media (min-width: 768px) { html, body { background: #ffffff !important; } body { width: 100%; max-width: 480px !important; margin: 0 auto !important; overflow-x: hidden; border-left: 1px solid #f3f3f3; border-right: 1px solid #f3f3f3; } .navbar-wedding { display: none !important; } .bottom-nav { display: flex !important; } }





.hero-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-script);
    font-size: clamp(58px, 15vw, 88px);
    font-weight: 400;
    line-height: .9;
    color: var(--green-deep);
    text-shadow: 0 2px 18px rgba(111, 166, 122, .18);
}

.hero-names > span { display: block; }




.hero-scroll{
    position:static;
    margin-top:18px;
}

.card-countdown-grid{
    display:flex;
    justify-content:center;
    gap:10px;
    margin:20px 0;
}

.card-countdown-item{
    background:#608066;
    color:#fff;
    border-radius:12px;
    padding:10px;
    min-width:65px;
    text-align:center;
}

.card-countdown-num{
    font-size:22px;
    font-weight:bold;
    line-height:1;
}

.card-countdown-label{
    font-size:11px;
    text-transform:uppercase;
    opacity:.8;
    margin-top:3px;
}

.btn-cal-card{
    display:inline-block;
    padding:10px 24px;

    background:#fff;
    color:#333;

    border:1px solid #ccc;
    border-radius:30px;

    font-weight:bold;
    text-decoration:none;

    transition:.25s;
    box-shadow:0 2px 5px rgba(0,0,0,.05);
}

.btn-cal-card:hover{
    background:#f5f5f5;
    color:#000;
}

.couple-grid{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
}

.couple-grid > div{
    width:100%;
    max-width:280px;
}

.couple-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.couple-ampersand{
    font-size:2rem;
    color:var(--gold);
    margin:4px 0;
}


/* ============================================================
   HERO — AYAT AL-QUR'AN
   ============================================================ */
.hero-ayat {
    max-width: 340px;
    margin: 0 auto 24px;
    padding: 22px 20px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(199, 179, 122, 0.4);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: var(--shadow-card);
}

.ayat-arabic {
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: clamp(19px, 5.2vw, 25px);
    line-height: 2.1;
    color: var(--rose-deep);
    direction: rtl;
    margin-bottom: 16px;
    text-shadow: 0 1px 8px rgba(95, 143, 105, 0.12);
}

.ayat-translation {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 16px;
}

.ayat-source-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ayat-source-wrap .line {
    width: 30px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
}

.ayat-source {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}