/* =====================================================================
   TEMA PLATEADO — estética disco, clara
   (inspirada en 15-manu: etiquetas chiquitas, títulos en Bodoni con una
   palabra en cursiva, botones cromados, tarjetas de vidrio)

   Se carga DESPUÉS de styles.css: todo lo de acá pisa a lo anterior.
   Para cambiar colores, tocá sólo esta sección :root.
   Textos, títulos y etiquetas se cambian en config.php.
   ===================================================================== */

:root {
  /* Textos */
  --texto: #3a3f46;
  --texto-fuerte: #23272c;
  --texto-suave: #7c8591;        /* etiquetas chiquitas */

  /* Plata de los títulos en cursiva, números y nombre (oscura, para fondo claro) */
  --cromo-texto: linear-gradient(180deg, #6b737d 0%, #2c3036 42%, #9aa2ad 56%, #3a3f46 78%, #707883 100%);
  /* Plata SUAVE de las palabras resaltadas en los títulos (<em>: "fiesta", "brillan"...) */
  --cromo-titulo: linear-gradient(180deg, #6a717a 0%, #4f555d 40%, #7a818a 56%, #575d65 78%, #686f78 100%);
  /* Plata de los botones y aros (clara) */
  --cromo-claro: linear-gradient(100deg, #9aa1ac 0%, #f6f7f9 22%, #b9bfc8 45%, #ffffff 62%, #9aa1ac 100%);
  --aro-plata: conic-gradient(#8f97a2, #ffffff 12%, #b3b9c2 25%, #f1f3f5 38%, #868e99 50%, #ffffff 62%, #a7aeb7 75%, #eceef1 88%, #8f97a2);

  /* Tarjetas de vidrio */
  --vidrio: rgba(255, 255, 255, .62);
  --vidrio-borde: rgba(255, 255, 255, .95);

  /* Íconos (degradé plateado + franja de brillo) */
  --icono-plata-1: #4f555c;
  --icono-plata-2: #8f969e;
  --icono-plata-4: #6b727a;
  --icono-brillo-duracion: 4s;
  --tamano-iconos: 110px;

  /* Bolas espejadas de la portada */
  --tamano-bola: 270px;

  /* Tipografías */
  --fuente: 'Montserrat', system-ui, sans-serif;
  --fuente-titulos: 'Bodoni Moda', 'Bodoni 72', Didot, Georgia, serif;
  --fuente-script: 'Great Vibes', 'Brush Script MT', cursive;

  /* Colores que usan otros módulos (invitados, trivia, playlist) */
  --color-primario: #dfe2e6;
  --color-secundario: #9ea4ab;
  --color-acento: #6f767e;
  --color-texto: #3a3f46;
  --color-musica: #8c939b;
  --color-logo-footer: #3a3f46;
  --boton-ingresar-color: var(--cromo-claro);
  --boton-ingresar-color-al-pasar: var(--cromo-claro);
  --boton-ingresar-color-letra: #1d2025;

  /* Sombras, líneas finas, botones, ventanas */
  --sombra-rgb: 80, 88, 100;
  --linea-rgb: 120, 128, 138;
  --texto-boton: #1d2025;
  --brillo-borde: #9aa2ad;
  --ventana-1: #eef0f2;
  --ventana-2: #c3c8ce;
  --filtro-tono: contrast(1);    /* tiñe fondo, bolas y glitter (en plateado no cambia nada) */
}


/* =====================================================================
   TONO DORADO  ★★★
   La invitación viene en PLATEADO. Para pasar TODA la invitación a DORADO,
   en la línea de abajo borrá  .usar-dorado  (tiene que quedar  :root {  ).
   Para volver a plateado, volvé a escribir  .usar-dorado
   ===================================================================== */

:root.usar-dorado {
  --texto: #4a3f2e;
  --texto-fuerte: #2e2618;
  --texto-suave: #9a8566;
  --cromo-texto: linear-gradient(180deg, #8a6a32 0%, #4a3712 42%, #c9a45a 56%, #5e4718 78%, #9c7c3e 100%);
  --cromo-titulo: linear-gradient(180deg, #957640 0%, #7a5e2e 40%, #a98a4f 56%, #806432 78%, #937441 100%);
  --cromo-claro: linear-gradient(100deg, #b8924a 0%, #fbf1d8 22%, #d4b06a 45%, #fff8e6 62%, #b8924a 100%);
  --aro-plata: conic-gradient(#a8823c, #fff6dc 12%, #d2ae66 25%, #f8ecce 38%, #9c7634 50%, #fff6dc 62%, #c49e56 75%, #f5e7c4 88%, #a8823c);
  --vidrio: rgba(255, 252, 245, .62);
  --icono-plata-1: #6e5420;
  --icono-plata-2: #b8924a;
  --icono-plata-4: #8a6a2c;
  --color-primario: #efe4cf;
  --color-secundario: #c4a76e;
  --color-acento: #9a7a3e;
  --color-texto: #4a3f2e;
  --color-musica: #b0914f;
  --color-logo-footer: #4a3f2e;
  --boton-ingresar-color-letra: #2e2618;
  --sombra-rgb: 110, 88, 50;
  --linea-rgb: 160, 130, 80;
  --texto-boton: #2e2618;
  --brillo-borde: #c9a45a;
  --ventana-1: #f7f0e2;
  --ventana-2: #dcc89e;
  --fondo-color-base: #f3ecdf !important;
  --filtro-tono: sepia(.6) saturate(1.8) hue-rotate(-6deg) brightness(1.03);
}


/* ---------------------------------------------------------------------
   Base: un solo fondo para toda la invitación (config.php: $fondoImagen)
   --------------------------------------------------------------------- */

body {
  color: var(--texto);
  font-weight: 300;
}

.fondo-general {
  filter: var(--filtro-tono);
}

main > section[class],
main > section.seccion-color,
main > section.seccion-color-2,
section.inv-rsvp,
footer.footer {
  background: transparent !important;
}

@media (max-width: 767px) {
  /* en celular la foto de fondo se ve más grande: un poco más suave */
  .fondo-general { opacity: calc(var(--fondo-opacidad) * .75); }
}

/* Glitter que se mueve sobre todo (no recibe clics) */
.glitter-canvas {
  filter: var(--filtro-tono);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.glitter-pagina {
  position: fixed;
  z-index: 999;
}

/* Textos legibles sobre el glitter */
main p,
.cierre-texto {
  color: var(--texto);
  text-shadow: 0 0 10px rgba(255, 255, 255, .95), 0 0 2px rgba(255, 255, 255, .9);
}


/* ---------------------------------------------------------------------
   Etiqueta + título (tituloSeccion() en blocks/_helpers.php)
   --------------------------------------------------------------------- */

.titulo-seccion {
  text-align: center;
  margin-bottom: 1.2rem;
}

.etiqueta {
  max-width: none !important;
  padding-left: .42em;          /* compensa el espaciado de la última letra: queda centrada */
  text-align: center;
  font-family: var(--fuente) !important;
  font-weight: 600 !important;
  font-size: .72rem !important;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--texto-suave) !important;
  margin: 0 auto .9rem !important;
}

h4,
.titulo,
.inv-rsvp-titulo {
  font-family: var(--fuente-titulos) !important;
  font-weight: 500;
  font-size: clamp(2rem, 7vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
  color: var(--texto-fuerte);
  margin: 0 0 1.2rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, .95));
}

.titulo-seccion .titulo {
  margin: 0;
}

h4 em,
.titulo em {
  font-style: italic;
  font-weight: 400;
  padding: 0 .06em;
  background: var(--cromo-titulo);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Firma y nombres en letra manuscrita */
.firma,
section.frase .firma,
.lk-nombre {
  font-family: var(--fuente-script) !important;
  font-style: normal;
  font-weight: 400;
}

section.frase .firma {
  font-size: 3rem;
  line-height: 1.2;
  margin-top: 1.2rem;
  color: var(--texto-fuerte);
}


/* ---------------------------------------------------------------------
   Botones cromados
   --------------------------------------------------------------------- */

.btn,
.btn-alt,
.inv-btn-ingresar,
.inv-rsvp .inv-btn,
.inv-rsvp button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85rem 1.9rem;
  border: 0 !important;
  border-radius: 999px;
  font-family: var(--fuente);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--texto-boton) !important;
  background: var(--cromo-claro) !important;
  background-size: 220% 100% !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .9) inset, 0 8px 22px rgba(var(--sombra-rgb), .25);
  transition: transform .25s ease, box-shadow .25s ease, background-position .6s ease;
}

.btn:hover,
.btn-alt:hover,
.inv-btn-ingresar:hover {
  transform: translateY(-2px);
  background-position: 100% 0 !important;
  box-shadow: 0 0 0 1px #fff inset, 0 10px 28px rgba(var(--sombra-rgb), .35);
}

.btn:active {
  transform: scale(.97);
}

/* Ventanas (regalo, tarjeta) */
.fancybox-bg {
  background: linear-gradient(160deg, var(--ventana-1), var(--ventana-2)) !important;
}

.modal-datos {
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .9) inset, 0 30px 70px rgba(var(--sombra-rgb), .3);
}

.modal-datos span.title {
  font-family: var(--fuente-titulos);
  color: var(--texto-fuerte);
}

.btn-copiar {
  background: var(--cromo-claro);
  color: var(--texto-boton);
}


/* ---------------------------------------------------------------------
   Tarjetas de vidrio (con borde plateado que gira)
   --------------------------------------------------------------------- */

.divDressCode,
.trivia-card,
.playlist-card,
.inv-rsvp-card {
  position: relative;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.6rem 1.6rem 2.3rem;
  border-radius: 26px;
  background: var(--vidrio) !important;
  border: 0 !important;
  box-shadow: 0 0 0 1px var(--vidrio-borde) inset, 0 20px 50px rgba(var(--sombra-rgb), .16) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.divDressCode::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 68%, var(--brillo-borde) 78%, #ffffff 84%, var(--brillo-borde) 90%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borde-gira 6s linear infinite;
  pointer-events: none;
}

@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes borde-gira { to { --ang: 360deg; } }

section.dresscode {
  padding: 50px 0 70px;
}


/* ---------------------------------------------------------------------
   Íconos: plateados, quietos, con una franja de brillo que pasa
   --------------------------------------------------------------------- */

.plata-s1 { stop-color: var(--icono-plata-1); }
.plata-s2 { stop-color: var(--icono-plata-2); }
.plata-s4 { stop-color: var(--icono-plata-4); }

.icono {
  position: relative;
  width: var(--tamano-iconos);
  height: var(--tamano-iconos);
}

.icono-plata svg {
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .9)) drop-shadow(0 3px 5px rgba(var(--sombra-rgb), .3));
}

.icono-anim,
.icono-anim.icono-visible,
.icono-tap svg {
  opacity: 1;
  animation: none !important;
}

.icono-brillo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .7) 46%, #fff 50%, rgba(255, 255, 255, .7) 54%, rgba(255, 255, 255, 0) 60%);
  background-size: 300% 100%;
  background-repeat: no-repeat;
  background-position: 100% 0;
  animation: icono-franja var(--icono-brillo-duracion) ease-in-out var(--icono-desfase, 0s) infinite;
}

