:root {
  --lavanda: #C8A4E8;
  --lila-neon: #9B2FD4;
  --rosa-chicle: #FF2D78;
  --azul-elec: #3B5BDB;
  --plata: #C0C0C0;
  --rosa-candy: #FF85C1;
  --bg-dark: #0D0B1A;
  --text-light: #F5F0FF;
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(255,45,120,0.3);
  --heading-glow: 0 0 8px var(--rosa-chicle), 0 0 20px var(--rosa-chicle), 0 0 40px var(--lila-neon);
  --section-gradient: linear-gradient(to bottom, rgba(255,133,193,0.2), rgba(155,47,212,0.1) 48%, rgba(255,45,120,0.18)), radial-gradient(circle at 50% 26%, rgba(255,133,193,0.22), transparent 20rem), radial-gradient(circle at 50% 20%, rgba(255,133,193,0.18), transparent 22rem), radial-gradient(circle at 20% 80%, rgba(200,164,232,0.14), transparent 18rem), linear-gradient(180deg, #140f24 0%, #0d0b1a 55%, #170d24 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text-light);
  font-family: "DM Sans", "Avenir Next", sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,45,120,0.28), transparent 28rem),
    radial-gradient(circle at 85% 25%, rgba(59,91,219,0.28), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(155,47,212,0.28), transparent 34rem),
    var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "✦ ★ ⚡ ✦ ♡ ★ ⚡";
  position: fixed;
  inset: 0;
  z-index: -1;
  color: rgba(255,133,193,0.16);
  font-size: clamp(2rem, 8vw, 7rem);
  letter-spacing: 0.45em;
  line-height: 1.8;
  transform: rotate(-12deg);
  animation: float 11s ease-in-out infinite alternate;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text-light);
  text-shadow: var(--heading-glow);
}

h1,
h2 {
  font-family: "Boogaloo", cursive;
  letter-spacing: 0.05em;
}

h3,
h4,
.eyebrow {
  font-family: "Space Grotesk", sans-serif;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.section,
.footer,
.side-menu {
  width: min(1080px, calc(100%));
  margin-inline: auto;
}

.side-menu {
  display: none;
}

.portada-lock {
  overflow: hidden;
}

.portada {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  min-height: 86dvh;
  overflow: hidden;
  background: var(--section-gradient);
  transition: opacity 0.8s ease, transform 0.8s ease;
  animation: portadaBgDrift 14s ease-in-out infinite alternate;
}

.portada::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(13,11,26,0.3) 0%,
    rgba(13,11,26,0.1) 40%,
    rgba(13,11,26,0.5) 100%
  );
  pointer-events: none;
  animation: portadaOverlayPulse 6s ease-in-out infinite alternate;
}

.portada::after {
  content: "⚡ ✦ ♡";
  position: absolute;
  right: 8%;
  bottom: 12%;
  z-index: 2;
  color: var(--rosa-candy);
  font-size: clamp(2rem, 8vw, 6rem);
  opacity: 0.34;
  animation: float 6s ease-in-out infinite;
  animation-delay: -2s;
}

.portada-glow {
  position: absolute;
  z-index: 2;
  width: min(62vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,45,120,0.28);
  filter: blur(72px);
  animation: portadaGlowPulse 5s ease-in-out infinite alternate;
}

.portada-contenido {
  position: relative;
  z-index: 3;
  width: min(680px, calc(100% - 2rem));
  cursor: pointer;
  animation: portadaContentIn 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.portada-center,
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 34px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.34), inset 0 0 40px rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
}

.portada-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: min(100dvh, 760px);
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-align: center;
}

.portada-label {
  order: 1;
  margin: 0;
  color: #FF85C1;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.15rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.36em;
  line-height: 1;
  background: linear-gradient(135deg, #FF85C1 0%, #C8A4E8 45%, #FF2D78 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.42)) drop-shadow(0 0 10px rgba(255,133,193,0.28));
  text-transform: uppercase;
  animation: portadaLabelIn 0.9s ease both 0.18s;
}

.portada-kicker,
.eyebrow {
  color: var(--plata);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.portada-kicker {
  order: 3;
  margin: 0.5rem 0 0;
  color: #FF85C1;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  line-height: 1.2;
  opacity: 0.9;
  text-transform: uppercase;
  animation: portadaKickerIn 0.9s ease both 0.58s;
}

.portada-main-name {
  margin: 0.45rem 0 0;
  line-height: 0.9;
}

.portada-nombre {
  order: 2;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(3.5rem, 14vw, 9rem);
  letter-spacing: 0.08em;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #d4d4d4 15%,
    #a8a8a8 28%,
    #ffffff 40%,
    #c0c0c0 52%,
    #e8e8e8 63%,
    #a0a0a0 75%,
    #ffffff 85%,
    #c0c0c0 100%
  );
  background-size: 220% 220%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter:
    drop-shadow(0 1px 1px rgba(255,255,255,0.34))
    drop-shadow(0 2px 4px rgba(0,0,0,0.42));
  text-shadow: none;
  text-transform: uppercase;
  animation: portadaNameIn 1s ease both 0.32s, portadaGlitter 4.5s ease-in-out infinite 1.3s;
}

.portada-subtitle {
  display: none;
}

.hero-subtitle {
  color: var(--rosa-candy);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1rem, 3vw, 1.45rem);
  font-weight: 700;
}

#btn-abrir,
.btn-soft,
#rsvp-submit,
.btn-location,
.countdown-calendar,
.rsvp-popup-btn,
.rsvp-popup-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  border: 1px solid rgba(255,133,193,0.62);
  background: var(--rosa-chicle);
  color: var(--text-light);
  border-radius: 50px;
  padding: 0.76rem 1.35rem;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 0 18px rgba(255,45,120,0.36);
}

.btn-soft,
#rsvp-submit,
.btn-location,
.countdown-calendar,
.rsvp-popup-btn,
.rsvp-popup-close {
  min-height: 30px;
  padding: 7px 20px;
  border: 1px solid rgba(200,164,232,0.56);
  border-radius: 50px;
  background: linear-gradient(145deg, rgba(56,34,86,0.94), rgba(134,54,126,0.9));
  color: rgba(245,240,255,0.96);
  font-family: "DM Sans", sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -10px 18px rgba(13,11,26,0.28),
    0 8px 22px rgba(0,0,0,0.42),
    0 0 14px rgba(200,164,232,0.28);
}

