*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
}

.page {
  min-height: 100vh;
  background-color: #FFC0CB;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.white-box {
  position: relative;
  width: min(420px, 100%);
  min-height: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 2rem;
  text-align: center;
}

.emoji {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.question {
  font-size: 1.25rem;
  color: #333;
  margin: 0 0 1.75rem;
  line-height: 1.4;
}

.buttons-wrap {
  position: static;
  min-height: 52px;
  margin-bottom: 0.5rem;
}

.btn {
  padding: 0.6rem 1.5rem;
  font-size: 1.1rem;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-yes {
  background-color: #FF69B4;
  color: #fff;
  margin-right: 0.75rem;
}

.btn-yes:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.5);
}

.btn-no {
  position: absolute;
  background-color: #F5F5F5;
  color: #000;
  pointer-events: none;
  left: 55%;
  top: 0;
  transform: translateX(-50%);
  transition: left 0.15s ease-out, top 0.15s ease-out;
}

.reaction {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.reaction.hidden {
  display: none;
}

.image-wrap {
  margin-bottom: 0.75rem;
  border-radius: 12px;
  overflow: hidden;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.reaction-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.love-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FF69B4;
  margin: 0;
  animation: fadeIn 0.5s ease;
}

.bottom-text {
  margin: 1.5rem 0 0;
  font-size: 1rem;
  color: #555;
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .white-box {
    padding: 1.5rem;
    min-height: 300px;
  }

  .emoji {
    font-size: 2.5rem;
  }

  .question {
    font-size: 1.1rem;
  }

  .btn-yes {
    margin-right: 0;
  }

  .image-wrap {
    max-width: 100%;
  }
}
