/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; background: #fdf8f3; color: #3a2e2e; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.hidden { display: none !important; }

/* ===== VARIABLES ===== */
:root {
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --gold-dark: #9a7a2e;
  --cream: #fdf8f3;
  --brown: #3a2e2e;
  --brown-light: #6b5b4e;
  --rose: #d4a0a0;
  --rose-dark: #b07070;
  --white: #ffffff;
  --shadow: 0 8px 32px rgba(58,46,46,0.12);
  --shadow-lg: 0 16px 48px rgba(58,46,46,0.18);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* ===== COVER SECTION ===== */
.cover-section {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
  background: linear-gradient(135deg, #1a0a0a 0%, #2d1515 40%, #1a0a0a 100%);
}
.cover-overlay {
  position: absolute; inset: 0;
  background: url('https://www.transparenttextures.com/patterns/arabesque.png'),
    linear-gradient(160deg, rgba(201,168,76,0.15) 0%, rgba(212,160,160,0.1) 50%, rgba(201,168,76,0.15) 100%);
  z-index: 1;
}
.cover-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cover-content {
  position: relative; z-index: 3; text-align: center; padding: 2rem;
  animation: fadeInUp 1.2s ease both;
}
.cover-bismillah {
  font-size: clamp(1.4rem, 4vw, 2.2rem); color: var(--gold-light);
  font-family: 'Playfair Display', serif; margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(201,168,76,0.4);
}
.cover-subtitle {
  font-size: 0.9rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.cover-names {
  font-family: 'Great Vibes', cursive; font-size: clamp(3.5rem, 10vw, 7rem);
  color: var(--white); line-height: 1.1; margin-bottom: 0.5rem;
  text-shadow: 0 4px 24px rgba(201,168,76,0.5);
}
.cover-names span { color: var(--gold); }
.cover-date {
  font-size: 1rem; color: var(--gold-light); letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}
.cover-divider {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 1rem 0;
}
.cover-divider span {
  display: block; width: 80px; height: 1px; background: var(--gold);
  opacity: 0.6;
}
.cover-divider i { color: var(--gold); font-size: 1rem; }
.cover-guest-label {
  font-size: 0.85rem; color: rgba(255,255,255,0.6); letter-spacing: 0.2em;
  margin-bottom: 0.3rem;
}
.cover-guest-name {
  font-family: 'Playfair Display', serif; font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--gold-light); margin-bottom: 2rem;
}
.btn-open {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white); border: none; padding: 1rem 2.5rem;
  border-radius: 50px; font-size: 1rem; font-family: 'Lato', sans-serif;
  cursor: pointer; letter-spacing: 0.1em; transition: var(--transition);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}
.btn-open:hover {
  transform: translateY(-3px); box-shadow: 0 12px 32px rgba(201,168,76,0.6);
}
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 3; color: var(--gold); animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== MUSIC PLAYER ===== */
.music-player {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 1000;
}
.music-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none; color: white; font-size: 1.2rem; cursor: pointer;
  box-shadow: 0 4px 16px rgba(201,168,76,0.5); transition: var(--transition);
  animation: musicPulse 2s infinite;
}
.music-btn:hover { transform: scale(1.1); }
@keyframes musicPulse {
  0%,100% { box-shadow: 0 4px 16px rgba(201,168,76,0.5); }
  50% { box-shadow: 0 4px 28px rgba(201,168,76,0.8); }
}

/* ===== FLOATING NAV ===== */
.floating-nav {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 1.5rem; z-index: 999; display: flex; gap: 0.5rem;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  padding: 0.6rem 1.2rem; border-radius: 50px;
  box-shadow: 0 8px 32px rgba(58,46,46,0.15);
  border: 1px solid rgba(201,168,76,0.2);
}
.floating-nav a {
  width: 40px; height: 40px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%; color: var(--brown-light);
  font-size: 1rem; transition: var(--transition);
}
.floating-nav a:hover {
  background: var(--gold); color: white; transform: translateY(-3px);
}

