/* =========================================
   1. GLOBAL
========================================= */

:root {
  --green: #24362f;
  --deep: #17271f;
  --paper: #f6f1e9;
  --gold: #bda77d;
  --ink: #343b33;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--deep);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

[hidden] {
  display: none !important;
}

/* =========================================
   2. GLOBAL CINEMATIC BACKGROUND SLIDESHOW
========================================= */

.global-slideshow {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  background: var(--deep);
}


.global-slideshow .background-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  opacity: 0;
  transform: scale(1.12);

  /* Hanya transisi opacity, tidak ada zoom-out */
  transition: opacity 0.8s ease-in-out;

  will-change: opacity, transform;
}

.global-slideshow .background-slide.active {
  opacity: 1;
  animation: backgroundZoomIn 3s ease-out forwards;
}

@keyframes backgroundZoomIn {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1.22);
  }
}

.global-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(13, 25, 19, 0.38);
  pointer-events: none;
}
/* Lapisan gelap agar teks tetap terbaca */
.global-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(13, 25, 19, 0.38);
  pointer-events: none;
}

/* =========================================
   3. OPENING COVER
========================================= */

#cover.cover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  margin: 0;
  padding: 12px 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #f8f1e5;
  text-align: center;
  background: transparent !important;
}

#cover.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.08) 10%,
    rgba(0, 0, 0, 0.42) 100%
  );
}

.cover-frame {
  position: relative;
  width: min(100%, 450px);
  height: 100%;
  max-height: 100%;
  min-height: 0;
  padding: 12px 18px;
  border: 1px solid rgba(207,181,126,.7);
  outline: 1px solid rgba(207,181,126,.25);
  outline-offset: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: royalFrameIn 1.5s ease both;
}

.cover-frame::before,
.cover-frame::after {
  content: "";
  position: absolute;
  width: 55px;
  height: 55px;
  border-color: #c9ad79;
  border-style: solid;
  opacity: .75;
  pointer-events: none;
}

.cover-frame::before {
  top: 10px;
  left: 10px;
  border-width: 1px 0 0 1px;
}

.cover-frame::after {
  right: 10px;
  bottom: 10px;
  border-width: 0 1px 1px 0;
}

.cover-card {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, 1.1vh, 10px);
}

.cover-floral-top {
  display: block;
  flex-shrink: 0;
  height: auto;
  margin: 0 0 3px;
  color: #c9ad79;
  font: clamp(25px, 4vh, 45px)/1 'Cormorant Garamond', serif;
  animation: ornamentIn 1.8s ease both;
}

.cover-eyebrow {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0 0 5px;
  padding: 0 5px;
  color: #d5bd8e;
  font-size: clamp(8px, 1.2vh, 10px);
  line-height: 1.5;
  letter-spacing: clamp(2px, .5vw, 5px);
  white-space: nowrap;
  animation: royalFadeUp 1.1s .3s both;
}

.cover-names {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0;
}

.cover-names .script {
  margin: 0;
  color: #f7eddb;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(43px, 9vh, 78px);
  font-weight: 400;
  line-height: 1.05;
  text-shadow: 0 4px 25px #0006;
}

.cover-names .script:first-child {
  animation: royalFadeUp 1.3s .5s both;
}

.cover-names .script:last-child {
  animation: royalFadeUp 1.3s .9s both;
}

.cover-ampersand {
  margin: 0;
  color: #c9ad79;
  font: italic clamp(21px, 3vh, 30px) 'Cormorant Garamond', serif;
  animation: royalFadeUp 1.2s .7s both;
}

.cover-divider {
  position: relative;
  width: 130px;
  height: 1px;
  flex-shrink: 0;
  margin: 7px 0;
  background: linear-gradient(90deg, transparent, #c9ad79, transparent);
  animation: royalFadeIn 1.5s 1s both;
}

.cover-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 0 12px;
  transform: translate(-50%, -50%);
  background: #20352a;
  color: #d6bd8b;
  font-size: 13px;
}

.cover-date {
  margin: 0 0 3px;
  color: #d5bd8e;
  font-size: 9px;
  letter-spacing: 4px;
  animation: royalFadeUp 1s 1.1s both;
}

.cover-date-number {
  margin: 0;
  font: clamp(16px, 2.7vh, 22px) 'Cormorant Garamond', serif;
  letter-spacing: 3px;
  animation: royalFadeUp 1s 1.2s both;
}

.cover-guest {
  width: 100%;
  margin-top: clamp(8px, 2vh, 18px);
  animation: royalFadeUp 1.2s 1.4s both;
}

.cover-guest > p {
  margin: 0 0 5px;
  color: #d5bd8e;
  font-size: 8px;
  letter-spacing: 3px;
}

.cover-guest h2 {
  margin: 0 0 5px;
  color: #fff8eb;
  font: 500 clamp(20px, 3.5vh, 27px) 'Cormorant Garamond', serif;
  overflow-wrap: anywhere;
}

.cover-guest small {
  display: block;
  color: #d4d0c3;
  font-size: 8px;
  line-height: 1.4;
}

.open-button {
  position: relative;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-width: 190px;
  margin-top: clamp(8px, 2vh, 17px);
  padding: clamp(10px, 1.8vh, 14px) 18px;
  border: 1px solid #c9ad79;
  background: rgba(201,173,121,.08);
  color: #f8f1e5;
  font-size: 9px;
  letter-spacing: 3px;
  cursor: pointer;
  pointer-events: auto;
  transition: all .4s ease;
  animation: royalFadeUp 1.2s 1.7s both;
}

.open-button:hover {
  background: #c9ad79;
  color: #17271f;
  box-shadow: 0 0 30px #c9ad7940;
  transform: translateY(-3px);
}

.open-button:disabled {
  opacity: .6;
  cursor: wait;
}

.open-arrow {
  font-size: 15px;
}

.cover-footer {
  margin-top: 7px;
  color: #c9ad79;
  font-size: 7px;
  letter-spacing: 3px;
  animation: royalFadeIn 1.5s 2s both;
}

.cover-ornament.bottom {
  display: none;
}

/* Opening transition */

#cover.is-opening .cover-frame {
  animation: invitationOpen .9s ease forwards;
}

@keyframes invitationOpen {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
  }

  40% {
    opacity: 1;
    transform: scale(1.04);
    filter: brightness(1.3);
  }

  100% {
    opacity: 0;
    transform: scale(1.12);
    filter: brightness(1.5);
  }
}

@keyframes royalFrameIn {
  from {
    opacity: 0;
    transform: scale(.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes royalFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes royalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes ornamentIn {
  from {
    opacity: 0;
    transform: scale(.7);
  }

  to {
    opacity: .85;
    transform: scale(1);
  }
}

/* =========================================
   4. MAIN SLIDE CONTAINER
========================================= */

main#content {
  position: fixed;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: none;
  background: transparent;
}

#content::-webkit-scrollbar {
  display: none;
}

#content[hidden] {
  display: none !important;
}

#content > section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 !important;
  padding: clamp(22px, 5vh, 55px) clamp(18px, 4vw, 35px);
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: transparent;
}

.inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin: auto;
  text-align: center;
}

.section {
  text-align: center;
}

.full {
  display: grid !important;
  place-items: center;
}

.hero {
  position: relative;
  background: transparent !important;
  color: white;
  text-align: center;
}

.veil {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 22, 0.38);
  pointer-events: none;
}

.hero .inner {
  color: white;
}

.hero .script {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(58px, 12vw, 88px);
  font-weight: 400;
}

.hero .script small {
  color: var(--gold);
  font-size: .55em;
}

.eyebrow,
.caps {
  font-size: 9px;
  letter-spacing: 3px;
}

.ornament {
  margin: 25px;
  color: var(--gold);
}

.scroll {
  display: inline-block;
  margin-top: 20px;
  font-size: 9px;
  letter-spacing: 2px;
  color: white;
}

.paper {
  background: rgba(246, 241, 233, 0.91) !important;
  color: var(--ink);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.green {
  background: rgba(36, 54, 47, 0.89) !important;
  color: var(--paper);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.quote {
  margin: 25px 0;
  font: italic 33px 'Cormorant Garamond', serif;
}

.paper .inner > p:not(.eyebrow) {
  font: 19px/1.6 'Cormorant Garamond', serif;
}

.heading {
  margin: 12px 0 30px;
  font: 400 clamp(35px, 7vw, 45px) 'Cormorant Garamond', serif;
}

/* =========================================
   5. COUPLE
========================================= */

.couple-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.couple-grid article {
  min-width: 0;
}

.couple-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 1px solid var(--gold);
  border-radius: 48% 48% 2px 2px;
  padding: 5px;
  opacity: 0;
  transform: translateY(25px) scale(.97);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.22,1,.36,1);
}

.couple-grid img.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.couple-grid h3 {
  margin: 14px 0 6px;
  font-size: clamp(20px, 4vw, 30px);
}

.couple-grid p {
  font: 15px/1.5 'Cormorant Garamond', serif;
}

.and {
  color: var(--gold);
  font: 38px 'Great Vibes', cursive;
}

/* =========================================
   6. LOVE STORY
========================================= */

.timeline {
  width: 100%;
  max-width: 450px;
  margin: 30px auto 0;
  padding: 0;
  border-left: 1px solid var(--gold);
  text-align: left;
}

.timeline article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 15px;
  padding: 0 0 24px;
  transform: translateX(-10px);
}

.timeline article:last-child {
  padding-bottom: 0;
}

.timeline span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font: 17px 'Cormorant Garamond', serif;
}

.timeline h3 {
  margin: 0 0 7px;
  font: 27px 'Cormorant Garamond', serif;
}

.timeline p {
  margin: 0;
  font: 16px/1.5 'Cormorant Garamond', serif;
}

/* =========================================
   7. COUNTDOWN
========================================= */

.photo-section {
  background: transparent !important;
  color: white;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 30px 0;
}

.countdown div {
  width: 76px;
  padding: 13px 5px;
  border: 1px solid #bda77d99;
  background: rgba(23, 39, 31, 0.35);
}

.countdown b {
  display: block;
  font: 35px 'Cormorant Garamond', serif;
}

.countdown span {
  font-size: 8px;
  letter-spacing: 1px;
}

.button-outline {
  display: inline-block;
  padding: 13px 15px;
  border: 1px solid var(--gold);
  font-size: 10px;
  letter-spacing: 1px;
}

.button-outline.dark {
  color: var(--ink);
}

/* =========================================
   8. EVENTS
========================================= */

.events {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.events article {
  padding: 22px 10px;
  border: 1px solid #d3c4ac;
  background: #ede7db;
  color: var(--ink);
}

.events h3 {
  font: 28px 'Cormorant Garamond', serif;
}

.events p {
  font: 16px/1.5 'Cormorant Garamond', serif;
}

/* =========================================
   9. GALLERY
========================================= */

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gallery button {
  height: 180px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid var(--gold);
  background: none;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.22,1,.36,1);
}

.gallery button.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery button:nth-child(2) {
  transition-delay: .15s;
}

.gallery button:nth-child(3) {
  transition-delay: .3s;
}

