figcaption {
  color: #d49094;
  font-style: italic;
  font-size: 18px;
  text-align: center;
  padding: 10px;
}

    body {
  text-align: center;
     }

    body {
  font-family: "Arial", sans-serif;
     }

    img {
  border-radius: 20px 
     }

    p {
  color: rgb(211, 166, 173);
  font-size: 18px;
     }

    h1 {
  color: rgb(165, 124, 136);
  font-size: 36px;
     }

  body {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
     }
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

body {
  background-color: #f5cfd5; /* Light pink */
}

.heart-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 10;
}

.heart {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: rgb(247, 160, 174);
  border-radius: 50% 50% 0 0;
  transform: rotate(-45deg);
  animation: floatUp 5s infinite ease-in;
  opacity: 0;
}

/* Heart shape */
.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: rgb(247, 160, 174);
  border-radius: 50%;
}

.heart::before {
  top: -15px;
  left: 0;
}

.heart::after {
  left: 15px;
  top: 0;
}

/* Floating animation */
@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(-45deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(-45deg);
    opacity: 0;
  }
}

/* 🎀 Random positions and delays */
.heart:nth-child(1) { left: 10%; animation-delay: 0s; }
.heart:nth-child(2) { left: 30%; animation-delay: 2s; }
.heart:nth-child(3) { left: 50%; animation-delay: 4s; }
.heart:nth-child(4) { left: 70%; animation-delay: 1s; }
.heart:nth-child(5) { left: 85%; animation-delay: 3s; }
.heart:nth-child(6) { left: 20%; animation-delay: 5s; }

html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
}

.heart {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: rgb(247, 160, 174);
  border-radius: 50% 50% 0 0;
  transform: rotate(-45deg);
  animation: floatUp 10s infinite ease-in;
  opacity: 0;

  /* ✨ Glow effect */
  box-shadow: 0 0 15px rgba(255, 182, 193, 0.8),
              0 0 30px rgba(255, 182, 193, 0.5);
}