/* ===================================================================
   THE WEDDING OF AHMAD & NATASYA - LUXURY ROYAL STYLE
   Vanilla CSS Design System
   =================================================================== */

:root {
  /* Luxury Color Palette: Champagne Gold & Warm Alabaster */
  --gold-primary: #C5A059;
  --gold-dark: #8F6B27;
  --gold-light: #F3E5C8;
  --gold-accent: #E5C378;
  --gold-gradient: linear-gradient(135deg, #ECC880 0%, #D4AF37 50%, #A67C1E 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(236,200,128,0.15) 0%, rgba(212,175,55,0.05) 100%);
  --gold-shimmer: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);

  --bg-body: #0F1412;
  --bg-frame: #FAF7F2;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F4EFEA;
  
  --emerald-deep: #162621;
  --emerald-medium: #233D35;
  --emerald-light: #EBF2EE;

  --text-main: #2A2621;
  --text-muted: #726A60;
  --text-light: #9B948A;
  --text-white: #FFFFFF;

  --border-light: rgba(197, 160, 89, 0.25);
  --border-gold: rgba(197, 160, 89, 0.5);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 45px rgba(22, 38, 33, 0.12);
  --shadow-gold: 0 8px 25px rgba(197, 160, 89, 0.25);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-script: 'Great Vibes', cursive;
}

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(35, 61, 53, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(197, 160, 89, 0.15) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #FAF7F2;
}
::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: var(--radius-full);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
}

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

/* ===================================================================
   MAIN MOBILE CONTAINER (APP-LIKE ARCHITECTURE)
   =================================================================== */
.invitation-wrapper {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: var(--bg-frame);
  position: relative;
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.5), 0 0 10px rgba(197, 160, 89, 0.2);
  overflow: hidden;
}

/* Background Ornamental Watermark */
.invitation-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(197, 160, 89, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}

.content-layer {
  position: relative;
  z-index: 2;
  padding-bottom: 90px; /* Space for bottom nav */
}

/* ===================================================================
   FLOATING CANVAS PARTICLES (ROSE PETALS & GOLD DUST)
   =================================================================== */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 45;
}

/* ===================================================================
   FLOATING MUSIC CONTROLLER
   =================================================================== */
.music-floater {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 90;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.music-btn {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 6px 14px 6px 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.music-btn:hover {
  background: #FFFFFF;
  transform: scale(1.05);
  box-shadow: var(--shadow-gold);
}

.disc-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.5);
}

.disc-icon.spinning {
  animation: spin 6s linear infinite;
}

.music-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===================================================================
   BOTTOM NAVIGATION BAR
   =================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 12px;
  box-shadow: 0 12px 35px rgba(22, 38, 33, 0.15);
  z-index: 85;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.nav-item i {
  font-size: 15px;
  transition: transform 0.2s ease;
}

.nav-item:hover, .nav-item.active {
  color: var(--gold-dark);
  background: rgba(197, 160, 89, 0.12);
}

.nav-item.active i {
  transform: scale(1.15);
}

/* ===================================================================
   FULLSCREEN COVER SCREEN (LUXURY ENVELOPE MODAL)
   =================================================================== */
.cover-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: radial-gradient(circle at center, #264036 0%, #111e19 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: transform 1.1s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
}

.cover-card {
  width: 100%;
  max-width: 420px;
  background: #FAF7F2;
  border-radius: 28px;
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  padding: 36px 24px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cover-card::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px dashed var(--border-gold);
  border-radius: 22px;
  pointer-events: none;
}

.corner-ornament {
  position: absolute;
  width: 60px;
  height: 60px;
  pointer-events: none;
  opacity: 0.35;
}
.corner-tl { top: 12px; left: 12px; }
.corner-br { bottom: 12px; right: 12px; transform: rotate(180deg); }

.cover-badge {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.cover-names {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--emerald-deep);
  line-height: 1.15;
  margin-bottom: 4px;
}

.cover-names span {
  font-family: var(--font-script);
  font-size: 44px;
  color: var(--gold-primary);
  display: inline-block;
  margin: 0 4px;
  font-weight: 400;
}

.cover-date {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.cover-photo-frame {
  width: 210px;
  height: 270px;
  border-radius: 120px 120px 20px 20px;
  overflow: hidden;
  border: 4px solid #FFFFFF;
  box-shadow: 0 14px 35px rgba(22, 38, 33, 0.2);
  position: relative;
  margin-bottom: 22px;
}

.cover-photo-frame img {
  width: 100%;
  height: 100%;
  object-cover: cover;
  transition: transform 1.2s ease;
}

.cover-card:hover .cover-photo-frame img {
  transform: scale(1.05);
}

.guest-box {
  width: 100%;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.guest-subtitle {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.guest-name-highlight {
  font-size: 18px;
  font-weight: 700;
  color: var(--emerald-deep);
  text-transform: capitalize;
}

.btn-open-invitation {
  background: var(--gold-gradient);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-gold);
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-open-invitation::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold-shimmer);
  transition: 0.6s;
}

.btn-open-invitation:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(197, 160, 89, 0.45);
}

