/* ========================================================
   SISTEMA DE DISEÑO: HAUTE PAPETERIE (LIGHT LUXURY & CHAMPAGNE GOLD)
   Generado por StitchMCP para Milagros Quiñones - 60 Años
   ======================================================== */
:root {
  --bg-ivory: #FAF7F2;
  --bg-cream: #F5EFE6;
  --bg-card: #FFFFFF;
  --bg-card-alt: #FDFBF7;
  --gold-main: #D4AF37;
  --gold-antique: #B8860B;
  --gold-light: #F4E295;
  --gold-gradient: linear-gradient(135deg, #B8860B 0%, #D4AF37 40%, #E8CD78 70%, #B8860B 100%);
  --gold-foil-subtle: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(184, 134, 11, 0.15) 100%);
  --gold-balloon-grad: radial-gradient(circle at 35% 25%, #FFFFFF 0%, #FFF3B3 20%, #E6C045 50%, #B8860B 85%, #7A5800 100%);
  --text-dark: #2C2724;
  --text-muted: #6B6259;
  --text-gold: #9C720B;
  --border-gold-fine: rgba(212, 175, 55, 0.45);
  --border-gold-solid: #D4AF37;
  --shadow-paper: 0 20px 50px -10px rgba(44, 39, 36, 0.08), 0 4px 15px rgba(212, 175, 55, 0.08);
  --shadow-paper-hover: 0 25px 60px -8px rgba(44, 39, 36, 0.12), 0 8px 25px rgba(212, 175, 55, 0.16);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-editorial: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-ivory);
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 85% 65%, rgba(245, 239, 230, 0.8) 0%, transparent 50%),
    linear-gradient(to bottom, #FFFDF9 0%, #FAF7F2 40%, #F5EFE6 100%);
  color: var(--text-dark);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* ========================================================
   CANVAS DE FUEGOS ARTIFICIALES & HALOS CÁLIDOS DE FONDO
   ======================================================== */
#fireworks-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.party-ambient-lights {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.ambient-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
}

.light-1 {
  top: 10%;
  left: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.light-2 {
  top: 60%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 205, 120, 0.12) 0%, transparent 70%);
}

/* ========================================================
   GLOBOS DE HELIO FLOTANTES DE FONDO
   ======================================================== */
.floating-balloons-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floating-balloon-item {
  position: absolute;
  bottom: -150px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: var(--gold-balloon-grad);
  box-shadow: 
    inset -4px -6px 12px rgba(0, 0, 0, 0.15),
    0 12px 25px rgba(184, 134, 11, 0.2);
  animation: floatUpHelium linear infinite;
}

.floating-balloon-item::after {
  content: "";
  position: absolute;
  top: 14%;
  left: 20%;
  width: 25%;
  height: 35%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 80%);
  transform: rotate(-30deg);
}

.floating-balloon-item .balloon-tail {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid #B8860B;
}

.floating-balloon-item .balloon-cord {
  position: absolute;
  bottom: -65px;
  left: 50%;
  width: 1.2px;
  height: 65px;
  background: linear-gradient(to bottom, #D4AF37, rgba(212, 175, 55, 0.2));
  transform-origin: top center;
  animation: waveCord 3s ease-in-out infinite alternate;
}

@keyframes floatUpHelium {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; }
  100% { transform: translateY(-120vh) translateX(30px) rotate(6deg); opacity: 0; }
}

@keyframes waveCord {
  0% { transform: rotate(-5deg); }
  100% { transform: rotate(5deg); }
}

/* ========================================================
   HAZ DE LUZ RADIANTE CHAMPAGNE AL ABRIR
   ======================================================== */
.light-burst {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 200vmax;
  height: 200vmax;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(255, 255, 255, 1) 0%, 
    rgba(255, 248, 220, 0.95) 20%, 
    rgba(244, 226, 149, 0.75) 40%, 
    rgba(212, 175, 55, 0.35) 65%, 
    transparent 100%);
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.1, 0.9, 0.2, 1), opacity 1.2s ease;
  mix-blend-mode: screen;
}

