/* ============================================
   0. FONT
   ============================================ */
@font-face {
  font-family: "Aston Script";
  src: url("./aset/fonts/aston-script.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

/* ============================================
   1. RESET & GLOBAL
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  --section-bg-fallback: linear-gradient(180deg, #f6f2eb 0%, #e8eef4 100%);
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: #1a1a1a;
  background-color: #f5f5f5;
}

.invitation-wrapper {
  min-height: 100vh;
}

.hero-right-content > section,
.hero-right-content > footer {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

/* ============================================
   2. HERO STRUCTURE
   ============================================ */
.hero {
  display: flex;
  min-height: 100vh;
}

.hero-right {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  height: 100vh;
}

/* Bagian video/card tetap sticky di atas */
.hero-right-fixed {
  position: sticky;
  top: 0;
  min-height: 100vh;
  flex-shrink: 0;
}

/* Content sections di dalam hero-right */
.hero-right-content {
  display: none;
  background: #fff;
}

.hero-right-content.show {
  display: block !important;
}

/* ============================================
   3. HERO LEFT
   ============================================ */
.hero-left {
  flex: 3;
  position: relative;
  background-image: var(--photo-hero-left-bg, url("./aset/VINTAGE09-LAND-UPSCALE-PII.jpg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
}

.hero-left-inner {
  position: relative;
  max-width: 640px;
  text-align: center;
  color: #5b6c8a;
}

.hero-subtitle {
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #3b4a6b;
}

.hero-names {
  font-family: "Great Vibes", "Playfair Display", serif;
  font-size: 3rem;
  color: #d1a96b;
  margin-bottom: 2rem;
}

.hero-name-line {
  display: block;
  margin-bottom: 0.3rem;
}

.hero-name-and {
  display: block;
  margin: 0.3rem 0;
}

.hero-quote {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4f5f7f;
  margin-bottom: 1rem;
}

.hero-quote-ref {
  font-size: 0.85rem;
  font-weight: 600;
  color: #5f6f8f;
}

/* ============================================
   4. HERO RIGHT (STATIC STATE)
   ============================================ */
.hero-right {
  flex: 2;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}

.hero-right-fixed {
  position: relative;
  min-height: 100vh;
  background-image: var(--photo-hero-right-bg, url("./aset/optimized/foto.jpg"));
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-right-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 24, 35, 0.12) 0%, rgba(18, 24, 35, 0.18) 18%, rgba(33, 47, 68, 0.2) 48%, rgba(109, 151, 205, 0.3) 82%, rgba(132, 180, 224, 0.42) 100%),
    radial-gradient(circle at center 34%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 44%);
}

body.invitation-open .hero-right-overlay {
  display: none;
}


/* CARD AWAL */
.hero-card {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(100%, 26.5rem);
  margin: min(45svh, 23rem) auto 0;
  padding: 0 clamp(1rem, 3.2vw, 1.75rem) clamp(1.1rem, 2.5vw, 2rem);
  color: #ffffff;
  text-shadow: 0 5px 16px rgba(0, 0, 0, 0.14);
}

.card-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(0.64rem, 0.9vw + 0.38rem, 0.8rem);
  letter-spacing: clamp(0.14em, 0.28vw, 0.22em);
  text-transform: uppercase;
  margin-bottom: clamp(0.65rem, 1.6vw, 1rem);
  color: rgba(255, 255, 255, 0.92);
}

.card-names {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.72rem, 3.6vw + 0.38rem, 3.05rem);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: clamp(0.82rem, 1.8vw, 1.35rem);
  color: #ffffff;
  white-space: nowrap;
  text-align: center;
}

.card-dear {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(0.8rem, 0.6vw + 0.56rem, 0.92rem);
  margin-bottom: clamp(0.35rem, 1vw, 0.55rem);
  color: rgba(255, 255, 255, 0.9);
}

.card-guest-name {
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 1.2vw + 0.48rem, 1.28rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: clamp(1rem, 2.2vw, 1.5rem);
  color: #ffffff;
}

