:root {
  color-scheme: light;
  --bg: #fff1f5;
  --card: rgba(255, 255, 255, 0.86);
  --primary: #ff4d79;
  --secondary: #ffb3c7;
  --accent: #ff8fab;
  --text: #4b2c39;
  --shadow: 0 30px 60px rgba(255, 77, 121, 0.25);
}

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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  background: radial-gradient(circle at top, #ffe6ef, #ffd1dc 45%, #ffeef3 100%);
  color: var(--text);
  overflow-x: hidden;
  overflow-y: auto;
}

.page {
  width: min(960px, 92vw);
  position: relative;
  padding: 48px 32px 36px;
}

.glow {
  position: absolute;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 77, 121, 0.35), transparent 65%);
  top: -120px;
  right: -120px;
  filter: blur(12px);
  z-index: 0;
}

.hero {
  text-align: center;
  position: relative;
  z-index: 1;
}

.tagline {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(75, 44, 57, 0.55);
  margin-bottom: 12px;
}

.hero h1 {
  font-family: "Pacifico", cursive;
  font-size: clamp(2.8rem, 5vw, 4rem);
  color: var(--primary);
  margin-bottom: 8px;
}

.hero h1 span {
  color: #ff7da3;
}

.subtitle {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.card {
  background: var(--card);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.photo {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  border-radius: 22px;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 35px rgba(255, 77, 121, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.photo.left {
  transform: rotate(-1.5deg);
}

.photo.right {
  transform: rotate(1.5deg);
}

.photo:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 40px rgba(255, 77, 121, 0.25);
}

.illustration {
  width: 100%;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heart {
  width: 130px;
  height: 130px;
  background: linear-gradient(135deg, #ff9bb5, #ff4d79);
  position: relative;
  transform: rotate(-45deg);
  border-radius: 18px;
  box-shadow: 0 25px 45px rgba(255, 77, 121, 0.35);
  animation: pulse 2.3s ease-in-out infinite;
}

.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  background: linear-gradient(135deg, #ff9bb5, #ff4d79);
  border-radius: 50%;
}

.heart::before {
  top: -65px;
  left: 0;
}

.heart::after {
  left: 65px;
  top: 0;
}

.sparkles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 255, 255, 0.6) 0 2px, transparent 3px);
  background-size: 40px 40px, 55px 55px, 65px 65px;
  background-position: 0 0, 20px 15px, 10px 30px;
  opacity: 0.6;
}

.choices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  position: relative;
}

.btn {
  border: none;
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 24px rgba(255, 77, 121, 0.2);
}

.btn:active {
  transform: scale(0.97);
}

.btn.yes {
  background: linear-gradient(135deg, #ff4d79, #ff8fab);
  color: white;
}

.no-zone {
  position: relative;
  z-index: 3;
}

.btn.no {
  background: #fff;
  color: var(--text);
  border: 2px solid rgba(255, 77, 121, 0.35);
  box-shadow: 0 10px 24px rgba(255, 77, 121, 0.15);
}

.message {
  min-height: 32px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
}

.video-wrap {
  display: grid;
  place-items: center;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.45s ease;
  pointer-events: none;
}

.video-wrap.is-visible {
  opacity: 1;
  max-height: 520px;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.video-frame {
  width: min(720px, 100%);
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(255, 77, 121, 0.22);
  border: 3px solid rgba(255, 77, 121, 0.2);
}

.video-frame video {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.footer {
  text-align: center;
  margin-top: 24px;
  color: rgba(75, 44, 57, 0.6);
  font-size: 0.95rem;
}

@keyframes pulse {
  0%,
  100% {
    transform: rotate(-45deg) scale(1);
  }
  50% {
    transform: rotate(-45deg) scale(1.08);
  }
}

@media (max-width: 600px) {
  .card {
    padding: 24px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .choices {
    flex-direction: column;
  }

  .photos {
    grid-template-columns: 1fr;
  }

  .photo {
    max-height: 260px;
  }
}