#btn-abrir {
  order: 4;
  min-height: 30px;
  margin-top: 0.9rem;
  padding: 7px 20px;
  border: 1px solid rgba(200,164,232,0.56);
  border-radius: 50px;
  background: linear-gradient(145deg, rgba(56,34,86,0.94), rgba(134,54,126,0.9));
  color: rgba(245,240,255,0.96);
  font-family: "DM Sans", sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -10px 18px rgba(13,11,26,0.28),
    0 8px 22px rgba(0,0,0,0.42),
    0 0 14px rgba(200,164,232,0.28);
  animation: portadaButtonIn 0.85s ease both 0.78s, portadaButtonBreath 2.8s ease-in-out infinite 1.7s;
}

#btn-abrir:hover {
  background: rgba(255,45,120,0.15);
  border-color: #FF2D78;
  color: #FF85C1;
  box-shadow: 0 0 20px rgba(255,45,120,0.3);
}

#btn-abrir:hover,
.btn-soft:hover,
#rsvp-submit:hover,
.btn-location:hover,
.countdown-calendar:hover,
.rsvp-popup-btn:hover,
.rsvp-popup-close:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 16px var(--rosa-chicle), 0 0 36px rgba(155,47,212,0.9);
  filter: saturate(1.16);
}

#portada #btn-abrir:hover {
  background: linear-gradient(145deg, rgba(88,49,118,0.96), rgba(178,72,145,0.92));
  border-color: rgba(255,133,193,0.68);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.26),
    inset 0 -10px 18px rgba(13,11,26,0.22),
    0 10px 26px rgba(0,0,0,0.48),
    0 0 18px rgba(255,133,193,0.34);
}

.invitacion-shell {
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.invitacion-shell.revelar {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.side-menu {
  position: sticky;
  top: 0.75rem;
  z-index: 30;
  padding-top: 0.75rem;
}

.side-menu ul {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0.55rem;
  list-style: none;
  overflow-x: auto;
  border: 1px solid rgba(255,45,120,0.22);
  border-radius: 999px;
  background: rgba(13,11,26,0.78);
  backdrop-filter: blur(12px);
}

.side-menu a {
  display: block;
  white-space: nowrap;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: var(--text-light);
  font-size: 0.83rem;
  font-weight: 800;
  text-decoration: none;
}

.side-menu a:hover {
  background: rgba(255,45,120,0.24);
}

.main-content {
  position: relative;
  background: var(--section-gradient);
  overflow: hidden;
}

.invitation-sparkle {
  position: absolute;
  z-index: 1;
  width: clamp(12px, 3vw, 24px);
  aspect-ratio: 1;
  color: transparent;
  font-size: 0;
  background: radial-gradient(circle, #ffffff 0 18%, #c0c0c0 20% 32%, rgba(255,133,193,0.7) 34% 42%, transparent 44%);
  clip-path: polygon(50% 0, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0 50%, 39% 36%);
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.5)) drop-shadow(0 0 12px rgba(255,133,193,0.24));
  pointer-events: none;
  animation: heroSparkle 4.8s ease-in-out infinite;
}

.sparkle-one { top: 7%; left: 8%; }
.sparkle-two { top: 18%; right: 9%; animation-delay: -1.2s; }
.sparkle-three { top: 36%; left: 13%; animation-delay: -2.1s; }
.sparkle-four { top: 54%; right: 12%; animation-delay: -0.7s; }
.sparkle-five { top: 72%; left: 9%; animation-delay: -2.8s; }
.sparkle-six { top: 88%; right: 16%; animation-delay: -1.8s; }
.sparkle-seven { top: 27%; right: 28%; animation-delay: -3.4s; }
.sparkle-eight { top: 45%; left: 30%; animation-delay: -1.6s; }
.sparkle-nine { top: 64%; right: 34%; animation-delay: -2.5s; }
.sparkle-ten { top: 96%; left: 32%; animation-delay: -0.9s; }

.invitation-symbols {
  position: absolute;
  z-index: 1;
  color: var(--rosa-candy);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.28;
  text-shadow: 0 0 16px rgba(255,133,193,0.34), 0 0 28px rgba(255,45,120,0.18);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.symbols-one { top: 14%; right: 7%; animation-delay: -2s; }
.symbols-two { top: 39%; left: 6%; transform: rotate(-10deg); animation-delay: -3.2s; }
.symbols-three { top: 62%; right: 5%; transform: rotate(8deg); animation-delay: -1.4s; }
.symbols-four { top: 84%; left: 10%; animation-delay: -4s; }

.main-content .section :is(h1, h2, h3, h4, h5) {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.95;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 15%, #a8a8a8 28%, #ffffff 40%, #c0c0c0 52%, #e8e8e8 63%, #a0a0a0 75%, #ffffff 85%, #c0c0c0 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.28)) drop-shadow(0 2px 4px rgba(0,0,0,0.42));
  text-shadow: none;
  animation: portadaGlitter 5s ease-in-out infinite;
}

.main-content > .section {
  position: relative;
  isolation: isolate;
}

.main-content > .section::before {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  width: 100%;
  max-width: none;
  padding: 0;
  text-align: center;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,133,193,0.22), transparent 18rem),
    radial-gradient(circle at 18% 75%, rgba(200,164,232,0.18), transparent 16rem);
  pointer-events: none;
}

.invitacion-shell {
  background: var(--section-gradient);
}

.main-content > .section {
  background: transparent !important;
}

.hero-card {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(780px, calc(100% - 1rem));
  padding: clamp(1rem, 4vw, 2.6rem) 1.2rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-disco-balls {
  position: absolute;
  top: clamp(-1.5rem, -2vw, -0.2rem);
  left: 50%;
  z-index: 2;
  width: 300px;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.42)) drop-shadow(0 0 14px rgba(255,255,255,0.18));
  pointer-events: none;
  margin-top: -30px;
}

.hero-crown {
  display: block;
  width: clamp(165px, 32vw, 330px);
  height: auto;
  margin-bottom: -0.8rem;
  filter: drop-shadow(0 12px 14px rgba(0,0,0,0.38)) drop-shadow(0 0 10px rgba(255,255,255,0.16));
  transform-origin: 50% 80%;
  animation: heroCrownRefined 5.8s ease-in-out infinite;
}