@keyframes icono-franja {
  0%   { background-position: 100% 0; }
  45%  { background-position: 0% 0; }
  100% { background-position: 0% 0; }
}


/* ---------------------------------------------------------------------
   PORTADA DISCO: bolas espejadas + nombre
   --------------------------------------------------------------------- */

section.portada-disco {
  flex-direction: column;
  justify-content: center;
  padding: 0 1.25rem;
  text-align: center;
  background: transparent;
}

.bolas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bola {
  position: absolute;
  width: calc(var(--tamano-bola) * var(--escala, 1));
  height: calc(var(--tamano-bola) * var(--escala, 1));
  transform-origin: 50% -200px;
  animation: bola-hamaca 7s ease-in-out infinite;
}

.bola-canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: var(--filtro-tono) drop-shadow(0 18px 26px rgba(var(--sombra-rgb), .3));
}

.bola-hilo {
  position: absolute;
  left: 50%;
  bottom: 99%;
  width: 1px;
  height: 100vh;
  margin-left: -.5px;
  background: linear-gradient(to top, rgba(var(--linea-rgb), .85), rgba(255, 255, 255, .5));
}

/* Ubicación: las grandes arriba a la izquierda, las chicas a la derecha */
.bola-1 { top: 2%;  left: 13%; }
.bola-2 { top: 30%; left: -6%;  --escala: 1.12; animation-delay: -2.5s; }
.bola-3 { top: -4%; right: 14%; --escala: .62;  animation-delay: -4s; }
.bola-4 { top: 20%; right: 2%;  --escala: .44;  animation-delay: -1.2s; }
.bola-5 { top: 47%; right: 9.5%; --escala: .34; animation-delay: -5.5s; }
.bolas-1 .bola-1 { left: 6%; top: 4%; }

