* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --marble-bg: #f8f2eb;
  --ink-dark: #2c2723;
  --ink-muted: #696056;
  --line-soft: #cbbba8;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  min-height: 100%;
  font-family: var(--font-sans);
  background-color: var(--marble-bg);
  color: var(--ink-dark);
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
  height: 100dvh;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.container.wide {
  max-width: 1060px;
}

.container.narrow {
  max-width: 720px;
}

/* 1. COVER (SMOOTH CINEMATIC CURTAIN + FADE BLUR) */
.cover {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  background-size: cover;
  background-position: center 45%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  z-index: 200;
  color: #ffffff;
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  filter: blur(0px);
  visibility: visible;
  transition:
    transform 1.85s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
    filter 1.4s ease-out 0.1s,
    visibility 0s linear 1.85s;
  will-change: transform, opacity, filter;
}

.cover.is-open {
  transform: translate3d(0, -100%, 0) scale(1.04);
  opacity: 0;
  filter: blur(6px);
  visibility: hidden;
  pointer-events: none;
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 56% 35%,
      rgba(255, 226, 182, 0.16) 0%,
      rgba(135, 106, 74, 0.08) 26%,
      rgba(18, 16, 14, 0.48) 62%,
      rgba(10, 9, 8, 0.82) 100%
    ),
    linear-gradient(
      180deg,
      rgba(14, 19, 12, 0.45) 0%,
      rgba(14, 19, 12, 0.18) 55%,
      rgba(14, 19, 12, 0.65) 100%
    );
  pointer-events: none;
  transition: opacity 1.3s ease;
}

.cover.is-open .cover-overlay {
  opacity: 0;
}

.cover-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  min-height: 100%;
  padding: clamp(44px, 7vh, 72px) 24px clamp(32px, 6vh, 52px);
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s ease-out;
  will-change: transform, opacity;
}

.cover.is-open .cover-inner {
  transform: translate3d(0, -28px, 0);
  opacity: 0;
}

@media (min-width: 900px) {
  .cover {
    align-items: center;
    justify-content: flex-start;
  }

  .cover-overlay {
    background:
      radial-gradient(
        circle at 48% 36%,
        rgba(255, 226, 182, 0.16) 0%,
        rgba(135, 106, 74, 0.08) 28%,
        rgba(18, 16, 14, 0.45) 64%,
        rgba(10, 9, 8, 0.8) 100%
      ),
      linear-gradient(
        90deg,
        rgba(14, 19, 12, 0.56) 0%,
        rgba(14, 19, 12, 0.26) 50%,
        rgba(14, 19, 12, 0.14) 100%
      );
  }

  .cover-inner {
    min-height: auto;
    margin: 0 0 0 8%;
    padding: 0 24px;
    display: block;
    text-align: center;
  }
}

.salutation {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 4px;
}

.guest-name {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 1.8vw, 1.7rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 14px;
}

.invite-text {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.35vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 8px;
}

.couple-script {
  font-family: var(--font-script);
  font-size: clamp(3.05rem, 5vw, 4.35rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 22px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

@media (max-width: 899px) {
  .couple-script {
    margin-bottom: 0;
  }
}

.cover-action-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 22px;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 500;
  color: #ffffff;
  background-color: rgba(18, 22, 16, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.open-btn .btn-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.open-btn:hover {
  background-color: #ffffff;
  color: #181c16;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.65),
    0 0 16px rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.open-btn:active {
  transform: scale(0.97);
}

.cover-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.84);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
  max-width: 300px;
}

/* TOMBOL MUSIK */
.music-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 150;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(22, 24, 20, 0.65);
  color: #ffffff;
  font-size: 0.72rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.8s ease 0.6s,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s,
    visibility 0.8s ease 0.6s;
}

.music-toggle.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 2. HERO SLIDESHOW (SMOOTH UNVEIL DARI BALIK COVER) */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background-color: #141210;
}

.hero-slides {
  position: absolute;
  inset: 0;
  transform: scale(1.08);
  filter: brightness(0.72);
  transition:
    transform 2.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.8s ease-out;
  will-change: transform, filter;
}

