body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  background: #fdf2f8;
  text-align: center;
  overflow-x: hidden;
}

.main-title {
  margin: 16px 0;
  color: #be185d;
  font-family: 'Great Vibes', cursive;
}

.intro-title {
  margin: 16px 0;
  color: #be185d;
  font-family: 'Great Vibes', cursive;
}

#map {
  height: 80vh;
  width: 100%;
  border-radius: 16px;
}

/* INTRO */

#intro {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #fbcfe8, #fdf2f8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 1s ease;
}

.intro-content h1 {
  font-size: 3rem;
  color: #9d174d;
}

.intro-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

#startBtn {
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  background: #be185d;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

#startBtn:hover {
  background: #9d174d;
  transform: scale(1.05);
}

#flowerBtn {
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  background: #be185d;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

#flowerBtn:hover {
  background: #9d174d;
  transform: scale(1.05);
}

/* ROSE OVERLAY */

#roseOverlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(253, 242, 248, 0.92), rgba(251, 207, 232, 0.95));
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#roseOverlay.hidden {
  display: none;
}

.rose-message {
  position: relative;
  z-index: 10;
  text-align: center;
  background: rgba(255,255,255,0.85);
  border-radius: 24px;
  padding: 36px 48px;
  box-shadow: 0 8px 40px rgba(190, 24, 93, 0.15);
  animation: fadeUp 0.6s ease;
}

.rose-message h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.8rem;
  color: #9d174d;
  margin: 0 0 10px;
}

.rose-message p {
  color: #be185d;
  font-size: 1.1rem;
  margin: 0 0 20px;
}


#rosesContainer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rose {
  position: absolute;
  font-size: 2rem;
  animation: roseFall linear forwards;
  opacity: 0;
  user-select: none;
}

@keyframes roseFall {
  0% {
    opacity: 0;
    transform: translateY(-60px) rotate(0deg) scale(0.5);
  }
  10% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(110vh) rotate(360deg) scale(1.1);
  }
}

/* MODAL */

#modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#modal.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  max-width: 450px;
  width: 90%;
  max-height: 85vh;
  overflow: auto;
  border-radius: 20px;
  padding: 24px;
  position: relative;
  animation: fadeUp 0.4s ease;
}

.modal-content img {
  width: 100%;
  border-radius: 12px;
  margin: 12px 0;
  max-height: 65vh;
  object-fit: contain;
  display: block;
}

#close {
  float: right;
  font-size: 28px;
  cursor: pointer;
  color: #be185d;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