@keyframes bola-hamaca {
  0%, 100% { transform: rotate(-1.6deg); }
  50%      { transform: rotate(1.6deg); }
}

.portada-texto {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
}

/* "Sol" en manuscrita + "Mis XV" en Bodoni */
.lockup {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 400;
}

.lk-nombre {
  font-size: clamp(7rem, 15vw, 13rem);
  line-height: 1.15;
  padding: .12em .45em .28em;    /* aire para los rulos de la letra: que no se corten */
  overflow: visible;
  background: var(--cromo-texto);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, .95)) drop-shadow(0 2px 2px rgba(var(--sombra-rgb), .25));
}

.lk-mis {
  font-family: var(--fuente-titulos);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  letter-spacing: .06em;
  line-height: 1;
  margin: -.55em 0 0;
  color: var(--texto-fuerte);
  text-shadow: 0 0 12px rgba(255, 255, 255, .95);
}

.portada-fecha {
  margin: 1.6rem 0 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .4em;
  color: var(--texto);
  text-shadow: 0 0 8px rgba(255, 255, 255, .95);
}

.portada-fecha i {
  width: 1px;
  height: 1.4em;
  background: rgba(var(--linea-rgb), .5);
}

/* Logo de portada en lugar del texto ($logoPortada en config.php) */
.portada-imagen {
  display: block;
  width: min(var(--ancho-logo-portada, 520px), 86vw);
  max-height: 52vh;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, .95));
}

