@import url('https://fonts.googleapis.com/css2?family=Just+Another+Hand&family=Kiwi+Maru:wght@300;400;500&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

body {
  background: radial-gradient(85.9% 85.89% at 49.22% 14.11%, #FCE0E7 0%, #EFD4DB 100%);
  color: #362E30;
  font-family: 'Kiwi Maru', sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.01rem; /* 0.16px */
  line-height: 1.5;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.card {
  display: flex;
  width: 40%;
  padding: 2.625rem 2.25rem 1.5rem 2.25rem; /* 42px 36px 24px 36px */
  flex-direction: column;
  align-items: flex-center;
  border-radius: 0.25rem; /* 4px */
  background: #FDFCFC;
  box-shadow: 0.063rem 0.313rem 0.625rem 0.125rem #FDD2DD; /* 1px 5px 10px 2px */
  margin: 4.72rem 9.375rem; /* 75.5px 150px */
  background-image: url('paper-texture-1.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: multiply;
}

h1 {
  -webkit-text-stroke-color: rgba(55, 48, 50, 0.20);
  -webkit-text-stroke-width: 0.063rem; /* 1px */
  color: #373032;
  font-family: "Just Another Hand";
  font-size: 2.5rem; /* 40px */
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.075rem; /* 1.2px */
  line-height: normal;
}

.first-paragraph {
  padding-top: 3.5rem; /* 56px */
}

ul > li {
  margin-bottom: 0.625rem; /* 10px */
}

ul li {
  transition: color 0.4s ease, transform 0.4s ease;
  position: relative;
}

/* Add the glowing heart emoji on hover */
ul li::after {
  content: '';
  transition: opacity 3s ease;
  opacity: 0;
  margin-left: 6px;
}

/* Hover effects: glow, scale, emoji, pulse */
ul li:hover {
  color: #d6336c;
  transform: scale(1.04);
  animation: romanticPulse 1.2s ease-in-out infinite;
}

ul li:hover::after {
  content: ' ❤️';
  opacity: 1;
}

/* Pulse animation for soft glowing effect */
@keyframes romanticPulse {
  0% {
    text-shadow: 0 0 4px #f4a8bd;
  }
  50% {
    text-shadow: 0 0 12px #ffd6e1, 0 0 24px #f4a8bd;
  }
  100% {
    text-shadow: 0 0 4px #f4a8bd;
  }
}

hr {
  background: #EAE8E9;
}

.highlight {
  color: #CA4365;
}

.heart {
  position: relative;
  top: 0.5rem;
  left: 0.5rem;
}


@media (max-width: 768px) {
  .card {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  body {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 1.5rem 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  .first-paragraph {
    padding-top: 2rem;
  }
}