/* BUTTON OPEN */
.btn-primary {
  font-family: "Cormorant Garamond", serif !important;
  font-size: clamp(0.88rem, 0.65vw + 0.6rem, 0.98rem);
  padding: clamp(0.72rem, 1vw + 0.44rem, 0.9rem) clamp(1.2rem, 3vw, 1.7rem);
  min-width: min(100%, 18.75rem);
  background: linear-gradient(135deg, #6e94bf 0%, #88a9cd 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: clamp(0.06em, 0.2vw, 0.11em);
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(50, 79, 138, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover {
  filter: brightness(1.03);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(50, 79, 138, 0.26);
}

/* ============================================
   5. VIDEO MODE HERO-RIGHT
   ============================================ */

/* TOMBOL PLAY/PAUSE MINI — DEFAULT */
.mute-btn {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 34px;
  height: 34px;
  background: #ffffff;
  border-radius: 50%;
  border: 2px solid #456482;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 20;
  transition: 0.2s ease;
}

.mute-btn:hover {
  transform: scale(1.08);
}

/* ICON PAUSE MINI */
.icon-pause {
  width: 9px;
  height: 14px;
  background: #456482;
  mask: url('data:image/svg+xml;utf8,<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="6" y="4" width="4" height="16" fill="%23456482"/><rect x="14" y="4" width="4" height="16" fill="%23456482"/></svg>')
    center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="6" y="4" width="4" height="16" fill="%23456482"/><rect x="14" y="4" width="4" height="16" fill="%23456482"/></svg>')
    center / contain no-repeat;
}

/* ICON PLAY MINI */
.icon-play {
  width: 13px;
  height: 13px;
  background: #456482;
  mask: url('data:image/svg+xml;utf8,<svg fill="%23456482" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polygon points="5,3 19,12 5,21"/></svg>')
    center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg fill="%23456482" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polygon points="5,3 19,12 5,21"/></svg>')
    center / contain no-repeat;
}

/* ============================
   MODE MOBILE (Super Mini)
============================== */
@media (max-width: 600px) {
  .mute-btn {
    right: 0.8rem;
    bottom: 0.8rem;
    width: 26px;     /* lebih kecil */
    height: 26px;
    border-width: 2px;
  }

  .icon-pause {
    width: 7px;
    height: 11px;
  }

  .icon-play {
    width: 10px;
    height: 10px;
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  z-index: 0 !important;
}

.hero-video-text {
  position: absolute;
  inset: 0;
  z-index: 3 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

/* Sub Judul */
.video-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}

/* Nama Pengantin = PLAYFAIR DISPLAY */
.hero-video-text .video-names span {
  font-family: 'Playfair Display', serif !important;
  font-size: 2.2rem !important;
  color: #456482 !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: block;
  margin: 0.3rem 0;
  letter-spacing: 0.05em;
}

/* Tanggal */
.video-date {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* Nama tamu di video */
.video-guest-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  margin-top: 1rem;
  color: #fff;
  font-weight: 600;
}

/* Tombol */
.video-button {
  display: inline-block;
  margin-top: 1.8rem;
  padding: 0.6rem 2rem;
  background: #456482;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-size: 1rem;
  font-family: "Cormorant Garamond", serif;
  cursor: pointer;
  pointer-events: auto;
  transition: 0.2s ease;
  text-decoration: none;
}

.video-button:hover {
  background: #324f8a;
  transform: translateY(-2px);
}

/* ============================================
   SECTION COUPLE + AYAT
============================================ */
.section-couple {
  width: 100%;
  background: var(--photo-bride-groom-bg, var(--section-bg-fallback));
  padding: 4rem 1rem 6rem;
  display: flex;
  justify-content: center;
}

.couple-wrapper {
  position: relative;
  max-width: 900px;
  text-align: center;
}

/* Foto Couple */
.couple-photo {
  width: 100%;
  max-width: 720px;
  border-radius: 20px;
  position: relative;
  z-index: 5;
}

/* Dekor bunga kiri */
.flower-left {
  position: absolute;
  left: -90px;
  bottom: 50px;
  width: 190px;
  z-index: 2;
}

/* Dekor bunga kanan */
.flower-right {
  position: absolute;
  right: -90px;
  top: 40px;
  width: 190px;
  z-index: 2;
}

/* Ayat */
.couple-text {
  margin-top: 2.5rem;
  font-family: "Cormorant Garamond", serif;
  color: #3d3d3d;
}

.couple-text .ayat {
  font-size: 1.2rem;
  line-height: 1.7;
}

.couple-text .ayat-ref {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

/* Fade in animation */
.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: 2s ease-out;
}

.fade-section.show {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Adjust */
@media(max-width: 600px) {
  .flower-left {
    left: -40px;
    width: 130px;
    bottom: 20px;
  }

  .flower-right {
    right: -40px;
    width: 130px;
    top: 10px;
  }

  .couple-text .ayat {
    font-size: 1.05rem;
  }
}


/* ============================================
   6. ANIMATION
   ============================================ */
.is-hidden {
  display: none !important;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

.fade-up-delay {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.4s ease forwards;
}

.fade-up-delay2 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.8s ease forwards;
}

.fade-up-delay3 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 2.2s ease forwards;
}

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

/* ============================================
   7. RESPONSIVE
   ============================================ */
@media (max-width: 992px) {

  .hero {
    flex-direction: column;
  }

  /* Hide hero-left on mobile/tablet */
  .hero-left {
    display: none;
  }

  .hero-right {
    width: 100%;
    min-height: 100vh;
  }

  .hero-card {
    width: min(100%, 25rem);
    margin: min(46svh, 22rem) auto 0;
    padding: 0 1.15rem 1.4rem;
  }
}

@media (max-width: 600px) {
  /* Hero-left tetap hidden di mobile */
  .hero-left {
    display: none;
  }

  .hero-right-fixed {
    background-position: center 24%;
  }

  .hero-right-overlay {
    background:
      linear-gradient(180deg, rgba(18, 24, 35, 0.08) 0%, rgba(18, 24, 35, 0.15) 16%, rgba(40, 58, 84, 0.18) 48%, rgba(106, 148, 202, 0.28) 82%, rgba(132, 180, 224, 0.4) 100%),
      radial-gradient(circle at center 28%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 40%);
  }

  .card-subtitle {
    font-size: clamp(0.58rem, 1.8vw, 0.68rem);
    letter-spacing: 0.16em;
    margin-bottom: 0.65rem;
  }

  .card-names {
    font-size: clamp(1.58rem, 5.8vw, 2.3rem);
    margin-bottom: 0.9rem;
    white-space: nowrap;
  }

  .card-dear {
    font-size: clamp(0.76rem, 2.4vw, 0.84rem);
    margin-bottom: 0.32rem;
  }

  .card-guest-name {
    font-size: clamp(0.9rem, 3.8vw, 1.05rem);
    margin-bottom: 1rem;
  }

  .hero-video-text .video-names span {
    font-size: 1.8rem !important;
    padding: 0 1rem;
  }
  
  .video-subtitle {
    font-size: 0.95rem;
  }
  
  .video-date {
    font-size: 1rem;
  }
  
  .video-guest-name {
    font-size: 1.2rem;
  }
  
  .hero-card {
    width: min(100%, 22.5rem);
    margin: min(50svh, 25rem) auto 0;
    padding: 0 0.85rem 1rem;
  }

  .btn-primary {
    min-width: min(100%, 15.5rem);
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    padding: 0.72rem 1rem;
  }
}

@media (max-width: 430px) {
  .hero-right-fixed {
    background-position: center 21%;
  }

  .hero-card {
    width: min(100%, 20.5rem);
    margin: min(52svh, 24rem) auto 0;
    padding-inline: 0.75rem;
  }

  .card-names {
    font-size: clamp(1.42rem, 5.8vw, 2rem);
    white-space: nowrap;
  }

  .card-guest-name {
    font-size: clamp(0.82rem, 3.6vw, 0.94rem);
    margin-bottom: 0.9rem;
  }

  .btn-primary {
    min-width: min(100%, 14rem);
    padding: 0.68rem 0.9rem;
  }
}

@media (max-width: 360px) {
  .hero-card {
    width: min(100%, 18.5rem);
    margin: min(54svh, 23rem) auto 0;
  }

  .card-subtitle {
    font-size: 0.56rem;
  }

  .card-names {
    font-size: clamp(1.28rem, 5.4vw, 1.72rem);
    white-space: nowrap;
  }

  .card-dear {
    font-size: 0.72rem;
  }

  .card-guest-name {
    font-size: 0.8rem;
  }

  .btn-primary {
    min-width: min(100%, 12.8rem);
    font-size: 0.76rem;
    letter-spacing: 0.06em;
  }
}

@media (max-height: 760px) and (max-width: 600px) {
  .hero-card {
    margin-top: min(54svh, 22rem);
  }
}

/* ============================================
   8. SECTION COUPLE PHOTO WITH AYAT
   ============================================ */
.section-couple-photo {
  padding: 5rem 2rem;
  background: #faf6ef;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.section-couple-photo.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-couple-photo.animate-out {
  opacity: 0;
  transform: translateY(-30px);
}

.couple-photo-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Foto Couple Center */
.couple-photo-frame {
  width: 100%;
  max-width: 450px;
  height: 320px;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  border: none;
  position: relative;
  z-index: 5;
  margin-bottom: 3rem;
  margin-top: 2rem;
  background: #fff;
}

.couple-main-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 65%;
  border-radius: 20px;
}

/* Dekorasi Bunga dengan Animasi - Posisi di dalam foto */
.flower-decor {
  position: absolute;
  z-index: 2;
  opacity: 0.92;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Bunga Kiri Bawah - Keluar dari foto, masuk ke area hero kiri */
.flower-left {
  width: 220px;
  left: -190px;
  bottom: -90px;
  transform: rotate(0deg);
  animation: floatLeft 6s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

/* Bunga Kanan Atas - Keluar dari foto, masuk ke area hero kanan luar */
.flower-right {
  width: 220px;
  right: -180px;
  top: -90px;
  animation: floatRight 5s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

/* Animasi Float untuk Bunga Kiri - Natural (0deg) seperti Wekita */
@keyframes floatLeft {
  0%, 100% {
    transform: rotate(0deg) translate(0, 0);
  }
  25% {
    transform: rotate(0deg) translate(5px, -8px);
  }
  50% {
    transform: rotate(0deg) translate(0, -12px);
  }
  75% {
    transform: rotate(0deg) translate(-5px, -8px);
  }
}

/* Animasi Float untuk Bunga Kanan - Natural tanpa rotasi */
@keyframes floatRight {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-5px, 8px);
  }
  50% {
    transform: translate(0, 12px);
  }
  75% {
    transform: translate(5px, 8px);
  }
}

/* Animasi Fade In dengan slide up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animasi Fade In dengan scale untuk bunga */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(2);
  }
  to {
    opacity: 0.92;
    transform: scale(1);
  }
}

/* Animasi Spinner untuk ornament - rotate slow */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Animasi Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Ayat Text */
.ayat-text {
  max-width: 700px;
  text-align: center;
  position: relative;
  z-index: 5;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(36px) scale(0.98);
}

.ayat-content {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #456482;
  margin-bottom: 1.5rem;
  font-style: normal;
  opacity: 0;
  transform: translateY(30px);
  text-shadow: 0 12px 24px rgba(69, 100, 130, 0.08);
}

.ayat-ref {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  color: #456482;
  font-weight: 600;
  opacity: 0;
  transform: translateY(22px);
  letter-spacing: 0.04em;
}

.section-couple-photo.animate-in .ayat-text {
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.section-couple-photo.animate-in .ayat-content {
  animation: fadeInUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.section-couple-photo.animate-in .ayat-ref {
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.section-couple-photo.animate-out .ayat-text,
.section-couple-photo.animate-out .ayat-content,
.section-couple-photo.animate-out .ayat-ref {
  opacity: 0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .couple-photo-frame {
    max-width: 500px;
    height: 350px;
  }

  .flower-left {
    width: 170px;
    left: -70px;
    bottom: -70px;
  }

  .flower-right {
    width: 170px;
    right: -70px;
    top: -70px;
  }

  .ayat-content {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .section-couple-photo {
    padding: 3rem 1rem;
  }

  .couple-photo-frame {
    max-width: 100%;
    height: 280px;
  }

  .flower-left {
    width: 120px;
    left: -50px;
    bottom: -50px;
  }

  .flower-right {
    width: 120px;
    right: -50px;
    top: -50px;
  }

  .ayat-content {
    font-size: 0.95rem;
  }

  .ayat-ref {
    font-size: 1rem;
  }
}

/* ============================================
   9. SECTION BRIDE & GROOM
   ============================================ */
.section-couple {
  padding: 5rem 2rem;
  background: var(--photo-bride-groom-bg, var(--section-bg-fallback)) center/cover no-repeat;
  background-attachment: fixed;
  position: relative;
  text-align: center;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.section-couple.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-couple.animate-out {
  opacity: 0;
  transform: translateY(-30px);
}

/* Lottie Birds Animation */
.lottie-birds-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.lottie-bird {
  position: absolute;
  width: 400px;
  height: 400px;
  opacity: 0.8;
}

/* Burung di Bride & Groom tetap besar */
.section-couple .lottie-bird {
  width: 750px;
  height: 750px;
}

/* Burung di Footer juga besar */
.footer .lottie-bird {
  width: 750px;
  height: 750px;
}

.lottie-bird-1 {
  top: 15%;
  animation: flyLottie1 25s linear infinite;
}

.lottie-bird-2 {
  top: 45%;
  animation: flyLottie2 30s linear infinite 5s;
}

.lottie-bird-3 {
  top: 30%;
  animation: flyLottie3 28s linear infinite 10s;
}

.lottie-bird-4 {
  top: 60%;
  animation: flyLottie1 22s linear infinite 3s;
}

.lottie-bird-5 {
  top: 10%;
  animation: flyLottie2 27s linear infinite 7s;
}

.lottie-bird-6 {
  top: 50%;
  animation: flyLottie3 24s linear infinite 12s;
}

@keyframes flyLottie1 {
  0% {
    right: -10%;
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    right: 110%;
    transform: translateY(0);
  }
}

@keyframes flyLottie2 {
  0% {
    right: -10%;
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
  100% {
    right: 110%;
    transform: translateY(0);
  }
}

@keyframes flyLottie3 {
  0% {
    right: -10%;
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    right: 110%;
    transform: translateY(0);
  }
}

.couple-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.80);
  padding: 4rem 3rem;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.section-title {
  font-family: 'Aston Script', 'Great Vibes', cursive;
  font-size: 3.5rem;
  color: #d1a96b;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.section-subtitle {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  color: #5a5a5a;
  max-width: 650px;
  margin: 0 auto 3.5rem;
  line-height: 1.8;
  font-style: normal;
}

.couple-profiles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  max-width: 450px;
  margin: 0 auto;
}

.profile-card {
  width: 100%;
  max-width: 380px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* Fade in untuk Neng Rita saat scroll */
.profile-card-bride.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.profile-card-bride.animate-out {
  opacity: 0;
  transform: translateY(-30px);
}

/* Fade in untuk Ahmad Yaris saat scroll */
.profile-card-groom.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.profile-card-groom.animate-out {
  opacity: 0;
  transform: translateY(-30px);
}

.profile-photo {
  width: 210px;
  height: 300px;
  margin: 0 auto 2rem;
  border-radius: 50% / 40%;
  overflow: hidden;
  border: none;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
  position: relative;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.3rem;
  color: #456482;
  margin-bottom: 0.8rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
  line-height: 1.2;
  white-space: nowrap;
}

.profile-parents {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: #7a7a7a;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
}

.profile-parents strong {
  color: #3d3d3d;
  font-weight: 600;
}

.profile-social {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 2rem;
  background: #d1a96b;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(209, 169, 107, 0.3);
}

.profile-social:hover {
  background: #b8935c;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(209, 169, 107, 0.4);
}

.couple-separator {
  font-family: "Great Vibes", cursive;
  font-size: 4.5rem;
  color: #d1a96b;
  font-weight: 400;
  text-align: center;
  line-height: 1;
  margin: 1rem 0;
  padding: 0;
}

/* ============================================
   10. SECTION COUNTDOWN
   ============================================ */
.section-countdown {
  padding: 5rem 2rem;
  background: var(--photo-acara-bg, var(--section-bg-fallback)) center/cover no-repeat;
  background-attachment: fixed;
  text-align: center;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
  position: relative;
}

.section-countdown::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(69, 100, 130, 0.20) 0%,
    rgba(69, 100, 130, 0.68) 55%,
    rgba(69, 100, 130, 0.82) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.section-countdown.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-countdown.animate-out {
  opacity: 0;
  transform: translateY(-30px);
}

.countdown-container {
  max-width: 820px;
  margin: 0 auto;
  background: transparent;
  padding: 3.75rem 1.5rem 3.25rem;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.countdown-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 0;
}

.countdown-container > * {
  position: relative;
  z-index: 1;
}

.section-countdown .section-title {
  font-family: 'Aston Script', 'Great Vibes', cursive;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  color: rgba(255, 255, 255, 0.96);
  margin-bottom: 2.1rem;
  font-weight: 400;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  white-space: normal;
  line-height: 1.3;
  opacity: 0;
}

.section-countdown.animate-in .section-title {
  animation: fadeIn 1.5s ease-out 0.3s forwards;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.75rem 0 2rem;
  flex-wrap: wrap;
  opacity: 0;
}

.section-countdown.animate-in .countdown-timer {
  animation: fadeIn 1.5s ease-out 0.6s forwards;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 78px;
  flex: 1;
  max-width: 112px;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.9rem 0.85rem;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.countdown-value {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #456482;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.countdown-label {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  color: #456482;
  font-style: italic;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.countdown-text {
  font-family: "Playfair Display", serif;
  font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.1rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  max-width: 550px;
  margin: 2rem auto 0;
  font-style: normal;
  opacity: 0;
}

/* Make event cards cleaner like the sample */
.event-card {
  background: rgba(250, 246, 239, 0.96);
  border: 2px solid rgba(69, 100, 130, 0.35);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.event-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 2px solid rgba(69, 100, 130, 0.25);
  pointer-events: none;
  z-index: 0;
}

.event-title {
  font-family: 'Aston Script', 'Great Vibes', cursive;
  color: #d1a96b;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.02em;
}

.event-day,
.event-time,
.event-location {
  text-shadow: none;
}

.section-countdown.animate-in .countdown-text {
  animation: fadeIn 1.5s ease-out 0.9s forwards;
}

/* ============================================
   11. SECTION EVENTS
   ============================================ */
.section-events {
  padding: 5rem 2rem;
  background: var(--photo-acara-bg, var(--section-bg-fallback)) center/cover no-repeat;
  background-attachment: fixed;
  position: relative;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

/* Events: staged entrance sequencing */
.events-photo-wrapper,
.section-events .section-title,
.section-events .event-card {
  opacity: 0;
  transform: translateY(24px);
}

/* Step 1: photo enters */
.section-events.animate-in .events-photo-wrapper {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: 400ms;
}

/* Step 2: title enters after photo */
.section-events.animate-in .section-title {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: 800ms;
}

/* Step 3: cards enter one-by-one (existing selectors enhanced) */
.section-events.animate-in .event-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: 1100ms;
}

.section-events.animate-in .event-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: 1400ms;
}

/* Fade-out sequencing when leaving */
.section-events.animate-out .event-card,
.section-events.animate-out .section-title,
.section-events.animate-out .events-photo-wrapper {
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 400ms ease, transform 400ms ease;
}

/* Event cards staggered fade-in and fade-out */
.event-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.event-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.section-events.animate-in .event-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 200ms;
}

.section-events.animate-in .event-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 400ms;
}

.section-events.animate-out .event-card {
  opacity: 0;
  transform: translateY(-16px);
  transition-delay: 0ms;
}

/* ============================================
   11B. SECTION LOVE STORY
   ============================================ */
.section-love-story {
  padding: 3rem 2rem;
  background: var(--photo-love-story-bg, var(--section-bg-fallback)) center/cover no-repeat;
  background-attachment: fixed;
  position: relative;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.section-love-story.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-love-story.animate-out {
  opacity: 0;
  transform: translateY(-30px);
}

.love-story-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

/* Ornament Top Center */
.love-ornament-top {
  display: block;
  width: 100px;
  margin: 0 auto 0.5rem;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
  overflow-clip-margin: content-box;
  overflow: clip;
  transition: opacity 2s ease-out;
}

.section-love-story.animate-in .love-ornament-top {
  opacity: 0.9;
}

/* Love Story Title */
.love-story-title {
  font-family: 'Aston Script', 'Great Vibes', cursive;
  font-size: 2.5rem; /* match gallery-title */
  color: #d1a96b;
  text-align: center;
  margin: 0 0 0.8rem;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
  opacity: 0;
  animation: fadeIn 1.5s ease-out 0.3s forwards;
}

.section-love-story.animate-in .love-story-title {
  animation: fadeIn 1.5s ease-out 0.3s forwards;
}

/* Love Story Photo - Same size as couple photo */
.love-story-photo {
  width: 100%;
  max-width: 900px;
  height: 170px;
  margin: 0 auto 1rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  border: none;
  opacity: 0;
}

.section-love-story.animate-in .love-story-photo {
  animation: fadeIn 1.5s ease-out 0.6s forwards;
}

.love-story-marquee {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.love-story-marquee-track {
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
  width: max-content;
  will-change: transform;
  animation: loveStoryMarquee 20s linear infinite;
}

.love-story-marquee-item {
  height: 100%;
  flex: 0 0 auto;
  width: clamp(160px, 22vw, 260px);
  overflow: hidden;
  border-radius: 12px;
  border: 3px solid #fff;
  background: #fff;
}

.love-story-marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes loveStoryMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .love-story-marquee-track {
    animation: none;
    transform: translateX(0);
  }
}

/* Love Story Subtitle */
.love-story-subtitle {
  display: none;
}

/* Love Story Content */
.love-story-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem 0.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 0.8rem + 1vw, 2rem);
}

.story-item {
  text-align: center;
  opacity: 0;
}

.section-love-story.animate-in .story-item:nth-child(1) {
  animation: fadeIn 1.5s ease-out 1.2s forwards;
}

.section-love-story.animate-in .story-item:nth-child(2) {
  animation: fadeIn 1.5s ease-out 1.5s forwards;
}

.section-love-story.animate-in .story-item:nth-child(3) {
  animation: fadeIn 1.5s ease-out 1.8s forwards;
}

.story-phase {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 0.95rem + 0.7vw, 1.4rem);
  color: #3b4a6b;
  margin: 0 0 0.4rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.06em;
}

.story-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.15rem);
  font-weight: 700;
  color: #3b4a6b;
  letter-spacing: 0.03em;
  margin: 0 0 0.6rem;
}

.story-line {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1.05rem);
  color: #3b4a6b;
  line-height: 1.65;
  margin: 0 0 0.35rem;
  font-weight: 400;
}

.story-line:last-of-type {
  margin-bottom: 0;
}

/* ============================================
   11C. SECTION GALLERY
   ============================================ */
.section-gallery {
  padding: 5rem 2rem;
  background: var(--photo-gallery-bg, var(--section-bg-fallback)) center/cover no-repeat;
  background-attachment: fixed;
  position: relative;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.section-gallery.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-gallery.animate-out {
  opacity: 0;
  transform: translateY(-30px);
}

.gallery-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

/* Gallery Ornament */
.gallery-ornament-top {
  display: block;
  width: 80px;
  margin: 0 auto 1rem;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
  overflow-clip-margin: content-box;
  overflow: clip;
  transition: opacity 2s ease-out;
}

.section-gallery.animate-in .gallery-ornament-top {
  opacity: 0.9;
}

/* Gallery Title */
.gallery-title {
  font-family: 'Aston Script', 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #d1a96b;
  text-align: center;
  margin: 0 0 3rem;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
  opacity: 0;
}

.section-gallery.animate-in .gallery-title {
  animation: fadeIn 1.5s ease-out 0.3s forwards;
}

/* Gallery Grid - Masonry Style */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.2vw, 1rem);
  opacity: 1;
  max-width: 980px;
  margin: 0 auto;
  align-items: stretch;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  border: 4px solid #fff;
  opacity: 0;
  background: #fff;
  width: 100%;
  aspect-ratio: 4 / 5;
  cursor: zoom-in;
}

