/* Body & background */
body {
  font-family: 'Pacifico', cursive;
  margin: 0;
  padding: 24px 16px; /* allow breathing room on mobile */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(135deg, #ffc8d1, #facfb7);
  overflow-x: hidden; /* prevent horizontal scroll */
  overflow-y: auto;   /* allow vertical scroll */
}

/* Container */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 2;
  max-width: 100%;
}

/* Title */
h1 {
  color: #ff4d6d;
  text-align: center;
  font-size: clamp(2rem, 6vw, 3rem); /* responsive */
}

/* GIF */
.gif {
  width: 100%;
  max-width: 360px; /* desktop cap */
  height: auto;
  border-radius: 12px;
}

/* Buttons wrapper */
.buttons {
  display: block;
  text-align: center;
}

/* Buttons */
button {
  display: inline-block;
  margin: 6px;
  padding: 8px 16px;
  font-size: 18px;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  background-color: #ff4d6d;
  color: white;
  transition: font-size 0.08s ease; /* fast growth like TikTok trend */
  white-space: nowrap;
}

#noBtn {
  background-color: #adb5bd;
}

#message {
  color: #ff4d6d;
  text-align: center;
  font-size: clamp(1.6rem, 5vw, 2rem);
}

/* Hearts container */
#heartsContainer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.heart {
  position: absolute;
  font-size: 24px;
  user-select: none;
  will-change: transform;
}

@media (max-width: 480px) {
  .gif {
    max-width: 260px;
  }

  button {
    font-size: 16px;
    padding: 6px 14px;
  }
}
