/* =================================================================
   THE WEDDING OF DEDDY & LISA - LUXURY CHINESE WEDDING THEME
   Fully Responsive (Mobile-First to 4K Ultra Wide)
   ================================================================= */

:root {
  --primary-red: #6e101b;
  --dark-red: #3e050b;
  --bright-red: #8f1725;
  --gold-primary: #d4af37;
  --gold-light: #f5e4ab;
  --gold-dark: #aa8624;
  --bg-cream: #faf6f0;
  --card-bg: #ffffff;
  --text-main: #332d2d;
  --text-muted: #6e6462;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Cinzel', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-chinese: 'Noto Serif SC', serif;
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(110, 16, 27, 0.08);
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
  --border-gold: 1px solid rgba(212, 175, 55, 0.4);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

body.lock-scroll {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

/* ================= SVG UI ICONS ================= */
.ui-icon {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  vertical-align: -0.2em;
}

.ui-icon.inline {
  margin-right: 6px;
}

.spin {
  animation: spin 5s linear infinite;
}

.paused .spin {
  animation-play-state: paused;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ================= ORIENTAL CORNERS & BADGES ================= */
.oriental-corner {
  position: absolute;
  width: clamp(35px, 8vw, 55px);
  height: clamp(35px, 8vw, 55px);
  border-color: var(--gold-primary);
  opacity: 0.7;
  pointer-events: none;
}
.oriental-corner.top-left {
  top: 15px;
  left: 15px;
  border-top: 3px solid var(--gold-primary);
  border-left: 3px solid var(--gold-primary);
}
.oriental-corner.top-right {
  top: 15px;
  right: 15px;
  border-top: 3px solid var(--gold-primary);
  border-right: 3px solid var(--gold-primary);
}
.oriental-corner.bottom-left {
  bottom: 15px;
  left: 15px;
  border-bottom: 3px solid var(--gold-primary);
  border-left: 3px solid var(--gold-primary);
}
.oriental-corner.bottom-right {
  bottom: 15px;
  right: 15px;
  border-bottom: 3px solid var(--gold-primary);
  border-right: 3px solid var(--gold-primary);
}

.chinese-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}
.chinese-symbol {
  font-family: var(--font-chinese);
  font-size: clamp(2.8rem, 10vw, 4rem);
  color: var(--gold-primary);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.chinese-symbol-small {
  display: block;
  font-family: var(--font-chinese);
  font-size: clamp(2rem, 6vw, 2.5rem);
  color: var(--gold-primary);
  margin-bottom: 8px;
}
.chinese-symbol-tiny {
  display: block;
  font-family: var(--font-chinese);
  font-size: 1.8rem;
  color: var(--gold-primary);
  margin-bottom: 6px;
}
.chinese-sub {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: var(--gold-light);
  margin-top: 4px;
  font-family: var(--font-heading);
}

/* ================= COVER / HERO POPUP (AMPLOP PEMBUKA) ================= */
.cover-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 60%, #200206 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #fff;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.9s ease;
  min-height: 100vh;
  min-height: 100dvh;
}

.cover-overlay.opened {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.cover-content {
  max-width: 480px;
  width: 100%;
  animation: fadeInDown 1.1s ease;
  padding: 10px 0;
}

.wedding-intro {
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 2.5vw, 0.85rem);
  letter-spacing: 4px;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.couple-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 9vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
}

.chinese-names {
  font-family: var(--font-chinese);
  color: var(--gold-light);
  font-size: clamp(1rem, 4vw, 1.3rem);
  letter-spacing: 6px;
  margin: 6px 0 12px;
}

.wedding-date-tag {
  font-size: clamp(0.8rem, 2.8vw, 0.9rem);
  color: #f7ded3;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.guest-card {
  background: rgba(255, 255, 255, 0.08);
  border: var(--border-gold);
  border-radius: 14px;
  padding: 18px 14px;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.guest-label {
  font-size: clamp(0.72rem, 2.4vw, 0.82rem);
  color: #f3dedf;
}

.guest-name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 5.5vw, 2rem);
  color: var(--gold-light);
  margin: 8px 0;
  font-weight: 600;
  word-break: break-word;
}

.guest-note {
  font-size: clamp(0.62rem, 2vw, 0.72rem);
  color: #e5cbcd;
}

.btn-open {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: var(--dark-red);
  border: none;
  padding: 13px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: clamp(0.82rem, 2.8vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-open:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

/* ================= FLOATING AUDIO BUTTON ================= */
.audio-player {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}
.audio-player.hidden {
  display: none;
}
.audio-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-red);
  color: var(--gold-light);
  border: 2px solid var(--gold-primary);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.audio-btn:hover {
  transform: scale(1.1);
}
.audio-btn .ui-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* ================= CONTAINER & SECTION GENERAL ================= */
.container {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  padding: clamp(55px, 9vw, 85px) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(30px, 6vw, 45px);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6.5vw, 2.7rem);
  color: var(--primary-red);
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(0.85rem, 2.8vw, 0.95rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
  min-height: 80vh;
  min-height: 80dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(30, 4, 8, 0.72), rgba(30, 4, 8, 0.78)),
              url('../images/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 50px 18px;
}

.hero-inner {
  max-width: 680px;
  width: 100%;
}

.sub-greeting {
  font-family: var(--font-heading);
  letter-spacing: clamp(3px, 1.5vw, 6px);
  font-size: clamp(0.72rem, 2.5vw, 0.88rem);
  color: var(--gold-light);
  margin-bottom: 8px;
}

.hero-names {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 9.5vw, 4.2rem);
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.gold-divider {
  margin: 15px 0;
  color: var(--gold-primary);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  height: 1px;
  width: clamp(40px, 10vw, 80px);
  background: linear-gradient(to right, transparent, var(--gold-primary), transparent);
  margin: 0 12px;
}

.hero-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  color: #f7ded3;
  margin-bottom: 10px;
  line-height: 1.4;
}

.hero-verse {
  font-family: var(--font-chinese);
  font-size: clamp(0.85rem, 2.8vw, 1rem);
  letter-spacing: 2px;
  color: var(--gold-light);
}

/* ================= COUPLE SECTION ================= */
.couple-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

@media (min-width: 768px) {
  .couple-grid {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }
}

.couple-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 35px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: var(--border-gold);
  flex: 1;
  max-width: 380px;
  width: 100%;
}

