/* ===================================================
   LUXURY QUINCEAÑERA INVITATION - STYLESHEET
   Palette: Rosa Palo (Dusty Rose), Blush Pink, Rose Gold & Perla
   Typography: Cinzel, Playfair Display, Great Vibes, Montserrat
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600&family=Cinzel:wght@400;600;700;800&family=Great+Vibes&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary-gold: #c47b85;
  --gold-light: #fce4e8;
  --gold-dark: #8c4652;
  --gold-gradient: linear-gradient(135deg, #c87b87 0%, #fdebee 25%, #b86775 50%, #fdebee 75%, #9b4d5b 100%);
  --gold-gradient-soft: linear-gradient(135deg, #dca1aa 0%, #fcf0f2 50%, #c7808c 100%);
  --champagne-bg: #FAF3F5;
  --champagne-card: #FFFFFF;
  --champagne-dark: #261619;
  --text-primary: #38272b;
  --text-muted: #7d656a;
  --border-gold: rgba(196, 123, 133, 0.35);
  --shadow-luxury: 0 20px 45px rgba(140, 70, 82, 0.12), 0 5px 15px rgba(0, 0, 0, 0.04);
  --shadow-gold-glow: 0 0 25px rgba(196, 123, 133, 0.3);
  --font-serif: 'Playfair Display', serif;
  --font-display: 'Cinzel', serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Montserrat', sans-serif;
  --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  background-color: var(--champagne-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(250, 220, 225, 0.45) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(216, 138, 150, 0.22) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Golden Dust Canvas Background */
#particles-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.main-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 80px 20px;
}

/* ===================================================
   HERO / BANNER SECTION
=================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 15px 40px;
  position: relative;
}

.monogram-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold-glow);
  margin-bottom: 25px;
  position: relative;
  animation: pulseGold 3s infinite ease-in-out;
}

.monogram-badge-inner {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-gold);
}

.monogram-badge span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 8vw, 4.8rem);
  color: var(--gold-dark);
  line-height: 1.1;
  margin-bottom: 15px;
  text-shadow: 0 2px 15px rgba(196, 123, 133, 0.25);
  word-break: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }
}

.hero-xv-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--text-primary);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 6px 30px;
  margin-bottom: 35px;
  font-weight: 600;
}

/* ===================================================
   CARD STACK PHOTO DECK
=================================================== */
.card-stack-wrap {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.card-stack {
  position: relative;
  width: 220px;
  height: 290px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.stack-photo {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.28),
    0 3px 10px rgba(0,0,0,0.14);
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}

.stack-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Hint text below stack */
.card-stack-hint {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  opacity: 0.75;
  animation: hintPulse 2.5s infinite ease-in-out;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1;   }
}

@media (max-width: 400px) {
  .card-stack { width: 185px; height: 245px; }
}




.hero-date-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: var(--shadow-luxury);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  max-width: 100%;
}

@media (max-width: 480px) {
  .hero-date-box {
    padding: 10px 16px;
    border-radius: 30px;
    gap: 8px;
  }
}

.hero-date-box i {
  color: var(--primary-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-date-box span {
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 3vw, 1rem);
  letter-spacing: 1.5px;
  font-weight: 600;
  text-align: center;
}
  color: var(--text-primary);
  text-transform: uppercase;
}

/* ===================================================
   ORNAMENT DIVIDERS
=================================================== */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 40px auto;
  max-width: 400px;
}

.ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.ornament-diamond {
  width: 8px;
  height: 8px;
  background: var(--primary-gold);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(196, 123, 133, 0.5);
}

/* ===================================================
   SECTION COMMONS
=================================================== */
.invitation-section {
  margin-bottom: 70px;
  scroll-margin-top: 40px;
}

.section-card {
  background: var(--champagne-card);
  border-radius: 20px;
  border: 1px solid var(--border-gold);
  padding: 40px 30px;
  box-shadow: var(--shadow-luxury);
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .section-card {
    padding: 30px 18px;
  }
}

