/* Modern Minimalis — Montserrat, white / #f7f7f7 / thin gold accent.
   Full-bleed photo backgrounds with bright white overlay + subtle parallax. */

:root {
  --ink: #1a1a1a;
  --muted: #8a8a8a;
  --paper: #ffffff;
  --band: #f7f7f7;
  --line: #e4e4e4;
  --gold: #d4af37;
  --gold-deep: #b8962e;
  --green: #0d6b3f;
  --green-deep: #06281a;
  --green-night: #04160d;
  --overlay: rgba(255, 255, 255, 0.78);
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: 'Montserrat', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --arabic: 'Amiri', serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* lock scroll until cover opens */
body:not(.opened) { overflow: hidden; }

/* ---------- shared ---------- */
.col {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.band { padding: 96px 0; position: relative; overflow: hidden; }
.band.plain { background: var(--paper); }
.band.gray  { background: var(--band); }

/* full-bleed photo background + bright white overlay */
.sec-bg {
  position: absolute;
  inset: -70px 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.sec-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  display: block;
}
.sec-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.label {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
  font-weight: 500;
}

.muted {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}

.rule {
  width: 24px;
  border: none;
  border-top: 1px solid var(--gold);
  margin: 36px auto;
  position: relative;
  overflow: hidden;
}
.rule::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 25%, rgba(255,255,255,0.85) 50%, transparent 75%);
  transform: translateX(-130%);
  animation: ruleShimmer 7s ease-in-out infinite;
}
@keyframes ruleShimmer {
  0%, 60%  { transform: translateX(-130%); }
  100%     { transform: translateX(330%); }
}

/* ---------- cover ---------- */
#cover {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s;
  overflow: hidden;
}
#cover .sec-bg { inset: 0; }
#cover .sec-bg::after { background: rgba(255, 255, 255, 0.82); }

#cover.open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cover-inner { text-align: center; padding: 0 32px; position: relative; z-index: 1; animation: coverIn 1.1s var(--ease-lux) both; }
@keyframes coverIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

.cover-inner .label { margin-bottom: 48px; }

.cover-names {
  font-size: clamp(56px, 16vw, 88px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.06em;
}

.cover-date {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 40px 0 56px;
}

#open-invitation {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
  padding: 0 0 6px;
  cursor: pointer;
  transition: color 0.6s var(--ease-lux), border-color 0.6s var(--ease-lux), letter-spacing 0.6s var(--ease-lux);
}
#open-invitation:hover { color: var(--gold); letter-spacing: 0.32em; }

/* ---------- hero ---------- */
.hero { text-align: center; padding-top: 120px; }

.hero-names {
  font-size: clamp(40px, 10vw, 56px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.hero-names .amp { font-size: 0.7em; color: var(--muted); font-style: italic; }

.hero-date {
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 56px;
}

.hero-photo { margin: 0 0 56px; overflow: hidden; }

.hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 36px;
}

.countdown div { display: flex; flex-direction: column; }

.countdown span {
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown span.cd-tick { animation: cdFade 0.6s var(--ease-lux); }
@keyframes cdFade { from { opacity: 0.2; } to { opacity: 1; } }

.countdown small {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

/* ---------- mempelai ---------- */
.mempelai { text-align: center; }

.couple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow: 0 18px 44px rgba(26, 26, 26, 0.10);
  transition: transform 0.7s var(--ease-lux), box-shadow 0.7s var(--ease-lux);
}
.person img:hover { transform: scale(1.03); box-shadow: 0 24px 54px rgba(26, 26, 26, 0.14); }

.person h3 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin: 24px 0 10px;
}

.person .parents {
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: var(--muted);
}

.couple-amp {
  font-size: 32px;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  margin: 48px 0 0;
}

/* ---------- timeline ---------- */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}

.timeline li {
  position: relative;
  margin-bottom: 56px;
}
.timeline li:last-child { margin-bottom: 0; }

.timeline .dot {
  position: absolute;
  left: -40px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
}