.gallery button:nth-child(4) {
  transition-delay: .45s;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.gallery button:hover img {
  transform: scale(1.06);
}

/* =========================================
   10. WEDDING GIFT
========================================= */

.bank {
  max-width: 340px;
  margin: 25px auto;
  padding: 25px 12px;
  border: 1px solid #d3c4ac;
  background: #ebe4d8;
  color: var(--ink);
}

.bank h3 {
  margin: 12px;
  font: 32px 'Cormorant Garamond', serif;
}

/* =========================================
   11. RSVP
========================================= */

form {
  display: grid;
  gap: 13px;
  max-width: 400px;
  margin: 25px auto;
  text-align: left;
}

form label {
  font-size: 11px;
  letter-spacing: 1px;
}

form input,
form select,
form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  border: 1px solid #718577;
  border-radius: 0;
  background: #334b3e;
  color: white;
}

form button {
  padding: 14px 22px;
  border: 1px solid var(--gold);
  background: var(--paper);
  color: var(--green);
  font-size: 10px;
  letter-spacing: 2px;
}

form button:disabled {
  opacity: .6;
}

.wishes-heading {
  margin-top: 35px;
  font: 28px 'Cormorant Garamond', serif;
}

/* =========================================
   RSVP WISHES - INDEPENDENT SCROLL
========================================= */

#wishes {
  text-align: left;
  height: 540px;
  max-height: 540px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 12px 0 0;
  margin-top: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

#wishes::-webkit-scrollbar {
  width: 6px;
}

#wishes::-webkit-scrollbar-track {
  background: transparent;
}

#wishes::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}

#wishes .wish {
  padding: 18px 0;
  border-top: 1px solid #667c6c;
  overflow-wrap: anywhere;
}

#wishes .wish:last-child {
  border-bottom: 1px solid #667c6c;
}

.wish {
  padding: 15px 0;
  border-top: 1px solid #667c6c;
}

.wish strong {
  font: 23px 'Cormorant Garamond', serif;
}

.wish small {
  display: block;
  margin-top: 5px;
  color: var(--gold);
}

.wish p {
  font: 16px/1.5 'Cormorant Garamond', serif;
}

/* =========================================
   12. CLOSING AND FOOTER
========================================= */

.closing {
  background: transparent !important;
  background-position: center;
}

#content > section > footer {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  padding: 12px;
  color: var(--gold);
  text-align: center;
  font-size: 9px;
  letter-spacing: 2px;
}


/* =========================================
   13. SMOOTH SCROLL REVEAL
========================================= */
#content .reveal {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 22px, 0);

  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.85s;

  will-change: opacity, transform;
}

#content .reveal.visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);

  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}

.timeline article.reveal {
  transition-delay: 0.1s;
}

.timeline article.reveal:nth-child(2) {
  transition-delay: 0.2s;
}

.timeline article.reveal:nth-child(3) {
  transition-delay: 0.3s;
}

/* =========================================
   15. LIGHTBOX AND TOAST
========================================= */

.lightbox:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: #000e;
}

.lightbox img {
  max-width: 100%;
  max-height: 85vh;
}

.lightbox button {
  position: absolute;
  top: 15px;
  right: 15px;
  border: 0;
  background: none;
  color: white;
  font-size: 40px;
}

.toast {
  position: fixed;
  bottom: 75px;
  left: 50%;
  z-index: 1300;
  display: none;
  padding: 10px 18px;
  transform: translateX(-50%);
  background: var(--paper);
  font-size: 12px;
}

.toast.show {
  display: block;
}

/* =========================================
   16. RESPONSIVE
========================================= */

@media (max-width: 700px) {

  #content > section {
    padding: 24px 20px;
  }

  .section {
    padding: 30px 20px;
  }

  .cover-frame {
    width: min(100%, 450px);
  }

  .events {
    gap: 8px;
  }

  .events article {
    padding: 18px 8px;
  }

  .countdown {
    gap: 5px;
  }

  .countdown div {
    width: 65px;
    padding: 10px 3px;
  }

  .countdown b {
    font-size: 29px;
  }

  .gallery button {
    height: 145px;
  }
}

@media (max-height: 700px) {

  #cover.cover {
    padding: 7px 14px;
  }

  .cover-frame {
    padding: 6px 12px;
  }

  .cover-card {
    gap: 3px;
  }

  .cover-floral-top {
    font-size: 25px;
  }

  .cover-eyebrow {
    margin-bottom: 2px;
  }

  .cover-names .script {
    font-size: clamp(38px, 7vh, 55px);
  }

  .cover-divider {
    margin: 4px 0;
  }

  .cover-guest {
    margin-top: 5px;
  }

  .open-button {
    margin-top: 6px;
    padding: 9px 15px;
  }

  .cover-footer {
    margin-top: 4px;
  }
}

@media (max-width: 390px) {

  .cover-eyebrow {
    letter-spacing: 3px;
  }

  .cover-card {
    padding-left: 5px;
    padding-right: 5px;
  }

  .timeline article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .timeline span {
    width: 34px;
    height: 34px;
  }

  .timeline h3 {
    font-size: 23px;
  }

  .timeline p {
    font-size: 15px;
  }
}

/* =========================================
   17. REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  *, 
  *::before, 
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  #content .reveal,
  .couple-grid img,
  .gallery button {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
  }

  .global-slideshow .background-slide.active {
    animation: none !important;
    transform: scale(1) !important;
  }

  .global-slideshow .background-slide {
    transition: none !important;
  }
}

/* =========================================
   18. FINAL SLIDE SAFETY
========================================= */

#content > section > .inner {
  flex: 0 0 auto;
}

#content > section .timeline {
  display: block;
}

@media (max-width: 700px) {

  #content {
    scroll-snap-type: y mandatory;
  }

  #content > section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

/* =========================================
   19. GLOBAL SLIDESHOW MOBILE TUNING
========================================= */

@media (max-width: 700px) {
  .global-slideshow .background-slide {
    object-position: center center;
  }
}



/* =========================================
   CINEMATIC WEDDING OPENING
========================================= */

#cover.cover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background: #101914;
  color: #fff;
}

/* INTRO SCREEN */

#cover .opening-intro {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;

  background:
    linear-gradient(
      rgba(8, 15, 12, 0.88),
      rgba(8, 15, 12, 0.94)
    ),
    url("../bg-1.jpg") center / cover;

  animation: introFadeOut 1.2s ease forwards;
  animation-delay: 2.7s;
  pointer-events: none;
}

#cover .intro-eyebrow {
  margin: 0 0 20px;
  color: #c7b28b;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 5px;
  animation: introTextReveal 1.2s ease both;
}

#cover .opening-intro h2 {
  margin: 0;
  color: #f8f3e9;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 9vw, 66px);
  font-weight: 400;
  letter-spacing: 2px;
  animation: introNameReveal 1.5s ease both;
  animation-delay: 0.6s;
}

#cover .opening-intro h2 span {
  color: #c7b28b;
  font-style: italic;
}

#cover .intro-line {
  width: 0;
  height: 1px;
  margin-top: 22px;
  background: #c7b28b;
  animation: introLineReveal 1.2s ease forwards;
  animation-delay: 1.2s;
}

/* MAIN PHOTO SCENE */

#cover .cover-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  padding:
    max(65px, env(safe-area-inset-top))
    24px
    max(45px, env(safe-area-inset-bottom));

  text-align: center;

  background:
    linear-gradient(
      to bottom,
      rgba(8, 17, 13, 0.45) 0%,
      rgba(8, 17, 13, 0.12) 38%,
      rgba(8, 17, 13, 0.25) 65%,
      rgba(8, 17, 13, 0.75) 100%
    ),
    url("../bg-1.jpg") center center / cover no-repeat;

  opacity: 0;
  animation: sceneReveal 1.8s ease forwards;
  animation-delay: 2.6s;
}

/* TOP TYPOGRAPHY */

#cover .cover-top {
  width: 100%;
  max-width: 500px;
  animation: contentReveal 1.5s ease both;
  animation-delay: 3.1s;
}

#cover .scene-eyebrow {
  margin: 0 0 12px;
  color: #d5c29e;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 5px;
}

#cover .cover-top h1 {
  margin: 0;
  color: #fffaf0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(64px, 15vw, 104px);
  line-height: 0.78;
  font-weight: 400;
  letter-spacing: -3px;
}

#cover .cover-top h1 span {
  display: block;
  margin: 8px 0;
  color: #d0b98e;
  font-size: 0.55em;
  font-style: italic;
  line-height: 0.9;
}

#cover .scene-date {
  margin-top: 24px;
  color: #e5d6b9;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
}

/* GUEST AND OPEN BUTTON */

#cover .cover-bottom {
  width: 100%;
  max-width: 440px;
  margin-top: auto;
  animation: contentReveal 1.5s ease both;
  animation-delay: 3.5s;
}

#cover .scene-dear {
  margin: 0 0 3px;
  color: #e7dfd0;
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
}

#cover .cover-bottom h2 {
  margin: 0;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 23px;
  font-weight: 500;
}

#cover .scene-note {
  margin: 13px 0 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.4);
  color: #eee8dc;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-style: italic;
}

#cover .open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-width: 220px;
  min-height: 48px;
  padding: 13px 24px;

  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 5px;

  background: #c5ad83;
  color: #fff;

  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;

  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* ANIMATIONS */

@keyframes introTextReveal {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introNameReveal {
  from {
    opacity: 0;
    transform: translateY(25px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes introLineReveal {
  from { width: 0; }
  to { width: 80px; }
}

@keyframes introFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes sceneReveal {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes contentReveal {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* OPENING CLOSE */

#cover.cover.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* MOBILE */

@media (max-width: 480px) {
  #cover .cover-scene {
    padding-left: 20px;
    padding-right: 20px;
  }

  #cover .cover-top h1 {
    font-size: clamp(62px, 17vw, 82px);
  }

  #cover .cover-bottom h2 {
    font-size: 21px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  #cover .opening-intro,
  #cover .opening-intro *,
  #cover .cover-scene,
  #cover .cover-top,
  #cover .cover-bottom {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }
}



/* =========================================
   FIX OPEN INVITATION - SIZE & ALIGNMENT
========================================= */

#cover .cover-bottom {
  width: min(90%, 420px);
  margin: auto auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding-bottom: 25px;
}

#cover .scene-dear {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}

#cover .cover-bottom h2 {
  margin: 0;
  font-size: clamp(22px, 6vw, 28px);
  line-height: 1.3;
  text-align: center;
}

#cover .scene-note {
  width: 100%;
  margin: 8px 0 12px;
  padding: 14px 8px 0;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

/* BUTTON */
#cover .open-button {
  width: min(290px, 85%);
  min-width: 260px;
  min-height: 58px;
  padding: 15px 25px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.2px;
  white-space: nowrap;
}

/* FIX ENVELOPE ICON */
#cover .open-button {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

#cover .envelope-icon {
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex: 0 0 20px;
  font-size: initial;
  line-height: 1;
  overflow: visible;
}
/* MOBILE */
@media (max-width: 480px) {
  #cover .cover-bottom {
    width: 92%;
    padding-bottom: 30px;
    gap: 9px;
  }

  #cover .open-button {
    width: 85%;
    min-width: 250px;
    min-height: 58px;
    font-size: 12px;
  }
}




/* =========================================
   NEW TRANSPARENT WEDDING SLIDES
========================================= */

#content {
  height: 100svh;
  max-width: 640px;
  margin: auto;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background: transparent;
  position: relative;
  isolation: isolate;
}

#content > section {
  position: relative;
  width: 100%;
  min-height: 100svh;
  height: 100svh;
  padding: 55px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: transparent !important;
  color: #fffaf0;
  text-align: center;
}

/* Transparent overlay: keep slideshow visible */
#content > section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(12, 25, 19, 0.48);
  pointer-events: none;
}

#content .inner {
  width: 100%;
  max-width: 520px;
  position: relative;
  z-index: 1;
  margin: auto;
}