.section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

.section-header {
  text-align: center;
  margin-bottom: 35px;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: 8px;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold-dark);
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 600px) {
  .section-title {
    font-size: 1.8rem;
  }
}

/* ===================================================
   QUOTE / EMOTIONAL MESSAGE SECTION
=================================================== */
.quote-card {
  text-align: center;
  padding: 45px 35px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(253, 245, 247, 0.95));
  border-radius: 20px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-luxury);
  position: relative;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 15px;
}

.quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: #4b363a;
  max-width: 680px;
  margin: 0 auto 18px;
  line-height: 1.7;
}

.quote-author {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--primary-gold);
}

/* ===================================================
   COUNTDOWN TIMER
=================================================== */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 580px;
  margin: 0 auto;
}

@media (max-width: 500px) {
  .countdown-grid {
    gap: 8px;
  }
}

.countdown-box {
  background: linear-gradient(145deg, #ffffff, #faf0f2);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 18px 10px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(196, 123, 133, 0.12);
  transition: var(--transition);
}

.countdown-box:hover {
  transform: translateY(-4px);
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-gold-glow);
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 6px;
}

@media (max-width: 500px) {
  .countdown-number {
    font-size: 1.9rem;
  }
}

.countdown-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* ===================================================
   PARENTS & GODPARENTS SECTION
=================================================== */
.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

@media (max-width: 680px) {
  .family-grid {
    grid-template-columns: 1fr;
  }
}

.family-box {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
}

.family-box-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: rgba(250, 220, 225, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1.3rem;
  border: 1px solid var(--border-gold);
}

.family-role {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: 12px;
  font-weight: 600;
}

.family-names {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-primary);
  line-height: 1.4;
  font-weight: 600;
}

/* ===================================================
   EVENT DETAILS: CEREMONIA & RECEPCIÓN
=================================================== */
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}

.event-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-gold);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(140, 70, 82, 0.16);
}

.event-image-holder {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.event-image-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-card:hover .event-image-holder img {
  transform: scale(1.05);
}

.event-time-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(38, 22, 25, 0.88);
  backdrop-filter: blur(8px);
  color: #fbe6ea;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 2px;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid rgba(216, 138, 150, 0.6);
  font-weight: 600;
}

.event-card-top {
  padding: 35px 24px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-box-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(250, 220, 225, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1.8rem;
  border: 1px solid var(--border-gold);
  box-shadow: 0 4px 15px rgba(196, 123, 133, 0.12);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover .event-box-icon {
  transform: scale(1.08);
  background: rgba(250, 220, 225, 0.7);
  box-shadow: 0 8px 25px rgba(196, 123, 133, 0.22);
}

.event-time-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 220, 225, 0.5);
  border: 1px solid var(--border-gold);
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 5px;
}

.event-body {
  padding: 22px 24px 32px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-category {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: 8px;
  font-weight: 600;
}

.event-venue-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.event-address {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex: 1;
}

.event-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Luxury Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(80, 25, 35, 0.35);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(196, 123, 133, 0.35);
  transition: var(--transition);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(196, 123, 133, 0.5);
  filter: brightness(1.05);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--gold-dark);
  border: 1px solid var(--primary-gold);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 11px 22px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background: rgba(196, 123, 133, 0.12);
  border-color: var(--gold-dark);
}

/* ===================================================
   DRESS CODE (CÓDIGO DE VESTIMENTA)
=================================================== */
.dresscode-card {
  text-align: center;
  padding: 40px 30px;
}

.dresscode-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 25px;
}

.dresscode-icon-bubble {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #faedf0);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold-dark);
  box-shadow: 0 8px 20px rgba(196, 123, 133, 0.15);
}

.dresscode-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.dresscode-desc {
  font-size: 1.05rem;
  color: var(--text-primary);
  max-width: 550px;
  margin: 0 auto 20px;
}

