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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background: #1a0f00;
  color: #3d2000;
  overflow-x: hidden;
}

/* ===== ORNAMENT DIVIDER ===== */
.ornament-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.8rem 0;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 4px;
  justify-content: center;
}

.ornament-divider::before,
.ornament-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.ornament-divider::after {
  background: linear-gradient(to left, transparent, var(--gold));
}

.ornament-divider.light {
  color: var(--gold-light);
}

.ornament-divider.light::before {
  background: linear-gradient(to right, transparent, var(--gold-light));
}

.ornament-divider.light::after {
  background: linear-gradient(to left, transparent, var(--gold-light));
}

/* ornament-line (cover page only) */
.ornament-line {
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light), transparent);
  margin: 0.4rem auto;
}

/* ===== CSS VARIABLES ===== */
:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dark: #8b6914;
  --cream: #fdf6e3;
  --cream-dark: #f5e8c0;
  --brown: #4a2800;
  --brown-light: #6b3a00;
  --dark: #1a0f00;
  --shadow: rgba(0, 0, 0, 0.4);
}

/* ===== COVER PAGE ===== */
.cover-page {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.cover-page.hide {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.cover-bg {
  position: absolute;
  inset: 0;
  background: url('img/bg.png') center/cover no-repeat;
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 15, 0, 0.55) 0%, rgba(26, 15, 0, 0.4) 50%, rgba(26, 15, 0, 0.7) 100%);
}

.cover-gunungan {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 180px;
  background: url('img/gunungan.png') center/contain no-repeat;
  opacity: 0.18;
  transition: transform 1s ease;
}

.cover-gunungan.left {
  left: -20px;
  transform: scaleX(-1);
}

.cover-gunungan.right {
  right: -20px;
}

.cover-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.cover-bismillah {
  font-size: 1.6rem;
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(201, 168, 76, 0.5);
  margin-bottom: 0.5rem;
}

.cover-label {
  font-family: 'Lato', sans-serif;
  letter-spacing: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
}

.cover-divider-line {
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0.4rem auto;
}

.cover-names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3rem, 10vw, 5rem);
  color: #fff;
  text-shadow: 0 2px 20px rgba(201, 168, 76, 0.6);
  line-height: 1.2;
}

.cover-ampersand {
  color: var(--gold-light);
  font-size: 0.7em;
}

.cover-to {
  font-size: 0.8rem;
  color: var(--cream-dark);
  letter-spacing: 2px;
  margin-top: 0.3rem;
}

.cover-guest {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--gold-light);
  font-style: italic;
}

.open-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
  transition: all 0.3s ease;
  animation: pulse-btn 2s infinite;
}

.open-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.6);
}

@keyframes pulse-btn {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
  }

  50% {
    box-shadow: 0 4px 35px rgba(201, 168, 76, 0.7);
  }
}

/* ===== MAIN CONTENT ===== */
.main-content {
  position: relative;
  z-index: 1;
}

.main-content.hidden {
  display: none;
}

/* ===== MUSIC PLAYER ===== */
.music-player {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
}

.music-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s;
}

.music-btn:hover {
  transform: scale(1.1);
}

.music-icon {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
}

.music-icon span {
  width: 3px;
  background: #fff;
  border-radius: 2px;
  animation: equalizer 1s ease-in-out infinite alternate;
}

.music-icon span:nth-child(1) {
  height: 8px;
  animation-delay: 0s;
}

.music-icon span:nth-child(2) {
  height: 16px;
  animation-delay: 0.2s;
}

.music-icon span:nth-child(3) {
  height: 12px;
  animation-delay: 0.4s;
}

.music-icon span:nth-child(4) {
  height: 20px;
  animation-delay: 0.1s;
}

.music-icon.paused span {
  animation-play-state: paused;
  height: 10px !important;
}

@keyframes equalizer {
  from {
    transform: scaleY(0.4);
  }

  to {
    transform: scaleY(1);
  }
}

/* ===== SECTIONS COMMON ===== */
.section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.section-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.section-bg-pattern {
  position: absolute;
  inset: 0;
  background: url('img/batik.png') center/cover;
  opacity: 0.08;
}

/* CSS ornamental divider replacing image dividers */
.divider-img {
  display: none;
}

/* hidden — replaced by CSS divider */
.divider-img.small {
  display: none;
}