#content .eyebrow {
  color: #d5bd8e;
  letter-spacing: 4px;
  font-size: 10px;
  line-height: 1.8;
}

#content .heading {
  color: #fffaf0;
  font-size: clamp(34px, 8vw, 46px);
  margin: 12px 0 25px;
}

#content .script {
  color: #fffaf0;
}

#content .scroll {
  display: inline-block;
  margin-top: 45px;
  color: #e5d2ad;
  letter-spacing: 2px;
  font-size: 11px;
}

/* Verse page */
.verse-page {
  max-width: 460px !important;
}

.bible-verse {
  margin: 25px auto;
  padding: 0 8px;
  color: #fffaf0;
  font: italic clamp(17px, 4.4vw, 21px)/1.8
    'Cormorant Garamond', serif;
  text-align: center;
}

.verse-signature {
  position: absolute;
  right: 0;
  bottom: -110px;
  text-align: right;
}

.verse-signature p {
  margin: 0;
  font: 32px 'Great Vibes', cursive;
  color: #e2c99a;
}

.verse-signature p span {
  color: #fff;
}

.verse-signature small {
  display: block;
  margin-top: 5px;
  color: #e2c99a;
  font-size: 11px;
  letter-spacing: 2px;
}


/* =====================================
   FULL SCREEN BRIDE & GROOM PROFILE
===================================== */

.profile-hero {
  position: relative !important;

  width: 100%;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;

  padding: 0 !important;
  margin: 0;

  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;

  overflow: hidden !important;
  text-align: left !important;
  color: #fffaf0;

  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* Groom photo */
#groom.profile-hero {
  background-image: url("../groom.JPG");
  background-position: center 30%;
}

/* Bride photo */
#bride.profile-hero {
  background-image: url("../bride.jpg");
  background-position: center 30%;
}

/* Dark gradient */
.profile-hero .profile-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.03) 15%,
    rgba(0,0,0,0.08) 40%,
    rgba(0,0,0,0.45) 70%,
    rgba(0,0,0,0.85) 100%
  );

  pointer-events: none;
}

/* Text container */
.profile-hero .profile-content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 640px;

  margin: 0;
  padding: 0 36px 90px;

  text-align: left;
}

/* Eyebrow */
.profile-hero .profile-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  color: #c6ad85;
  margin: 0 0 18px;
}

/* Large first name */
.profile-hero .profile-first-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(76px, 15vw, 112px);
  font-weight: 400;
  line-height: 0.85;
  color: #fff;

  margin: 0 0 18px;
}

/* Full name */
.profile-hero .profile-full-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(25px, 5vw, 34px);
  font-weight: 500;
  color: #fff;

  margin: 0 0 20px;
}

/* Family information */
.profile-hero .profile-family {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;

  color: rgba(255,255,255,0.95);
  margin: 0 0 25px;
}

/* Instagram button */
.profile-hero .profile-instagram {
  display: inline-flex;
  align-items: center;

  padding: 13px 25px;
  border-radius: 40px;

  background: #b99b75;
  color: #fff;

  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.5px;
}

/* Mobile layout */
@media (max-width: 600px) {

  .profile-hero .profile-content {
    padding: 0 28px 75px;
  }

  .profile-hero .profile-first-name {
    font-size: 82px;
  }

  #groom.profile-hero {
    background-position: center 30%;
  }

  #bride.profile-hero {
    background-position: center 30%;
  }

}

/* Buttons */
.instagram-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  background: rgba(20, 35, 27, 0.45);
  color: #fffaf0;
  font-size: 10px;
  letter-spacing: 2px;
  text-decoration: none;
}

.instagram-button:hover {
  background: var(--gold);
  color: #17271f;
}

/* Love story */
#love-story .timeline {
  margin: 30px auto 0;
  border-left-color: var(--gold);
}

#love-story .timeline article {
  color: #fffaf0;
}

#love-story .timeline span {
  background: rgba(23, 39, 31, 0.85);
  color: #e4d2ae;
}

#love-story .timeline h3 {
  color: #e4d2ae;
}

#love-story .timeline p {
  color: #fffaf0;
}

/* Wedding information */
.wedding-date {
  color: #e4d2ae;
  font: 19px/1.7 'Cormorant Garamond', serif;
  letter-spacing: 2px;
}

.wedding-date strong {
  font-size: 25px;
}

#content .countdown {
  margin: 20px 0;
  gap: 7px;
}

#content .countdown div {
  width: 70px;
  padding: 12px 5px;
  background: rgba(15, 29, 22, 0.45);
  border-color: #bda77d99;
}

#content .countdown b {
  color: #fffaf0;
  font-size: 29px;
}

#content .countdown span {
  color: #e4d2ae;
}

.venue-card {
  margin: 16px auto;
  padding: 17px 12px;
  max-width: 430px;
  border: 1px solid rgba(189, 167, 125, 0.65);
  background: rgba(15, 29, 22, 0.55);
}

.venue-card h3 {
  margin: 5px 0 10px;
  color: #e4d2ae;
  font: 27px 'Cormorant Garamond', serif;
}

.venue-card p:not(.eyebrow) {
  color: #fffaf0;
  font: 15px/1.6 'Cormorant Garamond', serif;
}

/* RSVP */
#rsvp form {
  margin: 18px auto;
  max-width: 420px;
}

#rsvp form label {
  color: #fffaf0;
  text-align: left;
}

#rsvp form input,
#rsvp form select,
#rsvp form textarea {
  background: rgba(20, 39, 29, 0.85);
  border-color: #bda77d99;
}

#rsvp .wishes-heading {
  color: #e4d2ae;
  margin-top: 25px;
}

#rsvp #wishes {
  max-height: 150px;
  overflow-y: auto;
  padding-right: 8px;
  color: #fffaf0;
}

#rsvp .wish {
  border-color: #bda77d80;
}

/* Gallery */
#gallery .gallery {
  max-width: 440px;
  margin: 20px auto 0;
}

#gallery .gallery button {
  height: clamp(130px, 27vw, 190px);
}

/* Thank you and bank */
.thank-you-names {
  font-size: clamp(55px, 13vw, 78px);
  margin: 5px 0 0;
}

.thank-you-message {
  max-width: 390px;
  margin: 0 auto 20px;
  color: #fffaf0;
  font: 18px/1.7 'Cormorant Garamond', serif;
}

#thank-you .bank {
  max-width: 340px;
  margin: 20px auto;
  padding: 20px 12px;
  background: rgba(15, 29, 22, 0.72);
  border: 1px solid var(--gold);
  color: #fffaf0;
}

#thank-you .bank h3 {
  color: #e4d2ae;
}

#thank-you .bank p {
  color: #fffaf0;
}

.hashtag {
  color: #e4d2ae;
  letter-spacing: 2px;
  font-size: 12px;
}

#thank-you footer {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  color: #e4d2ae;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  #content > section {
    padding: 42px 20px;
  }

  .bible-verse {
    font-size: 17px;
    line-height: 1.65;
  }

  .verse-signature {
    bottom: -100px;
  }

  .profile-photo {
    width: 155px;
    height: 155px;
  }

  #content .countdown div {
    width: 62px;
  }

  #content .countdown b {
    font-size: 25px;
  }

  .venue-card {
    padding: 13px 9px;
  }
}

/* Short screens */
@media (max-height: 720px) {
  #content > section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .profile-photo {
    width: 125px;
    height: 125px;
  }

  .verse-signature {
    bottom: -85px;
  }

  #rsvp #wishes {
    max-height: 100px;
  }
}




/* =========================================
   FULLSCREEN PAGE - NO INTERNAL SCROLL
   ========================================= */

/* Area utama yang menampung seluruh halaman */
#content {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
}

/* Setiap halaman wajib tepat satu layar */
#content > section {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  max-height: 100vh;
  max-height: 100dvh;
  box-sizing: border-box;

  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Pastikan elemen halaman tidak membuat tinggi bertambah */
#content > section * {
  box-sizing: border-box;
}

/* Penyesuaian untuk layar HP */
@media (max-width: 600px) {
  #content > section {
    padding-top: 16px;
    padding-bottom: 16px;
  }
}





/* =========================================
   FULLSCREEN INVITATION - RESPONSIVE FIT
   Every section occupies exactly one screen.
   No internal page scrolling.
========================================= */

#content {
  height: 100vh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
}

#content > section {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  max-height: 100dvh;
  padding: clamp(12px, 3vh, 28px) clamp(14px, 4vw, 32px);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#content > section > .inner {
  width: 100%;
  max-width: 520px;
  max-height: 100%;
  margin: auto;
  overflow: visible;
}

/* Typography */
#content .eyebrow,
#content .caps {
  font-size: clamp(7px, 1.1vh, 9px);
  line-height: 1.4;
  letter-spacing: 2px;
}

#content .heading {
  margin: 6px 0 16px;
  font-size: clamp(27px, 5vh, 40px);
  line-height: 1.1;
}

#content .quote {
  margin: 12px 0;
  font-size: clamp(24px, 4.5vh, 34px);
  line-height: 1.2;
}

#content .inner > p:not(.eyebrow):not(.caps) {
  line-height: 1.45;
}

/* Couple */
#content .couple-grid {
  gap: 8px;
}

#content .couple-grid img {
  width: 100%;
  max-height: 29vh;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

#content .couple-grid h3 {
  margin: 8px 0 4px;
  font-size: clamp(18px, 3.2vh, 25px);
}

#content .couple-grid p {
  margin: 4px 0;
  font-size: clamp(11px, 1.8vh, 14px);
  line-height: 1.35;
}

/* Love story */
#content .timeline {
  margin-top: 12px;
}

#content .timeline article {
  padding-bottom: 12px;
  gap: 10px;
}

#content .timeline span {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

#content .timeline h3 {
  margin-bottom: 3px;
  font-size: clamp(19px, 3vh, 25px);
}

#content .timeline p {
  font-size: clamp(12px, 1.9vh, 15px);
  line-height: 1.35;
}

/* Countdown */
#content .countdown {
  gap: 5px;
  margin: 18px 0;
}

#content .countdown div {
  width: clamp(55px, 17vw, 76px);
  padding: 9px 3px;
}

#content .countdown b {
  font-size: clamp(24px, 4vh, 32px);
}

/* Wedding events */
#content .events {
  gap: 8px;
}

#content .events article {
  padding: 12px 7px;
}

#content .events h3 {
  margin: 8px 0;
  font-size: clamp(19px, 3vh, 25px);
}

#content .events p {
  margin: 7px 0;
  font-size: clamp(11px, 1.8vh, 14px);
  line-height: 1.35;
}

#content .button-outline {
  padding: 9px 10px;
  font-size: 9px;
}

/* Gallery */
#content .gallery {
  gap: 7px;
}

#content .gallery button {
  height: clamp(105px, 20vh, 155px);
}

/* Wedding gift */
#content .bank {
  margin: 12px auto;
  padding: 15px 10px;
}

#content .bank h3 {
  margin: 8px;
  font-size: 27px;
}

/* RSVP form */
#content form {
  gap: 7px;
  margin: 10px auto;
}

#content form label {
  font-size: 10px;
}

#content form input,
#content form select,
#content form textarea {
  margin-top: 4px;
  padding: 8px 10px;
  font-size: 13px;
}

#content form textarea {
  height: 52px;
  min-height: 52px;
  resize: none;
}

#content form button {
  padding: 10px;
}

#content .wishes-heading {
  margin-top: 10px;
  font-size: 21px;
}