.light-burst.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.light-burst.fade-out {
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* ========================================================
   SOBRE CEREMONIAL EN LINO MARFIL Y ORO CHAMPÁN
   ======================================================== */
.envelope-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, #FFFDF8 0%, #F3EDE0 85%);
  backdrop-filter: blur(10px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.9s ease;
}

.envelope-overlay.hide-envelope {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-balloon-cluster {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  pointer-events: none;
}

.envelope-balloon-cluster.cluster-left { left: 8%; }
.envelope-balloon-cluster.cluster-right { right: 8%; }

.gold-balloon {
  width: 68px;
  height: 84px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: var(--gold-balloon-grad);
  position: relative;
  box-shadow: 
    inset -3px -5px 10px rgba(0, 0, 0, 0.15),
    0 10px 25px rgba(184, 134, 11, 0.2);
  animation: floatSway 4s ease-in-out infinite alternate;
}

.gold-balloon::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 20%;
  width: 30%;
  height: 40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 80%);
  transform: rotate(-30deg);
}

.gold-balloon::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 6px solid #B8860B;
}

.balloon-string {
  position: absolute;
  bottom: -65px;
  left: 50%;
  width: 1.2px;
  height: 65px;
  background: linear-gradient(to bottom, #D4AF37, transparent);
  transform-origin: top center;
  animation: waveString 3s ease-in-out infinite alternate;
}

.b1 { animation-delay: 0s; }
.b2 { animation-delay: 1.5s; margin-left: 20px; transform: scale(1.1); }
.b3 { animation-delay: 0.8s; }
.b4 { animation-delay: 2.2s; margin-right: 20px; transform: scale(1.1); }

@keyframes floatSway {
  0% { transform: translateY(0px) rotate(-3deg); }
  100% { transform: translateY(-16px) rotate(3deg); }
}

@keyframes waveString {
  0% { transform: rotate(-5deg); }
  100% { transform: rotate(5deg); }
}

.envelope-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  padding: 20px;
  z-index: 2;
}

.envelope-wrapper {
  position: relative;
  width: 330px;
  height: 230px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
  animation: floatEnvelope 4s ease-in-out infinite;
}

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

.envelope-wrapper:hover {
  transform: translateY(-5px) scale(1.02);
}

.envelope-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFFDF9;
  border-radius: 14px;
  border: 1.5px solid var(--gold-main);
  box-shadow: 0 25px 50px rgba(44, 39, 36, 0.12), 0 0 30px rgba(212, 175, 55, 0.15);
}

.envelope-inner-card {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 300px;
  height: 200px;
  background: #FFFFFF;
  border-radius: 10px;
  border: 1.5px solid var(--gold-main);
  box-shadow: 0 8px 20px rgba(44, 39, 36, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.inner-card-border {
  padding: 16px;
  border: 1px dashed rgba(212, 175, 55, 0.5);
  width: 90%;
  height: 82%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.inner-seal {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold-antique);
  line-height: 1;
  font-weight: 700;
}

.inner-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--text-dark);
  margin-top: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

.inner-subtitle {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--text-gold);
  margin-top: 4px;
  font-weight: 700;
}

.envelope-front-pocket {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(160deg, #FFFFFF 0%, #FAF5EC 100%);
  border-radius: 14px;
  border-bottom: 2px solid var(--gold-main);
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 24px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.04);
}

.envelope-front-details {
  text-align: center;
  pointer-events: none;
}

.art-deco-emblem {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 3px;
  color: var(--gold-antique);
  font-weight: 700;
}

.envelope-to-text {
  font-family: var(--font-editorial);
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--text-dark);
  margin-top: 2px;
  font-style: italic;
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 50% 55%);
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F1E6 100%);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  transform-origin: top center;
  transform: rotateX(0deg);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
  border-top: 2px solid var(--gold-main);
}

.flap-gold-trim {
  position: absolute;
  bottom: 45%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 165px solid transparent;
  border-right: 165px solid transparent;
  border-top: 1.5px solid rgba(212, 175, 55, 0.5);
  pointer-events: none;
}

.wax-seal {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 82px;
  height: 82px;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  filter: drop-shadow(0 8px 18px rgba(44, 39, 36, 0.25)) drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
  transition: transform 0.3s ease;
}

.wax-seal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.open-instruction {
  margin-top: 32px;
  text-align: center;
  cursor: pointer;
  animation: pulseInstruction 2s infinite ease-in-out;
}

