/* Fonts and body setup */
body {
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(135deg, #ffd6ec, #fff6f0);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  color: #6a006a;
}

h1 {
  font-family: 'Pacifico', cursive;
  font-size: 2.8rem;
  text-align: center;
  margin-top: 40px;
  color: #ff69b4;
  text-shadow: 2px 2px 4px #fff;
}

header {
  background: linear-gradient(90deg, #ff8cfb, #ffc6ff);
  padding: 20px;
  border-bottom: 4px dashed #ffccff;
}

.intro {
  padding: 30px;
  text-align: center;
  font-size: 1.2rem;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #ffecf9;
  font-size: 0.9rem;
  color: #a64ca6;
  border-top: 2px dotted #ffaaff;
}

/* Sparkly background */
.sparkle-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://media.giphy.com/media/3og0IPxMM0erATueVW/giphy.gif');
  background-size: cover;
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}

/* Rainbow Button */
.rainbow-btn {
  background: linear-gradient(90deg, #ff8ae2, #ffc6ff, #aafff0, #8affc1, #8ae9ff, #d8b5ff);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-size: 1.2rem;
  box-shadow: 0 0 15px #ffb6f9;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rainbow-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px #ff80c0;
}
.hearts {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.5);
  font-size: 2rem;
  animation: floatUp 2s ease-out;
  pointer-events: none;
  z-index: 999;
}

@keyframes floatUp {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -150%) scale(0.8);
  }
}