/* Wishes list: compact independent area */
#content #wishes {
  height: clamp(65px, 12vh, 100px);
  max-height: clamp(65px, 12vh, 100px);
  overflow-y: auto;
  margin-top: 8px;
  padding-right: 8px;
}

#content #wishes .wish {
  padding: 7px 0;
}

#content #wishes .wish strong {
  font-size: 17px;
}

#content #wishes .wish p {
  margin: 4px 0;
  font-size: 13px;
}

/* Small mobile screens */
@media (max-width: 600px) {
  #content > section {
    padding: 12px 14px;
  }

  #content .inner {
    max-width: 100%;
  }

  #content .events {
    grid-template-columns: 1fr 1fr;
  }

  #content .couple-grid img {
    max-height: 25vh;
  }
}

/* Short screens */
@media (max-height: 700px) {
  #content > section {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  #content .heading {
    margin-bottom: 9px;
  }

  #content .couple-grid img {
    max-height: 22vh;
  }

  #content .timeline article {
    padding-bottom: 7px;
  }
}



/* =================================
   WISHES PAGINATION
================================= */

#wishes {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  scrollbar-width: none;
}

#wishes::-webkit-scrollbar {
  display: none;
}

#wishes-pagination {
  display: none;
}

.wishes-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 22px auto 0;
  width: 100%;
}

.wishes-pagination[hidden] {
  display: none !important;
}

.wishes-page-button {
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 5px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
}

.wishes-page-button:hover:not(:disabled) {
  background: rgba(255,255,255,0.15);
}

.wishes-page-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.wishes-page-info {
  color: #fff;
  font-size: 14px;
  min-width: 42px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}



/* WISHES PAGE */

#wishesPage .inner {
  width: 100%;
  max-width: 650px;
}

#wishes {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  scrollbar-width: none;
}

#wishes::-webkit-scrollbar {
  display: none;
}

#wishes > [hidden] {
  display: none !important;
}

.wishes-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.wishes-page-button {
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 5px;
  background: transparent;
  color: white;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.wishes-page-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.wishes-page-info {
  min-width: 42px;
  text-align: center;
  color: white;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}




#wishes > .wish[hidden] {
  display: none !important;
}



/* TWO WEDDING GIFT ACCOUNTS */

.bank-account {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 18px 14px;
  margin-top: 18px;
  background: rgba(255,255,255,0.06);
}

.bank-owner {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.75;
  margin-bottom: 10px;
}

.bank-name {
  letter-spacing: 2px;
  font-size: 12px;
}

.bank-account h3 {
  font-size: clamp(20px, 5vw, 26px);
  letter-spacing: 2px;
  margin: 10px 0;
  overflow-wrap: anywhere;
}

.bank-account .instagram-button {
  margin-top: 12px;
}

/* WEDDING GIFT - COMPACT TWO COLUMN LAYOUT */
.bank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 650px;
  margin: 18px auto 0;
  align-items: stretch;
}

.bank-grid .bank {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 18px 12px;
  box-sizing: border-box;
  text-align: center;
}

.bank-grid .bank h3 {
  font-size: clamp(16px, 2.5vw, 22px);
  overflow-wrap: anywhere;
  margin: 10px 0;
}

.bank-grid .bank p {
  margin: 6px 0;
  font-size: 13px;
}

.bank-grid .bank button {
  margin-top: 10px;
  padding: 10px 12px;
  font-size: 10px;
  white-space: normal;
}

/* MOBILE */
@media (max-width: 480px) {
  .bank-grid {
    gap: 8px;
  }

  .bank-grid .bank {
    padding: 14px 8px;
  }

  .bank-grid .bank h3 {
    font-size: 15px;
  }

  .bank-grid .bank p {
    font-size: 11px;
  }

  .bank-grid .bank button {
    font-size: 9px;
    padding: 9px 6px;
  }
}



/* =========================================
   FINAL FIX - MAIN SLIDE SCROLL
========================================= */

#content {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10;
  width: 100% !important;
  max-width: none !important;
  height: 100vh !important;
  height: 100dvh !important;
  margin: 0 !important;

  overflow-x: hidden;
  overflow-y: auto;

  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;

  -webkit-overflow-scrolling: touch;
}

#content > section {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  max-height: 100dvh;

  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}



/* =====================================
   FINAL FIX - FULL SCREEN GROOM & BRIDE
   Place this at the VERY END of style.css
===================================== */

/* Groom */
#content > section#groom.profile-hero {
  background-image: url("../groom.JPG") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: transparent !important;
}

/* Bride */
#content > section#bride.profile-hero {
  background-image: url("../bride.jpg") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: transparent !important;
}

/* Full viewport profile slides */
#content > section#groom.profile-hero,
#content > section#bride.profile-hero {
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  padding: 0 !important;
  margin: 0 !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;

  overflow: hidden !important;
  text-align: left !important;
}

/* Text position */
#content > section.profile-hero .profile-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 640px;
  padding: 0 28px 75px;
  margin: 0;
  text-align: left;
}

/* Dark gradient */
#content > section.profile-hero .profile-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.02) 10%,
    rgba(0,0,0,0.12) 40%,
    rgba(0,0,0,0.85) 100%
  );
  pointer-events: none;
}

#content > section#bride {
  background-image: url("../bride.jpg") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;

  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;

  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}



/* MATCH FONT WITH OPENING PAGE - TOMMY & WINI */

#content #groom .profile-first-name,
#content #bride .profile-first-name {
  font-family: 'Great Vibes', cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.15 !important;
  font-size: clamp(64px, 13vw, 92px) !important;
  letter-spacing: 0 !important;
}

.hero .script,
#content #groom .profile-first-name,
#content #bride .profile-first-name {
  font-family: 'Great Vibes', cursive !important;
  font-weight: 400 !important;
}




/* =========================================
   LOVE STORY - TIMELINE ALIGNMENT FIX
========================================= */

#love-story .timeline {
  position: relative !important;
  width: 100% !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: none !important;
  text-align: left !important;
}

/* Vertical line - centered with dots */
#love-story .timeline::before {
  content: "" !important;
  position: absolute !important;
  top: 8px !important;
  bottom: 8px !important;
  left: 92px !important;
  width: 1px !important;
  background: rgba(255,255,255,0.85) !important;
}

/* Timeline row */
#love-story .timeline article {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 70px 20px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 12px !important;
  padding: 0 0 38px !important;
  margin: 0 !important;
  transform: none !important;
}

/* Year - remove inherited box styling */
#love-story .timeline .story-year {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;

  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  color: #fff !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 19px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  text-align: right !important;
}

/* Small white timeline dot */
#love-story .timeline .timeline-dot {
  display: block !important;
  position: relative !important;
  z-index: 2 !important;

  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  padding: 0 !important;
  margin: 5px auto 0 !important;

  border: none !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* Story content */
#love-story .timeline article > div {
  min-width: 0 !important;
}

#love-story .timeline h3 {
  margin: 0 0 10px !important;
  color: #fff !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 25px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
}

#love-story .timeline p {
  margin: 0 !important;
  color: rgba(255,255,255,0.94) !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
}

/* Mobile */
@media (max-width: 480px) {
  #love-story .timeline::before {
    left: 76px !important;
  }

  #love-story .timeline article {
    grid-template-columns: 56px 16px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding-bottom: 32px !important;
  }

  #love-story .timeline .story-year {
    font-size: 17px !important;
  }

  #love-story .timeline .timeline-dot {
    width: 11px !important;
    height: 11px !important;
    min-width: 11px !important;
  }

  #love-story .timeline h3 {
    font-size: 22px !important;
  }

  #love-story .timeline p {
    font-size: 16px !important;
  }
}



/* =========================================
   MOMENTS IN TIME - EDITORIAL GALLERY
========================================= */

#content > section#gallery.moments-gallery {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;

  width: 100% !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  height: 100vh !important;
  height: 100dvh !important;

  padding: 0 !important;
  gap: 22px !important;
  overflow: hidden !important;
}

/* Heading */
#gallery .gallery-heading {
  position: relative;
  z-index: 2;
  padding: 0 26px;
  text-align: left;
  flex-shrink: 0;
}

#gallery .gallery-heading .eyebrow {
  color: #d9bd91;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  margin: 0 0 10px;
}

#gallery .gallery-heading h2 {
  color: #efc69a;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 7vw, 52px);
  font-weight: 500;
  line-height: 1;
  margin: 0;
}

/* Horizontal photo rows */
#gallery .gallery-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;

  width: 100%;
  gap: 10px;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 0 0 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

#gallery .gallery-row::-webkit-scrollbar {
  display: none;
}

/* Photo cards */
#gallery .gallery-row button {
  flex: 0 0 auto;
  display: block;

  height: 190px;
  width: 145px;

  padding: 0;
  margin: 0;

  border: none;
  border-radius: 0;
  background: transparent;

  overflow: hidden;
  opacity: 1;
  transform: none;
}

/* Different photo proportions */
#gallery .gallery-row-top button:nth-child(2),
#gallery .gallery-row-bottom button:nth-child(3),
#gallery .gallery-row-bottom button:nth-child(7) {
  width: 300px;
}

#gallery .gallery-row-top button:nth-child(4),
#gallery .gallery-row-bottom button:nth-child(5) {
  width: 190px;
}

#gallery .gallery-row button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  padding: 0;
  transition: transform .5s ease;
}

#gallery .gallery-row button:active img {
  transform: scale(.97);
}

/* Quote */
#gallery .gallery-quote {
  position: relative;
  z-index: 2;

  width: 100%;
  padding: 0 30px;
  margin-top: 4px;

  color: rgba(255,255,255,.72);
  font-family: 'Great Vibes', cursive;
  font-size: clamp(22px, 5vw, 31px);
  line-height: 1.35;
  text-align: center;
  transform: rotate(-2deg);
}

#gallery .gallery-quote span {
  display: block;
  margin-top: 5px;
  font-size: .85em;
  text-align: right;
}

/* Mobile layout */
@media (max-width: 480px) {

  #content > section#gallery.moments-gallery {
    gap: 18px !important;
  }

  #gallery .gallery-heading {
    padding: 0 22px;
  }

  #gallery .gallery-heading h2 {
    font-size: 38px;
  }

  #gallery .gallery-row {
    gap: 8px;
  }

  #gallery .gallery-row button {
    width: 125px;
    height: 155px;
  }

  #gallery .gallery-row-top button:nth-child(2),
  #gallery .gallery-row-bottom button:nth-child(3),
  #gallery .gallery-row-bottom button:nth-child(7) {
    width: 230px;
  }

  #gallery .gallery-row-top button:nth-child(4),
  #gallery .gallery-row-bottom button:nth-child(5) {
    width: 155px;
  }

  #gallery .gallery-quote {
    padding: 0 22px;
    font-size: 23px;
  }
}



/* =========================================
   RSVP - ELEGANT DARK EDITORIAL DESIGN
========================================= */

#content > section#rsvp.rsvp-page {
  justify-content: flex-start !important;
  align-items: stretch !important;
  padding: 85px 30px 45px !important;
  overflow-y: auto !important;
}

#rsvp .inner {
  width: 100%;
  max-width: 750px;
  margin: 35px auto auto;
  text-align: center;
}

/* RSVP eyebrow */
#rsvp .eyebrow {
  color: #e9bb91;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  margin: 0 0 32px;
}

/* Main title */
#rsvp .heading {
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 8vw, 52px);
  font-weight: 500;
  margin: 0 0 28px;
}