@keyframes pulseInstruction {
  0%, 100% { transform: translateY(0); opacity: 0.95; }
  50% { transform: translateY(4px); opacity: 1; }
}

.tap-hand-icon {
  color: var(--gold-antique);
  margin-bottom: 4px;
  display: inline-block;
  animation: bounceHand 1.5s infinite;
}

@keyframes bounceHand {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.instruction-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-antique);
  text-transform: uppercase;
}

.instruction-subtext {
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 2px;
}

.envelope-wrapper.opening .envelope-flap {
  transform: rotateX(180deg);
  z-index: 1;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.envelope-wrapper.opening .wax-seal {
  transform: translate(-50%, -180%) scale(1.2);
  opacity: 0;
  transition: all 0.5s ease;
}

.envelope-wrapper.opening .envelope-inner-card {
  transform: translateY(-135px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
  transition: transform 0.8s cubic-bezier(0.18, 0.89, 0.32, 1.28) 0.35s;
}

/* ========================================================
   CONTENEDOR DE LA INVITACIÓN PRINCIPAL
   ======================================================== */
.invitation-container {
  position: relative;
  z-index: 10;
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 16px 80px 16px;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hide-initially {
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
}

.show-invitation {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Botones Flotantes */
.floating-controls {
  position: fixed;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 10px;
  z-index: 90;
}

.control-btn {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid var(--gold-main);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(44, 39, 36, 0.1), 0 0 10px rgba(212, 175, 55, 0.2);
  color: var(--gold-antique);
  transition: var(--transition-smooth);
  position: relative;
}

.control-btn:hover {
  transform: scale(1.08);
  border-color: var(--gold-antique);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

.fireworks-icon-svg,
.music-note-svg {
  color: var(--gold-antique);
  transition: transform 0.3s ease;
}

.fireworks-trigger-btn:hover .fireworks-icon-svg {
  transform: rotate(45deg) scale(1.15);
  color: var(--gold-main);
}

.cheer-sparkler-svg {
  color: var(--gold-antique);
  animation: sparklerSpin 6s linear infinite;
}

@keyframes sparklerSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.music-waves {
  position: absolute;
  bottom: 5px;
  display: flex;
  gap: 2px;
  height: 8px;
  align-items: flex-end;
}

.music-waves i {
  width: 2px;
  height: 3px;
  background: var(--gold-antique);
  border-radius: 1px;
}

.playing .music-waves i:nth-child(1) { animation: waveBar 0.8s infinite ease alternate; }
.playing .music-waves i:nth-child(2) { animation: waveBar 0.6s infinite ease alternate 0.2s; }
.playing .music-waves i:nth-child(3) { animation: waveBar 1s infinite ease alternate 0.4s; }

@keyframes waveBar {
  0% { height: 2px; }
  100% { height: 9px; }
}

/* ========================================================
   TARJETA PRINCIPAL: HAUTE PAPETERIE (ALTA PAPELERÍA)
   ======================================================== */
.papeterie-card {
  position: relative;
  background: var(--bg-card);
  border: 1.5px solid var(--gold-main);
  border-radius: 20px;
  padding: 0 30px 50px 30px;
  box-shadow: var(--shadow-paper);
  text-align: center;
  overflow: hidden;
}

/* Marco interior concéntrico estilo papelería francesa */
.inner-deckle-frame {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  pointer-events: none;
  z-index: 3;
}

/* Banner de Cabecera */
.card-hero-banner {
  position: relative;
  width: calc(100% + 60px);
  margin-left: -30px;
  height: 180px;
  overflow: hidden;
  margin-bottom: 20px;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.banner-gradient-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.7) 70%, #FFFFFF 100%);
}

/* ========================================================
   ENCABEZADO & RETRATO DE HONOR
   ======================================================== */
.card-header {
  margin-bottom: 25px;
}

.festive-badge-couture {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-cream);
  border: 1px solid var(--gold-main);
  padding: 6px 20px;
  border-radius: 25px;
  margin-bottom: 15px;
}

.badge-sparkle {
  color: var(--gold-antique);
  font-size: 0.95rem;
}

.badge-text {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--text-dark);
}

/* Retrato de Milagros con Marco Circular de Oro */
.portrait-section {
  position: relative;
  width: 175px;
  height: 175px;
  margin: 10px auto 20px auto;
}

.portrait-frame {
  width: 165px;
  height: 165px;
  margin: 0 auto;
  border-radius: 50%;
  border: 4px solid var(--gold-main);
  box-shadow: 
    0 12px 35px rgba(44, 39, 36, 0.16),
    0 0 25px rgba(212, 175, 55, 0.3),
    inset 0 0 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  background: #FFFFFF;
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}

.portrait-frame:hover .portrait-image {
  transform: scale(1.05);
}

.portrait-seal-badge {
  position: absolute;
  bottom: 0px;
  right: 6px;
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 6px 14px rgba(44, 39, 36, 0.25));
}

.mini-seal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Divisores en Filigrana de Oro */
.gold-filigree-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px auto;
  color: var(--gold-antique);
}