/* CSS ornament divider */
.section-header::before,
.section-header::after {
  content: '';
  display: block;
  width: 180px;
  height: 1px;
  margin: 0.5rem auto;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.section-header::before {
  margin-bottom: 0.3rem;
}

.section-header::after {
  margin-top: 0.3rem;
}

/* Inline ornament dividers keep height structure */
.ayat-section img.divider-img,
.hero-content img.divider-img,
.closing-section img.divider-img {
  display: block;
  width: 200px;
  max-width: 90%;
  opacity: 0.7;
  margin: 0.5rem auto;
  mix-blend-mode: multiply;
}

/* Show hero dividers on dark bg with screen blend */
.hero-section img.divider-img {
  mix-blend-mode: screen;
  opacity: 0.6;
  display: block;
  width: 200px;
  max-width: 90%;
  margin: 0.5rem auto;
}

.event-section img.divider-img,
.gallery-section img.divider-img,
.wishes-section img.divider-img {
  mix-blend-mode: screen;
  opacity: 0.55;
  display: block;
  width: 200px;
  max-width: 90%;
  margin: 0.5rem auto;
}

/* Gold ornament text divider */
.gold-ornament {
  display: block;
  text-align: center;
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 8px;
  margin: 0.5rem 0;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--brown);
  font-weight: 600;
  font-style: italic;
  margin: 0.5rem 0;
}

.section-title.light {
  color: var(--cream);
}

/* ===== HERO ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('img/bg.png') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 15, 0, 0.5), rgba(26, 15, 0, 0.65));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
}

.section-bismillah {
  font-size: 1.8rem;
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
  margin-bottom: 0.8rem;
}

.section-label {
  letter-spacing: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3.5rem, 12vw, 6rem);
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 30px rgba(201, 168, 76, 0.5);
  margin: 0.5rem 0;
}

.script-ampersand {
  color: var(--gold-light);
  font-size: 0.6em;
}

.hero-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--cream-dark);
  letter-spacing: 3px;
  margin-top: 0.5rem;
}

/* ===== COUPLE ===== */
.couple-section {
  background: var(--cream);
}

.opening-text {
  font-size: 1rem;
  color: var(--brown-light);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
}

.couple-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.couple-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  width: 240px;
  box-shadow: 0 8px 30px rgba(74, 40, 0, 0.12);
  border: 1px solid var(--cream-dark);
  transition: transform 0.3s;
}

.couple-card:hover {
  transform: translateY(-6px);
}

.couple-photo-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 4px solid var(--gold);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.couple-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.couple-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--brown);
  font-weight: 600;
}

.couple-sub {
  font-size: 0.8rem;
  color: #999;
  margin: 0.3rem 0;
}

.couple-parents {
  font-size: 0.95rem;
  color: var(--brown-light);
}

.couple-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
}

.heart-icon {
  font-size: 2rem;
  color: var(--gold);
  animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.ayat-section {
  margin-top: 1.5rem;
}

.ayat-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brown-light);
  line-height: 1.8;
  max-width: 560px;
  margin: 0.8rem auto;
}

.ayat-source {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 1px;
}

/* ===== EVENT ===== */
.event-section {
  background: var(--dark);
}

.event-bg {
  position: absolute;
  inset: 0;
  background: url('img/batik.png') center/cover;
  opacity: 0.15;
}

.event-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 15, 0, 0.85), rgba(74, 40, 0, 0.85));
}

.event-cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.event-card {
  background: rgba(253, 246, 227, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  width: 240px;
  color: var(--cream);
  backdrop-filter: blur(8px);
  transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.25);
}