.color-swatches-box {
  margin: 25px auto 0;
  padding-top: 20px;
  border-top: 1px dashed var(--border-gold);
  max-width: 500px;
}

.swatches-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: 12px;
}

.swatches-list {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.swatch-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.swatch-circle.white { background-color: #FFFFFF; border: 2px solid #ecd8db; }
.swatch-circle.ivory { background-color: #FAF2F4; border: 2px solid #e5cacc; }
.swatch-circle.champagne { background-color: #F2D2D7; }
.swatch-circle.gold { background-color: #C47B85; }

.swatch-name {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dresscode-alert {
  display: inline-block;
  background: #FDF1F3;
  border: 1px solid rgba(196, 123, 133, 0.4);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  color: #8c4652;
  font-style: italic;
}

/* ===================================================
   MESA DE REGALOS & LLUVIA DE SOBRES
=================================================== */
.gifts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.gift-card {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.gift-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-luxury);
}

.gift-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(250, 220, 225, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.gift-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.gift-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.bank-info-box {
  background: #faf2f4;
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 14px;
  width: 100%;
  margin-bottom: 15px;
  text-align: left;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.bank-row:last-child {
  margin-bottom: 0;
}

.bank-label {
  color: var(--text-muted);
  font-weight: 500;
}

.bank-value {
  color: var(--text-primary);
  font-weight: 700;
  font-family: monospace;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid var(--primary-gold);
  border-radius: 30px;
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy:hover {
  background: var(--gold-gradient);
  color: #ffffff;
  border-color: transparent;
}

/* ===================================================
   GALLERY (GALERÍA DE FOTOS)
=================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-luxury);
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 22, 25, 0.88) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-overlay h4 {
  font-family: var(--font-serif);
  color: #ffffff;
  font-size: 1.15rem;
}

.gallery-overlay p {
  color: #fbe6ea;
  font-size: 0.85rem;
}

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

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

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 0 35px rgba(196, 123, 133, 0.4);
  border: 1px solid var(--primary-gold);
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--primary-gold);
  transform: rotate(90deg);
}

/* ===================================================
   CÓDIGO DE VESTIMENTA (DRESS CODE)
=================================================== */
.dresscode-card {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 42px 30px;
}

.dresscode-icon-badge {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(250, 220, 225, 0.45);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gold-dark);
  font-size: 1.55rem;
  box-shadow: 0 4px 15px rgba(196, 123, 133, 0.12);
  transition: transform 0.3s ease;
}

.dresscode-card:hover .dresscode-icon-badge {
  transform: scale(1.06);
}

.dresscode-type {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--gold-dark);
  margin-bottom: 10px;
  font-weight: 700;
}

.dresscode-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.dresscode-pink-notice {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 240, 242, 0.88) 100%);
  border: 1.5px dashed var(--primary-gold);
  border-radius: 18px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  box-shadow: 0 8px 25px rgba(140, 70, 82, 0.06);
}

.dresscode-pink-circle {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8b4be 0%, #e28e9b 100%);
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(226, 142, 155, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8c4652;
  font-size: 1.45rem;
  position: relative;
}

.dresscode-pink-content {
  flex: 1;
}

.dresscode-pink-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dresscode-pink-text {
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
}

.dresscode-pink-text strong {
  color: var(--gold-dark);
}

@media (max-width: 576px) {
  .dresscode-card {
    padding: 32px 18px;
  }
  .dresscode-pink-notice {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
  }
  .dresscode-pink-title {
    justify-content: center;
  }
}

/* ===================================================
   RSVP - ASISTENCIA POR FAMILIA
=================================================== */
.rsvp-card {
  max-width: 650px;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e5d3d6;
  border-radius: 12px;
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 4px rgba(196, 123, 133, 0.18);
}

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

/* Radio Group: Asistirá o No */
.radio-attendance-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 24px;
}

@media (max-width: 500px) {
  .radio-attendance-group {
    grid-template-columns: 1fr;
  }
}

.radio-attendance-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid #ebd8db;
  border-radius: 12px;
  background: #faf4f5;
  cursor: pointer;
  transition: var(--transition);
}

.radio-attendance-card input[type="radio"] {
  accent-color: var(--primary-gold);
  width: 18px;
  height: 18px;
}

.radio-attendance-card.selected {
  border-color: var(--primary-gold);
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(196, 123, 133, 0.2);
}

.radio-text-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.radio-text-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Passes counter */
.passes-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

@media (max-width: 500px) {
  .passes-row {
    grid-template-columns: 1fr;
  }
}

.number-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #e5d3d6;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.stepper-btn {
  width: 44px;
  height: 48px;
  border: none;
  background: #faedf0;
  color: var(--gold-dark);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.stepper-btn:hover {
  background: var(--gold-light);
}

.stepper-input {
  flex: 1;
  border: none;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  outline: none;
}

/* Success Card */
.rsvp-success-box {
  display: none;
  text-align: center;
  padding: 30px 20px;
  animation: fadeIn 0.6s ease;
}

.rsvp-success-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #ffffff;
  box-shadow: var(--shadow-gold-glow);
}

.rsvp-success-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.rsvp-success-desc {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 25px;
}

/* ===================================================
   MUSIC SUGGESTION / PLAYLIST SECTION
=================================================== */
.music-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 800px) {
  .music-container {
    grid-template-columns: 1fr;
  }
}

.music-form-side {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: var(--shadow-luxury);
}

.music-list-side {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: var(--shadow-luxury);
  display: flex;
  flex-direction: column;
}

.music-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f2e2e5;
}

