@media (min-width: 576px) { 
 body,html {
    padding:0;
    margin:0;
}
.Utama {
    background-color: #0e1f3a;
    text-align: center;
    min-height: 100vh;
}
.text-judul {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    padding: 50px;
    background: linear-gradient(to bottom,
      #FCE7A1 35%,
      #D4AF37 85%,
      #9C7722 30%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 10.3vh;

}
.foto-mempelai{
    margin: auto;
}
/* Container utama bingkai */
.bingkai-emas {
  position: relative;
  padding: 12px; /* Jarak antara foto dan garis emas terluar */
  background-color: #11223F; /* Menjaga warna dasar tetap navy blue */
  border: 2px solid #D4AF37; /* Garis emas bagian luar */
  border-radius: 8px; /* Membuat sudut sedikit melengkung */
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.4); /* Memberikan efek bayangan agar menonjol */
}

/* Membuat efek garis emas bagian dalam (double border) */
.bingkai-emas::before {
  content: "";
  position: absolute;
  top: 6px; /* Jarak garis dalam dari atas */
  left: 6px; /* Jarak garis dalam dari kiri */
  right: 6px; /* Jarak garis dalam dari kanan */
  bottom: 6px; /* Jarak garis dalam dari bawah */
  border: 1px solid rgba(212, 175, 55, 0.7); /* Garis emas dalam yang sedikit lebih tipis/transparan */
  border-radius: 4px;
  pointer-events: none; /* Agar tidak mengganggu jika gambar bisa di-klik */
  z-index: 2; /* Memastikan garis berada di atas gambar */
}

/* Penyesuaian untuk foto di dalam bingkai */
.bingkai-emas img {
  width: 440px;
  height: 280px;
  border-radius: 2px;
  display: block;
  position: relative;
  z-index: 1; /* Posisi gambar di bawah garis dalam */
}

.Utama-foto {
    display: flex;
    justify-content: center;
    align-items: center;
 }
 .element {
    width: 10vw;
    height: 10vw;
    position: absolute;
    opacity: 0.5;
}
.awan1 {
    top: 1%;
    left: -5%;
    z-index: 0;

}
.awan2 {
    top: 15%;
    right: 0.1%;
    z-index: 0;
}
.element2 {
    max-width: 3rem;
    max-height: 3rem;
    position: absolute;
}
.element3 {
    max-width: 13rem;
    max-height: 13rem;
    position: absolute;
}
.bunga {
    top: 30%;
    left: 3%;
    z-index: 0;
    opacity: 0.5;

}
.bunga2 {
    top: 88%;
    right: 3%;
    z-index: 0;
    opacity: 0.5;
}
}