/* ===== SECTION BASE ===== */
.section { padding: 5rem 1.5rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  font-size: 0.8rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--brown); margin-bottom: 1rem;
}
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.ornament span {
  display: block; width: 60px; height: 1px; background: var(--gold); opacity: 0.5;
}
.ornament i { color: var(--gold); font-size: 0.9rem; }

/* ===== COUPLE SECTION ===== */
.couple-section { background: var(--cream); }
.couple-container {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap; max-width: 1000px; margin: 0 auto;
}
.couple-card {
  text-align: center; flex: 1; min-width: 240px; max-width: 320px;
  padding: 2rem; background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); transition: var(--transition);
  border: 1px solid rgba(201,168,76,0.15);
}
.couple-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.couple-photo {
  position: relative; width: 160px; height: 160px; margin: 0 auto 1.5rem;
}
.couple-photo img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 4px solid var(--gold-light);
}
.photo-frame {
  position: absolute; inset: -8px; border-radius: 50%;
  border: 2px dashed var(--gold); opacity: 0.5;
  animation: rotateSlow 20s linear infinite;
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }
.couple-name {
  font-family: 'Playfair Display', serif; font-size: 1.3rem;
  color: var(--brown); margin-bottom: 0.3rem;
}
.couple-role {
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.couple-parents { font-size: 0.9rem; color: var(--brown-light); margin-bottom: 1rem; }
.couple-social { display: flex; justify-content: center; gap: 0.8rem; }
.couple-social a {
  width: 36px; height: 36px; border-radius: 50%; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem; transition: var(--transition);
  border: 1px solid var(--gold-light);
}
.couple-social a:hover { background: var(--gold); color: white; }
.couple-heart { flex: 0 0 auto; }
.heart-pulse {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 2rem; animation: heartbeat 1.5s ease infinite;
  box-shadow: 0 8px 24px rgba(238,90,36,0.4);
}
@keyframes heartbeat {
  0%,100% { transform: scale(1); }
  14% { transform: scale(1.15); }
  28% { transform: scale(1); }
  42% { transform: scale(1.1); }
  70% { transform: scale(1); }
}

/* ===== QUOTE SECTION ===== */
.quote-section {
  position: relative; padding: 5rem 1.5rem; overflow: hidden;
  background: linear-gradient(135deg, #2d1515, #1a0a0a);
}
.quote-bg {
  position: absolute; inset: 0;
  background: url('https://www.transparenttextures.com/patterns/arabesque.png');
  opacity: 0.05;
}
.quote-content {
  position: relative; max-width: 700px; margin: 0 auto; text-align: center;
}
.quote-icon { font-size: 3rem; color: var(--gold); opacity: 0.4; margin-bottom: 1rem; }
.quote-text {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.3rem); color: rgba(255,255,255,0.85);
  line-height: 1.8; margin-bottom: 1rem;
}
.quote-source { color: var(--gold); font-size: 0.9rem; letter-spacing: 0.2em; }

/* ===== EVENT SECTION ===== */
.event-section { background: white; }
.event-container {
  display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center;
  max-width: 900px; margin: 0 auto;
}
.event-card {
  flex: 1; min-width: 280px; max-width: 400px; padding: 2.5rem 2rem;
  background: var(--cream); border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center; transition: var(--transition);
  border: 1px solid rgba(201,168,76,0.2); position: relative; overflow: hidden;
}
.event-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.event-icon {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.8rem; box-shadow: 0 8px 20px rgba(201,168,76,0.4);
}
.event-card h3 {
  font-family: 'Playfair Display', serif; font-size: 1.4rem;
  color: var(--brown); margin-bottom: 1.2rem;
}
.event-detail p {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--brown-light); margin-bottom: 0.6rem;
  text-align: left;
}
.event-detail i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.btn-maps {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.5rem; padding: 0.7rem 1.5rem; border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white; font-size: 0.9rem; transition: var(--transition);
  box-shadow: 0 4px 12px rgba(201,168,76,0.3);
}
.btn-maps:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,168,76,0.5); }

