:root {
  --pink-1: #ffdfef;
  --pink-2: #ffc2e2;
  --pink-3: #ff9ecf;
  --pink-deep: #ff6fb5;
  --lilac: #e5b8ff;
  --peach: #ffd9c7;
  --ink: #b8377f;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Quicksand', sans-serif;
  color: var(--ink);
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-1) 0%, var(--lilac) 45%, var(--peach) 100%);
  background-size: 200% 200%;
  animation: drift 18s ease infinite;
}

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

/* Sparkle canvas sits behind the content */
#sparkles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.stage {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.logo {
  text-align: center;
  animation: rise 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.heart {
  display: block;
  width: 74px;
  height: 74px;
  margin: 0 auto 8px;
  filter: drop-shadow(0 8px 18px rgba(255, 111, 181, 0.45));
  animation: beat 1.6s ease-in-out infinite;
}

.heart svg path {
  fill: var(--pink-deep);
}

@keyframes beat {
  0%, 100% { transform: scale(1); }
  15%      { transform: scale(1.18); }
  30%      { transform: scale(0.97); }
  45%      { transform: scale(1.08); }
}

.wordmark {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 7rem);
  line-height: 1.05;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--pink-deep), var(--lilac), var(--pink-deep));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 6px 24px rgba(255, 111, 181, 0.18));
  animation: shimmer 6s linear infinite;
}

/* Fallback for browsers without background-clip: text so the wordmark
   never renders as invisible transparent text. */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .wordmark {
    -webkit-text-fill-color: var(--pink-deep);
    color: var(--pink-deep);
    background: none;
  }
}

@keyframes shimmer {
  from { background-position: 200% center; }
  to   { background-position: 0% center; }
}

@media (prefers-reduced-motion: reduce) {
  body, .logo, .heart, .wordmark {
    animation: none;
  }
}
