/* ---- Romantik tema: Rose & Cream ---- */
:root {
  --rose-deep: #8b4d5a;
  --rose-mid: #b76e79;
  --rose-soft: #d4a5a5;
  --rose-pale: #f8e8ee;
  --cream: #fffaf8;
  --gold: #c9a962;
  --shadow-soft: rgba(139, 77, 90, 0.25);
  --shadow-strong: rgba(139, 77, 90, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(160deg, #1a0a0e 0%, #2d1520 25%, #3d1f2a 50%, #2d1520 75%, #1a0a0e 100%);
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--cream);
  padding: 20px;
  overflow-x: hidden;
  position: relative;
}

/* Floating hearts background */
.bg-hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bg-hearts .heart {
  position: absolute;
  font-size: clamp(14px, 2.5vw, 24px);
  color: var(--rose-mid);
  opacity: 0.12;
  animation: float 8s ease-in-out infinite;
}

.bg-hearts .heart:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.bg-hearts .heart:nth-child(2) { left: 85%; top: 15%; animation-delay: -2s; }
.bg-hearts .heart:nth-child(3) { left: 25%; top: 70%; animation-delay: -4s; }
.bg-hearts .heart:nth-child(4) { left: 70%; top: 60%; animation-delay: -1s; }
.bg-hearts .heart:nth-child(5) { left: 50%; top: 35%; animation-delay: -3s; }
.bg-hearts .heart:nth-child(6) { left: 15%; top: 50%; animation-delay: -5s; }
.bg-hearts .heart:nth-child(7) { left: 80%; top: 80%; animation-delay: -2.5s; }
.bg-hearts .heart:nth-child(8) { left: 40%; top: 10%; animation-delay: -6s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.12; }
  50% { transform: translate(10px, -15px) scale(1.1); opacity: 0.2; }
}

/* Main container */
.container {
  width: 100%;
  max-width: 520px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  padding: 40px 32px 36px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 250, 248, 0.08) 0%, rgba(255, 250, 248, 0.02) 100%);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: center;
}

.subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 400;
  font-style: italic;
  color: var(--rose-soft);
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}

.title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  color: var(--cream);
  margin: 0 0 6px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px var(--shadow-soft);
}

.subtext {
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 300;
  color: var(--rose-soft);
  margin: 0 0 28px;
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.btn-yes {
  background: linear-gradient(135deg, var(--rose-mid) 0%, var(--rose-deep) 100%);
  color: var(--cream);
  box-shadow: 0 8px 24px var(--shadow-strong);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, font-size 0.35s ease;
}

.btn-yes:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px var(--shadow-strong);
}

.btn-yes:active {
  transform: translateY(0) scale(0.98);
}

.btn-no {
  background: rgba(255, 255, 255, 0.08);
  color: var(--rose-pale);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-no:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.btn-no:active {
  transform: translateY(0);
}

/* GIF */
.gif_container {
  margin-top: 8px;
}

.gif_container img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

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

  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
