/* =========================================================
   WEDDING INVITATION – STYLE.CSS
   Color Palette: #ccb193 (gold), #f5eee8 (cream), #000000
   ========================================================= */

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

:root {
  --gold:   #ccb193;
  --gold-dark: #a8895f;
  --gold-light: #e2d0bc;
  --cream:  #f5eee8;
  --cream-dark: #ede3d8;
  --black:  #000000;
  --text-dark: #1a1209;
  --text-mid:  #3d2e1a;
  --text-light: #7a6248;
  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans:  'Jost', sans-serif;
  --transition: 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--cream);
  color: var(--text-dark);
  font-family: var(--ff-sans);
  -webkit-font-smoothing: antialiased;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { display: none; }

/* ─── FULLPAGE WRAPPER ─── */
.fullpage-wrapper {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ─── SECTIONS ─── */
.fp-section {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  will-change: transform;
  transform: translateY(100%);
  transition: transform var(--transition);
  overflow-y: auto;
  overflow-x: hidden;
}

.fp-section:first-child {
  transform: translateY(0%);
}

.fp-section.section-alt {
  background: var(--cream-dark);
}

.fp-section.active {
  transform: translateY(0%);
  z-index: 10;
}

.fp-section.above {
  transform: translateY(-100%);
  z-index: 5;
}

.fp-section.below {
  transform: translateY(100%);
  z-index: 1;
}

.section-inner {
  width: 100%;
  max-width: 900px;
  padding: 3rem 1.5rem;
  margin: auto;
}

/* ─── NAVIGATION DOTS ─── */
.dot-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
}

.dot-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(204,177,147,0.35);
  border: 1.5px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  padding: 0;
}

.dot:hover {
  background: var(--gold-light);
  transform: scale(1.3);
}

.dot.active {
  background: var(--gold);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(204,177,147,0.3);
}

/* ─── ORNAMENTS ─── */
.ornament-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(204,177,147,0.35);
  pointer-events: none;
  z-index: 0;
}
.ornament-ring.top-left {
  width: 340px; height: 340px;
  top: -120px; left: -120px;
}
.ornament-ring.top-left::after {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(204,177,147,0.2);
}
.ornament-ring.bottom-right {
  width: 340px; height: 340px;
  bottom: -120px; right: -120px;
}
.ornament-ring.bottom-right::after {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(204,177,147,0.2);
}
.ornament-ring.small {
  width: 220px; height: 220px;
  top: -80px; left: -80px;
}
.ornament-ring.small.bottom-right {
  bottom: -80px; right: -80px; top: auto; left: auto;
}

.ornament-corner {
  position: absolute;
  width: 80px; height: 80px;
  pointer-events: none;
  z-index: 0;
}
.ornament-corner.tl {
  top: 20px; left: 20px;
  border-top: 2px solid var(--gold-light);
  border-left: 2px solid var(--gold-light);
}
.ornament-corner.br {
  bottom: 20px; right: 20px;
  border-bottom: 2px solid var(--gold-light);
  border-right: 2px solid var(--gold-light);
}

/* ─── TYPOGRAPHY ─── */
.label-above {
  font-family: var(--ff-sans);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-light);
}

.couple-name {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 10vw, 6rem);
  line-height: 1.05;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.amp {
  font-style: italic;
  color: var(--gold);
}

.event-date {
  font-family: var(--ff-sans);
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
}

.bismillah {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  color: var(--gold-dark);
  font-family: 'Traditional Arabic', 'Arial Unicode MS', serif;
  line-height: 1.8;
  margin-top: 1rem;
  direction: rtl;
}

.section-tag {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: clamp(2rem, 6vw, 3.4rem);
  color: var(--text-dark);
  line-height: 1.15;
}

/* ─── DIVIDER ORNAMENT ─── */
.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 1rem auto;
}
.divider-ornament .line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light), transparent);
}
.divider-ornament i {
  color: var(--gold);
  font-size: 1rem;
}
.divider-ornament i.small-icon { font-size: 0.75rem; }

/* ─── SCROLL HINT ─── */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
}
.bounce {
  animation: bounceY 1.4s ease-in-out infinite;
}
@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ─── COUPLE CARDS ─── */
.card-couple {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--gold-light);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  backdrop-filter: blur(6px);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card-couple:hover {
  box-shadow: 0 8px 32px rgba(204,177,147,0.25);
  transform: translateY(-4px);
}