body.is-opened .hero-slides {
  transform: scale(1);
  filter: brightness(1);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: var(--slide-pos, center 25%);
  opacity: 0;
  transform: scale(1.03);
  filter: contrast(0.9) saturate(0.76) brightness(0.98) sepia(0.08);
  transition: opacity 1.4s ease-in-out, transform 6.5s ease-out;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

@media (min-width: 769px) {
  .hero-slide {
    background-position: center 45% !important;
  }

  /* Turunkan foto khusus moment14.jpg saat dibuka di laptop agar wajah tidak terpotong */
  .hero-slide[data-src$="moment14.jpg"] {
    background-position: center 30% !important;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(24, 19, 17, 0.14) 0%,
    rgba(24, 19, 17, 0.22) 50%,
    rgba(24, 19, 17, 0.16) 100%
  );
  z-index: 1;
}

.hero-center-text {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.97);
  filter: blur(4px);
  transition:
    opacity 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.45s,
    transform 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.45s,
    filter 1.2s ease-out 0.45s;
  will-change: opacity, transform, filter;
}

body.is-opened .hero-center-text {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0px);
}

.hero-names {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 550;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 250;
  margin-top: 6px;
}

.hero-hashtag {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 1px;
  opacity: 0.88;
  margin-top: 10px;
}

/* BACKGROUND7 VISIBILITY / WARNA / KONTRAS */
.marble-band,
.quote-band,
.couple-band,
.wishes-to-footer-bg {
  position: relative;
  background-color: #f8f2eb;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  text-align: center;
}

.marble-band::before,
.quote-band::before,
.couple-band::before {
  content: none;
}

.wishes-to-footer-bg .wishes-band,
.wishes-to-footer-bg .gift-band,
.wishes-to-footer-bg .closing-band {
  background: transparent;
}

@media (min-width: 768px) {
  .couple-band,
  .wishes-to-footer-bg {
    background-attachment: fixed;
  }
}

/* 3. QUOTE (Markus 10:8-9) */
.quote-band {
  padding: 96px 20px;
  overflow: hidden;
  border-bottom: 1px solid rgba(182, 165, 146, 0.45);
  box-shadow: 0 6px 22px rgba(72, 60, 48, 0.06);
  background-position: center 40%;
}

.quote-band .container {
  position: relative;
  z-index: 3;
}

.petal-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.petal {
  position: absolute;
  top: -24px;
  width: 11px;
  height: 15px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, rgba(242, 184, 186, 0.85), rgba(219, 146, 152, 0.65));
  opacity: 0;
  animation: petalFall var(--dur, 9s) linear var(--delay, 0s) infinite;
}

/* Kelopak lebih lembut & tidak mencolok khusus di bagian Hitung Mundur */
.countdown-band .petal {
  width: 9px;
  height: 13px;
  background: linear-gradient(135deg, rgba(248, 224, 218, 0.55), rgba(226, 182, 178, 0.38));
  animation-name: petalFallSoft;
}

@keyframes petalFall {
  0% {
    transform: translate3d(0, -24px, 0) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  85% {
    opacity: 0.75;
  }
  100% {
    transform: translate3d(var(--drift, 48px), 540px, 0) rotate(var(--rot, 240deg));
    opacity: 0;
  }
}

@keyframes petalFallSoft {
  0% {
    transform: translate3d(0, -24px, 0) rotate(0deg);
    opacity: 0;
  }
  18% {
    opacity: 0.48;
  }
  82% {
    opacity: 0.4;
  }
  100% {
    transform: translate3d(var(--drift, 40px), 540px, 0) rotate(var(--rot, 220deg));
    opacity: 0;
  }
}

.quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 380;
  line-height: 1.65;
  color: #4b433b;
  margin-bottom: 14px;
}

.quote-ref {
  font-family: var(--font-serif);
  font-size: clamp(1.30rem, 1.7vw, 1.5rem);
  font-weight: 750;
  color: #5c5349;
}

/* 4. GROOM & BRIDE */
.couple-band {
  padding: 84px 20px 88px;
  background-position: center 40%;
  border-bottom: 1px solid rgba(182, 165, 146, 0.42);
}