/* La misma imagen, más chica, al final del cierre */
.cierre-imagen {
  display: block;
  width: min(calc(var(--ancho-logo-portada, 520px) * .5), 60vw);   /* .5 = la mitad de la portada */
  max-height: 30vh;
  height: auto;
  margin: 1.2rem auto 0;
  object-fit: contain;
}

/* Indicador para bajar: "mouse" con ruedita */
.scroll-raton {
  bottom: 1.4rem;
  left: 50%;
  width: 24px;
  height: 38px;
  margin-left: -12px;
  border: 0;
  border-radius: 14px;
  transform: none;
  filter: none;
  box-shadow: 0 0 0 1.5px rgba(var(--linea-rgb), .7) inset;
  animation: none;
}

.scroll-raton span {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: rgb(var(--linea-rgb));
  animation: ruedita 1.8s ease-in-out infinite;
}

@keyframes ruedita {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(13px); }
}


/* ---------------------------------------------------------------------
   Cuenta regresiva: círculos con aro plateado finito
   --------------------------------------------------------------------- */

section.cuenta-regresiva {
  padding: 4.5rem 0;
  color: var(--texto);
}

section.cuenta-regresiva .cr-titulo {
  font-family: var(--fuente);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--texto-suave);
  margin-bottom: 1.6rem !important;
}

