* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: linear-gradient(135deg, #ffe6ee, #ffd6e8);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* HIDE */
.hidden {
  display: none;
}

/* CARD */
.container {
  background: white;
  width: 100%;
  max-width: 360px;
  padding: 22px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  position: relative;
  z-index: 2;
}

/* SVG */
.svg-box {
  width: 140px;
  margin: 0 auto 12px;
}

.heart {
  width: 100%;
  animation: heartbeat 1.8s infinite ease-in-out;
  transform-origin: center;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  30% { transform: scale(1.1); }
  60% { transform: scale(1); }
}

/* TEXT */
#question {
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 12px 0 18px;
}

/* BUTTONS */
.buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

button {
  padding: 14px 18px;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}

button.yes {
  background: #38b000;
  color: white;
position: Relative;
}

button.no {
  background: #d00000;
  color: white;
  position: Relative;
 
 
  transition: transform 0.6s cubic-bezier(.34,1.56,.64,1);
  will-change: transform;
}
/* CONFETTI */
#confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* SMALL PHONES */
@media (max-width: 360px) {
  .container {
    max-width: 320px;
  }

  button {
    width: 100%;
  }

  #question {
    font-size: 1.25rem;
  }
}