.photo-frame {
  position: relative;
  width: clamp(150px, 40vw, 190px);
  height: clamp(150px, 40vw, 190px);
  margin: 0 auto 22px;
}

.frame-border {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold-primary);
  padding: 4px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(110, 16, 27, 0.15);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.badge-role {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-red);
  color: var(--gold-light);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  border: 1px solid var(--gold-primary);
  white-space: nowrap;
}

.person-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 5vw, 1.9rem);
  color: var(--primary-red);
  font-weight: 700;
  margin-bottom: 4px;
}

.person-chinese-name {
  font-family: var(--font-chinese);
  font-size: 1rem;
  color: var(--gold-dark);
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.family-tree {
  font-size: clamp(0.82rem, 2.6vw, 0.9rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.family-tree strong {
  color: var(--text-main);
}

.ampersand-divider {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  color: var(--gold-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= COUNTDOWN SECTION ================= */
.countdown-section {
  background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%);
  color: #fff;
  text-align: center;
}

.countdown-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5.5vw, 2.3rem);
  color: var(--gold-light);
  margin-bottom: 4px;
}

.countdown-sub {
  font-size: clamp(0.8rem, 2.8vw, 0.95rem);
  color: #fcebe6;
  margin-bottom: 25px;
}

.countdown-wrapper {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 2.5vw, 15px);
  margin-bottom: 30px;
  width: 100%;
}

.time-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: clamp(10px, 3vw, 15px) clamp(6px, 2vw, 12px);
  flex: 1;
  max-width: 85px;
  min-width: 0;
  backdrop-filter: blur(5px);
}

.time-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 5vw, 2.1rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}