section.cuenta-regresiva .cr-reloj {
  gap: clamp(.6rem, 2.5vw, 1.3rem);
  align-items: center;
}

section.cuenta-regresiva .cr-sep {
  display: none;
}

section.cuenta-regresiva .cr-bloque {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  width: clamp(72px, 20vw, 118px);
  height: clamp(72px, 20vw, 118px);
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(var(--sombra-rgb), .18);
}

/* aro finito con un brillo que gira */
section.cuenta-regresiva .cr-bloque::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  padding: 1.5px;
  background: var(--aro-plata);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: aro-gira 8s linear infinite;
}

section.cuenta-regresiva .cr-bloque:nth-child(3)::before { animation-delay: -2s; }
section.cuenta-regresiva .cr-bloque:nth-child(5)::before { animation-delay: -4s; }
section.cuenta-regresiva .cr-bloque:nth-child(7)::before { animation-delay: -6s; }

@keyframes aro-gira { to { transform: rotate(360deg); } }

section.cuenta-regresiva .num_cuenta {
  font-family: var(--fuente-titulos);
  font-weight: 700;
  font-size: clamp(1.35rem, 5.4vw, 2.2rem);
  line-height: 1;
  background: var(--cromo-texto);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

section.cuenta-regresiva .text_cuenta {
  margin-top: .45rem;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--texto-suave);
}

section.cuenta-regresiva .cr-fin {
  font-family: var(--fuente-titulos);
  font-style: italic;
  font-weight: 400 !important;
  font-size: clamp(2.2rem, 9vw, 3.6rem) !important;
  background: var(--cromo-texto);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ---------------------------------------------------------------------
   Fiesta: fecha, hora y lugar en tarjetas de vidrio
   --------------------------------------------------------------------- */

.info-dato {
  background: var(--vidrio);
  border: 0;
  box-shadow: 0 0 0 1px var(--vidrio-borde) inset, 0 10px 26px rgba(var(--sombra-rgb), .14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 18px;
}

.info-icono {
  background: transparent;
  box-shadow: 0 0 0 1px rgba(var(--linea-rgb), .45) inset;
}

.info-icono .icono {
  width: 24px;
  height: 24px;
}

.info-label {
  font-size: .66rem;
  letter-spacing: .3em;
  color: var(--texto-suave);
  opacity: 1;
}

.info-valor {
  font-family: var(--fuente-titulos);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--texto-fuerte);
}


/* ---------------------------------------------------------------------
   Galería: borde plateado finito y brillo al pasar
   --------------------------------------------------------------------- */

section.galeria .titulo-seccion {
  margin-bottom: 1.8rem;
}

.item-galeria {
  padding: 1px;
  border-radius: 16px;
  background: var(--cromo-claro);
  box-shadow: 0 6px 18px rgba(var(--sombra-rgb), .18);
}

.item-galeria img {
  border-radius: 15px;
}

.item-galeria::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .35) 48%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 1s ease;
  pointer-events: none;
}

@media (hover: hover) {
  .item-galeria:hover::after { transform: translateX(120%); }
}


/* ---------------------------------------------------------------------
   Instagram, regalo, tarjeta, álbum
   --------------------------------------------------------------------- */

section.instagram .titulo em {
  font-weight: 500;
}