.avatar-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.9rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(204,177,147,0.4);
}

.name-couple {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}
.title-couple {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}
.parent-couple {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.heart-join {
  font-size: 1.6rem;
  color: var(--gold);
  animation: heartbeat 1.5s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}
.quote-couple {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-mid);
  border-left: 3px solid var(--gold-light);
  padding-left: 1.2rem;
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}
.quote-couple footer {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-style: normal;
  letter-spacing: 0.1em;
}

/* ─── EVENT CARD ─── */
.event-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--gold-light);
  border-radius: 16px;
  padding: 1.8rem 2rem;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 24px rgba(204,177,147,0.15);
}
.event-icon-wrap {
  font-size: 2.2rem;
  color: var(--gold);
  text-align: center;
}
.event-details { display: flex; flex-direction: column; gap: 0.8rem; }
.event-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.97rem;
  color: var(--text-mid);
  text-align: left;
}
.event-row i { color: var(--gold-dark); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.event-row span { line-height: 1.6; }

/* ─── COUNTDOWN ─── */
.countdown-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
}
.cd-num {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1;
  display: block;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--gold-light);
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
  min-width: 56px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(204,177,147,0.12);
}
.cd-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 5px;
}
.countdown-sep {
  font-family: var(--ff-serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1.8;
  margin: 0 2px;
}

/* ─── KADO / BANK CARDS ─── */
.kado-sub {
  font-size: 0.88rem;
  color: var(--text-light);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.7;
}
.bank-card {
  background: rgba(255,255,255);
  border: 1px solid var(--gold-light);
  border-radius: 16px;
  padding: 1.6rem 1.2rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(204,177,147,0.12);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.bank-card:hover {
  box-shadow: 0 8px 28px rgba(204,177,147,0.25);
  transform: translateY(-3px);
}
.bank-card-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  min-height: 32px;
}
.bank-card-icon-img {
  width: 208px;
  height: 78px;
  object-fit: contain;
}
.bank-card-name {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.bank-card-number {
  font-family: var(--ff-sans);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-mid);
  margin-bottom: 0.3rem;
}
.bank-card-holder {
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

/* ─── DRESS CODE ─── */
.dress-code {
  font-size: 0.9rem;
  color: var(--text-mid);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.badge-dc {
  background: var(--gold-light);
  color: var(--text-dark);
  border-radius: 50px;
  padding: 0.25rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--gold);
}

/* ─── MAP CARDS ─── */
.map-cards {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.map-card {
  flex: 1 1 260px;
  max-width: 380px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--gold-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(204,177,147,0.15);
}
.map-label {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold-light);
  background: rgba(245,238,232,0.8);
}
.map-frame { overflow: hidden; }
.map-frame iframe { display: block; }
.btn-map {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  background: transparent;
  color: var(--gold-dark);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-top: 1px solid var(--gold-light);
  transition: background 0.3s ease, color 0.3s ease;
  font-family: var(--ff-sans);
}
.btn-map:hover {
  background: var(--gold);
  color: #fff;
}
.map-address {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ─── CLOSING ─── */
.closing-text {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.9;
  max-width: 560px;
  margin: 0 auto;
}
.closing-sub {
  font-size: 0.88rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}
.share-row { text-align: center; }
.share-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.share-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.share-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  text-decoration: none;
  border: 1.5px solid var(--gold);
  cursor: pointer;
  transition: all 0.25s ease;
  background: transparent;
  color: var(--gold-dark);
}
.share-btn:hover {
  background: var(--gold);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(204,177,147,0.4);
}
.share-btn.wa { color: #25d366; border-color: #25d366; }
.share-btn.wa:hover { background: #25d366; color: #fff; }
.copy-msg {
  font-size: 0.78rem;
  color: var(--gold-dark);
  min-height: 1.2rem;
  margin-top: 0.4rem;
  letter-spacing: 0.05em;
}
.closing-footer {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-dark);
  letter-spacing: 0.05em;
}

/* ─── FADE-UP ANIMATION ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.25s; }
.fade-up.delay-3 { transition-delay: 0.4s; }
.fade-up.delay-4 { transition-delay: 0.55s; }
.fade-up.delay-5 { transition-delay: 0.7s; }
.fade-up.delay-6 { transition-delay: 0.85s; }

/* ─── PROGRESS BAR ─── */
.progress-bar-fp {
  position: fixed;
  bottom: 0; left: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold-light), var(--gold));
  transition: width 0.4s ease;
  z-index: 9999;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 767px) {
  .section-inner { padding: 2rem 1.2rem; }
  .ornament-ring.top-left, .ornament-ring.bottom-right { width: 200px; height: 200px; }
  .ornament-ring.top-left { top: -70px; left: -70px; }
  .ornament-ring.bottom-right { bottom: -70px; right: -70px; }
  .dot-nav { right: 10px; }
  .map-cards { flex-direction: column; align-items: center; }
  .map-card { max-width: 100%; }
  .countdown-item { min-width: 50px; }
  .cd-num { font-size: 1.6rem; min-width: 46px; padding: 0.3rem 0.5rem; }
  .quote-couple { font-size: 0.95rem; }
  .event-card { padding: 1.4rem 1.2rem; }
  .ornament-corner { display: none; }
  .heart-join { font-size: 1.8rem; margin: 0.5rem auto; }
}
@media (max-width: 400px) {
  .couple-name { font-size: 2.6rem; }
  .section-title { font-size: 1.9rem; }
}

/* ─── PARTICLE DECORATION ─── */
.particles-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold-light);
  opacity: 0;
  animation: floatParticle var(--dur, 6s) var(--delay, 0s) ease-in-out infinite;
}
@keyframes floatParticle {
  0%   { opacity: 0; transform: translateY(0) scale(0.5); }
  20%  { opacity: 0.4; }
  80%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-80px) scale(1.2); }
}