.btn-open-invitation:hover::after {
  left: 100%;
}

.btn-open-invitation:active {
  transform: scale(0.98);
}

/* ===================================================================
   HERO / HEADER SECTION
   =================================================================== */
.hero-section {
  padding: 70px 24px 40px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.main-title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--emerald-deep);
  line-height: 1.15;
  margin-bottom: 6px;
}

.main-title .ampersand {
  font-family: var(--font-script);
  font-size: 48px;
  color: var(--gold-primary);
  font-weight: normal;
  margin: 0 4px;
}

.sub-title {
  font-size: 11.5px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* Couple Highlight Collage in Hero */
.hero-portrait-wrap {
  margin: 30px auto 20px;
  position: relative;
  width: 260px;
  height: 340px;
}

.hero-portrait-frame {
  width: 100%;
  height: 100%;
  border-radius: 130px 130px 24px 24px;
  overflow: hidden;
  border: 5px solid #FFFFFF;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gold-ring {
  position: absolute;
  inset: -10px;
  border: 1px solid var(--gold-primary);
  border-radius: 140px 140px 30px 30px;
  pointer-events: none;
  opacity: 0.5;
}

/* Countdown Card */
.countdown-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 18px 20px;
  box-shadow: var(--shadow-md);
  margin-top: 30px;
  text-align: center;
}

.countdown-title {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 16px;
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.timer-unit {
  background: var(--bg-card-alt);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  border: 1px solid rgba(197, 160, 89, 0.2);
  transition: transform 0.3s ease;
}

.timer-unit:hover {
  transform: translateY(-2px);
}

.timer-num {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--emerald-deep);
  display: block;
  line-height: 1;
}

.timer-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
  display: block;
}

.calendar-action-btn {
  margin-top: 18px;
  background: transparent;
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.calendar-action-btn:hover {
  background: var(--gold-primary);
  color: #FFFFFF;
}

/* ===================================================================
   QURAN VERSE / ROMANTIC QUOTE
   =================================================================== */
.quote-section {
  padding: 45px 26px;
  text-align: center;
  background: var(--emerald-deep);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.bismillah-text {
  font-family: 'Traditional Arabic', serif;
  font-size: 26px;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.quote-body {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.quote-source {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 600;
}

/* ===================================================================
   BRIDE & GROOM SECTION
   =================================================================== */
.section-pad {
  padding: 55px 22px;
}

.section-header {
  text-align: center;
  margin-bottom: 35px;
}

.section-pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--emerald-deep);
  line-height: 1.2;
}

.section-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 340px;
  margin: 8px auto 0;
  line-height: 1.6;
}

.couple-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.profile-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 22px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
}

.profile-avatar-frame {
  width: 130px;
  height: 130px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold-light);
  box-shadow: var(--shadow-gold);
  position: relative;
}

.profile-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.profile-card:hover .profile-avatar-frame img {
  transform: scale(1.08);
}

.profile-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--emerald-deep);
  margin-bottom: 4px;
}

.profile-parents-label {
  font-size: 11.5px;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 8px;
}

.profile-parents {
  font-size: 12.5px;
  color: var(--text-main);
  margin-top: 2px;
}

.profile-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
  background: var(--bg-card-alt);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.profile-social-link:hover {
  background: var(--gold-gradient);
  color: #FFFFFF;
  border-color: transparent;
}

.couple-divider {
  text-align: center;
  margin: -10px 0;
}

.couple-divider span {
  font-family: var(--font-script);
  font-size: 52px;
  color: var(--gold-primary);
  display: inline-block;
  line-height: 1;
}

/* ===================================================================
   EVENT DETAILS & RUNDOWN (AKAD & RESEPSI)
   =================================================================== */
.event-section {
  background: var(--bg-card-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.event-cards-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.event-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.event-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
}

.event-box-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.event-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--gold-light);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}

.event-header-texts h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--emerald-deep);
}

.event-header-texts p {
  font-size: 11px;
  color: var(--text-muted);
}

.event-details-list {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--text-main);
}

.event-row i {
  color: var(--gold-primary);
  font-size: 15px;
  margin-top: 3px;
  width: 18px;
  text-align: center;
}

.event-actions-flex {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.btn-event-secondary, .btn-event-primary {
  flex: 1;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-event-secondary {
  background: var(--bg-card-alt);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}
.btn-event-secondary:hover {
  background: #EBE4DA;
}

.btn-event-primary {
  background: var(--gold-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-gold);
}
.btn-event-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.4);
}

