/* =========================================================
   INVITACIÓN DE BODA — TIZIANO & KIARA
   Estilo: Romántico, Elegante & Semi-Formal
   Paleta: Marfil cálido, Champagne, Dorado Oro y Rosa Empolvado
   ========================================================= */

:root {
  /* Paleta de Colores de Boda */
  --bg-main: #fbf9f6;
  --bg-gradient: radial-gradient(circle at 50% 0%, #ffffff 0%, #f7f3ec 50%, #eee8dd 100%);
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-border: rgba(212, 175, 55, 0.35);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  
  --gold-primary: #c99c39;
  --gold-dark: #a17820;
  --gold-light: #ecd69c;
  --gold-gradient: linear-gradient(135deg, #dfbc6d 0%, #c99c39 50%, #9c731e 100%);
  --gold-glow: 0 4px 20px rgba(201, 156, 57, 0.25);
  
  --seal-color: #a43a3a;
  --seal-gradient: radial-gradient(circle at 35% 35%, #bf4a4a, #8f2626 70%, #5e1515 100%);
  
  --text-main: #332d29;
  --text-muted: #6e655f;
  --text-gold: #b38626;
  
  /* Tipografías */
  --font-script: 'Alex Brush', cursive;
  --font-serif: 'Playfair Display', serif;
  --font-garamond: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
  
  /* Sombras y transiciones */
  --shadow-subtle: 0 8px 30px rgba(80, 60, 40, 0.08);
  --shadow-hover: 0 14px 40px rgba(80, 60, 40, 0.15);
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 20px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-main);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* =========================================================
   CANVAS DE PARTÍCULAS / DESTELLOS
   ========================================================= */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* =========================================================
   PANTALLA DE APERTURA / SOBRE (WELCOME OVERLAY)
   ========================================================= */
.welcome-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 37, 33, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.envelope-card {
  background: #fffdfa;
  background-image: radial-gradient(circle at 50% 20%, #ffffff 0%, #faf5ec 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 0 25px rgba(212, 175, 55, 0.1);
  border-radius: 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  animation: fadeInDown 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}

.monogram-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid var(--gold-primary);
  background: #fdfaf4;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(201, 156, 57, 0.15);
}

.monogram-letters {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 2px;
}

.envelope-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.envelope-names {
  font-family: var(--font-script);
  font-size: 3.2rem;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Sello de Cera Elegante para abrir */
.wax-seal-wrapper {
  margin: 1.5rem 0 2rem;
  display: flex;
  justify-content: center;
}

.wax-seal-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--seal-gradient);
  border: 3px solid rgba(255, 230, 180, 0.4);
  box-shadow: 0 8px 25px rgba(143, 38, 38, 0.5), inset 0 2px 6px rgba(255, 255, 255, 0.4);
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: sealPulse 2.2s infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wax-seal-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(143, 38, 38, 0.7);
}

.wax-seal-btn:active {
  transform: scale(0.95);
}

.seal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff4ea;
}

.seal-icon {
  font-size: 1.4rem;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
  margin-bottom: 2px;
}

.seal-text {
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  font-weight: 700;
  font-family: var(--font-sans);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.envelope-hint {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.sound-subhint {
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 500;
  display: inline-block;
  margin-top: 0.3rem;
}

/* =========================================================
   CONTROLADOR DE MÚSICA FLOTANTE
   ========================================================= */
.music-controller {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-music {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--gold-primary);
  color: var(--gold-dark);
  box-shadow: var(--shadow-subtle), 0 0 15px rgba(201, 156, 57, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
  outline: none;
}

.btn-music:hover {
  transform: scale(1.08);
  background: #fdfaf4;
}

.music-icon {
  font-size: 1.15rem;
  transition: opacity 0.25s ease;
}

.equalizer-bars {
  display: none;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 18px;
  width: 18px;
}

.equalizer-bars span {
  display: block;
  width: 2.5px;
  background: var(--gold-dark);
  border-radius: 2px;
  animation: soundBars 1s ease-in-out infinite alternate;
}

.equalizer-bars span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.equalizer-bars span:nth-child(2) { height: 90%; animation-delay: 0.3s; }
.equalizer-bars span:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.equalizer-bars span:nth-child(4) { height: 100%; animation-delay: 0.4s; }

.music-controller.playing .music-icon {
  display: none;
}

.music-controller.playing .equalizer-bars {
  display: flex;
}

.music-tooltip {
  display: none;
  background: rgba(43, 37, 33, 0.9);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* =========================================================
   CONTENEDOR DE LA INVITACIÓN
   ========================================================= */
.invitation-wrapper {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* =========================================================
   HERO / PORTADA
   ========================================================= */
.hero-section {
  text-align: center;
  padding: 3.5rem 1.5rem 2rem;
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 1px solid var(--bg-card-border);
  box-shadow: var(--shadow-subtle);
}

.ornament-top {
  margin-bottom: 1.25rem;
  color: var(--gold-primary);
  display: flex;
  justify-content: center;
}

.ornament-svg {
  width: 140px;
  height: auto;
}

.hero-monogram {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold-dark);
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hero-title {
  font-family: var(--font-script);
  font-size: 4rem;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-phrase {
  font-family: var(--font-garamond);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold-primary);
  margin-bottom: 2rem;
}

.leaf-icon {
  font-size: 1.4rem;
}

.ring-icon {
  font-size: 1.25rem;
  color: var(--gold-dark);
  filter: drop-shadow(0 2px 4px rgba(201, 156, 57, 0.3));
}

.date-hero-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 16px;
  padding: 1rem 2rem;
  box-shadow: 0 4px 18px rgba(80, 60, 40, 0.06);
}

.date-weekday {
  font-size: 0.82rem;
  letter-spacing: 4px;
  color: var(--gold-dark);
  font-weight: 600;
}

.date-main-number {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  margin: 0.2rem 0;
}

.date-month-year {
  font-size: 0.82rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  font-weight: 500;
}

/* =========================================================
   ESTILOS COMUNES DE SECCIÓN Y TARJETAS
   ========================================================= */
.section {
  text-align: center;
}

.section-title-script {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--gold-dark);
  line-height: 1.1;
  margin-bottom: 0.25rem;
  font-weight: 400;
}

.section-subtitle {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.elegant-card,
.rsvp-card,
.gift-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 1px solid var(--bg-card-border);
  box-shadow: var(--shadow-subtle);
  padding: 2.5rem 1.75rem;
  text-align: center;
  transition: var(--transition);
}

.card-icon-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fdfaf4;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-dark);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(201, 156, 57, 0.15);
}

/* =========================================================
   CUENTA REGRESIVA
   ========================================================= */
.countdown-section {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 1px solid var(--bg-card-border);
  box-shadow: var(--shadow-subtle);
  padding: 2.5rem 1.5rem;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.75rem;
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  min-width: 64px;
  padding: 0.75rem 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.time-num {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

.time-label {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 3px;
}

.time-colon {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-primary);
  font-weight: bold;
}

/* =========================================================
   EVENTOS (CEREMONIA Y FIESTA)
   ========================================================= */
.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.event-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius);
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.event-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-dark);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(201, 156, 57, 0.15);
}

