/* ==========================================
   STYLE UNDANGAN DIGITAL
   ========================================== */

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

:root {
  --bg-primary: #f7f4ee;
  --bg-secondary: #eee8dd;
  --bg-dark: #3a2312;
  --bg-brown: #5c3a21;
  --color-gold: #b87b48;
  --color-gold-dark: #8c562b;
  --text-dark: #2c1d11;
  --text-light: #f7f4ee;
  --text-muted: #7d6b5d;
  
  --font-serif: 'Cormorant Garamond', serif;
  --font-script: 'Great Vibes', cursive;
  --font-style-script: 'Style Script', cursive;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

/* ANTI GESER HORIZONTAL */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
  font-size: 16px;
  position: relative;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 0 30px rgba(0,0,0,0.15);
}

.main-wrapper {
  width: 100%;
  overflow-x: hidden;
}

body.grayscale-mode img {
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.svg-icon, .svg-icon-sm, .svg-icon-inline {
  display: inline-block;
  vertical-align: middle;
}
.svg-icon { width: 24px; height: 24px; }
.svg-icon-sm { width: 18px; height: 18px; }
.svg-icon-inline { width: 20px; height: 20px; margin-right: 6px; }

/* UKURAN IKON SOSMED */
.svg-icon-social {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
}

.hidden { display: none !important; }

/* BUTTONS */
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-brown);
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-action:hover {
  background-color: var(--color-gold-dark);
  transform: translateY(-2px);
}

/* COVER SCREEN / LANDING OVERLAY WITH DUAL BACKGROUND SLIDESHOW */
.cover-screen {
  position: fixed;
  inset: 0;
  max-width: 500px;
  margin: 0 auto;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 35px 20px 25px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
}

.cover-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cover-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.75);
  opacity: 0;
  animation: coverSlideFade 10s infinite ease-in-out;
}

.cover-bg-slide:nth-child(1) {
  animation-delay: 0s;
}

.cover-bg-slide:nth-child(2) {
  animation-delay: 5s;
}

@keyframes coverSlideFade {
  0% { opacity: 0; transform: scale(1) translateX(0); }
  10% { opacity: 1; }
  45% { opacity: 1; }
  55% { opacity: 0; transform: scale(1.08) translateX(-15px); }
  100% { opacity: 0; }
}

.cover-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(58, 35, 18, 0.7) 100%);
}

.cover-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cover-header {
  margin-top: 15px;
}

.cover-sub {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  letter-spacing: 1px;
}

.cover-title-style-script {
  font-family: var(--font-style-script);
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 15px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  line-height: 1.2;
}

.cover-card-clean {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(92, 58, 33, 0.55) 100%);
  padding: 25px 15px 15px;
  border-radius: 16px;
  margin-bottom: 10px;
}

.guest-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  opacity: 0.95;
  margin-bottom: 4px;
  color: var(--color-gold);
}

.guest-name {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.btn-open {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.85);
  padding: 9px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-open:hover {
  background: #fff;
  color: var(--bg-brown);
}

.guest-note {
  font-size: 0.7rem;
  margin-top: 12px;
  opacity: 0.8;
  font-style: italic;
}

/* PREMIUM FLOATING MUSIC BUTTON */
.floating-music-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1000;
  background: rgba(58, 35, 18, 0.88);
  backdrop-filter: blur(10px);
  color: var(--color-gold);
  border: 1.5px solid rgba(184, 123, 72, 0.5);
  padding: 6px 14px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-music-btn:hover {
  transform: scale(1.06);
  background: rgba(58, 35, 18, 0.98);
  border-color: var(--color-gold);
}

.music-btn-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.music-icon-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.svg-music-note {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
  transition: transform 0.3s ease;
}

.floating-music-btn.playing .svg-music-note {
  animation: musicSpinPulse 3s infinite linear;
}

@keyframes musicSpinPulse {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}

.music-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
}

/* HERO SECTION WITH DUAL BACKGROUND SLIDESHOW */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  text-align: center;
}

.hero-bg-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlideFade 12s infinite ease-in-out;
}

.hero-bg-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-bg-slide:nth-child(2) {
  animation-delay: 6s;
}

@keyframes heroSlideFade {
  0% { opacity: 0; transform: scale(1) translateY(0); }
  10% { opacity: 1; }
  45% { opacity: 1; }
  55% { opacity: 0; transform: scale(1.06) translateY(-10px); }
  100% { opacity: 0; }
}

.hero-gradient-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 20px 40px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 40%, var(--bg-brown) 100%);
  color: var(--text-light);
}

.hero-top-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  opacity: 0.95;
}