.t-time {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 6px;
}

.timeline h3 {
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 6px;
}

.t-desc {
  font-size: 14px;
  color: var(--muted);
}

.venue {
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 72px;
}

/* ---------- gallery ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.7s var(--ease-lux), box-shadow 0.7s var(--ease-lux);
}
.grid img:hover,
.grid img:focus-visible {
  transform: scale(1.02);
  box-shadow: 0 14px 34px rgba(26, 26, 26, 0.12);
  outline: none;
}

/* ---------- gift ---------- */
.gift {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin-bottom: 8px;
}

.gift-bank {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 4px;
}

.gift-num {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.gift-name {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.copy {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
  padding: 0 0 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.6s var(--ease-lux), border-color 0.6s var(--ease-lux);
}
.copy:hover { color: var(--gold); }

/* ---------- rsvp ---------- */
.rsvp { text-align: center; }

.btn {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 8px;
  margin-top: 8px;
  transition: color 0.6s var(--ease-lux), letter-spacing 0.6s var(--ease-lux);
}
.btn:hover { color: var(--gold); letter-spacing: 0.32em; }

/* ---------- guestbook ---------- */
#wish-form { margin-bottom: 64px; }

#wish-form input,
#wish-form textarea {
  display: block;
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 2px;
  margin-bottom: 28px;
  resize: none;
  outline: none;
}

#wish-form input:focus,
#wish-form textarea:focus { border-bottom-color: var(--gold); }

#wish-form input::placeholder,
#wish-form textarea::placeholder { color: #b5b5b5; }

#wish-form button {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
  padding: 0 0 6px;
  cursor: pointer;
  transition: color 0.6s var(--ease-lux), letter-spacing 0.6s var(--ease-lux);
}
#wish-form button:hover { color: var(--gold); letter-spacing: 0.32em; }

#wishes-list .wish { margin-bottom: 36px; }

#wishes-list .wish p { font-size: 16px; }

#wishes-list .wish cite {
  display: block;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

#wishes-list .empty {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- footer / order CTA (hidup, tetap minimalis) ---------- */
footer {
  text-align: center;
  padding: 96px 32px 80px;
  background: var(--paper);
}

.order-cta { margin-bottom: 64px; }

.order-rule {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
}

.order-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.order-title {
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 36px;
}

.order-btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-indent: 0.28em;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--gold);
  padding: 18px 44px;
  transition: color 0.6s var(--ease-lux), background 0.6s var(--ease-lux), border-color 0.6s var(--ease-lux);
  animation: btnGlow 4s ease-in-out infinite;
}
.order-btn span { position: relative; z-index: 1; }
.order-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(201, 162, 39, 0.16) 50%, transparent 60%);
  transform: translateX(-130%);
  animation: sheen 5.5s var(--ease-lux) infinite;
  pointer-events: none;
}
.order-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.order-btn:hover::before { animation: none; }
.order-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0); }
  50%      { box-shadow: 0 0 26px 2px rgba(201, 162, 39, 0.30); }
}
@keyframes sheen {
  0%       { transform: translateX(-130%); }
  55%, 100% { transform: translateX(130%); }
}

.order-note {
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.order-brand img {
  border-radius: 50%;
  margin-bottom: 12px;
}
.order-brand p {
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

#main { visibility: hidden; }
body.opened #main { visibility: visible; }

/* ---------- reveal on scroll: fade + blur-in ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(6px);
  transition:
    opacity 0.8s var(--ease-lux),
    transform 0.8s var(--ease-lux),
    filter 0.8s var(--ease-lux);
  transition-delay: calc(var(--reveal-i, 0) * 0.08s);
  will-change: opacity, transform, filter;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---------- lightbox (putih lembut) ---------- */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.45s var(--ease-lux);
}
.lightbox.show { opacity: 1; }

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lb-stage {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 620px);
  margin: 0;
  text-align: center;
}
.lb-stage img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  box-shadow: 0 24px 64px rgba(26, 26, 26, 0.14);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.5s var(--ease-lux), transform 0.55s var(--ease-lux);
}
.lightbox.show .lb-stage img { opacity: 1; transform: scale(1); }
.lb-stage img.lb-swap { animation: lbSwap 0.55s var(--ease-lux); }
@keyframes lbSwap {
  from { opacity: 0.25; transform: scale(0.985); }
  to   { opacity: 1;    transform: scale(1); }
}