.couple-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 54px;
}

@media (min-width: 768px) {
  .couple-two-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

.role-heading {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 501;
  letter-spacing: 3px;
  color: #554c43;
  margin-bottom: 24px;
}

.portrait-ring {
  width: 240px;
  height: 240px;
  margin: 0 auto 22px;
  border-radius: 50%;
  padding: 8px;
  border: 1px solid #8c7d6b;
  background: rgba(255, 255, 255, 0.45);
}

.portrait-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  transform-origin: center center;
}

.groom-img {
  object-position: center 60%;
  transform: scale(1.0);
}

.bride-img {
  object-position: center 80%;
  transform: scale(1.85);
}

.person-script {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  font-weight: 400;
  color: #3e3730;
  line-height: 1.15;
  margin-bottom: 8px;
}

.parent-line {
  font-family: var(--font-serif);
  font-size: 1.13rem;
  line-height: 1.5;
  color: #5c5349;
  margin-bottom: 10px;
}

.ig-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: #3e3730;
  text-decoration: none;
  margin-top: 2px;
  transition: opacity 0.2s ease;
}

.ig-link .ig-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ig-link:hover {
  opacity: 0.72;
  text-decoration: underline;
}

/* PHOTO BANDS (RECEPTION, COUNTDOWN, RSVP) */
.photo-band {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
}

.countdown-band {
  overflow: hidden;
}

/* Hanya berlaku di layar HP (di bawah 768px) */
@media (max-width: 767px) {
  .countdown-band {
    background-size: auto 122%;
    background-position: center 100%;
  }
}

@media (min-width: 768px) {
  .photo-band {
    background-attachment: fixed;
  }
}

.photo-band-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 17, 15, 0.52);
}

.photo-band-overlay.dark {
  background: rgba(18, 17, 15, 0.62);
}

.photo-band-inner {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 90px 24px;
}

.script-heading {
  font-family: var(--font-script);
  font-size: clamp(2.7rem, 5vw, 3.9rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 12px;
}

.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.toast-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.event-day {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.event-date {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.event-time {
  font-size: 0.95rem;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.venue-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.venue-address {
  font-size: 0.92rem;
  max-width: 480px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.btn-outline-light {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  background: rgba(15, 15, 15, 0.35);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-outline-light:hover {
  background: #ffffff;
  color: #1c1b18;
}

/* 6. RESEPSI ADAT (LATAR MARBLE TERANG) */
.adat-band {
  padding: 90px 24px;
}

.script-heading.dark-script {
  color: #3e3730;
}

.toast-icon img.dark-icon {
  filter: brightness(0.26) sepia(0.2);
}

.dark-text {
  color: #4c433a;
}

.dark-muted {
  color: #696056;
}

.btn-outline-dark {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid #6b5e50;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
  color: #3e3730;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-outline-dark:hover {
  background: #4e463e;
  color: #ffffff;
  border-color: #4e463e;
}

/* TOMBOL OPEN MAPS DENGAN IKON PIN & LENGKUNG */
.btn-maps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 190px;
  padding: 10px 26px;
  border-radius: 8px;
}

.btn-maps .map-pin-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ORNAMENT HEADER */
.section-header-ornament {
  margin-bottom: 36px;
}

.leaf-flourish {
  display: block;
  font-size: 1.1rem;
  color: #8c7b67;
  margin-bottom: 6px;
}

.serif-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.2vw, 2.5rem);
  font-weight: 420;
  letter-spacing: 3px;
  color: #5c5247;
}

/* 7. COUNTDOWN */
.countdown-boxes {
  display: grid;
  grid-template-columns: repeat(4, minmax(64px, 1fr));
  gap: 12px;
  max-width: 460px;
  margin: 26px auto 22px;
}

.cd-box {
  border: 1px solid rgba(255, 255, 255, 0.72);
  padding: 16px 8px;
  background: rgba(20, 20, 18, 0.25);
}

.cd-box span {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3vw, 2.3rem);
  font-weight: 400;
}

.cd-box small {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.countdown-date {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 550;
  line-height: 2.8;
  margin-bottom: 20px;
}

/* 8. OUR MOMENTS (COLLAGE MASONRY GRID) */
.moments-band {
  padding: 84px 16px;
}

.moments-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  align-items: start;
}

@media (min-width: 960px) {
  .moments-band {
    padding: 84px 20px;
  }

  .moments-collage {
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
  }
}

.moments-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 640px) {
  .moments-col {
    gap: 6px;
  }
}

.moment-thumb {
  position: relative;
  border: none;
  padding: 0;
  background: #f5efe7;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
  display: block;
}

.moment-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 242, 235, 0.85);
  opacity: 1;
  transition: opacity 0.95s ease-out var(--stagger, 0s);
  pointer-events: none;
  z-index: 2;
}