/* =========================================================
   OPENING OVERLAY
   ========================================================= */

/* ─── OVERLAY WRAPPER ─── */
.opening-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  overflow: hidden;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.opening-overlay.closing {
  opacity: 0;
  transform: scale(1.06);
  pointer-events: none;
}

.opening-overlay.hidden {
  display: none;
}

/* ─── ORNAMENT LINES ─── */
.ov-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 90vw);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light), transparent);
}
.ov-line.top  { top: clamp(32px, 6vh, 56px); }
.ov-line.bottom { bottom: clamp(32px, 6vh, 56px); }
.ov-line.top::before,
.ov-line.bottom::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  top: -2.5px;
}

/* ─── FLOATING PETALS ─── */
.ov-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ov-petal {
  position: absolute;
  border-radius: 50% 0 50% 0;
  opacity: 0;
  animation: petalFall var(--dur, 7s) var(--delay, 0s) ease-in infinite;
}
@keyframes petalFall {
  0%   { opacity: 0; transform: translateY(-20px) rotate(0deg) scale(0.6); }
  10%  { opacity: 0.6; }
  85%  { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(110vh) rotate(720deg) scale(1); }
}

/* ─── ENVELOPE ANIMATION ─── */
.ov-envelope {
  margin-bottom: 1.5rem;
  perspective: 600px;
}
.env-body {
  position: relative;
  width: 80px; height: 60px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 6px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(204,177,147,0.45);
  animation: envFloat 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes envFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-10px) rotate(2deg); }
}
.env-flap {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 32px;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 28px solid var(--gold);
  border-radius: 6px 6px 0 0;
}
.env-icon {
  position: relative;
  z-index: 2;
  font-size: 1.4rem;
  color: #fff;
  margin-top: 8px;
}

/* ─── OV CONTENT ─── */
.ov-salam {
  font-family: var(--ff-sans);
  font-size: clamp(0.7rem, 2.5vw, 0.85rem);
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.ov-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0.5rem auto 1rem;
  color: var(--gold);
}
.ov-line-short {
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light));
}
.ov-line-short:last-child {
  background: linear-gradient(to left, transparent, var(--gold-light));
}

.ov-kepada {
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.3rem;
}

.ov-guest-name {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 6vw, 3rem);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  /* typewriter cursor pulse */
  animation: nameFadeIn 0.6s ease forwards;
}
@keyframes nameFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ov-from {
  font-size: 0.88rem;
  color: var(--text-light);
  max-width: 320px;
  margin: 0 auto 1.8rem;
  line-height: 1.7;
}