.gold-filigree-divider .filigree-line {
  height: 1px;
  width: 70px;
  background: linear-gradient(90deg, transparent, var(--gold-main), transparent);
}

.gold-filigree-divider .filigree-diamond {
  font-size: 0.9rem;
  color: var(--gold-antique);
}

.gold-filigree-divider.mini .filigree-diamond.center {
  font-size: 1.3rem;
}

.tagline-editorial {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--text-gold);
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Insignia 60 Años */
.age-badge-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 14px 0 18px 0;
}

.golden-ribbon {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 3px;
  color: var(--gold-antique);
  font-weight: 700;
  border-top: 1.5px solid var(--gold-main);
  border-bottom: 1.5px solid var(--gold-main);
  padding: 4px 12px;
}

.golden-age {
  font-family: var(--font-serif);
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

.invitation-lead {
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  color: var(--text-dark);
  max-width: 520px;
  margin: 0 auto;
  font-style: italic;
}

.name-container {
  margin: 14px 0;
}

.celebrant-name {
  font-family: var(--font-script);
  font-size: 3.8rem;
  font-weight: 400;
  color: var(--gold-antique);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  line-height: 1.25;
}

/* ========================================================
   BOTÓN INTERACTIVO PARA BRINDAR
   ======================================================== */
.celebrate-bar {
  text-align: center;
  margin: 20px 0 30px 0;
}

.btn-party-cheer {
  background: linear-gradient(135deg, #FAF5EB 0%, #FFF0F5 50%, #FAF5EB 100%);
  color: var(--text-dark);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1.5px solid var(--gold-main);
  border-radius: 35px;
  padding: 14px 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25), 0 4px 15px rgba(255, 105, 180, 0.15);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, background 0.3s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-party-cheer:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, #FFFFFF 0%, #FFE8F0 50%, #FFF5DC 100%);
  border-color: var(--gold-antique);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35), 0 6px 20px rgba(255, 105, 180, 0.25);
}

.btn-party-cheer:active,
.btn-party-cheer.btn-party-pop {
  transform: scale(0.93);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4), 0 0 25px rgba(255, 105, 180, 0.45);
}

.btn-party-cheer .cheer-icon { font-size: 1.35rem; }

.cheer-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ========================================================
   CITA SENTIMENTAL
   ======================================================== */
.emotional-quote-card {
  position: relative;
  background: var(--bg-card-alt);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 580px;
  margin: 0 auto 35px auto;
  box-shadow: 0 6px 20px rgba(44, 39, 36, 0.04);
}

.quote-symbol {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 0.7;
  color: var(--gold-main);
  opacity: 0.5;
  margin-bottom: 6px;
}

.quote-paragraph {
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.7;
  font-style: italic;
}

