/* Tema Mihrab Biru — gaya Islami, tipe Standar (struktur: Kartu).
   Dibuat dari generator tema bawaan QuUndangin. Boleh diunduh, diubah, lalu diunggah ulang sebagai tema baru.
   Susunan file: 1) warna & huruf  2) dasar  3) STRUKTUR tipe Standar  4) bentuk khas gaya Islami  5) efek  6) layar lebar */
@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Allura&family=Nunito+Sans:wght@400;500;600;700;800&display=swap');
.inv-root {
  --inv-bg: #eef4f7;
  --inv-surface: #ffffff;
  --inv-primary: #23597a;
  --inv-accent: #a9c8d8;
  --inv-text: #1e3240;
  --inv-muted: #5f7684;
  --inv-font-head: 'Amiri', Georgia, serif;
  --inv-font-script: 'Allura', cursive;
  --inv-font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-gold: #a9c8d8;
  --t-gold2: color-mix(in srgb, var(--t-gold) 88%, #fff);
  --t-line: color-mix(in srgb, var(--inv-accent) 60%, transparent);
  --t-soft: color-mix(in srgb, var(--inv-accent) 16%, var(--inv-surface));
  --t-inv-bg: #23597a;
  --t-inv-fg: #ffffff;
  --t-radius: 16px;
  --t-btn: 999px;
  --t-ns: 1;
  --t-shadow: 0 24px 50px -34px color-mix(in srgb, var(--inv-primary) 60%, #000);
}

/* ---------- 2) Dasar ---------- */
.inv-root .inv-title { font-weight: 700; letter-spacing: .04em; }
.inv-root .inv-kicker { letter-spacing: .3em; font-size: .7rem; }
.inv-root .inv-big { font-size: calc(clamp(2.6rem, 9.5vw, 3.9rem) * var(--t-ns)); }
.inv-root .inv-date { letter-spacing: .06em; }
.inv-root .inv-quote { line-height: 1.75; }
.inv-root .inv-btn { border-radius: var(--t-btn); padding: 12px 22px; letter-spacing: .02em; }
.inv-root .inv-btn-ghost { box-shadow: inset 0 0 0 1.5px var(--inv-primary); }
.inv-root .inv-couple { --pw: 150px; }
.inv-root .inv-person { position: relative; }
.inv-root .inv-photo { width: var(--pw); height: calc(var(--pw) * 1.2667); border: 0; }
.inv-root .inv-person h4 { font-size: calc(clamp(2.1rem, 6.5vw, 2.6rem) * var(--t-ns)); margin-bottom: 4px; }
.inv-root .inv-amp { font-size: calc(clamp(2.6rem, 8vw, 3.4rem) * var(--t-ns)); color: var(--inv-accent); }
.inv-root .inv-countdown b { font-size: clamp(1.5rem, 5vw, 2rem); }
.inv-root .inv-form input[type=text], .inv-root .inv-form textarea, .inv-root .inv-form select { border-radius: min(var(--t-radius), 12px); }
.inv-root .inv-timeline { border-left-color: var(--inv-accent); }
.inv-root .inv-cover:not([style]) { background-image: radial-gradient(130% 85% at 50% 0%, var(--inv-surface), var(--inv-bg) 75%); }
.inv-root .inv-cover-inner { padding: 40px 24px; }
.inv-root .inv-cover .inv-script { font-size: calc(clamp(2.9rem, 12vw, 4.8rem) * var(--t-ns)); margin: 6px 0 10px; }
.inv-root .inv-to { margin: 16px 0 26px; }
.inv-root .inv-to strong { font-size: 1.35rem; color: var(--inv-text); }
.inv-root .inv-cover[style] .inv-to strong { color: #fff; }
.inv-root .inv-footer .inv-script { font-size: calc(2rem * var(--t-ns)); }
@media (min-width: 640px) { .inv-root .inv-couple { --pw: 170px; } }
@keyframes t-sway { 0%, 100% { rotate: -1.6deg; } 50% { rotate: 1.6deg; } }
@keyframes t-swing { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }
@keyframes t-shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes t-twinkle { 0%, 100% { opacity: .25; } 50% { opacity: .75; } }
@keyframes t-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* ---------- 3) STRUKTUR KARTU (Standar): kartu kertas bertumpuk, pita hias di atas, judul bergaris samping ---------- */
.inv-root .inv-section { padding: 18px 0; }
.inv-root .inv-card { background: var(--inv-surface); border: 1px solid var(--t-line); border-radius: var(--t-radius);
  box-shadow: 9px 10px 0 -1px var(--t-soft), 9px 10px 0 0 var(--t-line); padding: 48px clamp(20px, 5.5vw, 40px) 36px; overflow: hidden; }
.inv-root .inv-card::before { content: ''; position: absolute; left: 0; right: 0; top: 12px; height: 14px; background: var(--inv-accent); -webkit-mask: url(img/band.svg) left top/auto 100% repeat-x; mask: url(img/band.svg) left top/auto 100% repeat-x;
  -webkit-mask-size: auto 100%; mask-size: auto 100%; opacity: .75; z-index: 0; }
.inv-root .inv-card > * { position: relative; z-index: 1; }
.inv-root .inv-title { display: flex; align-items: center; gap: 14px; justify-content: center; }
.inv-root .inv-title::before, .inv-root .inv-title::after { content: ''; flex: 1 1 0; max-width: 70px; height: 1px; background: var(--inv-accent); }
.inv-root .inv-ornament::before { content: ''; display: block; width: 200px; max-width: 72%; height: 32px; margin: 0 auto; background: var(--inv-accent); -webkit-mask: url(img/divider.svg) center/contain no-repeat; mask: url(img/divider.svg) center/contain no-repeat; }
.inv-root .inv-photo { box-shadow: 0 0 0 4px var(--inv-surface), 0 0 0 5px var(--inv-accent), var(--t-shadow); }
.inv-root .inv-countdown div { background: var(--inv-surface); border: 1px solid var(--t-line); border-radius: min(var(--t-radius), 10px); box-shadow: 4px 4px 0 var(--t-soft); }
.inv-root .inv-event { background: var(--t-soft); border: 0; border-radius: min(var(--t-radius), 14px); padding: 22px 18px; }
.inv-root .inv-gift, .inv-root .inv-wish { border-radius: min(var(--t-radius), 14px); border: 1px solid var(--t-line); }
.inv-root .inv-gal-item, .inv-root .inv-gallery.is-placeholder span, .inv-root .inv-video { border-radius: min(var(--t-radius), 10px); }
.inv-root .inv-page-layers::before { content: ''; position: absolute; inset: 0; background: var(--inv-accent); -webkit-mask: url(img/pattern.svg) repeat; mask: url(img/pattern.svg) repeat; -webkit-mask-size: 60px; mask-size: 60px; opacity: 0.22; }
.inv-root .inv-cover-inner { background: var(--inv-surface); border: 1px solid var(--t-line); border-radius: var(--t-radius);
  box-shadow: 10px 12px 0 -1px var(--t-soft), 10px 12px 0 0 var(--t-line); padding: 52px 26px 38px; max-width: 430px; position: relative; }
.inv-root .inv-cover-inner::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 14px; background: var(--inv-accent); -webkit-mask: url(img/band.svg) left top/auto 100% repeat-x; mask: url(img/band.svg) left top/auto 100% repeat-x;
  -webkit-mask-size: auto 100%; mask-size: auto 100%; opacity: .75; }
.inv-root .inv-cover[style] .inv-cover-inner { background: rgba(0,0,0,.32); border-color: rgba(255,255,255,.5); box-shadow: 10px 12px 0 -1px rgba(255,255,255,.18); }
.inv-root .inv-fab-btn { box-shadow: 4px 4px 0 var(--t-soft); }
/* benang putus-putus menyambung antarkartu (satu garis utuh dari atas sampai bawah, tidak terputus antarbagian) */
.inv-root .inv-main::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 90px; width: 2px; translate: -50% 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, var(--t-line) 0 7px, transparent 7px 15px); }
/* ornamen sudut mengintip dari balik kartu, muncul satu per satu: sudut kiri atas → sudut kanan bawah → kilau */
.inv-root .inv-section > .inv-layers.back { overflow: visible; }
.inv-root .inv-section .inv-layers.back i { inset: auto; }
.inv-root .inv-section .inv-layers.back .l1, .inv-root .inv-section .inv-layers.back .l2 { width: clamp(54px, 14vw, 78px); height: clamp(54px, 14vw, 78px);
  background: var(--inv-accent); -webkit-mask: url(img/corner.svg) center/contain no-repeat; mask: url(img/corner.svg) center/contain no-repeat; opacity: .8; }