/* ===== COUNTDOWN SECTION ===== */
.countdown-section {
  position: relative; padding: 5rem 1.5rem; overflow: hidden;
  background: linear-gradient(135deg, #2d1515, #1a0a0a);
}
.countdown-bg {
  position: absolute; inset: 0;
  background: url('https://www.transparenttextures.com/patterns/arabesque.png');
  opacity: 0.05;
}
.countdown-content { position: relative; text-align: center; }
.countdown-timer {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap; margin: 2rem 0;
}
.countdown-item {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(201,168,76,0.3); border-radius: var(--radius);
  padding: 1.5rem 1.8rem; min-width: 90px; text-align: center;
}
.countdown-item span {
  display: block; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700;
  color: var(--gold); font-family: 'Playfair Display', serif; line-height: 1;
}
.countdown-item p { font-size: 0.75rem; color: rgba(255,255,255,0.7); letter-spacing: 0.2em; margin-top: 0.3rem; }
.countdown-sep { font-size: 2rem; color: var(--gold); font-weight: 700; }
.btn-calendar {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 2rem; border-radius: 50px;
  border: 2px solid var(--gold); color: var(--gold);
  font-size: 0.9rem; transition: var(--transition);
}
.btn-calendar:hover { background: var(--gold); color: white; }

/* ===== GALLERY SECTION ===== */
.gallery-section { background: var(--cream); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

/* Semua item kotak seragam */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background: var(--cream);
}

/* Foto mengisi kotak penuh, crop tengah */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(58,46,46,0.4);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5rem;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Delete button */
.gallery-delete-btn {
  display: none;
  position: absolute;
  top: 8px; right: 8px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(231,76,60,0.9);
  border: none; color: white;
  font-size: 0.8rem; cursor: pointer;
  align-items: center; justify-content: center;
  z-index: 10; transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.gallery-delete-btn:hover { background: #c0392b; transform: scale(1.1); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 90vw; max-height: 85vh; object-fit: contain;
  border-radius: var(--radius-sm); box-shadow: 0 0 60px rgba(0,0,0,0.8);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.15); border: none;
  color: white; font-size: 1.2rem; cursor: pointer; border-radius: 50%;
  width: 44px; height: 44px; display: flex; align-items: center;
  justify-content: center; transition: var(--transition);
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--gold);
}

/* ===== LOVE STORY / TIMELINE ===== */
.lovestory-section { background: white; }
.timeline {
  position: relative; max-width: 800px; margin: 0 auto; padding: 1rem 0;
}
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--gold-light), var(--gold), var(--gold-light));
  transform: translateX(-50%);
}
.timeline-item {
  display: flex; margin-bottom: 3rem; position: relative;
}
.timeline-item.left { flex-direction: row-reverse; }
.timeline-item.right { flex-direction: row; }
.timeline-dot {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem; z-index: 2;
  box-shadow: 0 4px 12px rgba(201,168,76,0.4);
}
.timeline-content {
  width: calc(50% - 40px); padding: 1.5rem; background: var(--cream);
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid rgba(201,168,76,0.15); transition: var(--transition);
}
.timeline-content:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.timeline-item.left .timeline-content { margin-right: 40px; }
.timeline-item.right .timeline-content { margin-left: 40px; }
.timeline-date {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 0.4rem;
}
.timeline-content h4 {
  font-family: 'Playfair Display', serif; font-size: 1.1rem;
  color: var(--brown); margin-bottom: 0.5rem;
}
.timeline-content p { font-size: 0.9rem; color: var(--brown-light); line-height: 1.6; }

