body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: url('assets/bg.png') no-repeat center center fixed;
  background-size: cover;
  text-align: center;
  padding: 2rem;
  overflow-x: hidden;
}

h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  color: #d63384;
  margin-bottom: 0.5rem;
}



.message,
.surprise-message {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

button {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border: none;
  background: #e389b6;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

button:hover {
  background: #f156a4;
}

#confettiCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.surprise-message {
  font-size: 1.4rem;
  color: #d63384;
  margin-top: 2rem;
  display: none;
}

.boss-image {
  width: 220px;
  border-radius: 20px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  animation: floatImage 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}

@keyframes floatImage {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.boss-image:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

.flower-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.flower {
  position: absolute;
  width: 50px;
  height: 50px;
  background: url('assets/bunga1.png') no-repeat center/contain;
  opacity: 0.7;
  animation: fall linear infinite;
}

/* Generate multiple flowers with different speeds and delays */
.flower:nth-child(1) {
  left: 10%;
  animation-duration: 10s;
  animation-delay: 0s;
}
.flower:nth-child(2) {
  left: 30%;
  animation-duration: 12s;
  animation-delay: 2s;
}
.flower:nth-child(3) {
  left: 50%;
  animation-duration: 9s;
  animation-delay: 1s;
}
.flower:nth-child(4) {
  left: 70%;
  animation-duration: 11s;
  animation-delay: 3s;
}
.flower:nth-child(5) {
  left: 90%;
  animation-duration: 13s;
  animation-delay: 4s;
}

@keyframes fall {
  0% {
    top: -10%;
    transform: rotate(0deg);
  }
  100% {
    top: 110%;
    transform: rotate(360deg);
  }
}

.corner {
  position: fixed;
  width: 140px;
  opacity: 0.95;
  z-index: 1;
  pointer-events: none;
}
.top-left {
  top: 0;
  left: 0;
}
.bottom-right {
  bottom: 0;
  right: 0;
}

/* Efek bunga melambai halus */
.waving {
  animation: wave 3.5s ease-in-out infinite;
  animation-delay: 1.3s; /* tunggu animasi masuk selesai */
  transform-origin: center center;
}

@keyframes wave {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(2deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}

.delay1 { animation-delay: 0s; }
.delay2 { animation-delay: 2s; }

.slide-in-left {
  animation: slideInLeft 1.2s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 1.2s ease-out forwards;
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-150px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(150px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

#blowGif {
  display: block;
  margin: 30px auto;
  max-width: 220px;
  border-radius: 20px;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.slideshow-container {
  position: relative;
  max-width: 500px;
  margin: 30px auto;
}

.slide {
  width: 100%;
  border-radius: 12px;
  display: none;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  animation: fadeIn 0.7s ease-in-out;
}