/* ===================================================================
   LOVE STORY TIMELINE
   =================================================================== */
.timeline-container {
  position: relative;
  padding-left: 32px;
  margin-top: 25px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 9px;
  width: 2px;
  background: var(--gold-gradient);
}

.timeline-step {
  position: relative;
  margin-bottom: 30px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: -32px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3.5px solid var(--gold-primary);
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.4);
}

.timeline-year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.timeline-heading {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--emerald-deep);
  margin-top: 2px;
}

.timeline-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.6;
}

/* ===================================================================
   GALLERY & LIGHTBOX
   =================================================================== */
.gallery-section {
  background: var(--bg-card-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: #E8E2D9;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22, 38, 33, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item-hover-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 22px;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scale(0.8);
}

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

.gallery-item:hover::after,
.gallery-item:hover .gallery-item-hover-icon {
  opacity: 1;
}

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

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 15, 13, 0.95);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content-box {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-gold);
}

.lightbox-btn-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: #FFFFFF;
  font-size: 28px;
  background: transparent;
  transition: color 0.2s ease;
}

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

/* ===================================================================
   RSVP & WISHES GUESTBOOK
   =================================================================== */
.rsvp-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-main);
  background: var(--bg-card-alt);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

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

.form-textarea {
  resize: none;
  min-height: 90px;
}

.form-row-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* Quick Emoji Picker */
.emoji-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.emoji-btn {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 6px 10px;
  font-size: 16px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.emoji-btn:hover {
  transform: scale(1.15);
  background: #FFFFFF;
}

.btn-submit-rsvp {
  width: 100%;
  background: var(--gold-gradient);
  color: #FFFFFF;
  padding: 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: var(--shadow-gold);
  transition: all 0.3s ease;
}

.btn-submit-rsvp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(197, 160, 89, 0.4);
}

/* Wishes Feed */
.wishes-feed-header {
  margin-top: 32px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wishes-feed-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.wish-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.wish-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.wish-author {
  font-weight: 700;
  font-size: 13px;
  color: var(--emerald-deep);
}

.wish-badge {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.badge-attend {
  background: #E8F5E9;
  color: #2E7D32;
}

.badge-unsure {
  background: #FFF8E1;
  color: #F57F17;
}

.badge-absent {
  background: #FFEBEE;
  color: #C62828;
}

.wish-msg {
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.5;
}

.wish-time {
  display: block;
  font-size: 10px;
  color: var(--text-light);
  margin-top: 8px;
}

/* ===================================================================
   DIGITAL GIFT / AMPLOP DIGITAL
   =================================================================== */
.gift-section {
  background: var(--bg-card-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.bank-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bank-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

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

.bank-brand {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
}

.brand-bca { color: #005696; }
.brand-mandiri { color: #003D79; }

.bank-chip-icon {
  color: var(--gold-primary);
  font-size: 24px;
}

.bank-label {
  font-size: 11px;
  color: var(--text-muted);
}

.bank-number {
  font-family: monospace;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--emerald-deep);
  margin: 2px 0;
}

.bank-holder {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
}

.btn-copy-account {
  margin-top: 16px;
  width: 100%;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
  padding: 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-copy-account:hover {
  background: var(--gold-light);
  border-color: var(--gold-primary);
}

.btn-copy-account:active {
  transform: scale(0.98);
}

/* QRIS Card */
.qris-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.qris-frame {
  width: 170px;
  height: 170px;
  margin: 12px auto;
  padding: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.qris-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===================================================================
   FOOTER & CLOSING
   =================================================================== */
.closing-section {
  padding: 60px 24px 50px;
  text-align: center;
  position: relative;
}

.closing-message {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 360px;
  margin: 0 auto 24px;
}

.closing-thanks {
  font-family: var(--font-script);
  font-size: 38px;
  color: var(--gold-primary);
  margin-bottom: 2px;
}

.closing-names {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--emerald-deep);
}

.footer-credits {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 1px;
}

/* ===================================================================
   TOAST NOTIFICATION
   =================================================================== */
.toast-notice {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translate(-50%, -40px);
  z-index: 150;
  background: rgba(22, 38, 33, 0.95);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-size: 12.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notice.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.toast-notice i {
  color: var(--gold-accent);
}

/* ===================================================================
   ANIMATION KEYFRAMES
   =================================================================== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-gentle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.pulse-gentle {
  animation: pulse-gentle 3s ease-in-out infinite;
}

/* Media queries */
@media (max-width: 420px) {
  .cover-names {
    font-size: 32px;
  }
  .main-title {
    font-size: 36px;
  }
  .timer-num {
    font-size: 22px;
  }
}