.lb-counter {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.lb-btn {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.4s var(--ease-lux), color 0.4s var(--ease-lux);
}
.lb-btn:hover, .lb-btn:focus-visible { opacity: 1; color: var(--gold); outline: none; }
.lb-close { top: 14px; right: 14px; font-size: 34px; }
.lb-prev  { left: 10px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 10px; top: 50%; transform: translateY(-50%); }

body.lb-open { overflow: hidden; }

.person .addr {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #b5b5b5;
  margin-top: 8px;
}

/* ---------- save the date ---------- */
.savethedate { text-align: center; }

.std-day {
  font-size: 16px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.std-num {
  font-size: clamp(120px, 38vw, 190px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.std-month {
  font-size: 15px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}

/* ---------- event cards (akad & resepsi) ---------- */
.event-cards {
  display: grid;
  gap: 16px;
}

.event-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 44px 32px;
  text-align: center;
  transition: transform 0.7s var(--ease-lux), box-shadow 0.7s var(--ease-lux);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(26, 26, 26, 0.08);
}

.event-card h3 {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 8px;
}

.event-card .t-desc {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.event-card .t-venue {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 16px 0 24px;
  line-height: 2;
}

.event-card .btn { margin-top: 0; }

/* ---------- rsvp form ---------- */
#rsvp-form { margin-bottom: 8px; }

#rsvp-form input[type="text"],
#rsvp-form input[type="number"] {
  display: block;
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 2px;
  margin-bottom: 28px;
  outline: none;
}
#rsvp-form input:focus { border-bottom-color: var(--gold); }
#rsvp-form input::placeholder { color: #b5b5b5; }

.rsvp-choice {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 28px;
}

.rsvp-choice label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 12px 24px;
  border: 1px solid var(--line);
  transition: border-color 0.5s var(--ease-lux), color 0.5s var(--ease-lux);
}
.rsvp-choice label:has(input:checked) {
  border-color: var(--gold);
  color: var(--ink);
}
.rsvp-choice input[type="radio"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
}

#rsvp-form button {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
  padding: 0 0 6px;
  cursor: pointer;
  transition: color 0.6s var(--ease-lux), letter-spacing 0.6s var(--ease-lux);
}
#rsvp-form button:hover { color: var(--gold); letter-spacing: 0.32em; }

.rsvp-thanks {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-top: 8px;
}

/* ---------- responsive ---------- */
@media (max-width: 420px) {
  .couple-grid { gap: 24px; }
  .person h3 { font-size: 19px; }
  .person .parents { font-size: 11px; }
  .countdown { gap: 24px; }
  .countdown span { font-size: 36px; }
}

/* ---------- tombol toggle musik (floating) ---------- */
.music-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--gold, #c9a227);
  color: #b08d2e;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.music-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(201, 162, 39, 0.35); }
.music-toggle:active { transform: scale(0.96); }
.music-toggle .mt-icon { display: inline-block; transform: translateY(-1px); }
.music-toggle.playing .mt-icon { font-size: 15px; letter-spacing: 2px; }
.music-toggle:focus-visible { outline: 2px solid var(--gold, #c9a227); outline-offset: 3px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  #cover .cover-inner, .rule::after, .countdown span.cd-tick,
  .lb-stage img.lb-swap { animation: none; }
  .lightbox { transition: none; }
  .order-btn, .order-btn::before { animation: none; }
  #wish-form .btn-voice.recording { animation: none; }
}
.bank-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block; margin-bottom: 0.5rem; }

/* ---------- voice comment ---------- */
.voice-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 6px;
}
#wish-form .btn-voice {
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: #1a1a1a;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: none;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
#wish-form .btn-voice:hover { background: rgba(201,162,39,0.08); color: #1a1a1a; letter-spacing: 0.08em; }
#wish-form .btn-voice.recording {
  border-color: #c0392b;
  color: #c0392b;
  animation: voicePulse 1.4s ease-in-out infinite;
}
@keyframes voicePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.25); }
  50% { box-shadow: 0 0 0 8px rgba(192,57,43,0); }
}
.voice-status { font-size: 0.78rem; color: #8a8a8a; }
.voice-preview {
  width: 100%;
  max-width: 320px;
  height: 36px;
  margin: 4px 0 10px;
}
.wish-audio {
  width: 100%;
  max-width: 280px;
  height: 32px;
  margin-top: 8px;
  display: block;
}

/* ---------- love story timeline (minimalis) ---------- */
.lovestory .col { text-align: center; }
.timeline {
  position: relative;
  margin: 8px auto 0;
  max-width: 400px;
  padding-left: 30px;
  text-align: left;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
}
.tl-item {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 44px;
}
.tl-item:last-child { padding-bottom: 4px; }
.tl-dot {
  position: absolute;
  left: -27px;
  top: 34px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--band);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.12);
}
.tl-photo {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.08);
  transition: transform 0.5s var(--ease-lux);
}
.tl-item:hover .tl-photo { transform: scale(1.06); }
.tl-body { min-width: 0; }
.tl-date {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}
.tl-body h3 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin: 0 0 8px;
}
.tl-text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Instagram link tiap profil mempelai ---------- */
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.55rem;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.ig-link svg { width: 14px; height: 14px; color: #c9a227; }
.ig-link:hover { color: #1a1a1a; border-color: #c9a227; background: rgba(201, 162, 39, 0.08); }
/* ============ COOL VOICE BUTTON ============ */
.btn-voice {
  background: linear-gradient(135deg, #e50914 0%, #b00610 100%);
  color: #fff;
  border: none;
  padding: .8rem 1.8rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  box-shadow: 0 4px 20px rgba(229,9,20,.4), 0 2px 8px rgba(0,0,0,.3);
  transition: transform .2s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.btn-voice::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s;
}
.btn-voice:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(229,9,20,.6), 0 4px 12px rgba(0,0,0,.4);
}
.btn-voice:hover::before { left: 100%; }
.btn-voice:active { transform: scale(.97); }
.btn-voice.recording {
  background: linear-gradient(135deg, #ff2222 0%, #cc0000 100%);
  animation: voiceCoolPulse 1s ease-in-out infinite;
}
@keyframes voiceCoolPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(229,9,20,.6), 0 4px 20px rgba(229,9,20,.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(229,9,20,0), 0 4px 25px rgba(229,9,20,.7);
    transform: scale(1.05);
  }
}

/* ============================================================
   ISLAMIC ELEGANT PACK — Khitanan (hijau + emas)
   Epic, elegan, powerful. Append-only.
   ============================================================ */

/* ---------- stars (malam bertabur bintang) ---------- */
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 28% 8%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 44% 30%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 60% 12%, rgba(212,175,55,.9), transparent),
    radial-gradient(1.5px 1.5px at 74% 26%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 88% 10%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 8% 55%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 92% 48%, rgba(212,175,55,.7), transparent),
    radial-gradient(1.5px 1.5px at 35% 65%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 68% 70%, rgba(255,255,255,.6), transparent);
  animation: starTwinkle 4s ease-in-out infinite alternate;
}
@keyframes starTwinkle {
  from { opacity: .55; }
  to   { opacity: 1; }
}