/* ─── OPEN BUTTON ─── */
.ov-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--black);
  color: var(--cream);
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2.2rem;
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.ov-open-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: inherit;
}
.ov-open-btn:hover::before { opacity: 1; }
.ov-open-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(204,177,147,0.45);
}
.ov-open-btn:active { transform: scale(0.97); }
.ov-open-btn span,
.ov-open-btn i { position: relative; z-index: 1; }
.ov-arrow { transition: transform 0.3s ease; }
.ov-open-btn:hover .ov-arrow { transform: translateX(4px); }

.ov-music-note {
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  margin-top: 1rem;
  opacity: 0.75;
}

/* =========================================================
   MUSIC TOGGLE BUTTON
   ========================================================= */
.music-toggle {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 9998;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: rgba(245,238,232,0.85);
  backdrop-filter: blur(8px);
  color: var(--gold-dark);
  font-size: 1.1rem;
  cursor: pointer;
  display: none;              /* shown after overlay closes */
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 12px rgba(204,177,147,0.25);
  overflow: hidden;
}
.music-toggle.visible { display: flex; }
.music-toggle:hover {
  background: var(--gold);
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 4px 18px rgba(204,177,147,0.45);
}
.music-toggle.playing #musicIcon {
  animation: spinNote 2s linear infinite;
}
@keyframes spinNote {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ripple on play */
.music-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gold-light);
  opacity: 0;
  transform: scale(0.5);
}
.music-toggle.playing .music-ripple {
  animation: ripplePulse 2s ease-out infinite;
}
@keyframes ripplePulse {
  0%   { opacity: 0.5; transform: scale(0.5); }
  100% { opacity: 0;   transform: scale(2.2); }
}

/* ─── RSVP FORM ─── */
.rsvp-form { max-width: 420px; margin: 0 auto; text-align: left; }
.rsvp-form .form-group-d { margin-bottom: 1rem; }
.rsvp-form .form-control-d {
  width: 100%;
  padding: .65rem .85rem;
  border: 1px solid var(--gold-light);
  border-radius: 8px;
  background: var(--cream);
  color: var(--text-dark);
  font: inherit;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
.rsvp-form .form-control-d:focus { border-color: var(--gold); }
.rsvp-form .form-label-d {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: .35rem;
  text-align: center;
}
.rsvp-radio { cursor: pointer; }
.rsvp-radio input { position: absolute; opacity: 0; pointer-events: none; }
.rsvp-radio-label {
  display: inline-block;
  padding: .45rem 1.4rem;
  border-radius: 24px;
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s;
  border: 2px solid transparent;
}
.rsvp-radio input:checked + .rsvp-radio-label {
  border-color: currentColor;
  box-shadow: 0 0 0 2px currentColor;
}
#rsvpSuccess { text-align: center; padding: 2rem 0; }

/* ─── BTN GOLD ─── */
.btn-gold {
  background: var(--black); color: var(--cream);
  border: none; border-radius: 50px; padding: .6rem 1.6rem;
  font-family: var(--ff-serif); font-size: .85rem; letter-spacing: .08em;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .25s; display: inline-flex;
  align-items: center; gap: .5rem;
}
.btn-gold::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  opacity: 0; transition: opacity .3s;
}
.btn-gold:hover::before { opacity: 1; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(204,177,147,.35); }
.btn-gold:active { transform: scale(.97); }
.btn-gold span, .btn-gold i { position: relative; z-index: 1; }
.btn-gold:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-gold:disabled::before { opacity: 0; }
.w-100 { width: 100%; }

/* ─── PESAN & KESAN ─── */
.message-card {
  background: var(--cream);
  border: 1px solid var(--gold-light);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: .75rem;
  text-align: left;
  transition: box-shadow .2s;
}
.message-card:hover { box-shadow: 0 2px 12px rgba(204,177,147,0.2); }
.message-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .4rem;
  font-size: .9rem;
  color: var(--text-mid);
}
.message-header i { font-size: 1.1rem; color: var(--gold); }
.message-text {
  font-size: .88rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
  word-break: break-word;
}

/* ─── MOBILE ADJUSTMENTS ─── */
@media (max-width: 480px) {
  .ov-open-btn { padding: 0.8rem 1.6rem; font-size: 0.85rem; }
  .ov-guest-name { font-size: 1.7rem; }
  .env-body { width: 66px; height: 50px; }
  .env-flap { border-left-width: 33px; border-right-width: 33px; border-top-width: 23px; }
  .music-toggle { bottom: 16px; left: 16px; width: 40px; height: 40px; font-size: 1rem; }
}
