/* ==========================================================================
   ALNAIYA & ILHAM WEDDING INVITATION - MAIN STYLESHEET
   Clean, Premium, Responsive, Zero-dependency
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Great+Vibes&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- Reset & Base Settings --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Lock scroll saat amplop belum dibuka */
body.envelope-locked {
  overflow: hidden;
  height: 100vh;
}

/* --- Canvas Partikel / Petals Background --- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

/* --- Typography --- */
h1, h2, h3, h4, .font-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.font-cinzel {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.font-script {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
  line-height: 1.2;
}

/* Container */
.container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 2;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--text-gold); }
.text-primary { color: var(--primary); }

/* --- Section Headers --- */
.section-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-gold);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.25rem auto 2.5rem;
  max-width: 280px;
}

.section-divider::before,
.section-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.section-divider svg {
  color: var(--secondary);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* --- Buttons & Interactive Pills --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(var(--primary-rgb), 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(var(--primary-rgb), 0.55);
  filter: brightness(1.05);
}

.btn-gold {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(var(--secondary-rgb), 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(var(--secondary-rgb), 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background: rgba(var(--primary-rgb), 0.06);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

/* --- Cards --- */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2.25rem 1.75rem;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

/* ==========================================================================
   1. COVER / ENVELOPE MODAL (LAYER 1)
   ========================================================================== */
.envelope-cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: radial-gradient(circle at center, var(--bg-surface) 0%, var(--bg-main) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
  overflow: hidden;
}

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

.envelope-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 2rem;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: floatEnvelope 4s ease-in-out infinite alternate;
}

@keyframes floatEnvelope {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.envelope-ornament-top {
  width: 90px;
  height: auto;
  margin: 0 auto 1.5rem;
  color: var(--secondary);
}

.envelope-title {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  color: var(--text-gold);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.envelope-couple {
  font-family: 'Great Vibes', cursive;
  font-size: 3.5rem;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 1.75rem;
}

.guest-box {
  background: var(--bg-card-alt);
  border: 1px dashed var(--border-color);
  border-radius: 1.25rem;
  padding: 1.5rem 1.25rem;
  margin-bottom: 2rem;
}

.guest-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.guest-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary);
  word-break: break-word;
}

.guest-city {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Wax Seal Button */
.wax-seal-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #ffffff;
  padding: 1rem 2.25rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(var(--secondary-rgb), 0.5);
  transition: all 0.3s ease;
}

.wax-seal-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 30px -5px rgba(var(--secondary-rgb), 0.65);
}

.wax-seal-btn svg {
  animation: pulseRotate 2.5s infinite ease-in-out;
}

@keyframes pulseRotate {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1rem 4rem;
  position: relative;
}

.hero-bismillah {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--text-gold);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Great Vibes', cursive;
  font-size: 4.8rem;
  color: var(--primary);
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-date {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  color: var(--text-main);
  margin-bottom: 2.5rem;
  font-weight: 600;
}

/* Countdown Clock */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.countdown-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 1.2rem 0.5rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.countdown-box:hover {
  transform: translateY(-3px);
}

.countdown-num {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.countdown-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   3. AR-RUM QUOTE SECTION
   ========================================================================== */
.quote-card {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
  border-radius: 2rem;
}

.arabic-text {
  font-family: 'Amiri', 'Traditional Arabic', serif;
  font-size: 1.65rem;
  line-height: 2.2;
  color: var(--primary);
  direction: rtl;
  margin-bottom: 1.5rem;
}

.quote-translation {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.quote-source {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text-gold);
  font-weight: 600;
}

/* ==========================================================================
   4. COUPLE SECTION (MEMPELAI)
   ========================================================================== */
.couple-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.couple-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
  border-radius: 2rem;
}

.couple-avatar-wrapper {
  position: relative;
  width: 190px;
  height: 230px;
  margin: 0 auto 1.75rem;
}

.couple-avatar-frame {
  width: 100%;
  height: 100%;
  border-radius: 120px 120px 20px 20px;
  overflow: hidden;
  border: 3px solid var(--secondary);
  box-shadow: 0 15px 35px -10px rgba(var(--primary-rgb), 0.25);
  background: var(--bg-card-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.couple-avatar-frame svg,
.couple-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.couple-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.couple-title {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--text-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.couple-bio {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.couple-parent {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  font-weight: 500;
}

.couple-parent span {
  font-weight: 700;
  color: var(--primary);
}

.couple-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(var(--primary-rgb), 0.06);
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.couple-social:hover {
  background: var(--primary);
  color: #ffffff;
}

.couple-ampersand {
  font-family: 'Great Vibes', cursive;
  font-size: 4rem;
  color: var(--secondary);
  text-align: center;
  margin: -1rem 0;
}

/* ==========================================================================
   5. EVENT SCHEDULE (AKAD & RESEPSI)
   ========================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.event-card {
  border-radius: 2rem;
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
  background: rgba(var(--secondary-rgb), 0.15);
  color: var(--text-gold);
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.event-title {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.event-datetime {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed var(--border-color);
}

.event-date {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.event-time {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.event-venue {
  margin-bottom: 2rem;
}

.venue-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.venue-address {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Map Embed */
.map-embed-wrapper {
  margin-top: 2.5rem;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  height: 320px;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   6. LOVE STORY TIMELINE
   ========================================================================== */
.timeline {
  position: relative;
  padding: 1.5rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-left: 64px;
  margin-bottom: 2.5rem;
}

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

.timeline-dot {
  position: absolute;
  left: 14px;
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--secondary);
  box-shadow: 0 0 10px rgba(var(--secondary-rgb), 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-year {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-gold);
  letter-spacing: 0.15em;
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   7. GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.4rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

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

.gallery-item {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-caption {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

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

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  text-align: center;
}

.lightbox-content img,
.lightbox-content .lightbox-svg {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   8. RSVP & BUKU UCAPAN (WISHES)
   ========================================================================== */
.form-group {
  margin-bottom: 1.4rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* Radio attendance chips */
.radio-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.radio-chip-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.25s ease;
}

.radio-chip-label input {
  display: none;
}

.radio-chip-label:hover {
  border-color: var(--primary);
}

.radio-chip-label.selected {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

/* Wishes Feed */
.wishes-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.wishes-count {
  font-size: 0.85rem;
  color: var(--text-gold);
  font-weight: 700;
}

.wishes-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.wishes-list::-webkit-scrollbar {
  width: 5px;
}
.wishes-list::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 10px;
}

.wish-item {
  background: var(--bg-card-alt);
  border-radius: 1.15rem;
  padding: 1.25rem;
  border: 1px solid var(--border-light);
  animation: fadeIn 0.4s ease;
}

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

.wish-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

.wish-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-weight: 600;
}

.wish-badge.hadir {
  background: rgba(46, 125, 50, 0.15);
  color: #2e7d32;
}

.wish-badge.tidak {
  background: rgba(198, 40, 40, 0.15);
  color: #c62828;
}

.wish-badge.ragu {
  background: rgba(239, 108, 0, 0.15);
  color: #ef6c00;
}

.wish-text {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.6;
}

.wish-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ==========================================================================
   9. DIGITAL WEDDING GIFT (AMPLOP DIGITAL)
   ========================================================================== */
.gift-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.gift-tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gift-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.gift-tab-content {
  display: none;
}

.gift-tab-content.active {
  display: block;
}

.bank-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2rem 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.bank-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.bank-account-num {
  font-family: 'Cinzel', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.bank-holder {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.qris-wrapper {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 1.5rem;
  display: inline-block;
  margin: 1rem auto;
  border: 1px solid var(--border-color);
}

.qris-wrapper svg {
  max-width: 200px;
  height: auto;
  display: block;
}

/* ==========================================================================
   10. FLOATING CONTROLS & NAVIGATION
   ========================================================================== */
/* Music Player Floating Disc */
.music-control-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  cursor: pointer;
}

.vinyl-disc {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, #222 25%, #111 60%, #333 100%);
  border: 2px solid var(--secondary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: transform 0.3s ease;
}

.vinyl-disc.playing {
  animation: spinVinyl 5s linear infinite;
}

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

/* Theme Switcher Floating Pill */
.theme-selector-floating {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
}

.theme-pill-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  color: var(--primary);
  border: 1px solid var(--border-color);
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.theme-pill-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

/* Theme Drawer Modal */
.theme-drawer-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.theme-drawer-modal.active {
  display: flex;
}

.theme-drawer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 2rem;
  width: 100%;
  max-width: 440px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.theme-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin: 1.5rem 0;
}

.theme-option-card {
  border: 2px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 1.15rem 0.75rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
  background: var(--bg-surface);
}

.theme-option-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.theme-option-card.active {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.2);
}

.theme-color-preview {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.color-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-opt-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Floating Bottom Navigation Bar */
.navbar-floating {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 850;
  background: rgba(var(--bg-card-rgb), 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 0.4rem 0.6rem;
  display: flex;
  gap: 0.35rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.nav-item svg {
  width: 18px;
  height: 18px;
  margin-bottom: 2px;
}

.nav-item:hover,
.nav-item.active {
  background: var(--primary);
  color: #ffffff;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10002;
  pointer-events: none;
}

.toast {
  background: var(--primary);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Footer */
.footer {
  text-align: center;
  padding: 4rem 1rem 7rem;
  position: relative;
  border-top: 1px solid var(--border-color);
  background: var(--bg-card);
}

.footer-couple {
  font-family: 'Great Vibes', cursive;
  font-size: 3.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.footer-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero-title { font-size: 3.5rem; }
  .section-title { font-size: 2.1rem; }
  .countdown-num { font-size: 1.5rem; }
  .couple-avatar-wrapper { width: 160px; height: 195px; }
  .navbar-floating { padding: 0.35rem 0.4rem; gap: 0.2rem; }
  .nav-item { padding: 0.4rem 0.6rem; font-size: 0.65rem; }
  .nav-item svg { width: 16px; height: 16px; }
  .theme-selector-floating { left: 14px; bottom: 85px; }
  .music-control-floating { right: 14px; bottom: 85px; }
}
