/* @import url('https://fonts.googleapis.com/css?family=Oswald');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Oswald', sans-serif;
  text-align: center;
  overflow: hidden;
  margin: 0;
}

h3 {
  margin-bottom: 0;
  text-align: center;
}

small {
  display: block;
  margin-bottom: 20px;
  text-align: center;
}

.fa-heart {
  color: red;
}

.loveMe {
  height: 440px;
  width: 300px;
  background: url('https://images.unsplash.com/photo-1504215680853-026ed2a45def?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=334&q=80')
    no-repeat center center/cover;
  margin: auto;
  cursor: pointer;
  max-width: 100%;
  position: relative;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.loveMe .fa-heart {
  position: absolute;
  animation: grow 0.6s linear;
  transform: translate(-50%, -50%) scale(0);
}

@keyframes grow {
  to {
    transform: translate(-50%, -50%) scale(10);
    opacity: 0;
  }
} */



@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100vh;
  background: linear-gradient(135deg, #1d1f27, #0f2027);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.card {
  width: 320px;
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.image-container {
  height: 400px;
  background: url('https://images.unsplash.com/photo-1504215680853-026ed2a45def?auto=format&fit=crop&w=800&q=80')
    no-repeat center center/cover;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.content {
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

#likeBtn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: white;
  transition: transform 0.2s ease;
}

#likeBtn.liked i {
  color: #ff2e63;
}

#likeBtn:active {
  transform: scale(1.2);
}

/* Floating Heart */
.heart {
  position: absolute;
  color: #ff2e63;
  animation: floatUp 1.2s ease forwards;
  pointer-events: none;
}

@keyframes floatUp {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -150%) scale(3);
    opacity: 0;
  }
}

/* Pulse Effect */
.image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,46,99,0.4) 10%, transparent 60%);
  opacity: 0;
  transition: 0.3s ease;
}

.image-container.liked::after {
  opacity: 1;
}