/* Description */
#rsvp .rsvp-description {
  color: rgba(255,255,255,.92);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  margin: 0 0 28px;
}

/* Form */
#rsvp form {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: left;
}

/* Labels */
#rsvp form label {
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .5px;
  margin: 0 0 8px;
}

/* Input and textarea */
#rsvp form input,
#rsvp form textarea,
#rsvp form select:not(#attendance) {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 0;
  outline: none;
  background: rgba(0,0,0,.12);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  box-shadow: none;
}

#rsvp form input {
  height: 52px;
}

#rsvp form textarea {
  min-height: 124px;
  resize: vertical;
}

#rsvp form input::placeholder,
#rsvp form textarea::placeholder {
  color: rgba(255,255,255,.58);
}

#rsvp form select:not(#attendance) {
  height: 48px;
  color-scheme: dark;
}

/* Attendance buttons */
#rsvp .attendance-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 18px;
}

#rsvp .attendance-button {
  min-height: 54px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .5px;
}

#rsvp .attendance-button.active {
  border-color: #f2c294;
  background: rgba(242,194,148,.16);
  color: #f2c294;
}

/* Submit button */
#rsvp form button[type="submit"] {
  width: 100%;
  min-height: 52px;
  margin-top: 12px;
  padding: 13px 20px;
  border: none;
  border-radius: 50px;
  background: #f2c294;
  color: #171717;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .3px;
}

#rsvp form button[type="submit"]:disabled {
  opacity: .6;
}

/* Status */
#rsvp #status {
  color: #f2c294;
  text-align: center;
  font-size: 13px;
}

/* Mobile */
@media (max-width: 480px) {
  #content > section#rsvp.rsvp-page {
    padding: 75px 22px 35px !important;
  }

  #rsvp .inner {
    margin-top: 25px;
  }

  #rsvp .eyebrow {
    margin-bottom: 26px;
  }

  #rsvp .heading {
    font-size: 42px;
    margin-bottom: 25px;
  }

  #rsvp .rsvp-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  #rsvp .attendance-options {
    gap: 10px;
  }

  #rsvp .attendance-button {
    min-height: 52px;
    font-size: 12px;
  }
}


#count:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}



/* =========================================
   MOMENTS GALLERY - HORIZONTAL PHOTO STRIPS
========================================= */

.moments-gallery {
  justify-content: center;
  gap: 22px;
  padding-top: 35px;
  padding-bottom: 35px;
  overflow: hidden;
}

.moments-gallery .gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  overflow: hidden;
}

.moments-gallery .gallery-row {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.moments-gallery .gallery-row::-webkit-scrollbar {
  display: none;
}

.moments-gallery .gallery-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: max-content;
  padding: 0 12px;
}

.moments-gallery .gallery-track button {
  display: block;
  flex: 0 0 auto;
  height: clamp(150px, 23vw, 235px);
  width: 38vw;
  max-width: 420px;
  min-width: 145px;

  padding: 0;
  margin: 0;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.moments-gallery .gallery-track button:nth-child(2),
.moments-gallery .gallery-track button:nth-child(4) {
  width: 58vw;
  max-width: 520px;
}

.moments-gallery .gallery-track button:nth-child(3),
.moments-gallery .gallery-track button:nth-child(5) {
  width: 32vw;
  max-width: 320px;
}

.moments-gallery .gallery-track img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}

.moments-gallery .gallery-track button:hover img {
  transform: scale(1.04);
}

.prewed-heading {
  width: 100%;
  padding: 0 25px;
}

.prewed-heading h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 400;
}

.prewed-quote {
  max-width: 750px;
  padding: 0 25px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(19px, 3vw, 28px);
  line-height: 1.5;
}

.prewed-quote span {
  display: block;
  margin-top: 8px;
  font-size: 16px;
}

@media (min-width: 768px) {
  .moments-gallery .gallery-track button {
    height: 230px;
    width: 260px;
  }

  .moments-gallery .gallery-track button:nth-child(2),
  .moments-gallery .gallery-track button:nth-child(4) {
    width: 420px;
  }

  .moments-gallery .gallery-track button:nth-child(3),
  .moments-gallery .gallery-track button:nth-child(5) {
    width: 220px;
  }
}



/* GALLERY - PRESERVE ORIGINAL PHOTO RATIO */

.moments-gallery .gallery-row {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.moments-gallery .gallery-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  padding: 0 12px;
}

.moments-gallery .gallery-track button {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  width: auto !important;
  height: auto !important;
  max-width: none !important;
  min-width: 0 !important;

  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  overflow: visible;
}

.moments-gallery .gallery-track img {
  display: block;
  width: auto;
  height: auto;
  max-height: 210px;
  max-width: 75vw;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 768px) {
  .moments-gallery .gallery-track img {
    max-height: 260px;
    max-width: 500px;
  }
}


/* MOMENTS GALLERY - KEEP BACKGROUND DARK, PHOTOS ORIGINAL */

#content > section#gallery.moments-gallery {
  background: transparent !important;
  isolation: auto !important;
}

/* Preserve dark background overlay */
#content > section#gallery.moments-gallery::before,
#content > section#gallery.moments-gallery::after {
  display: block !important;
}

/* Remove dark effect from gallery photos only */
#gallery .gallery-row img,
#gallery .gallery-track img {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* Ensure photo containers do not add dark effects */
#gallery .gallery-row button,
#gallery .gallery-track button {
  filter: none !important;
  opacity: 1 !important;
  background: transparent !important;
}



/* =========================================
   GLOBAL DARK OVERLAY - DEEP NAVY BLUE
========================================= */

/* Global slideshow overlay */
.global-slideshow::after {
  background: rgba(8, 20, 42, 0.38) !important;
}

/* Hero veil */
.veil {
  background: rgba(8, 20, 42, 0.38) !important;
}

/* Overlay seluruh halaman */
#content > section::before {
  background: rgba(8, 20, 42, 0.48) !important;
}

/* Keep gallery photos in original colors */
#gallery .gallery-row img,
#gallery .gallery-track img {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}


/* MOMENTS GALLERY - REMOVE DARK OVERLAY FROM PHOTOS ONLY */

/* Keep the dark blue overlay on the gallery background,
   but place it behind the gallery content */
#content > section#gallery.moments-gallery::before {
  z-index: 0 !important;
  background: rgba(8, 20, 42, 0.48) !important;
}

/* Put gallery content above the background overlay */
#gallery .gallery,
#gallery .gallery-row,
#gallery .gallery-track,
#gallery .gallery-track button {
  position: relative;
  z-index: 1;
}

/* Original photo colors */
#gallery .gallery-track img {
  position: relative;
  z-index: 2;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* Keep heading and quote above overlay */
#gallery .prewed-heading,
#gallery .prewed-quote,
#gallery .gallery-heading,
#gallery .gallery-quote {
  position: relative;
  z-index: 2;
}



/* =========================================
   FINAL COLOR & TRANSPARENCY REFINEMENT
========================================= */

/* 1. MOMENTS IN TIME - GOLD TITLE */
#gallery .prewed-heading h2 {
  color: #d5bd8e !important;
}

/* 2. A NEW CHAPTER BEGINS - SHOW MORE BACKGROUND */
#content > section#hero::before {
  background: rgba(8, 20, 42, 0.25) !important;
}

/* Keep the other invitation pages at the existing navy transparency */
#content > section:not(#hero)::before {
  background: rgba(8, 20, 42, 0.48) !important;
}

/* 3. GLOBAL BACKGROUND - CHANGE GREEN TONE TO NAVY BLUE */
.global-slideshow::after {
  background: rgba(8, 20, 42, 0.38) !important;
}

/* 4. OPENING INTRO - REPLACE GREEN OVERLAY WITH NAVY */
#cover .opening-intro {
  background:
    linear-gradient(
      rgba(8, 20, 42, 0.88),
      rgba(8, 20, 42, 0.94)
    ),
    url("../bg-1.jpg") center / cover !important;
}


/* OPEN INVITATION COVER - KEEP BACKGROUND IMAGE VISIBLE */
#cover.cover {
  background: transparent !important;
  color: #f8f3e9;
}

#cover.cover::before {
  background: radial-gradient(
    ellipse at center,
    rgba(8, 20, 42, 0.08) 10%,
    rgba(8, 20, 42, 0.42) 100%
  ) !important;
}


/* =========================================
   THE WEDDING DAY - ROYAL NAVY REFINEMENT
========================================= */

/* Transparent navy background */
#content > section#wedding-info::before {
  background: rgba(8, 20, 42, 0.34) !important;
}

/* Main layout */
#wedding-info .inner {
  width: 100%;
  max-width: 540px;
  padding: 24px 18px;
  margin: auto;
}

/* Section eyebrow */
#wedding-info .eyebrow {
  color: #d8bd83 !important;
  letter-spacing: 4px;
  font-size: 10px;
}

/* Main heading */
#wedding-info .heading {
  color: #f5ead4 !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 9vw, 52px);
  font-weight: 400;
  margin: 8px 0 12px;
}

/* Wedding date */
#wedding-info .wedding-date {
  color: #e6d5b5 !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 4px;
  line-height: 1.8;
  margin: 8px 0 18px;
}

#wedding-info .wedding-date strong {
  display: inline-block;
  color: #d8bd83 !important;
  font-size: clamp(21px, 5vw, 27px);
  letter-spacing: 2px;
  font-weight: 500;
}

/* Countdown - elegant glass panels */
#wedding-info .countdown {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin: 18px 0 24px;
}

#wedding-info .countdown div {
  width: 68px;
  padding: 12px 4px;
  border: 1px solid rgba(216, 189, 131, 0.55);
  border-radius: 4px;
  background: rgba(8, 20, 42, 0.48) !important;
  backdrop-filter: blur(5px);
}

#wedding-info .countdown b {
  color: #f5ead4 !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 29px;
  font-weight: 500;
}

#wedding-info .countdown span {
  color: #d8bd83 !important;
  font-size: 8px;
  letter-spacing: 1.5px;
}

/* Venue cards */
#wedding-info .venue-card {
  position: relative;
  margin: 12px auto;
  padding: 18px 16px;
  max-width: 100%;
  border: 1px solid rgba(216, 189, 131, 0.52);
  border-radius: 5px;
  background: rgba(8, 20, 42, 0.58) !important;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Gold accent line */
#wedding-info .venue-card::before {
  content: "";
  display: block;
  width: 38px;
  height: 1px;
  margin: 0 auto 12px;
  background: #d8bd83;
}

#wedding-info .venue-card h3 {
  color: #e5c994 !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 29px;
  font-weight: 400;
  margin: 5px 0 10px;
}

#wedding-info .venue-card p:not(.eyebrow) {
  color: #f5eee2 !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  line-height: 1.7;
}

/* Map buttons */
#wedding-info .venue-card .instagram-button {
  display: inline-block;
  margin-top: 8px;
  padding: 9px 20px;
  border: 1px solid #d8bd83;
  border-radius: 3px;
  color: #e8d4ad !important;
  background: transparent !important;
  font-size: 10px;
  letter-spacing: 2px;
}

/* Mobile spacing */
@media (max-width: 480px) {
  #wedding-info .inner {
    padding: 18px 12px;
  }

  #wedding-info .venue-card {
    padding: 14px 10px;
    margin: 10px auto;
  }

  #wedding-info .countdown {
    gap: 6px;
  }

  #wedding-info .countdown div {
    width: 62px;
    padding: 10px 3px;
  }
}



/* =========================================
   FINAL PAGE - ROYAL NAVY WEDDING GIFT
========================================= */

