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

:root {
  --rose: #f48fb1;
  --rose-dark: #ec407a;
  --rose-light: #fce4ec;
  --cream: #fff8f0;
  --white: #ffffff;
  --text: #4a2040;
  --shadow: rgba(236, 64, 122, 0.25);
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--text);
  background: var(--cream);
}

.bg-carousel {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.bg-slide.active {
  opacity: 1;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(252, 228, 236, 0.75) 0%,
    rgba(255, 248, 240, 0.65) 50%,
    rgba(248, 187, 217, 0.7) 100%
  );
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 1.5rem;
}

.card {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 8px 32px var(--shadow),
    0 2px 8px rgba(0, 0, 0, 0.06);
  text-align: center;
  animation: cardIn 0.8s ease-out;
}

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

.hearts {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.heart {
  color: var(--rose-dark);
  font-size: 1.25rem;
  animation: floatHeart 2s ease-in-out infinite;
}

.heart--delay {
  animation-delay: 0.4s;
  font-size: 1rem;
}

.heart--delay2 {
  animation-delay: 0.8s;
  font-size: 0.85rem;
}

@keyframes floatHeart {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-6px) scale(1.15);
    opacity: 1;
  }
}

.title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 2rem;
}

.buttons-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-height: 120px;
}

.btn {
  font-family: "Nunito", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.85rem 2.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn--yes {
  background: linear-gradient(135deg, var(--rose-dark), var(--rose));
  color: var(--white);
  box-shadow: 0 4px 16px var(--shadow);
  min-width: 160px;
  z-index: 2;
}

.btn--yes:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(236, 64, 122, 0.4);
}

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

.btn--no {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  color: #888;
  border: 2px solid #ddd;
  min-width: 120px;
  z-index: 3;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    left 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    top 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn--no.fleeing {
  position: absolute;
  z-index: 5;
}

.btn--calendar {
  margin-top: 1.5rem;
  background: transparent;
  color: var(--rose-dark);
  border: 2px solid var(--rose);
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
}

.btn--calendar:hover {
  background: var(--rose-light);
  transform: scale(1.04);
}

.hidden {
  display: none !important;
}

.card--success {
  animation: successIn 0.6s ease-out;
}

@keyframes successIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-icon {
  font-size: 3rem;
  color: var(--rose-dark);
  margin-bottom: 0.5rem;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.title--kayak {
  margin-bottom: 1.5rem;
}

.kayak-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.buttons-area--static {
  flex-direction: row;
  justify-content: center;
  min-height: auto;
}

.btn--no-static {
  position: relative;
  z-index: 1;
}

.btn--no-static:hover {
  transform: scale(1.04);
  background: #f5f5f5;
}

.card--kayak-in {
  animation: cardIn 0.8s ease-out;
}

.message {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #6a4060;
  margin-bottom: 1.5rem;
}

.message--large {
  font-size: clamp(1.05rem, 4vw, 1.2rem);
  font-style: normal;
  font-weight: 600;
  margin-bottom: 2rem;
}

.buttons-area--stacked {
  flex-direction: column;
  gap: 1rem;
  min-height: auto;
}

.btn--choice {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border: 2px solid var(--rose-light);
  min-width: 100%;
  padding: 1rem 1.25rem;
  line-height: 1.4;
  white-space: normal;
}

.btn--choice:hover {
  transform: scale(1.03);
  background: var(--rose-light);
  border-color: var(--rose);
}

.btn--choice-hotel {
  background: linear-gradient(135deg, var(--rose-dark), var(--rose));
  color: var(--white);
  border: none;
  box-shadow: 0 4px 16px var(--shadow);
}

.btn--choice-hotel:hover {
  background: linear-gradient(135deg, var(--rose-dark), var(--rose));
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(236, 64, 122, 0.4);
}

#btnContinue,
#btnFinalContinue {
  min-width: 180px;
}

.hotel-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hotel-photo {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

@media (max-width: 479px) {
  .hotel-photos {
    grid-template-columns: 1fr;
  }

  .hotel-photo {
    height: 180px;
  }
}

.date-details {
  background: var(--rose-light);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: left;
}

.date-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(236, 64, 122, 0.15);
}

.date-row:last-of-type {
  border-bottom: none;
}

.date-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rose-dark);
  flex-shrink: 0;
}

.date-value {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: right;
}

.date-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-style: italic;
  color: #8a5070;
  text-align: center;
}

.confetti-container {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
}

.confetti {
  position: absolute;
  top: -10px;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

.floating-heart {
  position: absolute;
  color: var(--rose-dark);
  animation: heartRise linear forwards;
  pointer-events: none;
}

@keyframes heartRise {
  0% {
    transform: translateY(0) scale(0);
    opacity: 1;
  }
  20% {
    transform: translateY(-20vh) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(0.5);
    opacity: 0;
  }
}

@media (min-width: 480px) {
  .buttons-area {
    flex-direction: row;
    justify-content: center;
    min-height: 80px;
  }
}

@media (max-width: 479px) {
  .card {
    padding: 2rem 1.25rem;
  }

  .buttons-area {
    min-height: 140px;
  }
}
