body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100vh;
  background: url("anime.jpg") no-repeat center center fixed;
  background-size: cover;
  perspective: 1000px;
}

.petal {
  position: absolute;
  top: -40px;
  width: 20px;
  height: 20px;
  background: radial-gradient(ellipse at center, #f9c9d6 40%, #ee87b2 100%);
  border-radius: 60% 40% 60% 40%;
  opacity: 0.9;

  /* 3D styling */
  transform-style: preserve-3d;
  box-shadow: inset -2px -2px 4px rgba(255, 255, 255, 0.6),
    inset 2px 2px 4px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: rotateX(30deg) rotateY(20deg) rotateZ(45deg);

  animation: fall 10s linear infinite, sway 3s ease-in-out infinite;
}
@keyframes fall {
  0% {
    transform: translateY(-50px) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}