.event-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.event-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.event-detail-line {
  width: 60px;
  height: 1px;
  margin: 0.6rem auto;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.event-day {
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}

.event-date-big {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  line-height: 1;
  color: #fff;
  font-weight: 700;
}

.event-month {
  font-size: 0.9rem;
  color: var(--cream-dark);
  margin-bottom: 0.3rem;
}

.event-time {
  font-size: 0.95rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-top: 0.5rem;
}

.event-venue {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: #fff;
  margin-top: 0.5rem;
}

.event-address {
  font-size: 0.82rem;
  color: rgba(253, 246, 227, 0.7);
  margin-top: 0.3rem;
}

.event-maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.event-maps-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

/* ===== COUNTDOWN ===== */
.countdown-section {
  background: var(--cream);
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.countdown-item {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  min-width: 80px;
  box-shadow: 0 4px 20px rgba(74, 40, 0, 0.1);
  border: 1px solid var(--cream-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
}

.countdown-label {
  font-size: 0.7rem;
  color: var(--gold-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.countdown-sep {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
  margin-top: -0.5rem;
}

.countdown-done {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--brown);
  padding: 1rem;
}

.calendar-add-wrap {
  margin-top: 1.5rem;
}

.cal-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.cal-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.5);
}

/* ===== GALLERY ===== */
.gallery-section {
  background: var(--dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  position: relative;
  border: 2px solid rgba(201, 168, 76, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 15, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 1.8rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.hidden {
  display: none;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  border: 2px solid var(--gold);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10;
}

.lightbox-close:hover {
  color: var(--gold);
}

/* ===== GIFT ===== */
.gift-section {
  background: var(--cream);
}

.gift-desc {
  font-size: 1rem;
  color: var(--brown-light);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.gift-cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.gift-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  width: 220px;
  box-shadow: 0 8px 30px rgba(74, 40, 0, 0.1);
  border: 1px solid var(--cream-dark);
  transition: transform 0.3s;
}

.gift-card:hover {
  transform: translateY(-6px);
}

.gift-bank-logo {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.gift-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.gift-account {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown-light);
  letter-spacing: 1px;
  margin: 0.3rem 0;
}

.gift-name {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1rem;
}

.copy-btn {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(201, 168, 76, 0.4);
}

/* ===== WISHES ===== */
.wishes-section {
  background: var(--dark);
}

.wishes-sub {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.wishes-sub.light {
  color: var(--cream-dark);
}

.wishes-form {
  background: rgba(253, 246, 227, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 16px;
  padding: 2rem;
  max-width: 520px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
}

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select option {
  background: var(--dark);
  color: var(--cream);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  padding: 0.9rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4);
}

.wishes-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.wish-item {
  background: rgba(253, 246, 227, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: left;
  animation: fadeInUp 0.5s ease;
}

.wish-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.wish-item-name {
  font-weight: 700;
  color: var(--gold-light);
}

.wish-item-attend {
  font-size: 0.78rem;
  color: rgba(253, 246, 227, 0.55);
  background: rgba(201, 168, 76, 0.1);
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  white-space: nowrap;
}

.wish-item-msg {
  font-size: 0.95rem;
  color: var(--cream-dark);
  line-height: 1.6;
}

.wish-item-time {
  font-size: 0.72rem;
  color: rgba(253, 246, 227, 0.35);
  margin-top: 0.6rem;
  text-align: right;
}

.wishes-empty {
  color: rgba(253, 246, 227, 0.45);
  font-style: italic;
  font-size: 0.95rem;
  padding: 1.5rem;
  border: 1px dashed rgba(201, 168, 76, 0.2);
  border-radius: 12px;
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ===== CLOSING ===== */
.closing-section {
  background: var(--cream);
}

.closing-photo-wrap {
  width: 220px;
  height: 280px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  overflow: hidden;
  margin: 0 auto 2rem;
  border: 5px solid var(--gold);
  box-shadow: 0 8px 40px rgba(201, 168, 76, 0.3), 0 0 0 10px rgba(201, 168, 76, 0.1);
}

.closing-couple-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing-names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.5rem, 8vw, 4rem);
  color: var(--brown);
  margin: 1rem 0;
}

.closing-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brown-light);
  max-width: 500px;
  margin: 0.8rem auto;
  line-height: 1.8;
}

.closing-sign {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--brown);
  font-weight: 600;
  margin-top: 1.5rem;
}

.closing-family {
  font-size: 0.9rem;
  color: var(--gold-dark);
  margin-top: 0.5rem;
  letter-spacing: 1px;
}

.closing-footer {
  font-size: 0.75rem;
  color: #999;
  margin-top: 1.5rem;
}

/* ===== ANIMATIONS ===== */
.animate-fade-in {
  animation: fadeInUp 1s ease both;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brown);
  color: var(--gold-light);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 5000;
  border: 1px solid var(--gold-dark);
}

.toast.show {
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .couple-cards {
    flex-direction: column;
    align-items: center;
  }

  .couple-divider {
    transform: rotate(90deg);
    margin: -0.5rem 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-cards {
    flex-direction: column;
    align-items: center;
  }

  .gift-cards {
    flex-direction: column;
    align-items: center;
  }

  .countdown-grid {
    gap: 0.25rem;
  }

  .countdown-item {
    min-width: 65px;
    padding: 0.8rem;
  }

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