.hero-xv-label {
  margin: 0;
  color: var(--rosa-candy);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.05rem, 3.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.34em;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--rosa-candy) 0%, var(--lavanda) 48%, var(--rosa-chicle) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.36));
}

.hero-title {
  margin: 0.08em 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.82;
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 15%, #a8a8a8 28%, #ffffff 40%, #c0c0c0 52%, #e8e8e8 63%, #a0a0a0 75%, #ffffff 85%, #c0c0c0 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.28)) drop-shadow(0 2px 4px rgba(0,0,0,0.42));
  text-shadow: none;
  animation: portadaGlitter 5s ease-in-out infinite;
}

.hero-brand {
  margin-top: 0.75rem;
  color: var(--rosa-candy);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.78rem, 2.2vw, 0.96rem);
  font-weight: 500;
  letter-spacing: 0.26em;
  opacity: 0.92;
}

.intro-kicker,
.intro-blessing p,
.ceremony-card .event-lugar,
.ceremony-card .event-direccion,
.dress-card .dress-copy,
.music-card p,
.regalos-copy,
.album-card p,
.invitado-nombre {
  color: var(--rosa-candy);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.78rem, 2.2vw, 0.96rem);
  font-weight: 500;
  letter-spacing: 0.26em;
  line-height: 1.55;
  opacity: 0.92;
  text-transform: none;
}

.hero-special-message {
  width: min(570px, 100%);
  margin-top: clamp(1.05rem, 3vw, 1.45rem);
  color: rgba(245,240,255,0.92);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.95rem, 2.5vw, 1.18rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}

.hero-event-date {
  margin-top: clamp(1rem, 3vw, 1.45rem);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 4.8vw, 2.9rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #c0c0c0 36%, #ff85c1 62%, #c8a4e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.42));
  text-shadow: none;
}

.hero-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(58px, 1fr));
  align-items: center;
  justify-content: center;
  gap: clamp(0.55rem, 2vw, 1rem);
  width: min(500px, 100%);
  margin-top: clamp(1.15rem, 3vw, 1.7rem);
  padding: 0;
  border: 0;
  background: transparent;
}

.hero-countdown div {
  --countdown-parallax: 0px;
  display: grid;
  place-items: center;
  width: clamp(66px, 14vw, 96px);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid rgba(255,133,193,0.48);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,255,255,0.14), transparent 38%),
    radial-gradient(circle, rgba(255,45,120,0.08), rgba(13,11,26,0.22) 68%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -8px 16px rgba(13,11,26,0.26),
    0 8px 20px rgba(0,0,0,0.3),
    0 0 10px rgba(255,45,120,0.18),
    0 0 18px rgba(255,133,193,0.1);
  backdrop-filter: blur(12px);
  transform: translateY(var(--countdown-parallax));
  transition: transform 0.2s ease-out;
}

.hero-countdown div + div {
  border-left: 1px solid rgba(255,133,193,0.48);
}

.hero-countdown div::before {
  content: "";
  display: none;
}

.hero-countdown strong {
  color: rgba(255,255,255,0.95);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 4.2vw, 2.35rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.48), 0 0 10px rgba(255,133,193,0.24);
  margin-bottom: -30px;
}

.hero-countdown span {
  margin-top: 0.42rem;
  color: rgba(255,133,193,0.86);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.55rem, 1.55vw, 0.66rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.countdown-calendar {
  margin-top: clamp(1rem, 2.8vw, 1.4rem);
  transform: translateY(var(--calendar-parallax, 0));
}

.countdown-calendar::after {
  content: none;
}

.countdown-calendar:hover {
  transform: translateY(calc(var(--calendar-parallax, 0px) - 3px)) scale(1.02);
}

.hero-date {
  display: inline-grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(0.65rem, 2vw, 1.1rem);
  margin-top: 1.05rem;
  color: var(--text-light);
  font-family: "Space Grotesk", sans-serif;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-date span {
  color: var(--rosa-candy);
  font-size: clamp(0.7rem, 2.2vw, 0.96rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.42);
}

.hero-date span:first-child {
  text-align: right;
}

.hero-date span:last-child {
  text-align: left;
}

.hero-date strong {
  display: grid;
  place-items: center;
  width: clamp(58px, 13vw, 92px);
  aspect-ratio: 1;
  border: 1px solid rgba(192,192,192,0.48);
  border-radius: 50%;
  color: var(--text-light);
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  line-height: 1;
  background: radial-gradient(circle, rgba(255,255,255,0.16), rgba(200,164,232,0.12) 45%, rgba(13,11,26,0.28));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 8px 24px rgba(0,0,0,0.32), 0 0 18px rgba(255,133,193,0.2);
}

#scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--plata);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#scroll-hint.visible {
  opacity: 1;
}

.decor {
  position: absolute;
  z-index: 1;
  width: clamp(12px, 3vw, 24px);
  aspect-ratio: 1;
  color: transparent;
  font-size: 0;
  background: radial-gradient(circle, #ffffff 0 18%, #c0c0c0 20% 32%, rgba(255,133,193,0.7) 34% 42%, transparent 44%);
  clip-path: polygon(50% 0, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0 50%, 39% 36%);
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.58)) drop-shadow(0 0 12px rgba(255,133,193,0.28));
  animation: heroSparkle 3.8s ease-in-out infinite;
}

.decor-one {
  top: 18%;
  left: 14%;
}

.decor-two {
  right: 16%;
  top: 24%;
  animation-delay: -1.4s;
}

.decor-three {
  right: 23%;
  bottom: 22%;
  animation-delay: -2.4s;
}

.lollipop {
  position: absolute;
  width: 72px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--rosa-chicle), var(--lavanda), var(--azul-elec), var(--rosa-chicle));
  box-shadow: 0 0 24px rgba(255,45,120,0.62);
  animation: float 7s ease-in-out infinite;
}

.lollipop::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 78px;
  left: 50%;
  top: 88%;
  background: var(--plata);
  border-radius: 999px;
  transform: translateX(-50%) rotate(-20deg);
}

.lollipop-one {
  left: 15%;
  bottom: 14%;
}

.intro-section {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: none;
  padding: clamp(4.8rem, 11vw, 8.4rem) 1rem;
  overflow: visible;
  text-align: center;
  background: transparent;
}

.intro-section::before {
  display: none;
}

.intro-section::after {
  display: none;
}