/* Semua foto fade in bersamaan saat gallery masuk viewport */
.section-gallery.animate-in .gallery-item {
  animation: fadeIn 0.9s ease-out 0.45s forwards;
}

.gallery-item:hover {
  transition-delay: 0ms;
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  border-color: rgba(209, 169, 107, 0.5);
}

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

.gallery-item:focus-visible {
  outline: 3px solid rgba(69, 100, 130, 0.55);
  outline-offset: 4px;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 31, 0.82);
  backdrop-filter: blur(8px);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 960px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.gallery-lightbox-toolbar {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.gallery-lightbox-action {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.gallery-lightbox-action:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.44);
}

.gallery-lightbox-action:disabled {
  opacity: 0.42;
  cursor: default;
  transform: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.gallery-lightbox-frame {
  overflow: auto;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.3);
  -webkit-overflow-scrolling: touch;
}

.gallery-lightbox-image {
  display: block;
  width: 100%;
  max-height: calc(90vh - 120px);
  object-fit: contain;
  margin: 0 auto;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 220ms ease;
  cursor: zoom-in;
}

.gallery-lightbox-image.is-zoomed {
  transform: scale(1.85);
  cursor: zoom-out;
}

.gallery-lightbox-caption {
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  line-height: 1.5;
}

body.lightbox-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .section-gallery,
  .gallery-ornament-top,
  .gallery-title,
  .gallery-grid,
  .gallery-item,
  .gallery-item img,
  .gallery-lightbox,
  .gallery-lightbox-action,
  .gallery-lightbox-image {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .gallery-item {
    opacity: 1 !important;
  }
}

