/* ============================================
   Regalo Vivi — 10 de mayo
   Sistema visual: suave, onírico, acuarela
   ============================================ */

:root {
  /* Paleta acuarela */
  --cream: #fdf8f3;
  --blush: #fce4e1;
  --rose: #f4c2c2;
  --rose-deep: #e8a5a5;
  --peach: #fde2d3;
  --lavender: #e8d8f0;
  --sage: #d4e4d4;
  --sky: #d8e8f0;
  --gold: #d4af7a;
  --ink: #4a3a3a;
  --ink-soft: #6b5555;
  --ink-faded: #9b8585;

  /* Tipografía */
  --font-hand: "Caveat", "Dancing Script", cursive;
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Quicksand", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sombras suaves */
  --shadow-soft: 0 8px 32px rgba(180, 130, 130, 0.12);
  --shadow-deep: 0 20px 60px rgba(180, 130, 130, 0.18);
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Fondo acuarela animado (compartido)
   ============================================ */
.watercolor-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, var(--blush) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, var(--lavender) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 20%, var(--peach) 0%, transparent 45%),
    radial-gradient(ellipse at 30% 80%, var(--sage) 0%, transparent 50%),
    var(--cream);
  animation: watercolor-drift 30s ease-in-out infinite alternate;
}

.watercolor-bg::before,
.watercolor-bg::after {
  content: "";
  position: absolute;
  width: 80vmax;
  height: 80vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  mix-blend-mode: multiply;
}

.watercolor-bg::before {
  background: radial-gradient(circle, var(--rose) 0%, transparent 60%);
  top: -30vmax;
  left: -20vmax;
  animation: float-blob-1 25s ease-in-out infinite alternate;
}

.watercolor-bg::after {
  background: radial-gradient(circle, var(--lavender) 0%, transparent 60%);
  bottom: -30vmax;
  right: -20vmax;
  animation: float-blob-2 28s ease-in-out infinite alternate;
}

@keyframes watercolor-drift {
  0%   { filter: hue-rotate(0deg) brightness(1); }
  100% { filter: hue-rotate(8deg) brightness(1.03); }
}

@keyframes float-blob-1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20vw, 15vh) scale(1.2); }
}

@keyframes float-blob-2 {
  0%   { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(-15vw, -20vh) scale(0.9); }
}

/* Partículas de polvo dorado */
.dust-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.dust {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 180, 0.9), transparent);
  animation: dust-float 12s linear infinite;
  opacity: 0;
}

@keyframes dust-float {
  0%   { transform: translate(0, 100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.8; transform: translate(0, 90vh) scale(1); }
  90%  { opacity: 0.6; }
  100% { transform: translate(20px, -10vh) scale(0.5); opacity: 0; }
}

/* ============================================
   Texto manuscrito que se escribe solo
   ============================================ */
.handwritten {
  font-family: var(--font-hand);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

/* Cursor parpadeante */
.cursor {
  display: inline-block;
  width: 2px;
  background: var(--rose-deep);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50%   { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ============================================
   Utilidades
   ============================================ */
.fade-in {
  animation: fade-in 1.2s ease-out both;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn-soft {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  padding: 14px 36px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: white;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-soft:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-deep);
}

.btn-soft:active {
  transform: translateY(0);
}