section.cbu p,
section.tarjeta p,
section.instagram p {
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

section.album {
  color: var(--texto);
}


/* ---------------------------------------------------------------------
   Confirmación de asistencia, trivia y playlist
   --------------------------------------------------------------------- */

.inv-rsvp-titulo-wrap {
  margin-bottom: .6rem;
}

.ia-input,
.inv-rsvp input[type="text"],
.inv-rsvp input[type="search"],
.inv-rsvp textarea,
.inv-rsvp select {
  border-radius: 999px !important;
  border: 1px solid rgba(var(--linea-rgb), .45) !important;
  background: rgba(255, 255, 255, .8) !important;
}

.inv-rsvp textarea {
  border-radius: 18px !important;
}


/* ---------------------------------------------------------------------
   Cierre (sin foto): bolita que gira + gracias + nombre
   --------------------------------------------------------------------- */

section.cierre-disco {
  min-height: 0;
  padding: 5rem 0 4rem;
  color: var(--texto);
}

.bola.bola-chica {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.6rem;
  animation: none;
}

.bola.bola-fiesta {
  width: 92px;
  height: 92px;
  margin-bottom: 1.4rem;
}

.cierre-disco .cierre-texto {
  font-family: var(--fuente-titulos);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--texto-fuerte);
  max-width: 460px;
  margin: 0 auto 1.4rem;
}

main p.cierre-nombre {
  font-size: clamp(5rem, 22vw, 8rem);
  margin: 0;
  text-shadow: none;
}


/* ---------------------------------------------------------------------
   Bienvenida (pre-pantalla): el mismo fondo + glitter
   --------------------------------------------------------------------- */

.tema-disco .inv-pre-screen {
  background-color: var(--fondo-color-base, #eef0f3);
}

.tema-disco .inv-pre-bg {
  background-size: cover !important;
  background-position: center !important;
  filter: none !important;
  transform: none !important;
}

.tema-disco .inv-pre-velo {
  background: transparent !important;
}

.inv-pre-content {
  border-radius: 26px !important;
  background: rgba(255, 255, 255, .75) !important;
  box-shadow: 0 0 0 1px #fff inset, 0 20px 50px rgba(var(--sombra-rgb), .22) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.inv-pre-evento {
  font-family: var(--fuente) !important;
  font-weight: 600 !important;
  letter-spacing: .42em !important;
  color: var(--texto-suave) !important;
}

.inv-pre-para,
.inv-pre-nombre {
  font-family: var(--fuente-titulos) !important;
  color: var(--texto-fuerte) !important;
}


/* ---------------------------------------------------------------------
   Pie
   --------------------------------------------------------------------- */

footer.footer p {
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: .62rem;
  color: var(--texto-suave);
}


/* ---------------------------------------------------------------------
   Celular
   --------------------------------------------------------------------- */

@media (max-width: 767px) {
  :root {
    --tamano-iconos: 92px;
    --tamano-bola: 46vw;
  }

  .bola-1 { top: 1%;  left: 22%; }
  .bola-2 { top: 17%; left: -12%; }
  .bola-3 { top: -2%; right: 4%; --escala: .6; }
  .bola-4 { top: 22%; right: 6%; --escala: .42; }
  .bola-5 { display: none; }   /* en celular entran 4 */
  .bolas-1 .bola-1 { top: 3%; left: 8%; }

  section.portada-disco {
    justify-content: flex-end;
    padding-bottom: 5.2rem;
  }

  .portada-texto {
    margin-left: 0;
  }

  .lk-nombre {
    font-size: clamp(6.5rem, 34vw, 9rem);
  }

  .lk-mis {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .portada-fecha {
    font-size: .85rem;
  }

  .divDressCode,
  .trivia-card,
  .playlist-card,
  .inv-rsvp-card {
    padding: 2.2rem 1.2rem 2rem;
  }

  section.frase .firma {
    font-size: 2.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bola,
  .divDressCode::before,
  section.cuenta-regresiva .cr-bloque::before,
  .icono-brillo,
  .scroll-raton span {
    animation: none !important;
  }
}


/* Dress code: tarjeta más chica y más transparente */
section.dresscode .divDressCode {
  max-width: 430px;
  padding: 2rem 1.4rem 1.8rem;
  background: rgba(255, 255, 255, .34) !important;
}