/* Responsive Love Story & Gallery */
@media (max-width: 992px) {
  .love-ornament-top { width: 90px; }
  .love-story-photo { max-width: 720px; height: 160px; }
  /* clamp() handles title/text sizes; keep photo tweaks */
  /* gap and font sizes inherit responsive clamp values */
  .love-story-title { font-size: 3rem; }
  
  /* Gallery */
  .gallery-ornament-top { width: 70px; }
  .gallery-title { font-size: 3rem; }
  .gallery-grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .love-story-container { padding: 0 0.5rem; }
  .love-ornament-top { width: 80px; }
  .love-story-photo { width: 100%; max-width: 640px; height: 150px; border-radius: 15px; }
  .love-story-subtitle { font-size: 2rem; margin-bottom: 2rem; }
  /* clamp() handles title/text sizes and spacing */
  .love-story-title { font-size: 2.5rem; }
  
  /* Gallery */
  .gallery-container { padding: 0 0.5rem; }
  .gallery-ornament-top { width: 60px; }
  .gallery-title { font-size: 2.5rem; margin-bottom: 2.5rem; }
  .gallery-grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
}

@media (max-width: 480px) {
  .love-ornament-top { width: 70px; }
  .love-story-photo { width: 100%; height: 130px; border-radius: 12px; }
  /* clamp() handles title/text sizes and spacing */
  .love-story-title { font-size: 2rem; }
  
  /* Gallery */
  .gallery-ornament-top { width: 50px; }
  .gallery-title { font-size: 2rem; margin-bottom: 2rem; }
  .gallery-grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  
  .gallery-item { 
    border-radius: 12px;
    border-width: 3px;
  }

  .gallery-lightbox {
    padding: 0.9rem;
  }

  .gallery-lightbox-dialog {
    width: 100%;
    max-height: 92vh;
    gap: 0.75rem;
  }

  .gallery-lightbox-toolbar {
    justify-content: space-between;
  }

  .gallery-lightbox-action {
    flex: 1;
    padding: 0.8rem 0.9rem;
  }

  .gallery-lightbox-frame {
    border-radius: 18px;
  }

  .gallery-lightbox-image {
    max-height: calc(92vh - 150px);
  }
}