.music-list-header h3 {
  font-family: var(--font-serif);
  color: var(--gold-dark);
  font-size: 1.35rem;
}

.music-count-badge {
  background: #faeff1;
  color: var(--gold-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border-gold);
}

.songs-scrollable {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Custom scrollbar */
.songs-scrollable::-webkit-scrollbar {
  width: 5px;
}
.songs-scrollable::-webkit-scrollbar-thumb {
  background: #d8b4bb;
  border-radius: 10px;
}

.song-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #faf3f5;
  border-radius: 12px;
  border: 1px solid #edd3d7;
  transition: var(--transition);
}

.song-card:hover {
  transform: translateX(4px);
  background: #ffffff;
  border-color: var(--primary-gold);
}

.song-disc-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.song-info {
  flex: 1;
  min-width: 0;
}

.song-title-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-artist-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-requested-by {
  font-size: 0.72rem;
  color: var(--primary-gold);
  font-style: italic;
  margin-top: 2px;
}

.song-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-dark);
  transition: var(--transition);
  flex-shrink: 0;
}

.song-vote-btn:hover {
  background: var(--gold-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.05);
}

.song-vote-btn i {
  color: #e04f5f;
}

/* ===================================================
   FLOATING AUDIO PLAYER
=================================================== */
.floating-audio-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 12px;
}

.audio-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: 2px solid #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), var(--shadow-gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
}

.audio-btn:hover {
  transform: scale(1.1) rotate(15deg);
}

.audio-btn.playing {
  animation: pulseGold 2s infinite ease-in-out;
}

.audio-equalizer {
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.audio-btn.playing .audio-equalizer {
  display: flex;
}

.audio-btn.playing .audio-main-icon {
  display: none;
}

.eq-bar {
  width: 3px;
  background: #ffffff;
  border-radius: 2px;
  animation: eqBounce 1s infinite ease-in-out;
}

.eq-bar:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 16px; animation-delay: 0.3s; }
.eq-bar:nth-child(3) { height: 12px; animation-delay: 0.2s; }
.eq-bar:nth-child(4) { height: 18px; animation-delay: 0.4s; }