@media (min-width: 768px) { 
    .Utama {
    background-color: #0e1f3a;
}
.text-judul {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    padding: 50px;
    background: linear-gradient(to bottom,
      #FCE7A1 0%,
      #D4AF37 50%,
      #9C7722 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 80%;


}
 }

@media (min-width: 992px) { 
    .Utama {
    background-color: #0e1f3a;
}
.text-judul {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    padding: 50px;
    background: linear-gradient(to bottom,
      #FCE7A1 0%,
      #D4AF37 50%,
      #9C7722 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 80%;

}
 }

@media (min-width: 1200px) { 
body,html {
    padding:0;
    margin:0;
}
.Utama {
    background-color: #0e1f3a;
    text-align: center;
    min-width: 100vh;
}
.text-judul {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    padding: 50px;
    background: linear-gradient(to bottom,
      #FCE7A1 35%,
      #D4AF37 70%,
      #9C7722 30%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 15vh;

}
.foto-mempelai{
    margin: auto;
}
/* Container utama bingkai */
.bingkai-emas {
  position: relative;
  padding: 12px; /* Jarak antara foto dan garis emas terluar */
  background-color: #11223F; /* Menjaga warna dasar tetap navy blue */
  border: 2px solid #D4AF37; /* Garis emas bagian luar */
  border-radius: 8px; /* Membuat sudut sedikit melengkung */
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.4); /* Memberikan efek bayangan agar menonjol */
}

/* Membuat efek garis emas bagian dalam (double border) */
.bingkai-emas::before {
  content: "";
  position: absolute;
  top: 6px; /* Jarak garis dalam dari atas */
  left: 6px; /* Jarak garis dalam dari kiri */
  right: 6px; /* Jarak garis dalam dari kanan */
  bottom: 6px; /* Jarak garis dalam dari bawah */
  border: 1px solid rgba(212, 175, 55, 0.7); /* Garis emas dalam yang sedikit lebih tipis/transparan */
  border-radius: 4px;
  pointer-events: none; /* Agar tidak mengganggu jika gambar bisa di-klik */
  z-index: 2; /* Memastikan garis berada di atas gambar */
}

/* Penyesuaian untuk foto di dalam bingkai */
.bingkai-emas img {
  width: 100%;
  height: 340px;
  border-radius: 2px;
  display: block;
  position: relative;
  z-index: 1; /* Posisi gambar di bawah garis dalam */
}

.Utama-foto {
    display: flex;
    justify-content: center;
    align-items: center;
  }
.element {
    max-width: 20rem;
    max-height: 20rem;
}
}


@media (min-width: 1400px) { 
body,html {
    padding:0;
    margin:0;
}
    .Utama {
    background-color: #0e1f3a;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.text-judul {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    background: linear-gradient(to bottom,
      #FCE7A1 0%,
      #D4AF37 50%,
      #9C7722 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 80%;
}
 }

html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: #0e1f3a;
}

.media-protection img,
.media-protection audio,
.media-protection video {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
}

.Utama {
  position: relative;
  flex: 1 0 100%;
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-color: #0e1f3a;
  text-align: center;
}

.text-judul {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(1.5rem, 5vh, 3rem) 1rem;
  background: linear-gradient(to bottom, #FCE7A1 0%, #D4AF37 50%, #9C7722 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.15;
}

.bingkai-emas {
  position: relative;
  z-index: 1;
  padding: 12px;
  border: 2px solid #D4AF37;
  border-radius: 8px;
  background-color: #11223F;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.bingkai-emas::before {
  position: absolute;
  inset: 6px;
  z-index: 2;
  border: 1px solid rgba(212, 175, 55, 0.7);
  border-radius: 4px;
  content: "";
  pointer-events: none;
}

.bingkai-emas img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(14rem, 42vw, 26rem);
  border-radius: 2px;
  object-fit: contain;
}

.Utama-foto {
  margin: auto;
}

.element,
.element2,
.element3 {
  position: absolute;
  z-index: 0;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  scale: 1.15;
}

.element {
  width: clamp(5rem, 14vw, 16rem);
}

.awan1 {
  top: 0;
  left: -4%;
  width: clamp(5rem, 14vw, 16rem);
  opacity: 0.75;
}

.awan2 {
  top: 10%;
  right: -4%;
  width: clamp(4.5rem, 12vw, 14rem);
  opacity: 0.7;
  transform: scaleX(-1);
}

.awan3 {
  top: 46%;
  left: 1%;
  width: clamp(4rem, 10vw, 11rem);
  opacity: 0.8;
  transform: scaleX(-1);
}

.awan4 {
  top: 58%;
  right: 1%;
  width: clamp(4.5rem, 12vw, 13rem);
  opacity: 0.75;
}

.element2 {
  width: clamp(2rem, 5vw, 3rem);
}

.bunga {
  top: 38%;
  right: 2%;
  width: clamp(2.5rem, 6vw, 5rem);
  opacity: 0.65;
}

.element3 {
  width: clamp(5rem, 14vw, 10rem);
}

.bunga2 {
  right: 4%;
  bottom: 8%;
  width: clamp(4rem, 10vw, 8rem);
  opacity: 0.6;
}

.bunga3 {
  top: 70%;
  left: 2%;
  width: clamp(3rem, 7vw, 6rem);
  opacity: 0.55;
  transform: rotate(24deg);
}

.bunga4 {
  top: 17%;
  left: 9%;
  width: clamp(2.5rem, 5vw, 4.5rem);
  opacity: 0.5;
  transform: rotate(-18deg);
}

.guest-recipient {
  max-width: 100%;
  margin: clamp(1rem, 3vh, 1.75rem) auto 0;
  color: #FCE7A1;
  text-align: center;
}

.guest-salutation {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
}

.guest-name {
  overflow-wrap: anywhere;
  margin: 0.2rem 0 0;
  color: #D4AF37;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1.15;
}

.parameter-error {
  display: grid;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  overflow-y: auto;
  padding: 2rem 1.25rem;
  background: #0e1f3a;
  color: #FCE7A1;
  text-align: center;
}

.parameter-error[hidden] {
  display: none;
}

.parameter-error h1 {
  max-width: 42rem;
  margin: 0;
  color: #D4AF37;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 5vw, 3rem);
}

.parameter-error p:not(.section-kicker) {
  max-width: 36rem;
  margin: 0;
  line-height: 1.7;
}

.parameter-error code {
  color: #FCE7A1;
}

body.invalid-guest-page > :not(#parameter-error) {
  display: none !important;
}

@media (min-width: 576px) {
  .awan1 {
    left: -3%;
    width: clamp(6rem, 12vw, 16rem);
  }

  .awan2 {
    right: -3%;
    width: clamp(5rem, 11vw, 14rem);
  }

  .awan3 {
    top: 46%;
    left: 0;
    width: clamp(4.5rem, 9vw, 11rem);
  }

  .awan4 {
    right: 0;
    width: clamp(5rem, 11vw, 13rem);
  }

  .bunga {
    right: 3%;
    left: auto;
    width: clamp(3rem, 5vw, 5rem);
  }

  .bunga2 {
    right: 5%;
    width: clamp(4.5rem, 8vw, 8rem);
  }

  .bunga3 {
    left: 4%;
    right: auto;
    width: clamp(3.5rem, 5vw, 6rem);
  }

  .bunga4 {
    left: 12%;
    width: clamp(3rem, 4vw, 4.5rem);
  }
}

@media (min-width: 992px) {
  .awan1 {
    width: clamp(8rem, 12vw, 18rem);
  }

  .awan2 {
    width: clamp(7rem, 11vw, 16rem);
  }

  .awan3 {
    top: 46%;
    width: clamp(6rem, 9vw, 12rem);
  }

  .awan4 {
    width: clamp(7rem, 11vw, 14rem);
  }

  .bunga {
    right: 5%;
    left: auto;
    width: clamp(3.5rem, 5vw, 6rem);
  }

  .bunga2 {
    right: 7%;
    width: clamp(5rem, 8vw, 9rem);
  }

  .bunga3 {
    left: 6%;
    right: auto;
    width: clamp(4rem, 5vw, 7rem);
  }

  .bunga4 {
    left: 16%;
    width: clamp(3.5rem, 4vw, 5rem);
  }
}

.mempelai {
  position: relative;
  z-index: 1;
  margin-top: clamp(1rem, 3vh, 2rem);
  color: #FCE7A1;
}

.label-mempelai {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
}

.nama-mempelai {
  margin: 0.25rem 0 0;
  color: #D4AF37;
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  line-height: 1.2;
}

@media (min-width: 576px) {
  .nama-mempelai {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) {
  .nama-mempelai {
    font-size: 3rem;
  }
}

@media (min-width: 1200px) {
  .nama-mempelai {
    font-size: 3.5rem;
  }
}

.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 1;
  transition: opacity 600ms ease, visibility 600ms ease;
}

.loader-overlay.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  display: grid;
  justify-items: center;
  gap: 1rem;
  color: #0e1f3a;
}