.hero-couple-names {
  font-family: var(--font-style-script);
  font-size: 3.5rem;
  margin: 5px 0 15px;
  font-weight: 400;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.hero-date {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

/* COUNTDOWN TIMER */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.countdown-box {
  background-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  min-width: 65px;
  text-align: center;
}

.countdown-box span {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.countdown-box small {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* STRIP GALERI MIKRO */
.section-strip {
  background-color: var(--bg-brown);
  color: var(--text-light);
  padding: 30px 20px;
  text-align: center;
}

.photo-strip {
  display: flex;
  gap: 8px;
  justify-content: center;
  overflow-x: auto;
  margin-bottom: 25px;
  padding-bottom: 5px;
}

.strip-img {
  width: 70px;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.opening-invitation {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 90%;
  margin: 0 auto;
}

/* COUPLE SECTION */
.couple-section {
  padding: 50px 20px;
  text-align: center;
}

.section-divider-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
}

.section-divider-title span {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--bg-brown);
}

.divider-line {
  height: 1.5px;
  background-color: var(--bg-brown);
  flex-grow: 1;
}

.arch-photo-frame {
  position: relative;
  width: 240px;
  height: 320px;
  margin: 0 auto 20px;
  border-radius: 120px 120px 0 0;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border: 4px solid #fff;
}

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

.photo-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(58, 35, 18, 0.75) 100%);
}

.arch-overlay-name {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  font-family: var(--font-style-script);
  font-size: 2.8rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
  z-index: 2;
}

.fullname {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bg-brown);
  margin-bottom: 8px;
}

.parents-info, .address-info {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-brown);
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.82rem;
  text-decoration: none;
  margin-top: 14px;
}

.together-text {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--color-gold-dark);
  margin: 40px 0;
}

/* SAVE THE DATE BANNER */
.save-date-banner {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.banner-full-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(58, 35, 18, 0.82) 100%);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.quote-card-overlay {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  max-width: 90%;
}

.bismillah-text {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--color-gold);
}

.arabic-text {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.salam-text {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.quote-body {
  font-style: italic;
  font-size: 0.88rem;
  opacity: 0.95;
  margin-bottom: 10px;
}

.quote-source {
  font-weight: 700;
  color: var(--color-gold);
  font-size: 0.85rem;
}

.script-title-regular {
  font-family: var(--font-style-script);
  font-size: 3.2rem;
  font-weight: 400 !important;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
  margin-bottom: 10px;
}

/* EVENTS SECTION */
.events-section {
  position: relative;
  padding: 50px 20px;
  text-align: center;
  background: url('assets/acara-bg.png') center/cover no-repeat;
  overflow: hidden;
}

.events-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(247, 244, 238, 0.88);
  z-index: 1;
}

.events-content-inner {
  position: relative;
  z-index: 2;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--bg-brown);
  text-transform: uppercase;
  margin-bottom: 25px;
}

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

.event-hero-arch {
  width: 100%;
  height: 220px;
  border-radius: 110px 110px 0 0;
  overflow: hidden;
  margin-bottom: 30px;
}

.event-arch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.event-card {
  display: flex;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: left;
}

.event-side-bar {
  background-color: var(--bg-brown);
  color: #fff;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-side-bar span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 1.1rem;
}

.event-details {
  padding: 20px;
  flex: 1;
}

.event-date-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.big-day {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--bg-brown);
  line-height: 1;
}

.month-year {
  font-size: 1rem;
  color: var(--text-muted);
}

.event-time {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.event-address {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.btn-maps {
  width: 100%;
}

.map-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}

/* DRESSCODE & LIVE STREAMING */
.dresscode-box, .streaming-box {
  background-color: rgba(238, 232, 221, 0.95);
  backdrop-filter: blur(4px);
  padding: 24px 20px;
  border-radius: 12px;
  margin-top: 25px;
  border: 1px solid rgba(184, 123, 72, 0.25);
}

.title-framed-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.title-framed {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--bg-brown);
  text-transform: uppercase;
  padding: 6px 20px;
  border: 1px solid var(--color-gold);
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.6);
}

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

/* OUR STORY SECTION */
.story-section {
  padding: 50px 20px 60px;
  background-color: var(--bg-secondary);
  text-align: center;
}

.story-header {
  margin-bottom: 25px;
}

.story-wayang-icon {
  width: 55px;
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.story-timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.story-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}

.story-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.story-content {
  padding: 20px;
  text-align: left;
}

.story-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--bg-brown);
  margin-bottom: 8px;
}

.story-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ELEMEN GAMBAR PNG PEMBATAS SECTION OUR STORY & MOMEN BAHAGIA */
.story-gallery-divider {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-primary);
  z-index: 10;
}

.divider-ornament-png {
  width: 60px;
  height: auto;
  margin-top: -30px;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));
}