/* Floating Tooltip */
.audio-tooltip {
  background: rgba(38, 22, 25, 0.92);
  backdrop-filter: blur(8px);
  color: #fbe6ea;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 1px;
  border: 1px solid rgba(196, 123, 133, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.floating-audio-widget:hover .audio-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ===================================================
   FOOTER
=================================================== */
.invitation-footer {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-gold);
}

.footer-monogram {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 10px;
}

.footer-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.footer-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9d8288;
  font-size: 0.75rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-admin-link:hover {
  color: var(--primary-gold);
}

/* ===================================================
   TOAST NOTIFICATIONS
=================================================== */
#toast-notification {
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 10001;
  background: rgba(38, 22, 25, 0.95);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid var(--primary-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), var(--shadow-gold-glow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  transform: translateY(-50px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

#toast-notification i {
  color: #fce1e5;
  font-size: 1.2rem;
}

/* ===================================================
   ANIMATIONS
=================================================== */
@keyframes pulseGold {
  0%, 100% {
    box-shadow: 0 0 15px rgba(196, 123, 133, 0.35);
  }
  50% {
    box-shadow: 0 0 35px rgba(196, 123, 133, 0.75);
  }
}

@keyframes eqBounce {
  0%, 100% { height: 6px; }
  50% { height: 18px; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================================================
   ÁLBUM DE FOTOS DE LOS INVITADOS
=================================================== */
.photo-dropzone {
  display: block;
  text-align: center;
  padding: 34px 20px;
  border: 2px dashed var(--border-gold);
  border-radius: 18px;
  background: rgba(252, 228, 232, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.photo-dropzone:hover,
.photo-dropzone.dragover {
  border-color: var(--primary-gold);
  background: rgba(252, 228, 232, 0.7);
  box-shadow: var(--shadow-gold-glow);
}

.photo-dropzone.disabled {
  pointer-events: none;
  opacity: 0.6;
}

.photo-dropzone-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-gold-glow);
}

.photo-dropzone-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.photo-dropzone-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.photo-upload-status {
  margin-top: 18px;
}

.photo-progress {
  height: 8px;
  border-radius: 8px;
  background: var(--gold-light);
  overflow: hidden;
}

.photo-progress-bar {
  height: 100%;
  width: 0;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
}

.photo-progress-text {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--gold-dark);
  text-align: center;
}

.photos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 30px 0 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-gold);
}

.photos-header h3 {
  font-family: var(--font-serif);
  color: var(--gold-dark);
  font-size: 1.2rem;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.photo-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 6px 18px rgba(140, 70, 82, 0.1);
  cursor: zoom-in;
  background: var(--gold-light);
  padding: 0;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.photo-tile:hover img {
  transform: scale(1.07);
}

.photos-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 25px;
  color: var(--text-muted);
}

.photos-empty i {
  font-size: 2rem;
  color: var(--primary-gold);
  margin-bottom: 10px;
  display: block;
}

.photos-more-btn {
  display: block;
  margin: 18px auto 0;
}

@media (max-width: 480px) {
  .photos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .photo-tile { border-radius: 10px; }
}

/* ===================================================
   AJUSTES RESPONSIVOS (celulares, tablets y pantallas grandes)
=================================================== */
img { max-width: 100%; }

/* Evita que el contenido largo empuje las columnas fuera de la pantalla */
.countdown-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.music-container,
.events-grid,
.family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.music-container > *,
.events-grid > *,
.family-grid > *,
.countdown-grid > * { min-width: 0; }

.hero-title,
.section-title,
.family-names,
.event-venue-name,
.event-address,
.quote-text,
.song-artist-text,
.form-label { overflow-wrap: anywhere; }

/* Tablets */
@media (max-width: 800px) {
  .music-container { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .events-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .family-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Celulares y Tablets pequeñas */
@media (max-width: 600px) {
  .main-container { padding: 0 14px 70px; }
  .section-subtitle { letter-spacing: 3px; font-size: 0.8rem; }
  .section-card { padding: 30px 18px; }
  .music-form-side,
  .music-list-side { padding: 22px 16px; }
  .event-actions { flex-direction: column; }
  .event-actions .btn-gold,
  .event-actions .btn-outline-gold { width: 100%; justify-content: center; }
  .radio-attendance-group { grid-template-columns: minmax(0, 1fr); }
  .event-card-top { padding: 28px 18px 0; }
  .event-body { padding: 18px 18px 26px; }
  .event-venue-name { font-size: 1.35rem; }
  .dresscode-card { padding: 30px 18px; }
}

@media (max-width: 480px) {
  .hero-section { padding: 40px 10px 25px; }
  .monogram-badge { width: 68px; height: 68px; margin-bottom: 18px; }
  .monogram-badge-inner { width: 60px; height: 60px; }
  .monogram-badge span { font-size: 1.65rem; }
  .hero-subtitle { font-size: 0.8rem; letter-spacing: 4px; }
  .hero-xv-tag { font-size: 1rem; letter-spacing: 5px; padding: 5px 20px; margin-bottom: 25px; }
  .card-stack { width: 190px; height: 250px; }
  .quote-card { padding: 28px 16px; }
  .quote-icon { font-size: 2rem; margin-bottom: 10px; }
  .quote-text { font-size: 1.02rem; line-height: 1.6; }
  .quote-author { font-size: 1.5rem; }
  .family-box { padding: 22px 14px; }
  .family-box-icon { width: 46px; height: 46px; font-size: 1.15rem; margin-bottom: 10px; }
  .family-role { font-size: 0.72rem; }
  .family-names { font-size: 1.05rem; }
  .event-box-icon { width: 60px; height: 60px; font-size: 1.55rem; }
  .event-time-pill { font-size: 0.78rem; padding: 5px 14px; letter-spacing: 1px; }
  .dresscode-icon-badge { width: 60px; height: 60px; font-size: 1.4rem; }
  .dresscode-type { font-size: 1.45rem; }
  .dresscode-pink-notice { padding: 18px 14px; gap: 12px; }
  .dresscode-pink-circle { width: 50px; height: 50px; font-size: 1.25rem; }
  .countdown-box { padding: 14px 4px; border-radius: 12px; }
  .countdown-number { font-size: 1.6rem; }
  .countdown-label { font-size: 0.58rem; letter-spacing: 1px; }
  .section-title { font-size: 1.6rem; }
  .song-card { gap: 10px; padding: 10px 12px; }
  .song-disc-icon { width: 38px; height: 38px; font-size: 0.95rem; }
  .song-title-text { font-size: 0.88rem; }
  .song-artist-text { font-size: 0.76rem; }
  .song-vote-btn { padding: 5px 10px; font-size: 0.76rem; }
  .lightbox-modal { padding: 12px; }
  .lightbox-img { max-width: 100%; }
  .lightbox-close { top: 15px; right: 15px; font-size: 1.8rem; width: 40px; height: 40px; }
  .floating-audio-widget { bottom: 18px; right: 18px; }
  .audio-btn { width: 48px; height: 48px; }
  .audio-tooltip { display: none !important; }
}

/* Celulares muy pequeños (iPhone SE, Galaxy Fold, Android compactos) */
@media (max-width: 360px) {
  .main-container { padding: 0 10px 60px; }
  .section-card { padding: 24px 12px; }
  .card-stack { width: 165px; height: 220px; }
  .countdown-grid { gap: 5px; }
  .countdown-number { font-size: 1.35rem; }
  .countdown-label { font-size: 0.5rem; letter-spacing: 0.5px; }
  .section-title { font-size: 1.4rem; }
  .event-venue-name { font-size: 1.2rem; }
  .event-address { font-size: 0.82rem; }
  .photo-dropzone { padding: 24px 12px; }
  .photo-dropzone-icon { width: 52px; height: 52px; font-size: 1.35rem; }
  .photos-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

/* Pantallas grandes y ultrawide */
@media (min-width: 1440px) {
  .main-container { max-width: 980px; }
}
