* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #ffd1e8 0%, #ffb6d5 40%, #ff8fc7 100%);
  overflow: hidden;
}

#confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.card {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 3.5rem;
  background: rgba(255, 255, 255, 0.65);
  border: 3px solid #ff7eb9;
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(255, 105, 180, 0.45);
  backdrop-filter: blur(8px);
  animation: pop 0.7s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes pop {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.hearts {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hearts span {
  display: inline-block;
  animation: float 2.6s ease-in-out infinite;
}

.hearts span:nth-child(2) { animation-delay: 0.3s; }
.hearts span:nth-child(3) { animation-delay: 0.6s; }
.hearts span:nth-child(4) { animation-delay: 0.9s; }
.hearts span:nth-child(5) { animation-delay: 1.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

h1 {
  font-size: 3.4rem;
  color: #d6336c;
  text-shadow: 2px 2px 0 #fff, 4px 4px 12px rgba(214, 51, 108, 0.3);
  letter-spacing: 1px;
}

.message {
  margin-top: 0.6rem;
  font-size: 1.8rem;
  font-weight: 600;
  color: #f06595;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

#moreBtn {
  margin-top: 1.8rem;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1;
  background: linear-gradient(135deg, #ff7eb9, #ff5fa2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 95, 162, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#moreBtn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 26px rgba(255, 95, 162, 0.6);
}

#moreBtn:active {
  transform: scale(0.96);
}