/* ============================================
   11D. SECTION WEDDING GIFT
   ============================================ */
.section-gift {
  padding: 5rem 2rem;
  background: var(--photo-gift-bg, var(--section-bg-fallback)) center/cover no-repeat;
  background-attachment: fixed;
  position: relative;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.section-gift.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-gift.animate-out {
  opacity: 0;
  transform: translateY(-30px);
}

.gift-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

/* Gift Ornament */
.gift-ornament-top {
  display: block;
  width: 80px;
  margin: 0 auto 1rem;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
  overflow-clip-margin: content-box;
  overflow: clip;
  transition: opacity 2s ease-out;
}

.section-gift.animate-in .gift-ornament-top {
  opacity: 0.9;
}

/* Gift Title */
.gift-title {
  font-family: 'Aston Script', 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #d1a96b;
  text-align: center;
  margin: 0 0 1.5rem;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
  opacity: 0;
}

.section-gift.animate-in .gift-title {
  animation: fadeIn 1.5s ease-out 0.3s forwards;
}

/* Gift Subtitle */
.gift-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #3b4a6b;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-style: normal;
  opacity: 0;
}

.section-gift.animate-in .gift-subtitle {
  animation: fadeIn 1.5s ease-out 0.6s forwards;
}

/* Gift Accounts Grid */
.gift-accounts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  align-items: stretch;
}