.intro-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  animation: introContentFloat 6s ease-in-out infinite;
}

.intro-disco-left {
  position: absolute;
  top: 0;
  left: -30%;
  z-index: 7;
  width: 220px;
  height: auto;
  transform: translateY(-45%) rotate(-8deg);
  filter: drop-shadow(0 14px 20px rgba(0,0,0,0.42)) drop-shadow(0 0 14px rgba(255,255,255,0.16));
  pointer-events: none;
}

.section-disco-ball {
  position: absolute;
  z-index: 7;
  width: 200px;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,0.42)) drop-shadow(0 0 14px rgba(255,255,255,0.16));
  pointer-events: none;
}

.ceremony-top-disco {
  top: 0;
  right: -30%;
  transform: translateY(-50%) rotate(8deg);
}

.dress-disco-left {
  top: 0;
  width: 150px;
}

.intro-ornament {
  width: 34px;
  height: 34px;
  margin: 0 auto 1rem;
  color: transparent;
  font-size: 0;
  background: radial-gradient(circle, #ffffff 0 16%, #c0c0c0 18% 30%, rgba(255,133,193,0.58) 32% 42%, transparent 44%);
  clip-path: polygon(50% 0, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0 50%, 39% 36%);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.42));
  animation: heroSparkle 4.8s ease-in-out infinite;
}

.intro-kicker {
  margin-bottom: 1.35rem;
  color: var(--plata);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.72rem, 2.1vw, 0.86rem);
  font-weight: 400;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.intro-quote {
  color: var(--text-light);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.1rem, 3.2vw, 1.82rem);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.52);
}

.intro-quote::before,
.intro-quote::after {
  content: "";
  display: block;
  width: min(170px, 42vw);
  height: 1px;
  margin: 0 auto 1.2rem;
  background: linear-gradient(90deg, transparent, rgba(192,192,192,0.62), transparent);
}

.intro-quote::after {
  margin: 1.35rem auto 0;
}

.intro-blessing {
  margin-top: clamp(1.8rem, 4.8vw, 2.8rem);
}

.intro-blessing p {
  color: var(--plata);
  font-size: clamp(0.82rem, 2.2vw, 1rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.86;
}

.intro-blessing h3 {
  margin-top: 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.35rem, 7.4vw, 4.9rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.95;
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 15%, #a8a8a8 28%, #ffffff 40%, #c0c0c0 52%, #e8e8e8 63%, #a0a0a0 75%, #ffffff 85%, #c0c0c0 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.28)) drop-shadow(0 2px 4px rgba(0,0,0,0.42));
  text-shadow: none;
  animation: portadaGlitter 5s ease-in-out infinite;
}

.info-section,
.dresscode,
.regalos,
.playlist,
.album-digital,
.hashtag-section,
.rsvp,
.frase-final {
  padding: clamp(2.6rem, 7vw, 5rem) 0;
}

.regalos {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: none;
  min-height: auto;
  padding: clamp(4.6rem, 9vw, 6.6rem) 1rem clamp(2rem, 5vw, 3.4rem);
  overflow: visible;
  background: transparent;
}

.regalos-card {
  position: relative;
  z-index: 2;
  width: min(540px, 100%);
  padding: clamp(1.35rem, 4vw, 2.35rem) clamp(0.95rem, 3vw, 1.7rem);
  border: 1px solid rgba(255,133,193,0.18);
  border-radius: 28px;
  background: rgba(13,11,26,0.055);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 24px rgba(0,0,0,0.14),
    0 0 10px rgba(255,45,120,0.06);
  backdrop-filter: blur(3px);
}

.regalos-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,133,193,0.08);
  border-radius: 21px;
  pointer-events: none;
}

.regalos-title {
  margin-top: 0.3rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 15%, #a8a8a8 28%, #ffffff 40%, #c0c0c0 52%, #e8e8e8 63%, #a0a0a0 75%, #ffffff 85%, #c0c0c0 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.28)) drop-shadow(0 2px 4px rgba(0,0,0,0.42));
  text-shadow: none;
  animation: portadaGlitter 5s ease-in-out infinite;
}

.dresscode {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.4rem, 4vw, 2.6rem);
  width: 100%;
  max-width: none;
  min-height: auto;
  padding: clamp(4.6rem, 9vw, 6.6rem) 1rem clamp(2rem, 5vw, 3.4rem);
  overflow: visible;
  background: transparent;
}

.dress-card {
  position: relative;
  z-index: 2;
  width: min(540px, 100%);
  min-height: 405px;
  padding: clamp(1.35rem, 4vw, 2.35rem) clamp(0.95rem, 3vw, 1.7rem);
  border: 1px solid rgba(255,133,193,0.18);
  border-radius: 28px;
  background: rgba(13,11,26,0.055);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 24px rgba(0,0,0,0.14),
    0 0 10px rgba(255,45,120,0.06);
  backdrop-filter: blur(3px);
}

.dress-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,133,193,0.08);
  border-radius: 21px;
  pointer-events: none;
}

.dress-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.55rem, 2.5vw, 1rem);
  margin-bottom: clamp(0.85rem, 2.8vw, 1.25rem);
}

.dress-icons img {
  width: clamp(78px, 16vw, 128px);
  height: auto;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.34));
}

.dress-title {
  margin-top: 0.3rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 15%, #a8a8a8 28%, #ffffff 40%, #c0c0c0 52%, #e8e8e8 63%, #a0a0a0 75%, #ffffff 85%, #c0c0c0 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.28)) drop-shadow(0 2px 4px rgba(0,0,0,0.42));
  text-shadow: none;
  animation: portadaGlitter 5s ease-in-out infinite;
}

.dress-card .dress-copy,
.dress-card .dress-note {
  display: block;
  color: rgba(245,240,255,0.9);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  line-height: 1.52;
  letter-spacing: 0.025em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.46);
}

.dress-card .dress-copy {
  margin-top: 1rem;
  font-weight: 500;
}