.event-type {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.event-venue {
  font-family: var(--font-garamond);
  font-size: 1.3rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.event-time {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-address {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.parking-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fdfaf4;
  color: var(--gold-dark);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.95rem;
  border-radius: 14px;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.parking-badge i {
  color: var(--gold-primary);
  font-size: 0.95rem;
}

.event-btn-wrap {
  width: 100%;
}

/* =========================================================
   DRESS CODE
   ========================================================= */
.dresscode-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.dresscode-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.dresscode-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fdfaf4;
  border: 1px dashed rgba(212, 175, 55, 0.6);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--text-main);
}

.dresscode-badge i {
  color: var(--gold-dark);
}

/* =========================================================
   CONFIRMACIÓN DE ASISTENCIA (RSVP)
   ========================================================= */
.rsvp-subtext {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.rsvp-deadline {
  font-size: 0.9rem;
  color: var(--gold-dark);
  background: #fdfaf4;
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 1.75rem;
}

.rsvp-buttons {
  display: flex;
  justify-content: center;
}

/* =========================================================
   REGALOS / DATOS BANCARIOS
   ========================================================= */
.gift-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.bank-details-box {
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.bank-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.bank-label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--gold-dark);
}

.copyable-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #fcf9f5;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
}

.bank-value {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  word-break: break-all;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  flex-shrink: 0;
  margin-left: 8px;
}

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

.bank-item-extra {
  border-top: 1px solid #f2ede4;
  padding-top: 0.75rem;
}

.bank-plain {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Toast flotante */
.copy-toast {
  display: none;
  margin-top: 1rem;
  background: #2b2521;
  color: #fff;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  animation: fadeIn 0.3s ease;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   BOTONES
   ========================================================= */
.btn-gold-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: var(--gold-glow);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-gold-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 156, 57, 0.4);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--gold-dark);
  border: 1px solid var(--gold-primary);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(80, 60, 40, 0.05);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline-gold:hover {
  background: #fdfaf4;
  transform: translateY(-2px);
  border-color: var(--gold-dark);
}

.btn-card-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.75rem 1.4rem;
  border-radius: 25px;
  text-decoration: none;
  width: 100%;
  transition: var(--transition);
}