@media (min-width: 900px) {
  .gift-accounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 860px;
    gap: 1.75rem;
  }
}

.section-gift.animate-in .gift-accounts {
  animation: fadeIn 1.5s ease-out 0.9s forwards;
}

/* ATM Card Style */
.gift-card-atm {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  padding: 1.8rem 1.5rem 1.5rem 1.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.586;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.35rem;
  min-height: 220px;
  width: 100%;
}

/* SeaBank Card Style - Orange Gradient */
.gift-card-seabank {
  background: linear-gradient(135deg, #c74f0c 0%, #ff6b35 50%, #ff8c42 100%);
}

.gift-card-atm:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

/* ATM Card Pattern Background */
.gift-card-atm::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ATM Header - Logo and Chip */
.atm-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 1rem;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  padding-top: 0;
  min-height: 42px;
}

.bank-logo {
  height: 32px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}

.atm-chip {
  width: 46px;
  height: 38px;
  object-fit: contain;
}

/* ATM Body - Account Info */
.atm-body {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

/* Owner Label */
.atm-owner-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.atm-account-name {
  font-family: 'Courier New', monospace;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  margin: 0;
}

/* Number Label */
.atm-number-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Number Group with Copy Button */
.atm-number-group {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
}

.atm-account-number {
  font-family: 'Courier New', monospace;
  font-size: 1.08rem;
  color: #ffffff;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  word-spacing: 0.25em;
  flex: 1;
  line-height: 1;
}

/* Copy Number Button */
.atm-copy-number {
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  color: #fff;
  font-size: 0.9rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin: 0;
  padding: 0;
  align-self: center;
}

.atm-copy-number:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.atm-copy-number:active {
  transform: scale(0.95);
}

/* Copy Button for ATM Card */
.gift-card-atm .gift-copy-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  width: 100%;
}

.gift-card-atm .gift-copy-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gift-card-atm .gift-copy-btn:active {
  transform: translateY(0);
}

/* Gift Thanks Text */
.gift-thanks {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #456482;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
  opacity: 0;
}

.section-gift.animate-in .gift-thanks {
  animation: fadeIn 1.5s ease-out 1.2s forwards;
}

/* Responsive Gift Section */
@media (max-width: 768px) {
  .gift-ornament-top { width: 60px; }
  .gift-title { font-size: 2.5rem; margin-bottom: 1.2rem; }
  .gift-subtitle { font-size: 0.95rem; margin-bottom: 2.5rem; }
  
  .gift-accounts { margin-bottom: 2rem; }
  
  .gift-card-atm {
    padding: 1.5rem 1.3rem;
  }
  
  .atm-header {
    margin-bottom: 2rem;
  }
  
  .bank-logo {
    height: 28px;
    max-width: 100px;
  }
  
  .atm-chip {
    width: 42px;
    height: 34px;
  }
  
  .atm-body {
    margin-bottom: 0;
  }
  
  .atm-owner-label {
    font-size: 0.65rem;
    margin-bottom: 0.25rem;
  }
  
  .atm-account-name { 
    font-size: 0.8rem; 
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
  }
  
  .atm-number-label {
    font-size: 0.65rem;
    margin-bottom: 0.25rem;
  }
  
  .atm-number-group {
    gap: 0.4rem;
    margin-bottom: 0.7rem;
  }
  
  .atm-account-number { 
    font-size: 1rem; 
    letter-spacing: 0.1em;
    word-spacing: 0.2em;
  }
  
  .atm-copy-number {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
    border-width: 1.5px;
  }
  
  .gift-thanks { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .section-gift { padding: 3rem 1rem; }
  .gift-ornament-top { width: 50px; }
  .gift-title { font-size: 2rem; }
  .gift-subtitle { font-size: 0.9rem; }
  
  .gift-card-atm {
    padding: 1.2rem 0.9rem;
    border-radius: 12px;
  }
  
  .atm-header {
    margin-bottom: 1.5rem;
  }
  
  .bank-logo {
    height: 22px;
    max-width: 75px;
  }
  
  .atm-chip {
    width: 36px;
    height: 28px;
  }
  
  .atm-body {
    margin-bottom: 0;
  }
  
  .atm-owner-label {
    font-size: 0.6rem;
    margin-bottom: 0.2rem;
  }
  
  .atm-account-name { 
    font-size: 0.7rem; 
    letter-spacing: 0.1em;
    line-height: 1.3;
    margin-bottom: 0.9rem;
  }
  
  .atm-number-label {
    font-size: 0.6rem;
    margin-bottom: 0.2rem;
  }
  
  .atm-number-group {
    gap: 0.3rem;
    margin-bottom: 0.6rem;
  }
  
  .atm-account-number { 
    font-size: 0.85rem; 
    letter-spacing: 0.08em;
    word-spacing: 0.15em;
  }
  
  .atm-copy-number {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    border-width: 1.5px;
    background: rgba(255, 255, 255, 0.4);
  }
  
  .gift-thanks { font-size: 0.88rem; }
}

.section-events.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-events.animate-out {
  opacity: 0;
  transform: translateY(-30px);
}

.events-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Wrapper untuk foto dan dekorasi */
.events-photo-wrapper {
  position: relative;
  width: fit-content;
  margin: 0 auto 3rem;
  padding: 2rem;
}

/* Foto Couple di atas - Sama seperti Bride & Groom */
.events-couple-photo {
  width: clamp(250px, 48vw, 350px);
  height: auto;
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  border-radius: 50% / 40%;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
  border: none;
  position: relative;
  z-index: 5;
  transition: transform 0.3s ease;
}

.events-couple-photo:hover {
  transform: scale(1.05);
}

.events-couple-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.05) contrast(1.05);
}