.moment-thumb.m-landscape {
  aspect-ratio: 4 / 2.75;
}

.moment-thumb.m-portrait {
  aspect-ratio: 3 / 4.25;
}

.moment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.25;
  transform: scale(1.06);
  transition:
    opacity 0.95s ease-out var(--stagger, 0s),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) var(--stagger, 0s);
  will-change: opacity, transform;
}

.moment-thumb.is-revealed::after {
  opacity: 0;
}

.moment-thumb.is-revealed img {
  opacity: 1;
  transform: scale(1);
}

.moment-thumb.is-revealed:hover img {
  transform: scale(1.04);
  transition-delay: 0s;
}

/* 9. RSVP */
.rsvp-subtitle {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 460px;
  margin: 0 auto 28px;
}

.rsvp-transparent-form {
  max-width: 440px;
  margin: 0 auto;
  padding: 26px 24px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 16px;
  text-align: left;
  box-shadow: none;
}

.field-group {
  margin-bottom: 20px;
}

.field-group label:not(.radio-row),
.field-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.field-group input[type="text"],
.select-line {
  width: 100%;
  padding: 11px 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.field-group input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.field-group input[type="text"]:focus,
.select-line:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.select-line option {
  color: #1f1c19;
  background: #ffffff;
  font-family: var(--font-sans);
}

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio-row:hover {
  background: rgba(255, 255, 255, 0.1);
}

.radio-row:has(input:checked) {
  background: rgba(255, 255, 255, 0.92);
  color: #1e1b18;
  border-color: #ffffff;
  font-weight: 600;
  text-shadow: none;
}

.radio-row input[type="radio"] {
  accent-color: #2c2723;
  width: 14px;
  height: 14px;
  margin: 0;
  cursor: pointer;
}

.rsvp-btn-wrap {
  margin-top: 24px;
  text-align: center;
}

.rsvp-btn-wrap .btn-outline-light {
  width: 100%;
  padding: 11px 22px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.rsvp-btn-wrap .btn-outline-light:hover {
  background: #ffffff;
  color: #1c1b18;
}

/* 10. WEDDING WISHES */
.wishes-band {
  padding: 92px 20px 84px;
}

.wishes-floral-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin-bottom: 24px;
}

.wishes-floral-bg {
  position: absolute;
  width: 220px;
  height: auto;
  color: #7c7165;
  opacity: 0.36;
  pointer-events: none;
  z-index: 1;
}

.wishes-serif-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 2.75rem);
  font-weight: 300;
  letter-spacing: 2.5px;
  color: #24211e;
  line-height: 1.15;
}

.wish-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 620px;
  margin: 0 auto 28px;
}