.inv-root .inv-section .inv-layers.back .l1 { top: 4px; left: -9px; }
.inv-root .inv-section .inv-layers.back .l2 { bottom: 4px; right: -9px; scale: -1 -1; }
.inv-root .inv-section .inv-layers.back .l3 { top: -2px; right: 20%; width: 22px; height: 22px; background: var(--t-gold); -webkit-mask: url(img/particle.svg) center/contain no-repeat; mask: url(img/particle.svg) center/contain no-repeat; opacity: .75; animation: t-float 5s ease-in-out infinite; }
.inv-root .inv-main > .inv-section:nth-of-type(even) > .inv-layers.back .l3 { right: auto; left: 20%; animation-delay: -2.5s; }

/* ---------- 4) Bentuk khas gaya Islami ---------- */
.inv-root .inv-photo { border-radius: calc(var(--pw) / 2) calc(var(--pw) / 2) 6px 6px; }
.inv-root .inv-cover-inner, .inv-root .inv-hero { border-radius: 50% 50% var(--t-radius) var(--t-radius) / 150px 150px var(--t-radius) var(--t-radius); padding-top: 74px; }
.inv-root .inv-hero-photo img { border-radius: 160px 160px 10px 10px; box-shadow: 0 0 0 6px var(--inv-surface), 0 0 0 7px var(--t-line), var(--t-shadow); }

/* ---------- 6) Layar lebar (desktop ≥1100px): panel kiri ---------- */
@media (min-width: 1100px) {
  .inv-root .inv-aside:not([style]) { background: radial-gradient(120% 80% at 50% 0%, var(--inv-surface), var(--inv-bg) 80%); }
  .inv-root .inv-aside-names { font-size: calc(clamp(3.2rem, 5.4vw, 5.6rem) * var(--t-ns)); }
  .inv-root .inv-aside-inner::before { content: ''; display: block; width: 180px; height: 30px; margin: 0 auto 16px; background: var(--inv-accent); -webkit-mask: url(img/divider.svg) center/contain no-repeat; mask: url(img/divider.svg) center/contain no-repeat; }
  .inv-root .inv-aside-date::after { content: ''; display: block; width: 72px; height: 1px; margin: 22px auto 0; background: var(--inv-accent); }
}