/* ===== GIFT SECTION ===== */
.gift-section { background: var(--cream); }
.gift-desc {
  text-align: center; max-width: 600px; margin: 0 auto 2.5rem;
  color: var(--brown-light); line-height: 1.7;
}
.gift-container {
  display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center;
  max-width: 800px; margin: 0 auto;
}
.gift-card {
  flex: 1; min-width: 260px; max-width: 340px; padding: 2rem;
  background: white; border-radius: var(--radius); box-shadow: var(--shadow);
  text-align: center; border: 1px solid rgba(201,168,76,0.2);
  transition: var(--transition);
}
.gift-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gift-bank-logo {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.6rem;
}
.gift-card h4 {
  font-family: 'Playfair Display', serif; font-size: 1.2rem;
  color: var(--brown); margin-bottom: 0.8rem;
}
.gift-account {
  font-size: 1.4rem; font-weight: 700; color: var(--brown);
  letter-spacing: 0.1em; margin-bottom: 0.3rem;
}
.gift-name { font-size: 0.85rem; color: var(--brown-light); margin-bottom: 1.2rem; }
.btn-copy {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.5rem; border-radius: 50px;
  border: 2px solid var(--gold); background: transparent;
  color: var(--gold); font-size: 0.9rem; cursor: pointer;
  transition: var(--transition);
}
.btn-copy:hover { background: var(--gold); color: white; }

/* ===== RSVP SECTION ===== */
.rsvp-section { background: white; }
.rsvp-container {
  max-width: 560px; margin: 0 auto; background: var(--cream);
  border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow);
  border: 1px solid rgba(201,168,76,0.15);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 700; color: var(--brown);
  margin-bottom: 0.5rem;
}
.form-group label i { color: var(--gold); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.8rem 1rem; border-radius: var(--radius-sm);
  border: 2px solid rgba(201,168,76,0.2); background: white;
  font-family: 'Lato', sans-serif; font-size: 0.95rem; color: var(--brown);
  transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.radio-group { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.radio-label {
  flex: 1; min-width: 100px;
}
.radio-label input { display: none; }
.radio-label span {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  border: 2px solid rgba(201,168,76,0.2); background: white;
  font-size: 0.9rem; cursor: pointer; transition: var(--transition);
  color: var(--brown-light);
}
.radio-label input:checked + span {
  background: var(--gold); border-color: var(--gold); color: white;
}
.btn-submit {
  width: 100%; padding: 1rem; border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white; border: none; font-size: 1rem; font-family: 'Lato', sans-serif;
  cursor: pointer; letter-spacing: 0.1em; transition: var(--transition);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4); display: flex;
  align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.6); }
.rsvp-success {
  text-align: center; padding: 2rem;
}
.rsvp-success i { font-size: 4rem; color: #27ae60; margin-bottom: 1rem; }
.rsvp-success h3 {
  font-family: 'Playfair Display', serif; font-size: 1.5rem;
  color: var(--brown); margin-bottom: 0.5rem;
}
.rsvp-success p { color: var(--brown-light); }

/* ===== WISHES SECTION ===== */
.wishes-section { background: var(--cream); }
.wishes-container { max-width: 700px; margin: 0 auto; }
.wishes-container form {
  background: white; border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); margin-bottom: 2rem;
  border: 1px solid rgba(201,168,76,0.15);
}
.wishes-list { display: flex; flex-direction: column; gap: 1rem; }
.wish-item {
  background: white; border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); border-left: 4px solid var(--gold);
  animation: fadeInUp 0.5s ease both;
}
.wish-header {
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem;
}
.wish-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.wish-name { font-weight: 700; color: var(--brown); font-size: 0.95rem; }
.wish-time { font-size: 0.75rem; color: var(--brown-light); }
.wish-text { font-size: 0.9rem; color: var(--brown-light); line-height: 1.6; }