/* GALLERY SECTION */
.gallery-section {
  padding: 30px 20px 50px;
  text-align: center;
  background-color: var(--bg-primary);
}

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

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 160px;
  cursor: pointer;
}

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

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

/* WEDDING GIFT SECTION */
.gift-section {
  position: relative;
  background: url('assets/gift-bg.jpg') center/cover no-repeat;
  color: var(--text-light);
  padding: 50px 20px 70px;
  text-align: center;
  overflow: hidden;
}

.gift-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 35, 18, 0.85);
  z-index: 1;
}

.gift-content-inner {
  position: relative;
  z-index: 2;
}

.gift-custom-icon {
  width: 55px;
  height: auto;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.gift-message {
  font-size: 0.9rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.bank-cards-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.bank-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
}

.bank-logo-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 15px;
  height: 35px;
}

.bank-logo-img {
  max-height: 35px;
  max-width: 120px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.bank-logo {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-gold);
  text-align: right;
}

.bank-label {
  font-size: 0.75rem;
  opacity: 0.8;
}

.bank-num {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.bank-holder {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.btn-copy {
  background-color: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.btn-copy:hover {
  background-color: rgba(255,255,255,0.35);
}

.gift-bottom-ornament {
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0.3;
  z-index: 2;
}

.gift-ornament-png {
  width: 150px;
  height: auto;
}

/* RSVP & UCAPAN */
.rsvp-section {
  padding: 50px 20px;
  text-align: center;
  background-color: var(--bg-primary);
}

.rsvp-card {
  background: #fff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  text-align: left;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--bg-brown);
}

.btn-submit {
  width: 100%;
  margin-top: 10px;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.wishes-box {
  margin-top: 35px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.wishes-box h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--bg-brown);
  margin-bottom: 15px;
}

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

.wish-item {
  background-color: var(--bg-primary);
  padding: 12px 15px;
  border-radius: 8px;
  border-left: 3px solid var(--bg-brown);
}

.wish-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.wish-name {
  font-weight: 700;
  font-size: 0.88rem;
}

.wish-city {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  margin-left: 4px;
}

.wish-badge {
  font-size: 0.7rem;
  background-color: var(--color-gold);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.wish-badge.badge-hadir {
  background-color: #2e7d32;
}

.wish-badge.badge-absen {
  background-color: #c62828;
}

.wish-text {
  font-size: 0.84rem;
  color: var(--text-dark);
  margin-top: 4px;
  line-height: 1.5;
}

.wish-time {
  display: block;
  font-size: 0.7rem;
  color: #888;
  margin-top: 6px;
  font-style: italic;
  text-align: right;
}

/* THANK YOU SECTION */
.thankyou-section {
  padding: 45px 20px;
  text-align: center;
  background-color: var(--bg-secondary);
}

.thankyou-title {
  font-family: var(--font-style-script);
  font-size: 3rem;
  color: var(--bg-brown);
  font-weight: 400 !important;
  text-shadow: none !important;
  margin-bottom: 10px;
}

.thankyou-section p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* OUTRO SECTION */
.outro-bottom-section {
  position: relative;
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
}

.outro-bg-wrapper {
  position: relative;
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
}

.outro-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outro-gradient-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 20px 40px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 40%, var(--bg-dark) 100%);
  color: #fff;
  text-align: center;
}

.outro-content {
  max-width: 90%;
  margin: 0 auto;
}

.outro-doa {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 25px;
  opacity: 0.95;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.happy-family-outro {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-gold);
  margin-bottom: 5px;
}

.outro-couple-names {
  font-family: var(--font-style-script);
  font-size: 3rem;
  font-weight: 400;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

/* WATERMARK & FOOTER */
.footer-section {
  padding: 30px 20px 100px;
  text-align: center;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.watermark-title {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-bottom: 12px;
}

.watermark-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.watermark-original-logo {
  max-height: 65px;
  width: auto;
  object-fit: contain;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.social-icons a {
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: var(--color-gold);
  transform: translateY(-2px);
}

/* BOTTOM NAVIGATION BAR */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  height: 60px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.08);
  z-index: 999;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.68rem;
  transition: color 0.3s ease;
}

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

.nav-item.active {
  color: var(--bg-brown);
  font-weight: 700;
}

/* LIGHTBOX MODAL */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
}

/* TOAST NOTIFICATION */
.toast {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-dark);
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  z-index: 10001;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: opacity 0.4s ease;
}

/* ANIMASI SCROLL */
.anim-side {
  opacity: 0;
  transform: translateX(-40px);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.anim-side.anim-right {
  transform: translateX(40px);
}

.anim-bottom {
  opacity: 0;
  transform: translateY(40px);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.anim-side.appear, .anim-bottom.appear {
  opacity: 1;
  transform: translate(0, 0);
}