/* Khitanan Modern Biru — Montserrat, white / #f7f7f7 / aksen biru Islami #1e88e5.
   Full-bleed photo backgrounds with bright white overlay + subtle parallax. */

:root {
  --ink: #1a1a1a;
  --muted: #8a8a8a;
  --paper: #ffffff;
  --band: #f7f7f7;
  --line: #e4e4e4;
  --gold: #1e88e5; /* biru modern Islami */
  --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;
}

* { 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;
}

/* ---------- anak yang dikhitan ---------- */
.anak { text-align: center; }

.kid-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(30, 136, 229, 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(30, 136, 229, 0); }
  50%      { box-shadow: 0 0 26px 2px rgba(30, 136, 229, 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) {
  .kid-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, var(--gold));
  color: #1565c0;
  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(30, 136, 229, 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, var(--gold)); 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(30, 136, 229,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(30, 136, 229, 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 ---------- */
.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(30, 136, 229, 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: var(--gold); }
.ig-link:hover { color: #1a1a1a; border-color: var(--gold); background: rgba(30, 136, 229, 0.08); }
/* ============ COOL VOICE BUTTON ============ */
.btn-voice {
  background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 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);
  }
}

/* ============================================================
   KHITANAN ISLAMI PACK — biru modern elegan, ornamen Islami
   (bulan sabit, bintang, siluet masjid, basmalah).
   ============================================================ */

/* Ornamen Islami melayang (bulan sabit + bintang) */
.islamic-orn { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.crescent {
  position: absolute; top: 7%; right: 9%;
  font-size: 76px; line-height: 1; color: rgba(187, 222, 251, 0.9);
  filter: drop-shadow(0 0 20px rgba(187, 222, 251, 0.65));
  animation: crescentFloat 7s ease-in-out infinite;
}
.crescent.sm { font-size: 54px; top: 2%; right: 4%; }
.istar {
  position: absolute; color: #ffca28; line-height: 1;
  animation: starTwinkle 3.6s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255, 202, 40, 0.7));
}
.istar.i1 { top: 13%; left: 11%; font-size: 26px; }
.istar.i2 { top: 24%; left: 27%; font-size: 15px; animation-delay: 1.2s; }
.istar.i3 { top: 8%;  left: 46%; font-size: 20px; animation-delay: 2.1s; }
@keyframes crescentFloat {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%      { transform: translateY(-16px) rotate(5deg); }
}
@keyframes starTwinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50%      { opacity: 1;    transform: scale(1.15); }
}

/* Siluet masjid di bagian bawah cover */
.mosque-sil {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 120px; pointer-events: none; z-index: 1; opacity: 0.92;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100'%3E%3Crect x='90' y='66' width='220' height='34' fill='%230d47a1'/%3E%3Cpath d='M150 66 C150 38 172 26 200 26 C228 26 250 38 250 66 Z' fill='%231e88e5'/%3E%3Crect x='197' y='12' width='6' height='16' fill='%230d47a1'/%3E%3Ccircle cx='200' cy='9' r='5' fill='%23ffca28'/%3E%3Crect x='66' y='34' width='12' height='66' fill='%230d47a1'/%3E%3Crect x='60' y='50' width='24' height='6' fill='%230d47a1'/%3E%3Cpath d='M66 34 a6 6 0 0 1 12 0 Z' fill='%231e88e5'/%3E%3Crect x='322' y='34' width='12' height='66' fill='%230d47a1'/%3E%3Crect x='316' y='50' width='24' height='6' fill='%230d47a1'/%3E%3Cpath d='M322 34 a6 6 0 0 1 12 0 Z' fill='%231e88e5'/%3E%3Cpath d='M188 100 v-18 a12 12 0 0 1 24 0 v18 Z' fill='%23e3f2fd'/%3E%3C/svg%3E") center bottom / contain no-repeat;
}

/* Basmalah di cover */
.bismillah {
  font-size: 24px; color: #ffca28; margin-bottom: 26px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
  animation: coverIn 1.1s var(--ease-lux) both;
}

/* Cover: langit biru khidmat + efek elegan */
#cover { background: linear-gradient(180deg, #0d47a1 0%, #1976d2 55%, #42a5f5 100%); }
#cover .sec-bg img { opacity: .28; filter: saturate(1.1); }
.cover-label {
  font-size: 13px; letter-spacing: .5em; font-weight: 700;
  color: #bbdefb; text-transform: uppercase;
}
.cover-badge {
  display: inline-block; margin: 14px 0 6px; padding: 8px 22px;
  background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 50px; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .18em;
  animation: badgeGlow 2.6s ease-in-out infinite;
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(255,255,255,.25); transform: scale(1); }
  50%      { box-shadow: 0 0 30px rgba(255,255,255,.55); transform: scale(1.045); }
}
.cover-names {
  background: linear-gradient(110deg, #ffffff 30%, #bbdefb 46%, #ffffff 50%, #bbdefb 54%, #ffffff 70%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: heroSheen 6s ease-in-out infinite;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.35));
}
@keyframes heroSheen {
  0%, 100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}
#open-invitation {
  background: #fff; color: #1565c0; border-radius: 50px;
  padding: 14px 44px; font-weight: 800; letter-spacing: .14em;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  transition: transform .25s var(--ease-lux), box-shadow .25s;
}
#open-invitation:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 40px rgba(0,0,0,.35); color: #0d47a1; letter-spacing: .14em; }