/* ---------- cover: malam islami ---------- */
#cover {
  background: radial-gradient(ellipse 120% 80% at 50% -10%, #0d5a35 0%, var(--green-deep) 55%, var(--green-night) 100%);
}
#cover .cover-inner { animation: coverIn 1.2s var(--ease-lux) both; }
#cover .label.gold, .label.gold {
  color: var(--gold);
  letter-spacing: .45em;
  font-weight: 600;
}
.bismillah {
  font-family: var(--arabic);
  font-size: clamp(26px, 7vw, 34px);
  color: #f5e9c8;
  margin: 6px 0 26px;
  text-shadow: 0 0 24px rgba(212,175,55,.45);
}
.cover-names {
  font-weight: 800;
  font-style: italic;
  letter-spacing: .04em;
  background: linear-gradient(110deg, #f7ead0 20%, var(--gold) 42%, #fff7e0 50%, var(--gold) 58%, #f7ead0 80%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(212,175,55,.35));
  animation: goldSheen 7s ease-in-out infinite;
}
@keyframes goldSheen {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.cover-sub {
  color: rgba(245,233,200,.85);
  font-size: 14px;
  letter-spacing: .08em;
  margin-top: 22px;
  line-height: 1.9;
}
.cover-date {
  color: var(--gold);
  font-weight: 600;
}
#open-invitation {
  color: #fff7e0;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 14px 44px 14px;
  letter-spacing: .28em;
  background: linear-gradient(135deg, rgba(212,175,55,.18), rgba(212,175,55,.05));
  box-shadow: 0 0 30px rgba(212,175,55,.35), inset 0 0 18px rgba(212,175,55,.12);
  animation: btnGlow 2.6s ease-in-out infinite;
}
#open-invitation:hover { color: var(--gold); letter-spacing: .34em; background: rgba(212,175,55,.12); }
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 24px rgba(212,175,55,.3), inset 0 0 18px rgba(212,175,55,.12); }
  50% { box-shadow: 0 0 44px rgba(212,175,55,.55), inset 0 0 24px rgba(212,175,55,.2); }
}
.mosque-sil {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 0;
}