.btn-card-gold:hover {
  background: var(--gold-primary);
  color: #ffffff;
  border-color: var(--gold-primary);
}

/* =========================================================
   SECCIÓN SPOTIFY PLAYLIST
   ========================================================= */
.spotify-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 1px solid var(--bg-card-border);
  box-shadow: var(--shadow-subtle);
  padding: 2.5rem 1.75rem;
  text-align: center;
  transition: var(--transition);
}

.spotify-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.8rem;
}

.spotify-brand-icon {
  font-size: 2.6rem;
  color: #1DB954;
  filter: drop-shadow(0 2px 10px rgba(29, 185, 84, 0.35));
  margin-bottom: 0.3rem;
}

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

.btn-spotify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1DB954;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(29, 185, 84, 0.35);
  transition: var(--transition);
  border: none;
}

.btn-spotify:hover {
  background: #1ed760;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(29, 185, 84, 0.5);
  color: #ffffff;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer-section {
  text-align: center;
  padding: 3rem 1.5rem 1rem;
}

.footer-ornament {
  color: var(--gold-primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-thanks {
  font-family: var(--font-garamond);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-couple-names {
  font-family: var(--font-script);
  font-size: 3.2rem;
  color: var(--text-main);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.footer-brand {
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  opacity: 0.85;
}

/* =========================================================
   ANIMACIONES
   ========================================================= */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sealPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(164, 58, 58, 0.45);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(164, 58, 58, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(164, 58, 58, 0);
  }
}

@keyframes soundBars {
  0% { height: 20%; }
  100% { height: 100%; }
}

/* Scroll reveal suave */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE DESIGN (MÓVILES)
   ========================================================= */
@media (max-width: 480px) {
  .hero-title {
    font-size: 3.2rem;
  }
  
  .envelope-names {
    font-size: 2.7rem;
  }
  
  .section-title-script {
    font-size: 2.6rem;
  }
  
  .time-box {
    min-width: 54px;
    padding: 0.6rem 0.35rem;
  }
  
  .time-num {
    font-size: 1.55rem;
  }

  .date-main-number {
    font-size: 2.6rem;
  }

  .invitation-wrapper {
    padding: 1.5rem 1rem 3rem;
    gap: 2rem;
  }
}