/* Hero elegan */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 40% at 50% 0%, rgba(30,136,229,.14), transparent 70%),
    radial-gradient(ellipse 70% 32% at 50% 100%, rgba(66,165,245,.12), transparent 70%);
}
.hero .col { position: relative; z-index: 1; }
.hero-label { color: var(--gold); font-weight: 700; letter-spacing: .4em; text-transform: uppercase; }
.hero-names {
  font-weight: 800; font-size: clamp(38px, 9vw, 58px);
  background: linear-gradient(110deg, #1a1a1a 32%, #1e88e5 46%, #42a5f5 50%, #1e88e5 54%, #1a1a1a 68%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: heroSheen 7s ease-in-out infinite;
}
.hero-sub { color: var(--muted); margin: 10px 0 4px; }
.hero-sub strong { color: var(--ink); }
.islamic-badge { text-align: center; margin: 18px 0 4px; }
.islamic-badge span {
  display: inline-block; padding: 10px 30px; border-radius: 50px;
  background: rgba(30, 136, 229, 0.08); border: 1.5px solid rgba(30, 136, 229, 0.55);
  color: #1565c0; font-weight: 700; font-size: 14px; letter-spacing: .14em;
  box-shadow: 0 0 22px rgba(30, 136, 229, 0.25);
  animation: badgeGlowBlue 3s ease-in-out infinite;
}
@keyframes badgeGlowBlue {
  0%, 100% { box-shadow: 0 0 14px rgba(30, 136, 229, 0.22); }
  50%      { box-shadow: 0 0 30px rgba(30, 136, 229, 0.45); }
}
.hero-photo { position: relative; margin: 18px auto 26px; max-width: 420px; }
.hero-photo::before {
  content: ''; position: absolute; inset: -4px; border-radius: 22px; z-index: -1;
  background: linear-gradient(135deg, #1e88e5, #90caf9, #1e88e5, #0d47a1);
  background-size: 300% 300%; animation: borderGlow 5s ease infinite;
}
@keyframes borderGlow {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.hero-photo img { border-radius: 18px; display: block; width: 100%; filter: saturate(1.12) contrast(1.04); }

/* Countdown */
.countdown > div {
  background: rgba(255,255,255,.9);
  border: 1.5px solid rgba(30,136,229,.3);
  border-radius: 18px; box-shadow: 0 8px 24px rgba(30,136,229,.16);
  backdrop-filter: blur(6px);
}
.countdown span { color: #1e88e5; font-weight: 800; }

/* Save the date pop */
.std-num {
  background: linear-gradient(135deg, #42a5f5, #1565c0);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.std-note { color: var(--muted); margin-top: 10px; font-size: 14px; }

/* Kartu anak */
.kid-grid.single { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
.kid-card { position: relative; }
.kid-photo-wrap { position: relative; display: inline-block; }
.kid-photo-wrap img { border: 4px solid var(--gold); box-shadow: 0 14px 40px rgba(30,136,229,.35); }
.kid-star {
  position: absolute; top: -14px; right: -14px; width: 52px; height: 52px;
  background: linear-gradient(135deg, #ffca28, #ff8f00); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 24px; box-shadow: 0 8px 22px rgba(255,143,0,.5);
  animation: starSpin 5s ease-in-out infinite;
}
@keyframes starSpin {
  0%, 100% { transform: rotate(-12deg) scale(1); }
  50%      { transform: rotate(12deg) scale(1.12); }
}

/* Kartu acara ala tiket elegan */
.event-card.ticket {
  position: relative; border: 2px dashed rgba(30,136,229,.5);
  border-radius: 20px; overflow: visible;
  transition: transform .3s var(--ease-lux), box-shadow .3s;
}
.event-card.ticket:hover { transform: translateY(-6px); box-shadow: 0 20px 46px rgba(30,136,229,.28); }
.event-card.ticket::before, .event-card.ticket::after {
  content: ''; position: absolute; top: 50%; width: 26px; height: 26px;
  background: var(--paper); border-radius: 50%; transform: translateY(-50%);
}
.event-card.ticket::before { left: -15px; border-right: 2px dashed rgba(30,136,229,.5); }
.event-card.ticket::after  { right: -15px; border-left: 2px dashed rgba(30,136,229,.5); }
.t-time {
  display: inline-block; padding: 6px 20px; border-radius: 50px;
  background: linear-gradient(135deg, #1e88e5, #0d47a1); color: #fff;
  font-weight: 800; letter-spacing: .1em;
}

/* Galeri horizontal */
.grid.gallery-h {
  display: flex; gap: 14px; overflow-x: auto; padding: 8px 4px 18px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.grid.gallery-h::-webkit-scrollbar { display: none; }
.grid.gallery-h img {
  width: 220px; height: 220px; min-width: 220px; object-fit: cover;
  border-radius: 16px; scroll-snap-align: start;
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  transition: transform .25s var(--ease-lux);
}
.grid.gallery-h img:hover { transform: scale(1.04) rotate(-1deg); }

/* Timeline dots jadi bintang */
.tl-dot {
  background: linear-gradient(135deg, #42a5f5, #1565c0) !important;
  box-shadow: 0 0 0 5px rgba(30,136,229,.16), 0 0 18px rgba(30,136,229,.5);
  animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(30,136,229,.16), 0 0 14px rgba(30,136,229,.4); }
  50%      { box-shadow: 0 0 0 9px rgba(30,136,229,.08), 0 0 26px rgba(30,136,229,.7); }
}
.tl-date { color: var(--gold); font-weight: 800; }

/* Footer */
footer { background: linear-gradient(180deg, #f7f7f7, #e3f2fd); }
.order-btn {
  background: linear-gradient(135deg, #42a5f5, #1565c0);
  box-shadow: 0 12px 32px rgba(30,136,229,.45);
}

/* Hormati preferensi reduced motion */
@media (prefers-reduced-motion: reduce) {
  .crescent, .istar, .cover-badge, .cover-names, .hero-names,
  .islamic-badge span, .hero-photo::before, .kid-star, .tl-dot, .bismillah { animation: none; }
}
