:root {
  color-scheme: light;
  --pink: #ff77aa;
  --hot-pink: #ff3b7a;
  --peach: #ffd9e6;
  --lavender: #cbb6ff;
  --berry: #6f2d5f;
  --sky: #fef6fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  background: radial-gradient(circle at top, #fff 0%, #ffe2ef 40%, #f7d7ff 100%);
  color: var(--berry);
  min-height: 100vh;
  overflow-x: hidden;
}

.page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  position: relative;
  z-index: 2;
}

.hero {
  text-align: center;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: "Courgette", cursive;
  font-size: clamp(2.4rem, 3vw + 1.5rem, 4rem);
  margin: 12px 0 8px;
  color: var(--hot-pink);
  text-shadow: 0 8px 18px rgba(255, 59, 122, 0.25);
}

.tag {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 16px rgba(255, 119, 170, 0.2);
}

.subtitle {
  margin: 0 auto;
  max-width: 520px;
  font-size: 1.05rem;
}

.card {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(250, 151, 195, 0.35);
  backdrop-filter: blur(10px);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.photo-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(255, 119, 170, 0.25);
}

.prompt {
  margin-top: 24px;
  text-align: center;
  font-size: 1.1rem;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 20px 0 8px;
  position: relative;
  min-height: 70px;
}

.btn {
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 14px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.yes {
  background: linear-gradient(135deg, var(--hot-pink), var(--pink));
  color: #fff;
  box-shadow: 0 10px 18px rgba(255, 59, 122, 0.4);
}

.btn.yes:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 24px rgba(255, 59, 122, 0.35);
}

.btn.no {
  background: #fff0f6;
  color: var(--berry);
  border: 2px dashed rgba(255, 59, 122, 0.45);
  position: absolute;
  left: 0;
  top: 0;
  padding: 8px 20px;
  font-size: 0.85rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.hint {
  color: rgba(111, 45, 95, 0.7);
  font-size: 0.95rem;
}

.celebration {
  margin-top: 36px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 24px;
  text-align: center;
  display: none;
  animation: pop-in 0.6s ease;
}

.celebration img {
  width: min(320px, 80vw);
  border-radius: 24px;
  box-shadow: 0 18px 32px rgba(255, 119, 170, 0.35);
  margin: 18px 0;
}

.cursor-glow {
  position: fixed;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 119, 170, 0.6), transparent 70%);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  z-index: 1;
}

.floating-heart {
  position: fixed;
  font-size: 18px;
  color: rgba(255, 59, 122, 0.9);
  pointer-events: none;
  animation: float-up 1.2s ease-out forwards;
  z-index: 0;
}

@keyframes float-up {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-40px) scale(1.6);
    opacity: 0;
  }
}

@keyframes pop-in {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .buttons {
    flex-direction: column;
    align-items: center;
    min-height: 120px;
  }

  .btn.no {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
  }
}