/* Zoom + framing khusus foto acara nikah */
.events-couple-photo img.events-main-photo {
  transform: scale(1.01);
  transform-origin: 50% 50%;
  object-position: 50% 55%;
}

/* Dekorasi Bunga untuk Events */
.events-flower-left {
  position: absolute;
  width: 180px;
  left: -60px;
  bottom: 20px;
  z-index: 3;
  opacity: 0.95;
  animation: floatLeft 6s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.events-flower-right {
  position: absolute;
  width: 180px;
  right: -60px;
  top: 20px;
  z-index: 3;
  opacity: 0.95;
  animation: floatRight 5s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.section-events .section-title {
  font-family: "Great Vibes", cursive;
  font-size: 3.5rem;
  color: #d1a96b;
  margin-bottom: 3rem;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.event-cards-wrapper {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.event-card {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  background: var(--photo-acara-bg, var(--section-bg-fallback)) center/cover no-repeat;
  background-size: cover;
  background-position: center;
  padding: 2.5rem 2rem;
  border-radius: 25px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.section-events.animate-in .event-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1100ms;
}

.section-events.animate-in .event-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1400ms;
}

.section-events.animate-out .event-card {
  opacity: 0;
  transform: translateY(-16px);
  transition-delay: 0ms;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 0;
}

.event-card > * {
  position: relative;
  z-index: 1;
}

.event-icon {
  display: none;
}

.event-title {
  font-family: "Great Vibes", cursive;
  font-size: 2.5rem;
  color: #456482;
  margin-bottom: 1.2rem;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
}

.event-day {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: #456482;
  font-weight: 600;
  margin-bottom: 0.6rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.event-time {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: #456482;
  margin-bottom: 1.2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.event-location {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  color: #456482;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.event-btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: #d1a96b;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(209, 169, 107, 0.3);
}

.event-btn:hover {
  background: #b8935c;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(209, 169, 107, 0.4);
}

/* ============================================
   12. SECTION RSVP
   ============================================ */
.section-rsvp {
  padding: 5rem 2rem;
  background: var(--photo-acara-bg, var(--section-bg-fallback)) center/cover no-repeat;
  background-attachment: fixed;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.section-rsvp.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-rsvp.animate-out {
  opacity: 0;
  transform: translateY(-30px);
}

.rsvp-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.rsvp-form {
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rsvp-input,
.rsvp-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: 0.2s ease;
}

.rsvp-input:focus,
.rsvp-textarea:focus {
  outline: none;
  border-color: #456482;
}

.rsvp-textarea {
  resize: vertical;
}

.rsvp-attendance {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 1rem 0;
}

.rsvp-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
}

.rsvp-radio input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.rsvp-submit {
  padding: 1rem 2.5rem;
  background: #456482;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.rsvp-submit.is-loading {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.rsvp-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.rsvp-submit:hover {
  background: #324f8a;
  transform: translateY(-2px);
}

.rsvp-messages {
  margin-top: 3rem;
  padding: 2rem;
  background: #faf6ef;
  border-radius: 15px;
  min-height: 200px;
}

.no-messages {
  color: #999;
  font-style: italic;
}

.message-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.message-item.is-pending {
  opacity: 0.65;
}

.message-item strong {
  color: #3d3d3d;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.message-status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.message-status.hadir {
  background: #d4edda;
  color: #155724;
}

.message-status.tidak {
  background: #f8d7da;
  color: #721c24;
}

.message-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ============================
   TOAST NOTIFICATION
============================== */
.toast-container {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(92vw, 520px);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-left: 6px solid #456482;
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 10px;
  color: #1a1a1a;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
  opacity: 0;
  transform: translateY(10px);
  transition: 0.18s ease;
  font-size: 0.95rem;
}

.toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  border-left-color: #155724;
}

.toast.error {
  border-left-color: #721c24;
}

.toast.info {
  border-left-color: #456482;
}

/* ============================================
   13. FOOTER
   ============================================ */
.footer {
  padding: 5rem 2rem;
  background: var(--photo-footer-bg, var(--section-bg-fallback)) center/cover no-repeat;
  background-attachment: fixed;
  text-align: center;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 85%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 30%, rgba(255, 255, 255, 0.75) 55%, rgba(255, 255, 255, 0.4) 80%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.footer.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.footer.animate-out {
  opacity: 0;
  transform: translateY(-30px);
}

.lottie-birds-container.is-disabled {
  display: none;
}

.performance-mode .lottie-birds-container,
.performance-mode .events-flower-left,
.performance-mode .events-flower-right,
.performance-mode .flower-decor {
  animation: none !important;
  filter: none !important;
}

.performance-mode .lottie-birds-container {
  display: none !important;
}

.performance-mode .love-story-marquee-track,
.performance-mode .gallery-item,
.performance-mode .gallery-item img,
.performance-mode .section-love-story .story-item,
.performance-mode .section-events .event-card,
.performance-mode .section-events .section-title,
.performance-mode .events-photo-wrapper {
  animation: none !important;
  transition: none !important;
}

.performance-mode .section-couple,
.performance-mode .section-countdown,
.performance-mode .section-events,
.performance-mode .section-love-story,
.performance-mode .section-gallery,
.performance-mode .section-gift,
.performance-mode .section-rsvp,
.performance-mode .footer {
  background-attachment: scroll;
}

@media (max-width: 1024px) {
  .section-couple,
  .section-countdown,
  .section-events,
  .section-love-story,
  .section-gallery,
  .section-gift,
  .section-rsvp,
  .footer {
    background-attachment: scroll;
  }
}

/* Container dengan bentuk kubah untuk Footer */
.footer-container {
  max-width: 450px;
  margin: 0 auto;
  width: min(92vw, 450px);
  padding: 0;
  background: #faf6ef;
  border-radius: 240px 240px 40px 40px;
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.15),
    inset 0 8px 20px rgba(209, 169, 107, 0.05);
  padding-bottom: 3rem;
  padding-top: 0;
  position: relative;
  z-index: 2;
  border: 6px solid rgba(209, 169, 107, 0.35);
}

/* Foto di Footer - Menyatu dengan kubah container */
.footer-photo {
  width: 100%;
  max-width: 450px;
  height: clamp(360px, 78vw, 520px);
  margin: 0 auto 3rem;
  overflow: hidden;
  padding: 12px;
  background: rgba(255, 255, 255, 0.98);
  position: relative;
  border-radius: 240px 240px 18px 18px;
  border: 6px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.14);
}

.footer-photo::before,
.footer-photo::after {
  content: none;
}

.footer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  border-radius: 220px 220px 12px 12px;
  transform: none;
}

.footer-thanks {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.95rem, 0.92rem + 0.25vw, 1.05rem);
  color: #456482;
  line-height: 1.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-style: normal;
  padding: 0 2rem;
}

.footer-couple {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: #5a5a5a;
  margin-bottom: 1rem;
  font-style: normal;
  padding: 0 2rem;
}
.footer-names {
  font-family: 'Aston Script', 'Great Vibes', cursive;
  font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2rem);
  color: #d1a96b;
  font-weight: 400;
  text-shadow: 0 2px 6px rgba(0,0,0,0.1);
  letter-spacing: 0.02em;
  padding: 0 2rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .footer {
    padding: 4rem 1.25rem;
  }

  .footer-photo {
    margin-bottom: 2.25rem;
  }

  .footer-thanks,
  .footer-names {
    padding: 0 1.25rem;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 3.25rem 1rem;
  }

  .footer-photo {
    margin-bottom: 2rem;
  }

  .footer-thanks {
    line-height: 1.8;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .footer-names {
    white-space: normal;
    line-height: 1.05;
    padding: 0 1rem;
  }
}

/* ============================================
   14. RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Tablet & Mobile */
@media (max-width: 992px) {
  .couple-container {
    padding: 3rem 2rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .couple-profiles {
    gap: 2rem;
  }

  .profile-photo {
    width: 220px;
    height: 280px;
  }

  .couple-separator {
    font-size: 3.5rem;
  }

  .profile-name {
    font-size: 2.1rem;
  }
}

@media (max-width: 768px) {
  .section-couple {
    padding: 3rem 1rem;
  }

  .couple-container {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
  }

  .couple-profiles {
    gap: 2rem;
  }

  .profile-photo {
    width: 200px;
    height: 260px;
  }

  .profile-name {
    font-size: 1.9rem;
  }

  .profile-parents {
    font-size: 0.95rem;
  }

  .couple-separator {
    font-size: 3rem;
  }

  .countdown-container {
    padding: 2.5rem 1.5rem;
  }

  .section-countdown .section-title {
    font-size: 1.8rem;
    white-space: normal;
  }

  .countdown-value {
    font-size: 2rem;
  }

  .countdown-timer {
    gap: 0.8rem;
  }

  .countdown-item {
    min-width: 65px;
    max-width: 90px;
    padding: 1rem 0.6rem;
  }

  .countdown-text {
    font-size: 0.95rem;
  }

  .events-photo-wrapper {
    padding: 1.5rem;
  }

  .events-couple-photo {
    width: clamp(235px, 58vw, 310px);
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: 50% / 40%;
  }

  .events-flower-left {
    width: 140px;
    left: -40px;
    bottom: 10px;
  }

  .events-flower-right {
    width: 140px;
    right: -40px;
    top: 10px;
  }

  .section-events .section-title {
    font-size: 3rem;
  }

  .event-cards-wrapper {
    gap: 2rem;
  }

  .event-card {
    padding: 2.5rem 2rem;
  }

  .event-title {
    font-size: 2rem;
  }

  .rsvp-attendance {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .couple-container {
    padding: 2rem 1rem;
  }

  .countdown-container {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-countdown .section-title {
    font-size: 1.5rem;
    white-space: normal;
    line-height: 1.4;
  }

  .events-photo-wrapper {
    padding: 1rem;
  }

  .events-couple-photo {
    width: clamp(215px, 74vw, 275px);
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: 50% / 40%;
    border: none;
  }

  .events-flower-left {
    width: 100px;
    left: -30px;
    bottom: 0;
  }

  .events-flower-right {
    width: 100px;
    right: -30px;
    top: 0;
  }

  .section-events .section-title {
    font-size: 2.2rem;
  }

  .event-card {
    padding: 1.8rem 1.3rem;
    min-width: 260px;
  }

  .event-title {
    font-size: 1.8rem;
  }

  .event-day {
    font-size: 0.9rem;
  }

  .event-time {
    font-size: 0.85rem;
  }

  .event-location {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .countdown-item {
    min-width: 60px;
    max-width: 75px;
    padding: 0.9rem 0.5rem;
  }

  .countdown-value {
    font-size: 1.8rem;
  }

  .countdown-label {
    font-size: 0.7rem;
  }

  .countdown-text {
    font-size: 0.88rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .profile-photo {
    width: 180px;
    height: 230px;
    border: none;
  }

  .profile-name {
    font-size: 1.6rem;
  }

  .profile-parents {
    font-size: 0.9rem;
  }

  .couple-separator {
    font-size: 2.5rem;
  }

  .profile-social {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }
}
