@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-fadeInDown {
  animation: fadeInDown 1s ease forwards;
}

.animate-fadeInUp {
  animation: fadeInUp 1s ease forwards;
}

body {
  background: #ffe6f0; /* pink soft background */ 
  position: relative;
  overflow-x: hidden!important;
}

/* Bikin glitter */
.glitter {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: glitterAnim 5s infinite linear;
}

/* Animasi glitter */
@keyframes glitterAnim {
  0% {
    transform: translateY(0) scale(0.5);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  50% {
    transform: translateY(-100px) scale(1.2) rotate(45deg);
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(-200px) scale(0.5) rotate(90deg);
    opacity: 0;
  }
}

@keyframes waveAnimation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.wave-text {
  animation: waveAnimation 3s ease-in-out infinite;
  transform-origin: center;
}

.envelope {
  width: 250px;
  height: 150px;
  background: linear-gradient(145deg, #f8d7da, #fcbad3);
  position: relative;
  border: 2px solid #f06595;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(240, 101, 149, 0.4);
  transition: transform 0.5s, box-shadow 0.5s;
}

.envelope:before, .envelope:after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.envelope:before {
  top: -2px;
  left: 0;
  border-width: 0 125px 75px 125px;
  border-color: transparent transparent #fcbad3 transparent;
}

.envelope:after {
  bottom: 0;
  left: 0;
  border-width: 75px 125px 0 125px;
  border-color: #fcbad3 transparent transparent transparent;
}

.sticky-note {
  /* yang tadi tetap */
  background-color: #ffe4e6;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(240, 101, 149, 0.2);
  font-size: 1.1rem;
  color: #b83280;
  text-align: center;
  position: relative;
  animation: floatNote 6s ease-in-out infinite;
  transform: rotate(var(--rotate));
}

/* animasi tetap floatNote */
@keyframes floatNote {
  0%, 100% { transform: translateY(0px) rotate(var(--rotate)); }
  50% { transform: translateY(-10px) rotate(calc(var(--rotate) + 2deg)); }
}

.shadow-top {
  box-shadow: 0 -10px 15px -5px rgba(0, 0, 0, 0.1);
}

#music-btn {
  height: 45px!important;
  width: 45px!important;
  position: fixed; /* atau absolute */
  top: 20px;
  right: 20px;
  z-index: 9999; /* Harus tinggi supaya gak ketutup */
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}