.time-label {
  font-size: clamp(0.6rem, 2vw, 0.72rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f7ded3;
  margin-top: 4px;
  display: block;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-size: clamp(0.78rem, 2.5vw, 0.86rem);
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: var(--gold-primary);
  color: var(--dark-red);
}

/* ================= EVENT DETAILS SECTION ================= */
.events-grid.single-focus {
  max-width: 480px;
  margin: 0 auto;
}

.event-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: clamp(30px, 7vw, 40px) clamp(18px, 5vw, 28px);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gold-primary);
  position: relative;
  transition: transform 0.3s ease;
}

.event-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.68rem;
  background: var(--gold-light);
  color: var(--dark-red);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.event-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #faecee;
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-icon .ui-icon {
  width: 1.8rem;
  height: 1.8rem;
}

.event-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 5vw, 1.85rem);
  color: var(--primary-red);
  font-weight: 700;
  margin-bottom: 10px;
}

.event-divider {
  width: 45px;
  height: 2px;
  background: var(--gold-primary);
  margin: 0 auto 16px;
}

.event-date, .event-time {
  font-size: clamp(0.85rem, 2.8vw, 0.95rem);
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.event-location-name {
  font-weight: 700;
  margin-top: 18px;
  font-size: clamp(1rem, 3.2vw, 1.1rem);
  color: var(--primary-red);
}

.event-address {
  font-size: clamp(0.82rem, 2.6vw, 0.9rem);
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.4;
}

.btn-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-red);
  color: #fff;
  padding: 11px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-size: clamp(0.8rem, 2.6vw, 0.88rem);
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(110, 16, 27, 0.25);
}

.btn-map:hover {
  background: var(--dark-red);
  transform: translateY(-2px);
}