.wish-form input,
.wish-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(44, 39, 35, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: #24211e;
  outline: none;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.wish-form input::placeholder,
.wish-form textarea::placeholder {
  color: #9e968e;
}

.wish-form input:focus,
.wish-form textarea:focus {
  border-color: #24211e;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(44, 39, 35, 0.06);
}

.wish-form textarea {
  min-height: 135px;
  resize: vertical;
}

.btn-solid-dark {
  align-self: center;
  margin-top: 4px;
  padding: 9px 26px;
  background: transparent;
  color: #24211e;
  border: 1.2px solid #24211e;
  border-radius: 6px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn-solid-dark:hover {
  background: #24211e;
  color: #ffffff;
}

.btn-solid-dark:active {
  transform: scale(0.98);
}

.wishes-scroll-box {
  max-width: 620px;
  margin: 0 auto;
  max-height: 310px;
  overflow-y: auto;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 4px 10px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wish-card {
  background: #ffffff;
  border: 1px solid rgba(44, 39, 35, 0.12);
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 2px 6px rgba(44, 39, 35, 0.04);
}

.wish-author {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: #1f1c19;
  margin-right: 8px;
  margin-bottom: 6px;
}

.wish-time {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: #8b857e;
  margin-bottom: 6px;
}

.wish-body {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.55;
  color: #46413b;
  white-space: pre-line;
}

/* 11. WEDDING GIFT */
.gift-band {
  padding: 76px 20px;
}

.gift-intro {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 36px;
  color: #4c433a;
}

.gift-cards-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 620px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .gift-cards-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 880px;
  }
}

.gift-card {
  width: 100%;
  background: rgba(112, 105, 96, 0.30);
  backdrop-filter: none;
  border: 1px solid rgba(140, 123, 103, 0.35);
  color: #2c2723;
  padding: 28px 24px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(44, 39, 35, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-shadow: none;
}

.bank-logo-wrap {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: visible;
}

.bank-logo-img {
  height: 30px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  transform: scale(3.65);
  transform-origin: center center;
  pointer-events: none;
}

.bank-label {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
}

.gift-meta {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #5c5349;
  margin-top: 10px;
}

.gift-val {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 700;
  color: #2c2723;
  margin-top: 2px;
}

.gift-num {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #2c2723;
  margin-top: 2px;
}

.btn-gift-copy {
  width: 100%;
  margin-top: 24px;
  padding: 12px 24px;
  background: rgba(73, 82, 91, 0.85);
  border: none;
  color: #ffffff;
  border-radius: 6px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-shadow: none;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

@media (min-width: 960px) {
  .btn-gift-copy {
    width: auto;
    min-width: 230px;
  }
}

.btn-gift-copy:hover {
  background: rgba(56, 64, 72, 0.95);
}

.btn-gift-copy:active {
  transform: scale(0.98);
}

.btn-gift-copy.is-copied {
  background: rgba(46, 107, 79, 0.92);
  color: #ffffff;
}

/* 12. PENUTUP / MONOGRAM */
.closing-band {
  position: relative;
  padding: 72px 20px 68px;
  overflow: hidden;
}

.closing-inner {
  position: relative;
  z-index: 2;
}

.closing-meadow-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.meadow-svg {
  position: absolute;
  bottom: -4px;
  width: clamp(165px, 26vw, 300px);
  height: auto;
  color: #4a483f;
  opacity: 0.52;
}

.meadow-left {
  left: -10px;
}

.meadow-right {
  right: -10px;
}

.closing-thanks {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #3d362f;
  margin-bottom: 28px;
}

.monogram-emblem {
  position: relative;
  width: 206px;
  height: 206px;
  margin: 0 auto 24px;
  color: #24211e;
}

.monogram-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mono-letter {
  position: absolute;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 4.55rem;
  line-height: 1;
  color: #24211e;
  user-select: none;
}

.mono-f {
  top: 38px;
  left: 44px;
}

.mono-t {
  bottom: 36px;
  right: 44px;
}

.with-love {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #3d362f;
}

.closing-script {
  font-family: var(--font-script);
  font-size: 2.45rem;
  color: #24211e;
  margin: 4px 0 22px;
}

.copyright-text {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: #5c5349;
}

/* ANIMASI REVEAL SAAT SCROLL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 12, 12, 0.86);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px 64px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(88vw, 760px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  display: block;
}

.lb-close,
.lb-prev,
.lb-next {
  position: fixed;
  z-index: 310;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.55);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.75);
}

.lb-close {
  top: 20px;
  right: 20px;
  font-size: 1rem;
}

.lb-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
}

.lb-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
}

@media (max-width: 640px) {
  .lightbox {
    padding: 24px 48px;
  }

  .lb-close,
  .lb-prev,
  .lb-next {
    width: 34px;
    height: 34px;
  }

  .lb-prev {
    left: 10px;
  }

  .lb-next {
    right: 10px;
  }
}