.loader-spinner {
  width: clamp(3rem, 10vw, 4rem);
  aspect-ratio: 1;
  border: 4px solid rgba(212, 175, 55, 0.25);
  border-top-color: #FCE7A1;
  border-right-color: #D4AF37;
  border-bottom-color: #9C7722;
  border-radius: 50%;
  animation: loader-spin 900ms linear infinite;
}

.loader-label {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.tombol-undangan {
  display: inline-flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  margin-top: clamp(1.25rem, 3vh, 2rem);
  padding: 0.7rem 1.6rem;
  border: 1px solid #FCE7A1;
  border-radius: 3px;
  background: linear-gradient(135deg, #FCE7A1 0%, #D4AF37 58%, #9C7722 100%);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
  color: #0e1f3a;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.tombol-undangan:hover {
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.3);
  color: #0e1f3a;
  transform: translateY(-2px);
}

.tombol-undangan:focus-visible {
  outline: 3px solid #FCE7A1;
  outline-offset: 4px;
}

.tombol-undangan[aria-disabled="true"] {
  pointer-events: none;
}

.is-leaving .Utama,
.is-leaving .undangan-page {
  animation: invitation-lift 1050ms cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.undangan-page {
  display: grid;
  position: relative;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(1.5rem, 5vh, 3rem) 1rem;
  background: radial-gradient(ellipse at 50% 42%, #1b3153 0%, #0e1f3a 68%);
}

.undangan-content {
  width: min(100%, 48rem);
  padding: clamp(1.5rem, 5vh, 3rem) clamp(1.25rem, 6vw, 4rem);
  border: 1px solid rgba(212, 175, 55, 0.8);
  background: rgba(14, 31, 58, 0.82);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
  color: #FCE7A1;
}

.undangan-eyebrow {
  margin-bottom: 1rem;
  color: #D4AF37;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.undangan-title {
  margin-bottom: clamp(1.25rem, 4vh, 2rem);
  background: linear-gradient(to bottom, #FCE7A1 0%, #D4AF37 55%, #9C7722 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.7rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.undangan-intro,
.undangan-note {
  max-width: 36rem;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.8;
}

.undangan-names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.15em 0.3em;
  margin: clamp(1.5rem, 5vh, 3rem) 0;
  color: #D4AF37;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3rem, 12vw, 6.5rem);
  line-height: 1.1;
}

.undangan-ampersand {
  color: #FCE7A1;
  font-size: 0.7em;
}

.undangan-note {
  margin-bottom: 0;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes invitation-lift {
  to {
    opacity: 0;
    transform: translateY(-105vh);
    filter: brightness(1.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}