.quote-signature {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  letter-spacing: 1.5px;
  color: var(--text-gold);
  margin-top: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

/* ========================================================
   CONTADOR REGRESIVO
   ======================================================== */
.countdown-section {
  margin-bottom: 45px;
}

.section-label-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.ornament-leaf {
  color: var(--gold-antique);
  font-size: 1.1rem;
}

.section-label {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 2.5px;
  color: var(--text-dark);
  font-weight: 700;
  text-transform: uppercase;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.countdown-tile {
  background: #FFFFFF;
  border: 1.5px solid var(--gold-main);
  border-radius: 14px;
  min-width: 76px;
  padding: 14px 8px;
  box-shadow: 0 8px 20px rgba(44, 39, 36, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-antique);
  line-height: 1;
}

.countdown-label {
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 600;
}

.countdown-colon {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-main);
  margin-top: -10px;
}

/* ========================================================
   ITINERARIO DE GALA (TIMELINE)
   ======================================================== */
.timeline-section {
  margin-bottom: 45px;
}

.couture-timeline {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding-left: 36px;
}

.timeline-axis {
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 17px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-main), rgba(212, 175, 55, 0.3));
}

.timeline-entry {
  position: relative;
  margin-bottom: 22px;
  text-align: left;
}

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

.timeline-pip {
  position: absolute;
  top: 12px;
  left: -36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--gold-main);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(44, 39, 36, 0.08);
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-pip svg {
  width: 20px;
  height: 20px;
  color: var(--gold-antique);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.timeline-entry:hover .timeline-pip {
  background: linear-gradient(135deg, #FAF5EB 0%, #F5E8C7 100%);
  border-color: var(--gold-antique);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
}

.timeline-entry:hover .timeline-pip svg {
  transform: scale(1.15);
  color: var(--gold-dark);
}

.timeline-box {
  background: var(--bg-card-alt);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 4px 15px rgba(44, 39, 36, 0.04);
}

.timeline-hour {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-gold);
  background: var(--bg-cream);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.timeline-info {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================================
   COORDENADAS DEL EVENTO
   ======================================================== */
.event-details-section {
  margin-bottom: 45px;
}

.details-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.detail-tile {
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(44, 39, 36, 0.05);
  transition: var(--transition-smooth);
}

.detail-tile:hover {
  transform: translateY(-4px);
  border-color: var(--gold-main);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.detail-tile.venue-tile {
  grid-column: 1 / -1;
  background: var(--bg-card-alt);
  border: 2px solid var(--gold-main);
}

.detail-icon {
  color: var(--gold-antique);
  margin-bottom: 10px;
}

.detail-kicker {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-gold);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.detail-primary {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.venue-name {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold-antique);
  letter-spacing: 1px;
}

.venue-address {
  font-size: 1rem;
  color: var(--text-dark);
  margin: 6px 0 16px 0;
  line-height: 1.5;
}

.detail-secondary {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.punctuality-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--bg-cream);
  font-weight: 600;
}

.detail-btn {
  background: transparent;
  border: 1.5px solid var(--gold-main);
  color: var(--text-dark);
  padding: 9px 18px;
  border-radius: 25px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.detail-btn:hover {
  background: var(--gold-main);
  color: #FFFFFF;
}

.detail-btn.maps-btn {
  background: linear-gradient(135deg, #FAF5EB 0%, #F5E8C7 100%);
  border-color: var(--gold-antique);
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 800;
}

.detail-btn.maps-btn:hover {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #FFFFFF;
}

/* ========================================================
   DRESS CODE & REGALOS
   ======================================================== */
.extra-info-section {
  margin-bottom: 45px;
}

.info-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.info-card {
  background: var(--bg-card-alt);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(44, 39, 36, 0.04);
}

.info-badge {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF5EB 100%);
  border: 1.5px solid var(--gold-main);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-antique);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.info-badge svg {
  width: 36px;
  height: 36px;
  color: var(--gold-antique);
  transition: transform 0.4s ease;
}

.info-card:hover .info-badge {
  transform: translateY(-4px) scale(1.06);
  border-color: var(--gold-antique);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, #FFFDF8 0%, #F5E8C7 100%);
}

.info-card:hover .info-badge svg {
  transform: scale(1.08);
}

.info-title {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--text-gold);
  margin-bottom: 4px;
  font-weight: 700;
}

.info-lead {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.info-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================================
   CONFIRMACIÓN DE ASISTENCIA VIP (RSVP)
   ======================================================== */
.rsvp-section {
  margin-bottom: 40px;
}

.rsvp-card {
  background: #FFFFFF;
  border: 1.5px solid var(--gold-main);
  border-radius: 18px;
  padding: 34px 24px;
  box-shadow: var(--shadow-paper);
}

.rsvp-header {
  text-align: center;
  margin-bottom: 24px;
}

.rsvp-emblem {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.rsvp-crest-svg {
  width: 110px;
  height: 44px;
  color: var(--gold-antique);
  filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.22));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.rsvp-card:hover .rsvp-crest-svg {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.38));
}

.rsvp-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-weight: 800;
}

.rsvp-lead {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.rsvp-form {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  font-weight: 600;
}

/* Selector de Pases VIP */
.passes-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.passes-group.passes-two-options {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pass-btn {
  background: var(--bg-cream);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--text-dark);
  padding: 12px 10px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.pass-btn:hover {
  border-color: var(--gold-main);
}

.pass-btn.active {
  background: linear-gradient(135deg, #FAF5EB 0%, #F5E8C7 50%, #FAF5EB 100%);
  color: var(--gold-antique);
  border: 1.5px solid var(--gold-main);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  font-weight: 800;
}

.couture-input,
.couture-select,
.couture-textarea {
  width: 100%;
  background: var(--bg-card-alt);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.couture-input:focus,
.couture-select:focus,
.couture-textarea:focus {
  outline: none;
  border-color: var(--gold-antique);
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.couture-select { cursor: pointer; }
.couture-textarea { resize: vertical; }

.rsvp-submit-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 30px;
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: var(--transition-smooth);
  margin-top: 8px;
}

.rsvp-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* ========================================================
   PIE DE TARJETA
   ======================================================== */
.card-footer {
  margin-top: 25px;
  padding-top: 20px;
}

.footer-sentiment {
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-dark);
  max-width: 500px;
  margin: 10px auto;
}

.signature-calligraphy {
  font-family: var(--font-script);
  font-size: 3.5rem;
  color: var(--gold-antique);
  margin: 8px 0 4px 0;
}

.footer-edition {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--text-muted);
}

/* Botón Compartir */
.share-invitation-container {
  text-align: center;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.btn-share {
  background: #FFFFFF;
  border: 1.5px solid var(--gold-main);
  color: var(--text-dark);
  padding: 11px 26px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(44, 39, 36, 0.06);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-share-svg,
.btn-geo-svg,
.btn-cal-svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.detail-btn:hover .btn-cal-svg {
  transform: translateY(-2px);
}

.btn-share:hover {
  background: var(--bg-cream);
  border-color: var(--gold-antique);
}

.btn-share:hover .btn-share-svg {
  transform: rotate(15deg) scale(1.1);
  color: var(--gold-antique);
}

.detail-btn.maps-btn:hover .btn-geo-svg {
  transform: translateY(-2px);
}

.share-feedback {
  font-size: 0.82rem;
  color: #128C7E;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-weight: 700;
}

.share-feedback.show { opacity: 1; }

/* ========================================================
   RESPONSIVE DESIGN (MÓVILES)
   ======================================================== */
@media (max-width: 600px) {
  .envelope-wrapper {
    width: 290px;
    height: 200px;
  }
  
  .envelope-inner-card {
    width: 260px;
    height: 170px;
    left: 15px;
    top: 15px;
  }

  .envelope-balloon-cluster {
    display: none;
  }

  .papeterie-card {
    padding: 0 16px 40px 16px;
    border-radius: 16px;
  }

  .card-hero-banner {
    width: calc(100% + 32px);
    margin-left: -16px;
    height: 140px;
  }

  .portrait-section {
    width: 145px;
    height: 145px;
  }
  .portrait-frame {
    width: 135px;
    height: 135px;
  }

  .golden-age {
    font-size: 4.4rem;
  }

  .celebrant-name {
    font-size: 3rem;
  }

  .countdown-grid {
    gap: 4px;
  }

  .countdown-tile {
    min-width: 58px;
    padding: 10px 4px;
  }

  .countdown-number {
    font-size: 1.7rem;
  }

  .countdown-colon {
    font-size: 1.4rem;
  }

  .couture-timeline {
    padding-left: 28px;
  }
  .timeline-axis {
    left: 13px;
  }
  .timeline-pip {
    left: -28px;
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .passes-group {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-controls {
    top: 12px;
    right: 12px;
    gap: 8px;
  }

  .control-btn {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }
}
