/* TEMA 1: Blue Floral Romantic */
:root { --bg: #f4f8fb; --card: #ffffff; --text: #2e3d4a; --accent: #6c9bc4; --accent-soft: #dbe9f4; }
body { background: var(--bg); color: var(--text); font-family: 'Poppins', sans-serif; }
h1,h2,h3,h4,.section-title,.cover-title,.hero-title { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; }
.section-title { font-size: 26px; color: var(--accent); }
.section-title::after { content: '\2766'; display: block; font-size: 16px; margin-top: 8px; color: var(--accent); }
.btn-solid { background: var(--accent); color: #fff; border-radius: 30px; }
.btn-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); border-radius: 30px; }
input, textarea, select { border: 1px solid var(--accent-soft); background: #fafcfe; color: var(--text); }
.cover-overlay { background: linear-gradient(180deg, #eaf3fa, #f9fcfe); }
.cover-title { font-size: 40px; color: var(--accent); margin: 14px 0; }
.cover-eyebrow, .hero-eyebrow { letter-spacing: 3px; text-transform: uppercase; font-size: 12px; color: var(--accent); }
.cover-to { margin-top: 18px; font-size: 13px; } .cover-guest { font-weight: 600; font-size: 17px; margin-bottom: 20px; }
.hero { background: radial-gradient(ellipse at top, #e5f1f9, #f4f8fb 60%); }
.hero-title { font-size: 42px; color: var(--accent); margin: 10px 0; }
.hero-date { margin-top: 6px; font-size: 14px; }
.cd-box { background: var(--accent-soft); color: var(--accent); }
.avatar-circle { background: var(--accent-soft); color: var(--accent); border: 2px solid var(--accent); }
.ig-link { color: var(--accent); }
.quote-box { background: var(--card); border: 1px solid var(--accent-soft); }
.quote-arabic { color: var(--accent); }
.event-card { background: var(--card); border: 1px solid var(--accent-soft); box-shadow: 0 8px 20px rgba(108,155,196,.1); }
.event-card h3 { color: var(--accent); }
.our-story .story-item { background: var(--card); border: 1px solid var(--accent-soft); }
.timeline-item .tl-time { color: var(--accent); }
.form-card { background: var(--card); border: 1px solid var(--accent-soft); }
.bank-row, .qris-item, .physical-gift-card { background: var(--accent-soft); }
.copy-btn { background: var(--accent); color: #fff; }
.bottom-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-top: 1px solid var(--accent-soft); }
.bottom-nav a { color: var(--accent); }
.music-toggle { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.2); }

* { box-sizing: border-box; margin: 0; padding: 0; }
body { -webkit-font-smoothing: antialiased; }
.container { max-width: 480px; margin: 0 auto; position: relative; overflow: hidden; padding-bottom: 70px; }
.section { padding: 44px 24px; text-align: center; }
.section-title { margin-bottom: 22px; }
.btn-solid, .btn-outline {
  display: inline-block; padding: 12px 30px; text-decoration: none; cursor: pointer; border: none; font-weight: 600;
}
.btn-solid.full { width: 100%; margin-top: 8px; }
input, textarea, select {
  width: 100%; padding: 11px 14px; margin-bottom: 10px; font-family: inherit; border-radius: 8px;
}
.cover-overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 24px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.cover-photo-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.65) 100%);
}
.cover-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
/* Kalau ada foto pengantin (background-image ke-set inline), paksa teks jadi putih
   supaya tetap kebaca di atas foto apapun, terlepas dari palet warna tema. */
.cover-overlay[style*="background-image"] .cover-eyebrow,
.cover-overlay[style*="background-image"] .cover-title,
.cover-overlay[style*="background-image"] .cover-to,
.cover-overlay[style*="background-image"] .cover-guest {
  color: #fff !important; text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; text-align: center; }
.countdown { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.cd-box { border-radius: 10px; padding: 10px 14px; min-width: 58px; }
.cd-num { font-size: 21px; font-weight: 700; }
.cd-lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; }
.couple-card { padding: 20px 0; }
.avatar-circle {
  width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 30px; font-weight: 600;
}
.couple-name { margin-bottom: 8px; }
.couple-desc { font-size: 13px; line-height: 1.7; margin-bottom: 8px; }
.ig-link { font-size: 12.5px; text-decoration: none; }
.couple-divider { font-size: 26px; margin: 6px 0; opacity: .6; }
.quote-box { padding: 24px; border-radius: 14px; }
.quote-arabic { font-size: 15px; margin-bottom: 12px; line-height: 2; }
.quote-text { font-size: 13px; line-height: 1.8; margin-bottom: 10px; }
.quote-source { font-size: 11px; opacity: .7; }
.event-card { border-radius: 14px; padding: 22px; margin-bottom: 16px; }
.event-card h3 { margin-bottom: 8px; }
.event-date { font-weight: 600; margin-bottom: 4px; }
.event-time { font-size: 13px; margin-bottom: 6px; }
.event-place { font-size: 13px; margin-bottom: 12px; }
.our-story .story-item { text-align: left; margin-bottom: 18px; padding: 16px; border-radius: 12px; }
.our-story h4 { margin-bottom: 6px; }
.our-story p { font-size: 13px; line-height: 1.7; }
.timeline { text-align: left; max-width: 320px; margin: 0 auto; }
.timeline-item { display: flex; gap: 14px; margin-bottom: 18px; }
.tl-time { font-weight: 700; font-size: 13px; width: 52px; flex-shrink: 0; }
.timeline-item strong { display: block; font-size: 14px; margin-bottom: 2px; }
.timeline-item p { font-size: 12.5px; opacity: .8; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; }
.gallery-placeholder {
  width: 100%; aspect-ratio: 1/1; border-radius: 8px; background: var(--card);
  border: 1.5px dashed var(--accent); display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 22px; opacity: .55;
}
.form-card { border-radius: 14px; padding: 22px; margin-bottom: 14px; text-align: left; }
.rsvp-item { font-size: 13px; margin-bottom: 10px; }
.envelope-intro { font-size: 13px; line-height: 1.7; margin-bottom: 18px; padding: 0 8px; }
.envelope-card { text-align: center; }
.accounts-list { margin-bottom: 18px; }
.account-item { margin-bottom: 12px; }
.account-item:last-child { margin-bottom: 12px; }
.qris-item { text-align: center; padding: 14px; border-radius: 10px; }
.qris-img { width: 170px; margin: 0 auto 8px; display: block; border-radius: 10px; }
.account-label { font-size: 12px; font-weight: 600; }
.bank-row { display: flex; justify-content: space-between; align-items: center; padding: 14px; border-radius: 10px; text-align: left; }
.bank-number { font-size: 16px; font-weight: 700; margin: 2px 0; }
.copy-btn { padding: 8px 16px; border-radius: 8px; border: none; cursor: pointer; font-size: 12px; font-weight: 600; }
.envelope-form { text-align: left; }
.physical-gift-card h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 15px; }
.pg-icon { font-style: normal; }
.pg-line { font-size: 13px; margin-bottom: 6px; line-height: 1.6; }
.map-embed-wrap { margin-top: 18px; border-radius: 14px; overflow: hidden; }
.map-embed { width: 100%; height: 220px; border: 0; display: block; }
.yt-embed-wrap { margin-bottom: 16px; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; }
.yt-embed { width: 100%; height: 100%; border: 0; display: block; }
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: flex; justify-content: space-around;
  align-items: center; height: 56px; max-width: 480px; margin: 0 auto;
}
.bottom-nav a { text-decoration: none; font-size: 20px; }
.footer-note { font-size: 11px; opacity: .6; padding-bottom: 90px; }
.music-toggle {
  position: fixed; bottom: 66px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center; z-index: 91; cursor: pointer;
}
.demo-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: #16296f; color: #fff; padding: 10px 16px;
  font-family: 'Inter', sans-serif; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: wrap; font-size: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.demo-banner .db-actions { display: flex; gap: 8px; }
.demo-banner a { text-decoration: none; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 11.5px; }
.demo-banner .db-back { color: #cdd6f4; border: 1px solid #33417f; }
.demo-banner .db-pilih { background: #fff; color: #16296f; }
body.has-demo-banner { padding-top: 44px; }
body.has-demo-banner .cover-overlay { top: 44px; height: calc(100vh - 44px); }
@media (min-width: 481px) { .container { box-shadow: 0 0 40px rgba(0,0,0,0.08); } }