/* ==========================================================================
   GLOBAL.CSS - PALETA, TIPOGRAFÍA Y ESTILOS BASE
   INVITACIÓN INFANTIL SOFÍA - ¡MI PRIMER AÑITO! (K-POP THEME)
   ========================================================================== */

:root {
  /* Paleta Oficial Infantil K-Pop (Lila, Morado, Rosa Pastel y Verde WhatsApp) */
  --purple-deep: #481a6c;
  --purple-main: #582382;
  --purple-medium: #7e59b8;
  --purple-soft: #9675cc;
  --purple-pill: #8a68c0;
  --lavender-bg-top: #f7f2fd;
  --lavender-bg-mid: #efe4fb;
  --lavender-bg-bot: #e6d4f8;
  --lavender-input: #e5d8f6;
  --lavender-border: #d9c6f0;
  --pink-accent: #ec4d90;
  --pink-bright: #ff478b;
  --pink-light: #ffd2e7;
  --pink-envelope: #f9b4d4;
  --pink-envelope-dark: #f296c0;
  --card-white: #ffffff;
  --wa-green-top: #32ce6a;
  --wa-green-bot: #1eb351;
  --text-dark: #3d165c;
  --text-muted: #6e4e8a;

  /* Tipografías mejoradas: Script real, Editorial elegante, Display redondeada y Sans moderna */
  --font-script: "Berkshire Swash", "Lobster Two", cursive;
  --font-editorial: "Playfair Display", Georgia, serif;
  --font-display: "Quicksand", "Plus Jakarta Sans", sans-serif;
  --font-sans: "Plus Jakarta Sans", "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset Global */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  /* Degradado de 3 tonos de lila bien marcados (Lila Oscuro, Lila Medio y Lila Claro Pastel) como en la imagen */
  background: linear-gradient(180deg,
      #6423a3 0%,
      #7b33be 10%,
      #ba6be8 18%,
      #f2c6f5 27%,
      #f8dcfb 40%,
      #f0c0f4 52%,
      #ba6be8 60%,
      #6926a8 68%,
      #7c35bf 75%,
      #c173ec 81%,
      #f4caf7 88%,
      #be6fed 95%,
      #7730b8 100%);
  color: var(--purple-deep);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  display: block;
}

::selection {
  background-color: var(--pink-light);
  color: var(--purple-deep);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

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

/* Utilidades generales */
.hidden {
  display: none !important;
}

.flex {
  display: flex !important;
}