/* Transparent navy overlay */
#content > section#thank-you::before {
  background: rgba(8, 20, 42, 0.34) !important;
}

/* Main content */
#thank-you .inner {
  width: 100%;
  max-width: 520px;
  padding: 20px 16px 30px;
  margin: auto;
}

/* Eyebrow */
#thank-you .eyebrow {
  color: #d8bd83 !important;
  letter-spacing: 4px;
  font-size: 10px;
}

/* Couple names */
#thank-you .thank-you-names {
  color: #f5ead4 !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 12vw, 68px);
  font-weight: 400;
  line-height: 1.1;
  margin: 8px 0 12px;
}

#thank-you .thank-you-names small {
  color: #d8bd83 !important;
  font-style: italic;
}

/* Thank you message */
#thank-you .thank-you-message {
  max-width: 390px;
  margin: 0 auto 20px;
  color: #f2eadc !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.6;
}

/* Bank account layout */
#thank-you .bank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  margin: 20px auto;
}

/* Individual bank card */
#thank-you .bank-grid .bank {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 20px 10px 17px;
  border: 1px solid rgba(216, 189, 131, 0.65);
  border-radius: 5px;
  background: rgba(8, 20, 42, 0.58) !important;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}

/* Gold decorative line */
#thank-you .bank-grid .bank::before {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin: 0 auto 13px;
  background: #d8bd83;
}

/* Bank name */
#thank-you .bank-name {
  color: #d8bd83 !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  line-height: 1.5;
  margin: 0 0 12px;
}

/* Account number */
#thank-you .bank h3 {
  color: #fff3dc !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(19px, 4.5vw, 25px);
  font-weight: 500;
  letter-spacing: 1px;
  margin: 8px 0;
  overflow-wrap: anywhere;
}

/* Account holder */
#thank-you .bank p:not(.bank-name) {
  color: #e8dfd0 !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  margin: 5px 0 14px;
}

/* Copy button */
#thank-you .bank button {
  width: 100%;
  padding: 10px 5px;
  border: 1px solid rgba(216, 189, 131, 0.8);
  border-radius: 3px;
  background: transparent !important;
  color: #e8d4ad !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 1.5px;
}

/* Date and location */
#thank-you .caps {
  color: #e5d3b1 !important;
  font-size: 10px;
  letter-spacing: 2px;
  line-height: 1.8;
  margin: 14px 0 8px;
}

/* Hashtag */
#thank-you .hashtag {
  color: #d8bd83 !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 2px;
  margin-top: 8px;
}

/* Footer */
#thank-you footer {
  color: #d8bd83 !important;
  font-size: 9px;
  letter-spacing: 2px;
  bottom: 10px;
}

/* Small mobile screens */
@media (max-width: 380px) {
  #thank-you .inner {
    padding-left: 10px;
    padding-right: 10px;
  }

  #thank-you .bank-grid {
    gap: 8px;
  }

  #thank-you .bank-grid .bank {
    padding: 15px 7px;
  }

  #thank-you .bank-name {
    font-size: 8px;
    letter-spacing: 1px;
  }

  #thank-you .bank-grid .bank button {
    font-size: 8px;
    letter-spacing: 1px;
  }
}



/* =========================================
   THE WEDDING DAY - ELEGANT HORIZONTAL LAYOUT
========================================= */

/* Main section */
#content > section#wedding-info::before {
  background: rgba(8, 20, 42, 0.30) !important;
}

#wedding-info .inner {
  width: min(92%, 900px);
  max-width: 900px;
  margin: auto;
  padding: 12px 20px;
  text-align: center;
}

/* Heading */
#wedding-info .eyebrow {
  color: #d8bd83 !important;
  font-size: 9px;
  letter-spacing: 4px;
  margin-bottom: 5px;
}

#wedding-info .heading {
  color: #f5ead4 !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(35px, 5vw, 48px);
  font-weight: 400;
  margin: 0 0 5px;
}

/* Date */
#wedding-info .wedding-date {
  color: #e8d5ad !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 2px;
  margin: 5px 0 12px;
}

#wedding-info .wedding-date strong {
  font-size: 21px;
  font-weight: 500;
}

/* Countdown - compact */
#wedding-info #countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px auto 18px !important;
}

#wedding-info #countdown div {
  width: 65px;
  padding: 8px 5px;
  border: 1px solid rgba(216, 189, 131, 0.45);
  border-radius: 3px;
  background: rgba(8, 20, 42, 0.48) !important;
}

#wedding-info #countdown b {
  display: block;
  color: #fff3dc !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  font-weight: 500;
}

#wedding-info #countdown span {
  color: #d8bd83 !important;
  font-size: 8px;
  letter-spacing: 1px;
}

/* Two venue cards side by side */
#wedding-info .venue-card {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  vertical-align: top;
  width: calc(50% - 10px);
  max-width: none;
  min-height: 190px;
  margin: 0 4px;
  padding: 17px 14px;
  box-sizing: border-box;

  border: 1px solid rgba(216, 189, 131, 0.58);
  border-radius: 4px;
  background: rgba(8, 20, 42, 0.58) !important;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Venue title */
#wedding-info .venue-card .eyebrow {
  color: #d8bd83 !important;
  font-size: 8px;
  letter-spacing: 2px;
  margin: 0 0 5px;
}

#wedding-info .venue-card h3 {
  color: #f5ead4 !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  font-weight: 500;
  margin: 3px 0 8px;
}

/* Venue details */
#wedding-info .venue-card p:not(.eyebrow) {
  color: #eee5d7 !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 12px;
}

/* Map button */
#wedding-info .venue-card .instagram-button {
  align-self: center;
  min-height: 32px;
  padding: 8px 18px;
  border: 1px solid rgba(216, 189, 131, 0.8);
  border-radius: 2px;
  background: transparent !important;
  color: #e8d5ad !important;
  font-size: 8px;
  letter-spacing: 1.5px;
}

/* Small screens */
@media (max-width: 480px) {
  #wedding-info .inner {
    width: 96%;
    padding: 8px 5px;
  }

  #wedding-info .venue-card {
    width: calc(50% - 8px);
    min-height: 190px;
    padding: 13px 7px;
    margin: 0 2px;
  }

  #wedding-info .venue-card h3 {
    font-size: 21px;
  }

  #wedding-info .venue-card p:not(.eyebrow) {
    font-size: 12px;
    line-height: 1.45;
  }

  #wedding-info .venue-card .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }

  #wedding-info .venue-card .instagram-button {
    padding: 8px 10px;
    font-size: 7px;
  }

  #wedding-info #countdown {
    gap: 6px;
    margin-bottom: 14px !important;
  }

  #wedding-info #countdown div {
    width: 58px;
  }
}



/* =========================================
   THE WEDDING DAY - EDITORIAL LAYOUT
========================================= */

/* Background tetap transparan agar slideshow terlihat */
#content > section#wedding-info::before {
  background: rgba(8, 20, 42, 0.28) !important;
}

/* Overall layout */
#wedding-info .inner {
  width: min(88%, 900px);
  max-width: 900px;
  padding: 12px 0;
  margin: auto;
}

/* Heading */
#wedding-info .eyebrow {
  color: #d8bd83 !important;
  font-size: 9px;
  letter-spacing: 4px;
  margin-bottom: 5px;
}

#wedding-info .heading {
  color: #f5ead4 !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 400;
  margin: 0 0 5px;
}

/* Wedding date */
#wedding-info .wedding-date {
  color: #fff !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 2px;
  margin: 5px 0 12px;
}

#wedding-info .wedding-date strong {
  font-size: 22px;
  font-weight: 500;
  color: #fff !important;
}

/* Countdown: plain text, no boxes */
#wedding-info #countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 4vw, 38px);
  margin: 12px auto 20px !important;
}

#wedding-info #countdown div {
  width: auto !important;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#wedding-info #countdown b {
  display: block;
  color: #fff !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(25px, 4vw, 32px);
  font-weight: 400;
  line-height: 1.1;
}

#wedding-info #countdown span {
  display: block;
  color: #fff !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* Venue: remove card appearance */
#wedding-info .venue-card {
  display: block;
  width: 72%;
  max-width: 620px;
  min-height: 0;
  padding: 10px 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Pemberkatan: upper right, right aligned */
#wedding-info .venue-card:nth-of-type(1) {
  margin: 12px 0 65px auto;
  text-align: right;
}

/* Resepsi: lower left, left aligned */
#wedding-info .venue-card:nth-of-type(2) {
  margin: 0 auto 0 0;
  text-align: left;
}

/* Venue labels */
#wedding-info .venue-card .eyebrow {
  color: #e3c18e !important;
  font-size: 9px;
  letter-spacing: 2px;
  margin: 0 0 5px;
}

/* Venue names */
#wedding-info .venue-card h3 {
  color: #fff !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(25px, 4vw, 34px);
  font-weight: 400;
  margin: 3px 0 8px;
}

/* Venue details */
#wedding-info .venue-card p:not(.eyebrow) {
  color: #fff !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  margin: 0 0 13px;
}

/* Map buttons */
#wedding-info .venue-card .instagram-button {
  display: inline-flex;
  min-height: 34px;
  padding: 8px 20px;
  border: 1px solid #d8bd83;
  border-radius: 30px;
  background: transparent !important;
  color: #e8d5ad !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 1.5px;
}

/* Mobile adjustment */
@media (max-width: 480px) {
  #wedding-info .inner {
    width: 90%;
  }

  #wedding-info .venue-card {
    width: 88%;
  }

  #wedding-info .venue-card:nth-of-type(1) {
    margin-bottom: 35px;
  }

  #wedding-info .venue-card p:not(.eyebrow) {
    font-size: 12px;
    line-height: 1.6;
  }

  #wedding-info #countdown {
    gap: 15px;
  }

  #wedding-info #countdown b {
    font-size: 24px;
  }
}


/* =========================================
   FIX VENUE POSITION - RIGHT / LEFT
========================================= */

/* Pemberkatan: upper right */
#wedding-info .inner > .venue-card:nth-of-type(2) {
  display: flex !important;
  flex-direction: column;
  align-items: flex-end !important;
  width: 72% !important;
  max-width: 650px !important;
  margin: 15px 0 55px auto !important;
  text-align: right !important;
  min-height: 0;
  padding: 10px 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Resepsi: lower left */
#wedding-info .inner > .venue-card:nth-of-type(3) {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  width: 72% !important;
  max-width: 650px !important;
  margin: 0 auto 0 0 !important;
  text-align: left !important;
  min-height: 0;
  padding: 10px 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Keep venue text aligned with each section */
#wedding-info .venue-card p,
#wedding-info .venue-card h3 {
  width: 100%;
  text-align: inherit !important;
}

#wedding-info .venue-card .instagram-button {
  align-self: inherit !important;
}

/* Mobile */
@media (max-width: 480px) {
  #wedding-info .inner > .venue-card:nth-of-type(2),
  #wedding-info .inner > .venue-card:nth-of-type(3) {
    width: 88% !important;
  }

  #wedding-info .inner > .venue-card:nth-of-type(2) {
    margin-bottom: 35px !important;
  }
}


/* Remove decorative gold lines on venue sections */
#wedding-info .venue-card::before,
#wedding-info .venue-card::after {
  display: none !important;
  content: none !important;
}

/* YOUR WARM WISHES - NAVY & GOLD THEME */
#rsvp #wishes .wish {
  border-top: 1px solid rgba(216, 189, 131, 0.55) !important;
}