/* ===== CLOSING SECTION ===== */
.closing-section {
  position: relative; padding: 6rem 1.5rem; overflow: hidden;
  background: linear-gradient(135deg, #2d1515, #1a0a0a);
}
.closing-overlay {
  position: absolute; inset: 0;
  background: url('https://www.transparenttextures.com/patterns/arabesque.png');
  opacity: 0.05;
}
.closing-content {
  position: relative; text-align: center; max-width: 700px; margin: 0 auto;
}
.closing-bismillah {
  font-size: clamp(1.2rem, 3vw, 1.8rem); color: var(--gold-light);
  font-family: 'Playfair Display', serif; margin-bottom: 1.5rem;
}
.closing-content h2 {
  font-family: 'Great Vibes', cursive; font-size: clamp(3rem, 8vw, 5rem);
  color: white; margin-bottom: 0.5rem;
  text-shadow: 0 4px 20px rgba(201,168,76,0.4);
}
.closing-date { color: var(--gold); letter-spacing: 0.3em; margin-bottom: 1.5rem; }
.closing-msg {
  color: rgba(255,255,255,0.75); line-height: 1.8; max-width: 500px;
  margin: 0 auto 1.5rem; font-size: 0.95rem;
}
.closing-divider {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 1.5rem 0;
}
.closing-divider span { display: block; width: 60px; height: 1px; background: var(--gold); opacity: 0.5; }
.closing-divider i { color: var(--gold); }
.closing-thanks { color: var(--gold-light); font-style: italic; margin-bottom: 2rem; }
.closing-share p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 1rem; }
.share-buttons { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem; border-radius: 50px; border: none;
  font-size: 0.9rem; cursor: pointer; transition: var(--transition);
  font-family: 'Lato', sans-serif;
}
.share-btn.wa { background: #25D366; color: white; }
.share-btn.fb { background: #1877F2; color: white; }
.share-btn.link { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.3); }
.share-btn:hover { transform: translateY(-3px); opacity: 0.9; }

/* ===== FOOTER ===== */
.footer {
  background: #0f0505; padding: 1.5rem; text-align: center;
  color: rgba(255,255,255,0.4); font-size: 0.85rem;
}
.footer-sub { font-size: 0.75rem; margin-top: 0.3rem; opacity: 0.5; }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 5rem; left: 50%; transform: translateX(-50%) translateY(20px);
  background: rgba(58,46,46,0.95); color: white; padding: 0.8rem 1.5rem;
  border-radius: 50px; font-size: 0.9rem; z-index: 9999;
  opacity: 0; transition: all 0.3s ease; pointer-events: none;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== AOS ANIMATIONS ===== */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.85); }
[data-aos].aos-animate { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .timeline::before { left: 20px; }
  .timeline-item.left, .timeline-item.right { flex-direction: row; }
  .timeline-dot { left: 20px; }
  .timeline-content { width: calc(100% - 60px); margin-left: 60px !important; margin-right: 0 !important; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .couple-heart { order: -1; width: 100%; display: flex; justify-content: center; }
  .floating-nav { bottom: 0.8rem; padding: 0.5rem 0.8rem; }
  .floating-nav a { width: 36px; height: 36px; font-size: 0.9rem; }
  .countdown-item { padding: 1rem 1.2rem; min-width: 70px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .event-container, .gift-container { flex-direction: column; align-items: center; }
  .event-card, .gift-card { max-width: 100%; }
}

/* ── QRIS & Map (added features) ── */
.gift-qris { margin: 0.8rem 0; text-align: center; }
.qris-img { max-width: 160px; border-radius: 12px; border: 2px solid rgba(201,168,76,0.3); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.map-embed-wrap { display: none; margin-top: 1rem; border-radius: 12px; overflow: hidden; border: 2px solid rgba(201,168,76,0.2); }
.map-embed-wrap iframe { width: 100%; height: 220px; border: none; display: block; }

/* Gallery delete button (editor mode) */
.gallery-del-btn {
  display: none;
  position: absolute;
  top: 8px; right: 8px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(231,76,60,0.9);
  border: none; color: white;
  font-size: 0.8rem; cursor: pointer;
  align-items: center; justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: all 0.2s;
}
.gallery-del-btn:hover { background: #c0392b; transform: scale(1.1); }

/* ===== TURUT MENGUNDANG ===== */
.turut-section { background: white; }
.turut-container {
  max-width: 700px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.turut-card {
  text-align: center; padding: 1.5rem 1rem;
  background: var(--cream); border-radius: var(--radius);
  border: 1px solid rgba(201,168,76,0.2);
  transition: all 0.3s ease;
}
.turut-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(58,46,46,0.1);
}
.turut-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--brown);
  margin-bottom: 0.3rem;
}
.turut-relation {
  font-size: 0.82rem; color: var(--brown-light);
  font-style: italic;
}
@media (max-width: 480px) {
  .turut-container { grid-template-columns: 1fr; }
}