.dress-card .dress-note {
  margin-top: 0.8rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.playlist {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: none;
  min-height: auto;
  padding: clamp(2rem, 5vw, 3.4rem) 1rem;
  overflow: hidden;
}

.music-card {
  position: relative;
  z-index: 2;
  width: min(540px, 100%);
  min-height: 405px;
  padding: clamp(1.25rem, 3.7vw, 2.15rem) clamp(0.9rem, 3vw, 1.55rem);
  text-align: center;
  border: 1px solid rgba(255,133,193,0.18);
  border-radius: 28px;
  background: rgba(13,11,26,0.055);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 24px rgba(0,0,0,0.14),
    0 0 10px rgba(255,45,120,0.06);
  backdrop-filter: blur(3px);
  scroll-margin-top: 5rem;
}

.music-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,133,193,0.08);
  border-radius: 21px;
  pointer-events: none;
}

.playlist-section-icon {
  width: clamp(128px, 25vw, 205px);
  height: auto;
  margin: 0 auto clamp(0.85rem, 2.8vw, 1.25rem);
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.34));
}

.music-card h3 {
  margin-top: 0.3rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 15%, #a8a8a8 28%, #ffffff 40%, #c0c0c0 52%, #e8e8e8 63%, #a0a0a0 75%, #ffffff 85%, #c0c0c0 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.28)) drop-shadow(0 2px 4px rgba(0,0,0,0.42));
  text-shadow: none;
  animation: portadaGlitter 5s ease-in-out infinite;
}

.music-card p {
  color: rgba(245,240,255,0.9);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  line-height: 1.52;
  letter-spacing: 0.025em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.46);
}

.album-digital {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: none;
  min-height: auto;
  padding: clamp(2rem, 5vw, 3.4rem) 1rem;
  overflow: hidden;
}

.album-card {
  position: relative;
  z-index: 2;
  width: min(540px, 100%);
  padding: clamp(1.25rem, 3.7vw, 2.15rem) clamp(0.9rem, 3vw, 1.55rem);
  text-align: center;
  border: 1px solid rgba(255,133,193,0.18);
  border-radius: 28px;
  background: rgba(13,11,26,0.055);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 24px rgba(0,0,0,0.14),
    0 0 10px rgba(255,45,120,0.06);
  backdrop-filter: blur(3px);
}

.album-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,133,193,0.08);
  border-radius: 21px;
  pointer-events: none;
}

.album-card h3 {
  margin-top: 0.3rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 15%, #a8a8a8 28%, #ffffff 40%, #c0c0c0 52%, #e8e8e8 63%, #a0a0a0 75%, #ffffff 85%, #c0c0c0 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.28)) drop-shadow(0 2px 4px rgba(0,0,0,0.42));
  text-shadow: none;
  animation: portadaGlitter 5s ease-in-out infinite;
}

.album-card p {
  color: rgba(245,240,255,0.9);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  line-height: 1.52;
  letter-spacing: 0.025em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.46);
}

.album-qr {
  width: min(210px, 62vw);
  margin: 1.35rem auto 0;
}

.ceremony-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.4rem, 4vw, 2.6rem);
  width: 100%;
  max-width: none;
  min-height: auto;
  padding: clamp(2rem, 5vw, 3.4rem) 1rem;
  overflow: visible;
  background: transparent;
}

.ceremony-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,133,193,0.22), transparent 18rem),
    radial-gradient(circle at 18% 75%, rgba(200,164,232,0.18), transparent 16rem);
  pointer-events: none;
}

.ceremony-card {
  --ceremony-card-parallax: 0px;
  position: relative;
  z-index: 2;
  width: min(540px, 100%);
  padding: clamp(1.25rem, 3.7vw, 2.15rem) clamp(0.9rem, 3vw, 1.55rem);
  border: 1px solid rgba(255,133,193,0.18);
  border-radius: 28px;
  background: rgba(13,11,26,0.055);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 24px rgba(0,0,0,0.14),
    0 0 10px rgba(255,45,120,0.06),
    0 0 34px rgba(255,133,193,0.08);
  backdrop-filter: blur(3px);
  transform: translateY(var(--ceremony-card-parallax));
  transition: transform 0.2s ease-out;
  overflow: hidden;
}

.ceremony-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,133,193,0.08);
  border-radius: 21px;
  pointer-events: none;
}

.neon-line-card {
  border-color: transparent;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding-block: clamp(1.1rem, 3vw, 1.8rem);
  overflow: visible;
}

.neon-line-card::before,
.neon-line-card::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(300px, 72%);
  height: 2px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(255,45,120,1), rgba(255,133,193,1), rgba(200,164,232,0.95), transparent);
  box-shadow: 0 0 8px rgba(255,45,120,0.78), 0 0 18px rgba(255,133,193,0.56), 0 0 32px rgba(155,47,212,0.28);
  transform: translateX(-50%);
  opacity: 0.95;
  pointer-events: none;
}

.neon-line-card::before { top: 0; }
.neon-line-card::after { bottom: 0; }

@keyframes cardShine {
  0%, 42% { transform: translateX(-65%); opacity: 0; }
  55% { opacity: 0.58; }
  78%, 100% { transform: translateX(65%); opacity: 0; }
}

@keyframes cardPulse {
  0%, 100% { opacity: 0.36; transform: scaleX(0.72); }
  50% { opacity: 0.95; transform: scaleX(1); }
}

.neon-line-card.neon-line-card::before,
.neon-line-card.neon-line-card::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(300px, 72%);
  height: 2px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(255,45,120,1), rgba(255,133,193,1), rgba(200,164,232,0.95), transparent);
  box-shadow: 0 0 8px rgba(255,45,120,0.78), 0 0 18px rgba(255,133,193,0.56), 0 0 32px rgba(155,47,212,0.28);
  opacity: 0.95;
  pointer-events: none;
  transform: translateX(-50%);
}

.neon-line-card.neon-line-card::before { top: 0; inset-inline: auto; }
.neon-line-card.neon-line-card::after { bottom: 0; inset-inline: auto; }

.no-top-line.no-top-line::before {
  display: none;
}

.no-bottom-line.no-bottom-line::after {
  display: none;
}

.no-lines.no-lines::before,
.no-lines.no-lines::after {
  display: none;
}

.neon-line-card.neon-line-card::before,
.neon-line-card.neon-line-card::after {
  left: 50%;
  right: auto;
  margin: 0;
  transform: translateX(-50%);
  animation: neonLinePulse 3.4s ease-in-out infinite;
}

.dress-card.neon-line-card {
  width: fit-content;
  max-width: min(540px, 100%);
  min-height: 0;
  padding-inline: clamp(1.8rem, 6vw, 3rem);
}

.music-card.neon-line-card::before {
  display: none;
}

