/**
 * ============================================================
 * IDEA 1: GOLD FOIL & DECKLED-EDGE LETTERPRESS STYLESHEET
 * Luxury Artisan Italian Cotton Paper with Metallic Gold Shimmer
 * ============================================================
 */

:root {
  --gold-foil-gradient: linear-gradient(135deg, #D4AF37 0%, #F5E6A3 25%, #AA7C11 50%, #FDF3CD 75%, #996515 100%);
  --gold-foil-glow: 0 0 12px rgba(212, 175, 55, 0.28);
  --gold-border-foil: linear-gradient(90deg, rgba(212, 175, 55, 0.2) 0%, rgba(245, 230, 163, 0.8) 50%, rgba(170, 124, 17, 0.3) 100%);
  --paper-deckled-shadow: 
    0 25px 50px -12px rgba(82, 111, 125, 0.22),
    0 4px 15px rgba(184, 150, 77, 0.08),
    0 0 0 1px rgba(212, 175, 55, 0.25);
}

/* 1. Deckled-Edge Handmade Paper Styling */
.wedding-stationery-card {
  position: relative;
  background-color: #FFFDF9 !important;
  box-shadow: var(--paper-deckled-shadow) !important;
  border-radius: 4px;
}

/* Organic deckled edge feathery outline */
.wedding-stationery-card::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 6px;
  border: 1.5px dashed rgba(212, 175, 55, 0.35);
  pointer-events: none;
  opacity: 0.7;
}

/* 2. Gold Foil Typography */
.gold-foil,
.hero-name,
.inner-card-names-stacked .card-name,
.inner-card-monogram,
.stage-guest-invitation .guest-invitation-highlight,
.save-the-date-card .std-groom,
.save-the-date-card .std-bride {
  background: var(--gold-foil-gradient) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: goldFoilShimmer 6s ease-in-out infinite alternate;
  filter: drop-shadow(0 1px 1px rgba(170, 124, 17, 0.25));
}

@keyframes goldFoilShimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* 3. Gold Gilded Frame & Dividers */
.stationery-double-frame {
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
}

.stationery-double-frame::after {
  border: 0.75px solid rgba(212, 175, 55, 0.28) !important;
}

.inner-card-double-line {
  border: 0.75px solid rgba(212, 175, 55, 0.5) !important;
}

.inner-card-ornament .orn-line {
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.7), transparent) !important;
}

.inner-card-ornament .orn-star {
  color: #D4AF37 !important;
  text-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
}

/* 4. Letterpress / Blind Deboss Effect for Subtitles */
.hero-badge,
.inner-card-tag,
.stage-wedding-tag,
.std-header-tag,
.ceremony-badge {
  color: #526F7D !important;
  letter-spacing: 0.28em !important;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.95), 0 -1px 1px rgba(70, 84, 90, 0.12) !important;
  font-weight: 600 !important;
}

/* 5. Gilded Wax Seal */
.wax-seal-wrapper .wax-seal-stamp-img {
  filter: drop-shadow(0 6px 14px rgba(170, 124, 17, 0.35)) drop-shadow(0 0 4px rgba(245, 230, 163, 0.4)) !important;
}

/* 6. Gold Badge for Dates & Badges */
.inner-card-date,
.hero-datestamp,
.std-date-hero {
  color: #46545A !important;
  position: relative;
}

.gold-foil-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 18px;
  background: linear-gradient(135deg, rgba(245, 230, 163, 0.2), rgba(212, 175, 55, 0.12));
  border: 0.75px solid rgba(212, 175, 55, 0.4);
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(170, 124, 17, 0.08);
}

/* 7. Mouse Flare Interactive Reflection */
.foil-glare-effect {
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 248, 220, 0.4) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  pointer-events: none;
  transition: transform 0.6s ease;
  z-index: 10;
}