/* ================= GALLERY SECTION ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 2.5vw, 16px);
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-item.item-featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212, 175, 55, 0.25);
  position: relative;
  aspect-ratio: 1/1;
  cursor: pointer;
  background: #f0eae1;
}

@media (min-width: 600px) {
  .gallery-item {
    aspect-ratio: auto;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(62, 5, 11, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--gold-light);
}

.gallery-overlay .ui-icon {
  width: 2rem;
  height: 2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

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

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

.gallery-item:hover .gallery-overlay .ui-icon {
  transform: scale(1);
}

/* ================= LIGHTBOX MODAL ================= */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 2, 4, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-box {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 1100px;
  max-height: 96vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 80vh;
  max-height: 80dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  background: #111;
  animation: zoomIn 0.3s ease;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 80vh;
  max-height: 80dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lightbox-btn {
  background: rgba(30, 4, 8, 0.85);
  color: var(--gold-light);
  border: 1.5px solid var(--gold-primary);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  z-index: 10;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.lightbox-btn .ui-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.lightbox-btn:hover {
  background: var(--gold-primary);
  color: var(--dark-red);
  transform: scale(1.1);
}

.lightbox-btn.btn-close {
  top: 18px;
  right: 18px;
}

.lightbox-btn.btn-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-btn.btn-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-btn.btn-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-btn.btn-next:hover {
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 600px) {
  .lightbox-box {
    padding: 10px 5px;
  }
  .lightbox-img-wrapper {
    max-width: 96vw;
    max-height: 72vh;
    max-height: 72dvh;
  }
  .lightbox-btn.btn-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }
  .lightbox-btn.btn-prev {
    left: 8px;
    width: 42px;
    height: 42px;
  }
  .lightbox-btn.btn-next {
    right: 8px;
    width: 42px;
    height: 42px;
  }
}

.lightbox-footer {
  margin-top: 12px;
  z-index: 10;
}

.lightbox-counter {
  background: rgba(30, 4, 8, 0.85);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-family: var(--font-heading);
  letter-spacing: 1.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* ================= GIFT / ANGPAO SECTION ================= */
.gift-grid {
  display: flex;
  justify-content: center;
}

.gift-card {
  background: linear-gradient(135deg, #262424 0%, #121111 100%);
  color: #fff;
  border-radius: 18px;
  padding: clamp(22px, 5vw, 30px) clamp(18px, 5vw, 25px);
  width: 100%;
  max-width: 380px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.4);
  position: relative;
}

.bank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.bank-name {
  font-family: var(--font-heading);
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold-light);
}

.card-chip {
  width: 42px;
  height: 30px;
  background: linear-gradient(135deg, #d4af37, #f7e6b5);
  border-radius: 6px;
  margin-bottom: 18px;
}

.account-num {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(1.35rem, 5vw, 1.6rem);
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 10px;
}

.account-owner {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.account-owner strong {
  font-size: 0.95rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.btn-copy {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 10px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-copy:hover {
  background: var(--gold-primary);
  color: var(--dark-red);
}

/* ================= RSVP & WISHES SECTION ================= */
.rsvp-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

@media (min-width: 850px) {
  .rsvp-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
}

.rsvp-form {
  background: var(--card-bg);
  border-radius: 16px;
  padding: clamp(22px, 5vw, 30px) clamp(16px, 4vw, 24px);
  border: var(--border-gold);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-red);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dcd3d3;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  background: #fdfbf9;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-red);
  background: #fff;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(110, 16, 27, 0.25);
  transition: all 0.3s;
}

.btn-submit:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.form-status {
  text-align: center;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 500;
}
.form-status.success { color: #1e7e34; }
.form-status.error { color: #dc3545; }

/* Wishes Container */
.wishes-container {
  background: var(--card-bg);
  border-radius: 16px;
  padding: clamp(22px, 5vw, 30px) clamp(16px, 4vw, 22px);
  border: var(--border-gold);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.wishes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0e6e6;
}

.wishes-header h4 {
  font-size: 1.05rem;
  color: var(--primary-red);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-refresh {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: transform 0.4s ease, color 0.3s;
}
.btn-refresh:hover {
  color: var(--primary-red);
  transform: rotate(180deg);
}

.wishes-list {
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
}

.wishes-list::-webkit-scrollbar {
  width: 4px;
}
.wishes-list::-webkit-scrollbar-thumb {
  background: #d8c2c4;
  border-radius: 10px;
}

.wish-card {
  background: #fdfaf6;
  border: 1px solid #ede3e4;
  border-radius: 12px;
  padding: 12px 14px;
  border-left: 4px solid var(--primary-red);
  animation: fadeIn 0.4s ease;
}

.wish-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.wish-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-red);
}

.wish-badge {
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 600;
}
.wish-badge.hadir {
  background: #e6f4ea;
  color: #137333;
}
.wish-badge.tidak {
  background: #fce8e6;
  color: #c5221f;
}
.wish-badge.ragu {
  background: #fef7e0;
  color: #b06000;
}

.wish-text {
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.45;
  white-space: pre-line;
}

.wish-time {
  font-size: 0.7rem;
  color: #9c9290;
  margin-top: 5px;
  text-align: right;
}

/* ================= FOOTER ================= */
.footer-section {
  background: linear-gradient(180deg, var(--bg-cream) 0%, #31050a 100%);
  color: #fff;
  text-align: center;
  padding: clamp(60px, 9vw, 80px) 20px 30px;
}

.footer-thanks {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5.5vw, 2.3rem);
  color: var(--gold-light);
  margin-bottom: 12px;
}

.footer-text {
  font-size: clamp(0.82rem, 2.6vw, 0.9rem);
  color: #f1dedb;
  max-width: 580px;
  margin: 0 auto 25px;
  line-height: 1.6;
}

.footer-regards {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-style: italic;
  margin-bottom: 4px;
}

.footer-couple {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 7.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.family-name {
  font-size: 0.82rem;
  color: #d8c2c4;
  margin-bottom: 35px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 0.72rem;
  color: #bfa6a8;
}

/* ================= TOAST NOTIFICATION ================= */
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #242121;
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.82rem;
  z-index: 10000;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ================= ANIMATIONS & SCROLL ================= */
.fade-on-scroll {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