.reception-card {
  scroll-margin-top: 5rem;
}

.section-icon-img {
  width: clamp(128px, 25vw, 205px);
  height: auto;
  margin: 0 auto clamp(1rem, 3vw, 1.45rem);
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.36));
  animation: iconFloatGlow 5.8s ease-in-out infinite;
}

.ceremony-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.92;
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 15%, #a8a8a8 28%, #ffffff 40%, #c0c0c0 52%, #e8e8e8 63%, #a0a0a0 75%, #ffffff 85%, #c0c0c0 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.28)) drop-shadow(0 2px 4px rgba(0,0,0,0.42));
  text-shadow: none;
  animation: portadaGlitter 5s ease-in-out infinite;
}

.ceremony-card .event-lugar,
.ceremony-card .event-direccion,
.ceremony-card .event-time {
  color: rgba(245,240,255,0.9);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  letter-spacing: 0.025em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.46);
}

.ceremony-card .event-lugar {
  margin-top: 0.95rem;
  font-size: clamp(1rem, 2.55vw, 1.25rem);
  font-weight: 500;
}

.ceremony-card .event-time {
  color: rgba(255,255,255,0.96);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 500;
}

.event-card,
.dress-card,
.regalos-card,
.music-card,
.album-card,
.hashtag-card,
.rsvp-card,
.frase-final-title {
  padding: clamp(1.6rem, 5vw, 3rem);
  text-align: center;
}

.ceremony-card,
.dress-card,
.regalos-card {
  width: min(540px, 100%);
  padding: clamp(1.25rem, 3.7vw, 2.15rem) clamp(0.9rem, 3vw, 1.55rem);
}

.section-icon {
  margin-bottom: 0.8rem;
  font-size: 3rem;
  filter: drop-shadow(0 0 14px var(--rosa-chicle));
}

.section h3,
.frase-final-title {
  font-size: 25px;
  line-height: 1;
}

.pending-text,
.event-lugar,
.event-direccion,
.event-time,
.dress-copy,
.regalos-copy,
.music-card p,
.album-card p,
.hashtag-card p,
.rsvp-card p,
.rsvp-card h4 {
  margin-top: 0.85rem;
  color: var(--text-light);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
}

.event-lugar,
.event-time,
.dress-copy,
.invitado-nombre {
  color: var(--rosa-candy);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.btn-location,
.btn-soft,
#rsvp-submit {
  margin-top: 1.35rem;
}

.glam-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,45,120,0.18), rgba(192,192,192,0.05)),
    var(--glass);
}

.glam-card::before {
  content: "✦ ✦ ✦";
  position: absolute;
  inset: 1rem auto auto 50%;
  color: rgba(192,192,192,0.28);
  letter-spacing: 0.8em;
  transform: translateX(-50%);
}

.dress-note {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255,133,193,0.38);
  border-radius: 999px;
  color: var(--rosa-candy);
  background: rgba(255,45,120,0.09);
  font-weight: 800;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.gift-section-icon {
  width: clamp(128px, 25vw, 205px);
  height: auto;
  margin: 0 auto clamp(0.85rem, 2.8vw, 1.25rem);
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.34));
}

.regalos-copy {
  color: rgba(245,240,255,0.9);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  line-height: 1.52;
  letter-spacing: 0.025em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.46);
}

.gift-option {
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(255,133,193,0.14);
  border-radius: 22px;
  background: rgba(13,11,26,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 8px 18px rgba(0,0,0,0.12);
  overflow: hidden;
}

.gift-option summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1rem;
  color: rgba(245,240,255,0.96);
  font-family: "DM Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(145deg, rgba(56,34,86,0.62), rgba(134,54,126,0.42));
}

.gift-option summary::-webkit-details-marker {
  display: none;
}

.gift-option[open] summary {
  border-bottom: 1px solid rgba(255,133,193,0.12);
}

.gift-option > :not(summary) {
  margin: 1rem auto;
}

.gift-option h4 {
  color: rgba(255,255,255,0.94);
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.gift-option p {
  color: rgba(245,240,255,0.72);
  font-size: 0.86rem;
}

.gift-icon {
  color: var(--rosa-candy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  width: 118px;
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px dashed rgba(255,133,193,0.42);
  border-radius: 18px;
  color: var(--text-light);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  background:
    linear-gradient(45deg, rgba(255,255,255,0.08) 25%, transparent 25% 50%, rgba(255,255,255,0.08) 50% 75%, transparent 75%),
    rgba(255,45,120,0.055);
  background-size: 18px 18px;
  box-shadow: inset 0 0 18px rgba(255,45,120,0.1), 0 0 14px rgba(155,47,212,0.12);
}

.qr-placeholder span {
  color: var(--plata);
  font-size: 0.72rem;
}

.qr-large {
  width: min(210px, 62vw);
  margin-top: 1.35rem;
}

.album-card .qr-placeholder {
  margin-bottom: 0.2rem;
}

.hashtag-text {
  margin-top: 1rem;
  color: var(--rosa-candy);
  font-size: clamp(2.3rem, 9vw, 6rem) !important;
  word-break: break-word;
  text-shadow: 0 0 10px var(--rosa-chicle), 0 0 24px var(--rosa-chicle), 0 0 52px var(--lila-neon);
}

.rsvp-card {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  margin-inline: auto;
  padding: clamp(2.1rem, 5.5vw, 3.6rem) clamp(1.6rem, 5vw, 3.2rem);
  text-align: center;
  border: 1px solid rgba(255,133,193,0.14);
  border-radius: 28px;
  background: rgba(13,11,26,0.035);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 10px 22px rgba(0,0,0,0.1),
    0 0 8px rgba(255,45,120,0.045);
  backdrop-filter: blur(2px);
}

.rsvp-card.neon-line-card {
  width: min(760px, 100%);
  padding: clamp(2.4rem, 6vw, 4rem) clamp(1.8rem, 6vw, 3.6rem);
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.rsvp-card.neon-line-card::before,
.rsvp-card.neon-line-card::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(360px, 72%);
  height: 2px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(255,45,120,1), rgba(255,133,193,1), rgba(200,164,232,0.95), transparent);
  box-shadow: 0 0 8px rgba(255,45,120,0.78), 0 0 18px rgba(255,133,193,0.56), 0 0 32px rgba(155,47,212,0.28);
  opacity: 0.95;
  pointer-events: none;
  transform: translateX(-50%);
}

.rsvp-card.neon-line-card::before { top: 0; }
.rsvp-card.neon-line-card::after { bottom: 0; }

.rsvp-card > *:not(:first-child) {
  margin-top: 1.05rem;
}

.rsvp-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,133,193,0.06);
  border-radius: 21px;
  pointer-events: none;
}

