/* homepage-preloader.css */
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #7f0c2e, #180015);
  font-family: 'Dancing Script', cursive;
  overflow: hidden;
  color: #fff;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.preloader {
  text-align: center;
  position: relative;
  z-index: 10;
}

.loader-heart {
  width: 60px;
  height: 60px;
  background: #ff4d79;
  transform: rotate(45deg);
  animation: beat 1s infinite;
  margin: 0 auto;
  position: relative;
}
.loader-heart::before,
.loader-heart::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  background: #ff4d79;
  border-radius: 50%;
}
.loader-heart::before {
  top: -30px;
  left: 0;
}
.loader-heart::after {
  left: -30px;
  top: 0;
}

@keyframes beat {
  0%, 100% { transform: scale(1) rotate(45deg); }
  50% { transform: scale(1.2) rotate(45deg); }
}

.whisper-line {
  margin-top: 30px;
  font-size: 1.8rem;
  animation: fadein 2s ease-in-out infinite alternate;
}

@keyframes fadein {
  from { opacity: 0.6; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.progress-text {
  margin-top: 20px;
  font-size: 1.3rem;
  color: #ffdada;
}

/* Petals */
.petals-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.petal {
  position: absolute;
  width: 20px;
  height: 20px;
  background: pink;
  border-radius: 50%;
  opacity: 0.6;
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-10%) rotate(0deg);
    opacity: 0.8;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}