/* ---------- crescent ornament ---------- */
.crescent-orn { display: inline-block; }
.crescent-orn svg { display: block; filter: drop-shadow(0 0 14px rgba(212,175,55,.6)); }
.crescent-lg svg { width: 84px; height: 84px; margin: 0 auto 18px; animation: crescentFloat 5s ease-in-out infinite; }
.crescent-sm svg { width: 52px; height: 52px; margin: 0 auto 16px; animation: crescentFloat 5s ease-in-out infinite; }
.crescent-xs svg { width: 30px; height: 30px; margin: 0 auto 10px; }
@keyframes crescentFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

/* ---------- hero: malam islami ---------- */
.hero {
  background: radial-gradient(ellipse 120% 70% at 50% 0%, #0d5a35 0%, var(--green-deep) 60%, var(--green-night) 100%);
  color: #f5e9c8;
  padding-top: 110px;
}
.hero .label { margin-bottom: 24px; }
.salam {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: 18px;
}
.intro {
  font-size: 14px;
  line-height: 2;
  color: rgba(245,233,200,.82);
  max-width: 380px;
  margin: 0 auto 34px;
}
.hero-names {
  font-weight: 900;
  font-style: italic;
  background: linear-gradient(110deg, #f7ead0 20%, var(--gold) 42%, #fff7e0 50%, var(--gold) 58%, #f7ead0 80%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(212,175,55,.35));
  animation: goldSheen 7s ease-in-out infinite;
}
.gold-rule { border: none; border-top: 1px solid var(--gold); width: 120px; margin: 26px auto; opacity: .8; }
.hero-date { color: var(--gold); font-weight: 600; }
.hero-photo { position: relative; max-width: 380px; margin: 0 auto 44px; overflow: visible; }
.hero-photo::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--gold), var(--green) 40%, var(--gold) 70%, var(--gold-deep));
  background-size: 250% 250%;
  animation: borderFlow 5s ease infinite;
  z-index: 0;
}
@keyframes borderFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-photo img {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  filter: saturate(1.08) contrast(1.04);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

/* ---------- hadith card ---------- */
.hadith {
  margin: 0 auto 44px;
  max-width: 400px;
  padding: 28px 24px;
  border: 1px solid rgba(212,175,55,.4);
  border-radius: 18px;
  background: rgba(212,175,55,.06);
  box-shadow: inset 0 0 30px rgba(212,175,55,.06);
}
.hadith-ar {
  font-family: var(--arabic);
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(212,175,55,.4);
}
.hadith-id { font-size: 13px; font-style: italic; color: rgba(245,233,200,.8); line-height: 1.9; }
.hadith-id span { color: var(--gold); font-style: normal; font-size: 12px; }

/* ---------- countdown kaca emas ---------- */
.hero .countdown { gap: 14px; flex-wrap: wrap; }
.hero .countdown div {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 16px;
  padding: 16px 0 12px;
  min-width: 74px;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.hero .countdown span { color: var(--gold); font-weight: 800; font-size: 36px; text-shadow: 0 0 18px rgba(212,175,55,.5); }
.hero .countdown small { color: rgba(245,233,200,.7); }

/* ---------- save the date: bingkai pola islami ---------- */
.pattern-frame {
  border: 1px solid rgba(212,175,55,.5);
  outline: 1px solid rgba(13,107,63,.25);
  outline-offset: 8px;
  border-radius: 20px;
  padding: 56px 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212,175,55,.08), transparent 60%),
    var(--paper);
  box-shadow: 0 20px 50px rgba(6,40,26,.12);
}
.std-num {
  font-size: clamp(90px, 26vw, 130px);
  font-weight: 900;
  font-style: italic;
  background: linear-gradient(160deg, var(--gold-deep), var(--gold) 55%, #f7ead0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  filter: drop-shadow(0 6px 16px rgba(212,175,55,.35));
}
.std-day, .std-month { color: var(--green); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.std-note { margin-top: 18px; color: var(--muted); font-size: 13px; letter-spacing: .12em; }

/* ---------- anak card ---------- */
.child-card {
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 28px 44px;
  border-radius: 24px;
  background: linear-gradient(170deg, #ffffff 0%, #faf7ec 100%);
  border: 1px solid rgba(212,175,55,.45);
  box-shadow: 0 24px 60px rgba(6,40,26,.14);
  position: relative;
  overflow: hidden;
}
.child-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
}
.child-photo-wrap {
  width: 170px; height: 170px;
  margin: 0 auto 24px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 0 34px rgba(212,175,55,.45);
}
.child-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 4px solid #fff;
}
.child-card h3 {
  font-size: 26px;
  font-weight: 800;
  font-style: italic;
  color: var(--green-deep);
  margin-bottom: 14px;
}
.child-card .parents { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 12px; }
.child-card .addr { color: var(--green); font-size: 13px; font-weight: 500; }

/* ---------- timeline emas ---------- */
.lovestory .tl-dot { background: var(--gold); box-shadow: 0 0 0 5px rgba(212,175,55,.18), 0 0 16px rgba(212,175,55,.6); }
.timeline::before, .tl-item::before { border-color: rgba(212,175,55,.5) !important; }
.tl-date { color: var(--gold-deep); font-weight: 700; letter-spacing: .25em; }
.tl-body h3 { color: var(--green-deep); }

/* ---------- event cards ---------- */
.event-card {
  border: 1px solid rgba(212,175,55,.45);
  border-top: 5px solid var(--gold);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(6,40,26,.12);
  transition: transform .35s var(--ease-lux), box-shadow .35s var(--ease-lux);
}
.event-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(6,40,26,.2); }
.event-card .t-time {
  display: inline-block;
  background: linear-gradient(135deg, var(--green), #0a5433);
  color: #fff7e0;
  font-weight: 700;
  letter-spacing: .15em;
  padding: 8px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(13,107,63,.4);
}
.event-card h3 { color: var(--green-deep); }
.btn {
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 12px 34px;
  color: var(--green-deep);
  font-weight: 700;
  background: linear-gradient(135deg, rgba(212,175,55,.14), rgba(212,175,55,.04));
  transition: all .4s var(--ease-lux);
}
.btn:hover { background: var(--gold); color: #fff; letter-spacing: .28em; box-shadow: 0 10px 28px rgba(212,175,55,.45); }

/* ---------- galeri horizontal ---------- */
.gallery-h {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-h::-webkit-scrollbar { display: none; }
.gallery-h img {
  width: 210px;
  height: 210px;
  min-width: 210px;
  object-fit: cover;
  border-radius: 16px;
  scroll-snap-align: start;
  border: 3px solid var(--gold);
  box-shadow: 0 10px 28px rgba(6,40,26,.2);
  transition: transform .3s var(--ease-lux);
  cursor: pointer;
}
.gallery-h img:hover { transform: scale(1.04) rotate(-1deg); }

/* ---------- gift ---------- */
.gift {
  border: 1px solid rgba(212,175,55,.45);
  border-radius: 18px;
  background: linear-gradient(170deg, #fff, #faf7ec);
}
.copy {
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--green-deep);
  font-weight: 700;
}
.copy:hover { background: var(--gold); color: #fff; }

/* ---------- forms ---------- */
#rsvp-form button, #wish-form button[type="submit"] {
  background: linear-gradient(135deg, var(--green), #0a5433);
  color: #fff7e0;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .2em;
  box-shadow: 0 10px 26px rgba(13,107,63,.4);
  transition: transform .3s var(--ease-lux), box-shadow .3s;
}
#rsvp-form button:hover, #wish-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(13,107,63,.5);
  color: #fff;
  letter-spacing: .24em;
}

/* ---------- footer malam islami ---------- */
footer {
  background: radial-gradient(ellipse 120% 80% at 50% 0%, #0d5a35 0%, var(--green-deep) 60%, var(--green-night) 100%);
  color: #f5e9c8;
  position: relative;
  overflow: hidden;
}
.order-eyebrow { color: var(--gold); }
.order-title {
  background: linear-gradient(110deg, #f7ead0 20%, var(--gold) 50%, #f7ead0 80%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: goldSheen 7s ease-in-out infinite;
}
.order-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #06281a !important;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 0 34px rgba(212,175,55,.5);
  animation: btnGlow 2.6s ease-in-out infinite;
}
.order-note { color: rgba(245,233,200,.7); }
.order-brand p { color: var(--gold); }

/* ---------- section label aksen ---------- */
.band.plain .label, .band.gray .label {
  color: var(--green);
  font-weight: 600;
}
.band.plain .label::after, .band.gray .label::after {
  content: '';
  display: block;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 10px;
}

/* ---------- lightbox tema ---------- */
.lightbox { background: rgba(4,22,13,.94); }

/* ---------- music toggle ---------- */
.music-toggle {
  background: linear-gradient(135deg, var(--green), #0a5433);
  border: 1px solid var(--gold);
  box-shadow: 0 8px 24px rgba(6,40,26,.4);
}
.music-toggle .mt-icon { color: var(--gold); }

/* ---------- reveal delay stagger (halus) ---------- */
#main .col > * { transition: opacity .8s var(--ease-lux), transform .8s var(--ease-lux), filter .8s var(--ease-lux); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .stars, .crescent-lg svg, .crescent-sm svg,
  .cover-names, .hero-names, .order-title,
  #open-invitation, .order-btn, .hero-photo::before { animation: none !important; }
  .event-card:hover, .gallery-h img:hover { transform: none; }
}

/* ---------- testimoni ---------- */
.testi-grid { display: grid; gap: 20px; margin-top: 36px; }
.testi-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 24px 26px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(6, 40, 26, 0.08);
  position: relative;
}
.testi-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
}
.testi-stars { color: var(--gold); letter-spacing: 5px; font-size: 15px; margin: 14px 0 12px; }
.testi-text { font-style: italic; font-size: 15px; line-height: 1.9; color: var(--ink); }
.testi-name { font-weight: 700; font-size: 15px; margin-top: 16px; color: var(--green-deep); }
.testi-role { color: var(--muted); font-size: 13px; margin-top: 4px; }