.rsvp {
  position: relative;
  padding-block: clamp(4.6rem, 9vw, 6.6rem) clamp(3.6rem, 9vw, 6rem);
  overflow: visible;
}

.rsvp-card h3 {
  margin-top: 0.3rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 15%, #a8a8a8 28%, #ffffff 40%, #c0c0c0 52%, #e8e8e8 63%, #a0a0a0 75%, #ffffff 85%, #c0c0c0 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.28)) drop-shadow(0 2px 4px rgba(0,0,0,0.42));
  text-shadow: none;
  animation: portadaGlitter 5s ease-in-out infinite;
}

.invitado-nombre {
  color: rgba(255,255,255,0.96);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.05rem, 3vw, 1.45rem) !important;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.invitado-lugares {
  color: var(--rosa-candy);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.46);
}

.rsvp-intro {
  max-width: 420px;
  margin-inline: auto;
}

#rsvp-form {
  display: flex;
  justify-content: center;
}

.rsvp-card p,
.rsvp-card h4 {
  color: rgba(245,240,255,0.9);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  line-height: 1.52;
  letter-spacing: 0.025em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.46);
}

.intro-kicker,
.intro-blessing p,
.ceremony-card .event-lugar,
.ceremony-card .event-direccion,
.dress-card .dress-copy,
.music-card p,
.regalos-copy,
.album-card p {
  color: var(--rosa-candy) !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: clamp(0.78rem, 2.2vw, 0.96rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.26em !important;
  opacity: 0.92;
}

.rsvp-card .invitado-nombre {
  margin-top: 1.15rem;
  color: var(--rosa-candy);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.15rem, 9vw, 4.8rem) !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 0.95;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--rosa-candy) 0%, var(--lavanda) 48%, var(--rosa-chicle) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.36));
  opacity: 0.96;
}

#rsvp-form.is-locked {
  opacity: 0.72;
}

#rsvp-success {
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(255,133,193,0.34);
  border-radius: 20px;
  background: rgba(255,45,120,0.1);
}

.frase-final-title {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 15%, #a8a8a8 28%, #ffffff 40%, #c0c0c0 52%, #e8e8e8 63%, #a0a0a0 75%, #ffffff 85%, #c0c0c0 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.28)) drop-shadow(0 2px 4px rgba(0,0,0,0.42));
  text-shadow: none;
  animation: portadaGlitter 5s ease-in-out infinite;
}

.frase-final::before {
  display: none;
}

.frase-final {
  background: transparent;
  padding: clamp(3rem, 8vw, 5rem) 1rem;
}

.frase-final .frase-final-title {
  padding: 0;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.footer {
  width: 100%;
  max-width: none;
  padding: 2rem 1rem 3rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,133,193,0.24), transparent 18rem),
    linear-gradient(180deg, rgba(255,45,120,0.18), rgba(155,47,212,0.16));
}

#social-icons {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

#social-icons a,
.music-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,45,120,0.34);
  border-radius: 999px;
  color: var(--text-light);
  background: rgba(255,255,255,0.06);
  text-decoration: none;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 18px rgba(255,45,120,0.18);
}

.footer-tag {
  color: rgba(245,240,255,0.9);
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.08em;
}

.footer-logo {
  display: block;
  width: 90px;
  height: auto;
  margin: 0.9rem auto 0;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.32));
}

.intro-disco-left,
.section-disco-ball {
  transform-origin: 50% 18%;
  animation: discoSoftFloat 6.5s ease-in-out infinite, discoGlimmer 3.8s ease-in-out infinite;
  transition: filter 0.3s ease, scale 0.3s ease;
}

.dress-icons img,
.playlist-section-icon,
.gift-section-icon,
.album-qr {
  animation: iconFloatGlow 6.2s ease-in-out infinite;
}

@keyframes neonLinePulse {
  0%, 100% {
    opacity: 0.7;
    box-shadow: 0 0 6px rgba(255,45,120,0.5), 0 0 14px rgba(255,133,193,0.32), 0 0 24px rgba(155,47,212,0.18);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 12px rgba(255,45,120,0.92), 0 0 28px rgba(255,133,193,0.68), 0 0 42px rgba(155,47,212,0.36);
  }
}

@keyframes iconFloatGlow {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 10px 16px rgba(0,0,0,0.34)) drop-shadow(0 0 0 rgba(255,133,193,0));
  }
  50% {
    transform: translateY(-6px);
    filter: drop-shadow(0 14px 18px rgba(0,0,0,0.34)) drop-shadow(0 0 12px rgba(255,133,193,0.22));
  }
}

@keyframes discoSoftFloat {
  0%, 100% {
    translate: 0 0;
    rotate: -2deg;
    scale: 1;
    filter: drop-shadow(0 14px 20px rgba(0,0,0,0.42)) drop-shadow(0 0 10px rgba(255,255,255,0.12));
  }
  50% {
    translate: 0 -8px;
    rotate: 3deg;
    scale: 1.03;
    filter: drop-shadow(0 18px 24px rgba(0,0,0,0.42)) drop-shadow(0 0 18px rgba(255,255,255,0.2));
  }
}

@keyframes discoGlimmer {
  0%, 100% {
    opacity: 0.92;
  }
  35% {
    opacity: 1;
  }
  52% {
    opacity: 0.82;
  }
  70% {
    opacity: 1;
  }
}

.music-fab {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 50;
  border-color: rgba(255,133,193,0.78);
  background:
    radial-gradient(circle at 34% 24%, rgba(255,255,255,0.32), transparent 28%),
    linear-gradient(145deg, rgba(255,45,120,0.88), rgba(155,47,212,0.78));
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 0 12px rgba(255,45,120,0.58),
    0 0 28px rgba(255,133,193,0.36),
    0 0 44px rgba(155,47,212,0.24);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.25s ease, filter 0.25s ease;
  animation: neonBubblePulse 3s ease-in-out infinite;
}