#rsvp #wishes .wish:last-child {
  border-bottom: 1px solid rgba(216, 189, 131, 0.55) !important;
}



/* =========================================
   THANK YOU - MINIMALIST LUXURY BANK DETAILS
========================================= */

/* Remove bank card boxes */
#thank-you .bank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px;
  width: 100%;
  max-width: 650px;
  margin: 25px auto 15px;
  align-items: start;
}

#thank-you .bank-grid .bank {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 12px 5px;
  box-sizing: border-box;
  text-align: center;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Bank name */
#thank-you .bank-name {
  color: #d8bd83 !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  margin: 0 0 14px;
}

/* Account number */
#thank-you .bank h3 {
  color: #fff3dc !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(19px, 3.5vw, 27px);
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 1.3;
  margin: 8px 0;
  overflow-wrap: anywhere;
}

/* Account holder */
#thank-you .bank p:not(.bank-name) {
  color: #eee5d7 !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  margin: 5px 0 12px;
}

/* Copy button - elegant text style */
#thank-you .bank button {
  display: inline-block;
  width: auto;
  margin-top: 8px;
  padding: 7px 3px;

  border: 0 !important;
  border-bottom: 1px solid rgba(216, 189, 131, 0.75) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  color: #d8bd83 !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
}

/* Responsive mobile */
@media (max-width: 480px) {
  #thank-you .bank-grid {
    gap: 12px;
    margin-top: 18px;
  }

  #thank-you .bank-grid .bank {
    padding: 10px 2px;
  }

  #thank-you .bank-name {
    font-size: 8px;
    letter-spacing: 1.5px;
  }

  #thank-you .bank h3 {
    font-size: 17px;
    letter-spacing: 0.5px;
  }

  #thank-you .bank p:not(.bank-name) {
    font-size: 12px;
  }

  #thank-you .bank button {
    font-size: 8px;
    letter-spacing: 1px;
  }
}


/* INSTAGRAM ICON FIX */
.profile-hero .profile-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.profile-hero .instagram-icon {
  display: inline-block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: currentColor;
  vertical-align: middle;
}



/* =========================================
   CINEMATIC HERO - NAME & SCROLL ANIMATION
========================================= */

#content #hero {
  position: relative;
  overflow: hidden;
}

/* Center composition */
#hero .inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-width: none;
  padding: 0 20px 75px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Name composition */
#hero .hero-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: heroNameReveal 1.5s ease both;
}

#hero .hero-title {
  color: #e5c99d;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 4px;
  margin: 0 0 15px;
}

/* Couple names */
#hero .hero-names .script {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff3df !important;
  font-family: 'Great Vibes', cursive !important;
  font-size: clamp(58px, 12vw, 82px);
  font-weight: 400;
  line-height: 0.88;
  margin: 0;
  text-shadow: 0 3px 25px rgba(0,0,0,.35);
}

#hero .hero-names .script span {
  display: block;
}

#hero .hero-names .script small {
  display: block;
  color: #e5c99d !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  font-style: italic;
  line-height: 1.2;
  margin: 5px 0;
}

/* Wedding date */
#hero .hero-date {
  color: #e5c99d !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 2px;
  margin: 22px 0 0;
  animation: heroNameReveal 1.5s .4s both;
}

/* Vertical scroll indicator */
#content #hero .scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;

  margin: 0;
  padding: 0 0 35px;

  color: #f5ead4 !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 3px;
  text-decoration: none;

  writing-mode: vertical-rl;
  animation: scrollTextFloat 2s ease-in-out infinite;
}

/* Moving vertical line */
#content #hero .scroll::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 25px;
  background: #e5c99d;
  transform: translateX(-50%);
  transform-origin: top;
  animation: scrollLineMove 2s ease-in-out infinite;
}

/* Animations */
@keyframes heroNameReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollTextFloat {
  0%, 100% {
    opacity: .65;
  }
  50% {
    opacity: 1;
  }
}

/* Mobile */
@media (max-width: 480px) {
  #hero .inner {
    padding-bottom: 65px;
  }

  #hero .hero-names .script {
    font-size: clamp(58px, 15vw, 76px);
  }

  #hero .hero-title {
    font-size: 8px;
    letter-spacing: 3px;
  }

  #hero .hero-date {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
}






/* =========================================
   SMOOTH SCROLL DOWN - FLOWING WHITE LINE
========================================= */

/* Scroll text */
#content #hero .scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;

  transform: translateX(-50%);
  margin: 0;
  padding: 0 0 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  writing-mode: vertical-rl;

  color: #ffffff !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 3px;
  text-decoration: none;

  animation: none !important;
}

/* Animated white line */
#content #hero .scroll::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;

  width: 1px;
  height: 35px;

  background: #ffffff !important;

  transform: translateX(-50%);
  transform-origin: center;

  animation: scrollLineFlow 2.4s linear infinite !important;
  will-change: clip-path;
}

/* Line flows from top to bottom */
@keyframes scrollLineFlow {

  /* No line */
  0% {
    clip-path: inset(0 0 100% 0);
  }

  /* Line grows downward */
  35% {
    clip-path: inset(0 0 0 0);
  }

  /* Full line */
  48% {
    clip-path: inset(0 0 0 0);
  }

  /* Top disappears, bottom remains */
  75% {
    clip-path: inset(100% 0 0 0);
  }

  /* Completely disappears */
  100% {
    clip-path: inset(100% 0 0 0);
  }
}


/* =========================================
   MOMENTS IN TIME - NATURAL PHOTO RATIO
========================================= */

/* All photo rows */
#gallery .gallery-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 10px;
}

/* Photo containers */
#gallery .gallery-row button,
#gallery .gallery-row button:nth-child(n) {
  display: flex !important;
  flex: 0 0 auto !important;

  width: auto !important;
  height: clamp(150px, 24vh, 190px) !important;

  padding: 0 !important;
  margin: 0 !important;

  overflow: hidden;
  border: none !important;
  border-radius: 0;
  background: transparent !important;
}

/* Preserve each photo's original aspect ratio */
#gallery .gallery-row button img {
  display: block !important;

  width: auto !important;
  height: 100% !important;

  max-width: none !important;
  object-fit: contain !important;
  object-position: center;

  flex: 0 0 auto;
}

/* Mobile */
@media (max-width: 480px) {
  #gallery .gallery-row button,
  #gallery .gallery-row button:nth-child(n) {
    height: 155px !important;
  }
}



/* =========================================
   FULL PAGE LUXURY REVEAL
   ALL COMPONENTS - TOP TO BOTTOM
========================================= */

/* Every component starts hidden */
#content .reveal.visible * {
  opacity: 0;
  animation-name: luxuryFullReveal;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(.22, 1, .36, 1);
  animation-fill-mode: both;
  animation-delay: calc(var(--reveal-order, 0) * 0.12s);
}

/* Stagger every element according to sibling order */
#content .reveal.visible *:nth-child(1) {
  --reveal-order: 0;
}
#content .reveal.visible *:nth-child(2) {
  --reveal-order: 1;
}
#content .reveal.visible *:nth-child(3) {
  --reveal-order: 2;
}
#content .reveal.visible *:nth-child(4) {
  --reveal-order: 3;
}
#content .reveal.visible *:nth-child(5) {
  --reveal-order: 4;
}
#content .reveal.visible *:nth-child(6) {
  --reveal-order: 5;
}
#content .reveal.visible *:nth-child(7) {
  --reveal-order: 6;
}
#content .reveal.visible *:nth-child(8) {
  --reveal-order: 7;
}
#content .reveal.visible *:nth-child(9) {
  --reveal-order: 8;
}
#content .reveal.visible *:nth-child(10) {
  --reveal-order: 9;
}
#content .reveal.visible *:nth-child(11) {
  --reveal-order: 10;
}
#content .reveal.visible *:nth-child(12) {
  --reveal-order: 11;
}

/* Top-to-bottom fade */
@keyframes luxuryFullReveal {
  from {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
    filter: blur(3px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

/* Preserve scroll indicator animation */
#content #hero .scroll {
  animation: none !important;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  #content .reveal.visible * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* =========================================
   LUXURY PAGE TRANSITION
========================================= */

#content {
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

/* Each page */
#content > section {
  position: relative;
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* Smooth reveal when page becomes active */
#content > section.page-active {
  animation: pageFadeIn .75s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes pageFadeIn {
  from {
    opacity: .45;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #content > section.page-active {
    animation: none !important;
  }
}



/* =====================================
   FINAL - SLOW ELEGANT TEXT REVEAL
===================================== */

#content:not([hidden]) .reveal {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate3d(0, 32px, 0) !important;
  filter: blur(3px);

  transition:
    opacity 1.4s ease,
    transform 1.4s cubic-bezier(.22, 1, .36, 1),
    filter 1.4s ease,
    visibility 0s linear 1.4s !important;

  will-change: opacity, transform, filter;
}

#content:not([hidden]) .reveal.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate3d(0, 0, 0) !important;
  filter: blur(0);

  transition:
    opacity 1.4s ease,
    transform 1.4s cubic-bezier(.22, 1, .36, 1),
    filter 1.4s ease,
    visibility 0s !important;
}

/* Slightly stagger timeline elements */
#content .timeline article.reveal:nth-child(1) {
  transition-delay: .15s;
}

#content .timeline article.reveal:nth-child(2) {
  transition-delay: .35s;
}

#content .timeline article.reveal:nth-child(3) {
  transition-delay: .55s;
}


/* =====================================
   FINAL FIX - PREVENT SCROLL FLICKER
===================================== */

/* Stabilkan rendering container */
#content {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

/* Stabilkan setiap halaman */
#content > section {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

/* Smooth text reveal without blur filter */
#content:not([hidden]) .reveal {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate3d(0, 24px, 0) !important;

  filter: none !important;
  -webkit-filter: none !important;

  transition:
    opacity 1.4s ease,
    transform 1.4s cubic-bezier(.22, 1, .36, 1),
    visibility 0s linear 1.4s !important;

  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#content:not([hidden]) .reveal.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate3d(0, 0, 0) !important;

  transition:
    opacity 1.4s ease,
    transform 1.4s cubic-bezier(.22, 1, .36, 1),
    visibility 0s !important;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  #content .reveal,
  #content .reveal.visible {
    transition: none !important;
    transform: none !important;
  }
}


/* =========================================
   DEFINITIVE FIX - STOP SCROLL FLICKERING
   ========================================= */

/* 1. Remove GPU transforms from scroll layers */
#content {
  transform: none !important;
  -webkit-transform: none !important;
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
  will-change: auto !important;
  scroll-behavior: auto !important;
}

#content > section {
  transform: none !important;
  -webkit-transform: none !important;
  animation: none !important;
  will-change: auto !important;
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
}

/* 2. Stop page transition animation */
#content > section.page-active {
  animation: none !important;
  opacity: 1 !important;
}

/* 3. Disable nested stagger animations */
#content .reveal,
#content .reveal.visible,
#content .reveal *,
#content .reveal.visible * {
  animation: none !important;
  transition: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  will-change: auto !important;
}

/* 4. Stabilize image rendering */
#content img {
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
}

/* 5. Keep page background transparent */
#content,
#content > section {
  background-color: transparent;
}



/* =========================================
   RESTORE TEXT FADE - FLICKER SAFE
========================================= */

/* Tulisan sebelum masuk layar */
#content:not([hidden]) .reveal {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: none !important;
  filter: none !important;

  transition:
    opacity 1.1s ease,
    visibility 0s linear 1.1s !important;

  animation: none !important;
}