.music-fab::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(255,133,193,0.38);
  border-radius: inherit;
  box-shadow: 0 0 14px rgba(255,45,120,0.34), 0 0 28px rgba(155,47,212,0.22);
  opacity: 0.8;
  animation: neonHaloPulse 2.6s ease-in-out infinite;
  pointer-events: none;
}

.music-fab.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.music-fab:hover {
  filter: brightness(1.12) saturate(1.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.34),
    0 0 16px rgba(255,45,120,0.78),
    0 0 38px rgba(255,133,193,0.58),
    0 0 58px rgba(155,47,212,0.42);
}

.music-fab.is-playing .music-fab-icon {
  animation: musicPulse 1.8s ease-in-out infinite;
}

@keyframes neonBubblePulse {
  0%, 100% {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 0 10px rgba(255,45,120,0.5), 0 0 24px rgba(255,133,193,0.3), 0 0 38px rgba(155,47,212,0.2);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.34), 0 0 16px rgba(255,45,120,0.74), 0 0 34px rgba(255,133,193,0.48), 0 0 54px rgba(155,47,212,0.32);
  }
}

@keyframes neonHaloPulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

.rsvp-popup-overlay {
  position: fixed;
  z-index: 80;
  display: none;
  background: rgba(13,11,26,0.42);
  backdrop-filter: blur(6px);
}

.rsvp-popup-overlay.active {
  display: flex;
}

.rsvp-popup {
  width: min(520px, 100%);
  padding: 1.4rem;
  border: 1px solid rgba(255,45,120,0.35);
  border-radius: 28px;
  background: rgba(13,11,26,0.92);
  box-shadow: 0 0 28px rgba(255,45,120,0.34);
  text-align: center;
}

.rsvp-popup-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.9;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 15%, #a8a8a8 28%, #ffffff 40%, #c0c0c0 52%, #e8e8e8 63%, #a0a0a0 75%, #ffffff 85%, #c0c0c0 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.28)) drop-shadow(0 2px 4px rgba(0,0,0,0.42));
  text-shadow: none;
  animation: portadaGlitter 5s ease-in-out infinite;
}

.rsvp-popup-subtitle,
.rsvp-popup-message {
  margin-top: 0.65rem;
  color: var(--text-light);
}

.rsvp-popup-select {
  width: 100%;
  margin: 1rem 0;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255,45,120,0.36);
  border-radius: 999px;
  color: var(--text-light);
  background: rgba(255,255,255,0.08);
  font: inherit;
}

.rsvp-popup-actions {
  display: grid;
  gap: 0.7rem;
}

.rsvp-popup-btn.secondary,
.rsvp-popup-close {
  background: rgba(255,255,255,0.06);
}

.rsvp-popup.is-error {
  border-color: rgba(255,133,193,0.8);
}

.fade-in-element,
.zoom-in-element,
.slide-left,
.slide-right {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: calc(var(--reveal-order, 0) * 80ms);
}

.fade-in-element.visible,
.fade-in-element.is-visible,
.zoom-in-element.visible,
.zoom-in-element.is-visible,
.slide-left.visible,
.slide-left.is-visible,
.slide-right.visible,
.slide-right.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section:nth-of-type(1) { --reveal-order: 1; }
.section:nth-of-type(2) { --reveal-order: 2; }
.section:nth-of-type(3) { --reveal-order: 3; }
.section:nth-of-type(4) { --reveal-order: 4; }
.section:nth-of-type(5) { --reveal-order: 5; }
.section:nth-of-type(6) { --reveal-order: 6; }
.section:nth-of-type(7) { --reveal-order: 7; }
.section:nth-of-type(8) { --reveal-order: 8; }
.section:nth-of-type(9) { --reveal-order: 9; }
.section:nth-of-type(10) { --reveal-order: 10; }

@keyframes float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-3deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(4deg);
  }
}

@keyframes musicPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.16);
    opacity: 1;
  }
}

@keyframes portadaBgDrift {
  0% {
    background-position: center center;
    background-size: auto, 100%;
  }
  100% {
    background-position: center 42%;
    background-size: auto, 104%;
  }
}

@keyframes portadaOverlayPulse {
  0% {
    opacity: 0.78;
  }
  100% {
    opacity: 1;
  }
}

@keyframes portadaGlowPulse {
  0% {
    opacity: 0.22;
    transform: scale(0.92);
  }
  100% {
    opacity: 0.42;
    transform: scale(1.08);
  }
}

@keyframes portadaContentIn {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes portadaLabelIn {
  0% {
    opacity: 0;
    transform: translateY(-12px);
    letter-spacing: 0.48em;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.36em;
  }
}

@keyframes portadaNameIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.94);
    filter: blur(4px) drop-shadow(0 2px 4px rgba(0,0,0,0.42));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes portadaKickerIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 0.9;
    transform: translateY(0);
  }
}

@keyframes portadaButtonIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes portadaButtonBreath {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.03);
  }
}

@keyframes heroCrownRefined {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 12px 14px rgba(0,0,0,0.38)) drop-shadow(0 0 10px rgba(255,255,255,0.16));
  }
  45% {
    transform: translateY(-4px) scale(1.015);
    filter: drop-shadow(0 14px 16px rgba(0,0,0,0.34)) drop-shadow(0 0 15px rgba(255,255,255,0.22));
  }
  70% {
    transform: translateY(-1px) scale(1.006);
  }
}

@keyframes heroSparkle {
  0%, 100% {
    opacity: 0.42;
    transform: translateY(0) scale(0.82) rotate(0deg);
  }
  45% {
    opacity: 1;
    transform: translateY(-10px) scale(1.2) rotate(28deg);
  }
  70% {
    opacity: 0.65;
    transform: translateY(-4px) scale(0.95) rotate(45deg);
  }
}

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

@media (max-width: 820px) {
  .section,
  .footer,
  .side-menu {
    width: min(100% 1080px);
  }

  .side-menu {
    top: 0.35rem;
  }

  .hero {
    min-height: 88vh;
  }

  .gift-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .side-menu ul {
    border-radius: 24px;
  }

  .portada-center,
  .glass-card {
    border-radius: 26px;
  }

  .hero-title,
  .portada-main-name {
    letter-spacing: 0.02em;
  }

  .gift-grid {
    grid-template-columns: 1fr;
  }

  .decor-one {
    left: 4%;
  }

  .decor-two {
    right: 4%;
  }

  .lollipop-one {
    left: 7%;
    bottom: 10%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