/* Fade in saat halaman terlihat */
#content:not([hidden]) .reveal.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;

  transition:
    opacity 1.1s ease,
    visibility 0s !important;
}


/* =========================================
   COMPACT RSVP - IPHONE
   Keep fullscreen, no page scrolling
========================================= */

@media (max-width: 600px) {

  #content > section#rsvp {
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;

    overflow: hidden !important;
    justify-content: center !important;
    padding: 12px 20px !important;
  }

  #rsvp .inner {
    width: 100%;
    max-width: 420px;
    margin: auto !important;
  }

  /* Compact heading */
  #rsvp .eyebrow {
    font-size: 8px;
    margin-bottom: 5px;
  }

  #rsvp .heading {
    font-size: 32px;
    margin: 5px 0 12px;
  }

  /* Compact form */
  #rsvp form {
    gap: 7px;
    margin: 10px auto 12px;
  }

  #rsvp form label {
    font-size: 9px;
    letter-spacing: 0.7px;
  }

  #rsvp form input,
  #rsvp form select {
    padding: 9px 11px;
    margin-top: 4px;
    font-size: 14px;
    min-height: 38px;
  }

  #rsvp form textarea {
    padding: 8px 11px;
    margin-top: 4px;
    font-size: 14px;
    min-height: 55px;
    height: 55px;
  }

  /* Submit button */
  #rsvp #submitWish {
    min-height: 42px;
    padding: 10px;
    width: 100%;
    font-size: 10px;
    margin-top: 2px;
    touch-action: manipulation;
  }

  #rsvp #status {
    margin: 0;
    font-size: 11px;
  }

  /* Wishes area */
  #rsvp .wishes-heading {
    font-size: 21px;
    margin: 12px 0 5px;
  }

  #rsvp #wishes {
    height: 90px;
    max-height: 90px;
    overflow-y: auto;
    margin-top: 5px;
    -webkit-overflow-scrolling: touch;
  }
}


/* =========================================
   THANK YOU - VERTICAL BANK LAYOUT
   + COPY NUMBER BUTTON
========================================= */

/* Susunan rekening Tommy dan Wini: atas-bawah */
#thank-you .bank-grid {
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  gap: 18px !important;
  width: 100%;
  max-width: 360px;
  margin: 20px auto 15px !important;
}

#thank-you .bank-grid .bank {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 10px !important;
  margin: 0 auto !important;
  text-align: center;
}

/* Tombol copy nomor rekening */
#thank-you .bank button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  min-width: 190px;
  min-height: 42px;
  padding: 10px 20px !important;
  margin: 10px auto 0 !important;

  background: #d8bd83 !important;
  color: #263b30 !important;

  border: 1px solid #d8bd83 !important;
  border-radius: 4px !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15) !important;

  font-family: 'DM Sans', sans-serif !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;

  cursor: pointer;
  transition: all 0.25s ease;
}

/* Efek ketika tombol ditekan */
#thank-you .bank button:active {
  transform: scale(0.96);
  background: #c5a66b !important;
}

/* Tampilan mobile */
@media (max-width: 480px) {
  #thank-you .bank-grid {
    gap: 10px !important;
    margin-top: 12px !important;
  }

  #thank-you .bank-grid .bank {
    padding: 8px 5px !important;
  }

  #thank-you .bank button {
    min-width: 180px;
    min-height: 40px;
    font-size: 9px !important;
  }
}



/* =========================================
   GROOM & BRIDE - REMOVE DARK OVERLAY
========================================= */

#content > section#groom.profile-hero .profile-overlay,
#content > section#bride.profile-hero .profile-overlay {
  display: none !important;
  background: transparent !important;
  opacity: 0 !important;
}

/* Pastikan foto tampil tanpa filter gelap */
#content > section#groom.profile-hero,
#content > section#bride.profile-hero {
  filter: none !important;
}

#content > section#groom.profile-hero::before,
#content > section#groom.profile-hero::after,
#content > section#bride.profile-hero::before,
#content > section#bride.profile-hero::after {
  background: transparent !important;
  opacity: 0 !important;
}


/* Subtle black glow for Meet the Groom & Bride text */
#content > section#groom.profile-hero .profile-content,
#content > section#bride.profile-hero .profile-content {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 0 4px rgba(0, 0, 0, 0.55),
    0 0 8px rgba(0, 0, 0, 0.25);
}

#content > section#groom.profile-hero .profile-content *,
#content > section#bride.profile-hero .profile-content * {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 0 4px rgba(0, 0, 0, 0.55),
    0 0 8px rgba(0, 0, 0, 0.25);
}



/* =========================================
   GLOBAL VIDEO BACKGROUND
========================================= */

.global-slideshow {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  pointer-events: none !important;
  background: #17271f;
}

.global-slideshow .background-video {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;

  width: 100% !important;
  height: 100% !important;

  min-width: 100%;
  min-height: 100%;

  object-fit: cover !important;
  object-position: center center !important;

  transform: translate(-50%, -50%) !important;
}

/* Video overlay untuk keterbacaan teks */
.global-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(13, 25, 19, 0.38);
  pointer-events: none;
}

/* Groom dan Bride tetap menggunakan foto */
#content > section#groom.profile-hero {
  background-image: url("../groom.JPG") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

#content > section#bride.profile-hero {
  background-image: url("../bride.jpg") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* Pastikan foto profile berada di atas video */
#content > section#groom.profile-hero,
#content > section#bride.profile-hero {
  position: relative !important;
  z-index: 1 !important;
}




/* =========================================
   GROOM & BRIDE — TOP RIGHT ALIGNMENT
========================================= */

#content > section#groom.profile-hero,
#content > section#bride.profile-hero {
    justify-content: flex-start !important;
    align-items: flex-end !important;
}

/* Text container */
#content > section.profile-hero .profile-content {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 640px;

    padding: 0 28px !important;
    margin: 0 !important;
    margin-top: 7vh !important;

    text-align: right !important;
}

/* THE GROOM / THE BRIDE */
#content #groom .profile-eyebrow,
#content #bride .profile-eyebrow {
    text-align: right !important;
    margin: 0 0 3px !important;
}

/* Tommy / Wini */
#content #groom .profile-first-name,
#content #bride .profile-first-name {
    text-align: right !important;
    margin: 0 0 2px !important;
    line-height: 1 !important;
}

/* Full name */
#content #groom .profile-full-name,
#content #bride .profile-full-name {
    text-align: right !important;
    margin: 0 0 6px !important;
}

/* Family information */
#content #groom .profile-family,
#content #bride .profile-family {
    text-align: right !important;
    margin: 0 0 8px !important;
    line-height: 1.3 !important;
}

/* Instagram */
#content #groom .profile-instagram,
#content #bride .profile-instagram {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center;
    margin: 4px 0 0 auto !important;
}

/* Mobile */
@media (max-width: 600px) {
    #content > section.profile-hero .profile-content {
        padding: 0 24px !important;
        margin-top: 5vh !important;
    }
}


#content #groom .profile-instagram,
#content #bride .profile-instagram {
    display: inline-flex !important;
    width: fit-content !important;
    max-width: max-content !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    padding: 8px 16px !important;
    align-self: flex-end !important;
}


/* Subtle black text shadow — The Groom */
#content #groom .profile-content,
#content #groom .profile-content * {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35) !important;
    filter: none !important;
}


/* =========================================
   STANDALONE WEDDING GIFT PAGE
========================================= */

#content > section.account-page {
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  color: var(--paper);
}

.account-page .inner {
  max-width: 460px;
}

.account-page .heading {
  margin: 8px 0 12px;
  color: var(--paper);
}

.account-description,
.account-thankyou {
  max-width: 390px;
  margin: 0 auto 18px;
  color: rgba(246, 241, 233, 0.9);
  font: 16px/1.55 'Cormorant Garamond', serif;
}

.account-page .bank-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
  max-width: 360px;
  margin: 20px auto;
}

.account-page .bank {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px 16px;
  border: 1px solid rgba(189, 167, 125, 0.8);
  background: rgba(246, 241, 233, 0.94);
  color: var(--ink);
  text-align: center;
}

.account-page .bank h3 {
  margin: 10px 0 6px;
  font: 600 clamp(25px, 6vw, 32px)
        'Cormorant Garamond', serif;
  letter-spacing: 1px;
}

.account-page .bank .button-outline {
  margin-top: 12px;
  cursor: pointer;
}

@media (max-width: 380px) {
  .account-page .bank {
    padding: 17px 12px;
  }
}

/* WEDDING GIFT — REMOVE ACCOUNT BOX */
#content .account-page .bank {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 12px 10px !important;
    color: var(--paper) !important;
}

#content .account-page .bank h3 {
    color: var(--paper) !important;
    font-size: 34px;
    letter-spacing: 2px;
}

#content .account-page .bank p {
    color: rgba(246, 241, 233, 0.9) !important;
}

#content .account-page .bank-grid {
    gap: 8px;
}

#content .account-page .bank .button-outline {
    color: var(--paper) !important;
    border-color: var(--gold) !important;
    background: transparent !important;
}


/* GOLD DIVIDER — WITH LOVE & GRATITUDE */
#content #thank-you .eyebrow::before,
#content #thank-you .eyebrow::after {
    background-color: #c9a45c !important;
    border-color: #c9a45c !important;
}


/* CONSISTENT WEDDING NAMES FONT */
#cover .cover-names .script,
#content .script,
#content .profile-first-name,
#content .profile-full-name,
#content .thank-you-names {
    font-family: 'Great Vibes', cursive !important;
    font-weight: 400 !important;
}


/* AMPERSAND — HERO PAGE ONLY */
#content > section.hero.full .inner h2.script small {
    font-family: 'Great Vibes', cursive !important;
    font-weight: 400 !important;
    font-style: normal !important;
}


/* OPENING CINEMATIC INTRO — TOMMY & WINI */
#cover .opening-intro h2,
#cover .opening-intro h2 span {
    font-family: 'Great Vibes', cursive !important;
    font-weight: 400 !important;
    font-style: normal !important;
}


/* OPEN INVITATION PAGE — TOMMY & WINI */
#cover .cover-scene .cover-top h1,
#cover .cover-scene .cover-top h1 span {
    font-family: 'Great Vibes', cursive !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

/* HERO PAGE — MOVE TEXT TO TOP */
#content #hero {
    position: relative !important;
}

#content #hero .inner.reveal {
    position: absolute !important;
    inset: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;

    width: 100% !important;
    max-width: 100% !important;
    padding: 8vh 24px 0 !important;
    margin: 0 !important;

    text-align: center !important;
}

/* KEEP SCROLL AT THE BOTTOM */
#content #hero .scroll {
    position: absolute !important;
    top: auto !important;
    bottom: 6vh !important;
    left: 0 !important;
    right: 0 !important;

    width: fit-content !important;
    margin: 0 auto !important;
}

/* THE GROOM — IMPROVED CONTRAST */
#content #groom .profile-eyebrow {
    color: #F3D9A0 !important;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.75),
        0 2px 6px rgba(0, 0, 0, 0.45) !important;
}


/* YOUR WARM WISHES - GOLD DIVIDER */
#wishesPage #wishes .wish {
    border-top: 1px solid #D8BD83 !important;
}

#wishesPage #wishes .wish:last-child {
    border-bottom: 1px solid #D8BD83 !important;
}


/* OPEN INVITATION - INCREASE GAP */
#cover .cover-scene .cover-top .scene-eyebrow {
    margin-bottom: 55px !important;
}


























