* {
  margin: 0;
  padding: 0;
}

.overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, #ff9a9e, #fad0c4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.gift-box {
  position: relative;
  background: #ff4d6d;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  overflow: hidden;
}

.gift-box::before {
  content: "";
  top: 0;
  position: absolute;
  width: 20px;
  height: 100%;
  background: gold;
  left: 50%;
  transform: translateX(-50%);
}

.gift-box::after {
  content: "";
  position: absolute;
  height: 20px;
  width: 100%;
  background: gold;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.bow {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 35px;
  background: gold;
  border-radius: 50%;
}

.gift-box h2 {
  position: relative;
  color: white;
  margin-bottom: 20px;
  z-index: 2;
  color: black;
}

.play {
  position: relative;
  background: white;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: bold;
  z-index: 2;
}

.container {
  width: 100%;
  height: 100vh;
  transition: background 0.5s;
}

.floating {
  position: fixed;
  width: 80px;
  pointer-events: none;
  animation: floatUp 5s linear forwards;
}

.svt .show {
  position: fixed;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 250px; 
  width: 100vw;
  opacity: 0.75;
  animation: dance 2s infinite alternate ease-in-out;
}

.svt-mp4 {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: none;
}

@keyframes floatUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-120vh);
    opacity: 0;
  }
}

@keyframes dance {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  25% {
    transform: translate(-50%, -55%) scale(1.1);
  }
  50% {
    transform: translate(-50%, -50%) scale(0.9);
  }
  75% {
    transform: translate(-50%, -45%) scale(1.05);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.gif1, .gif2, .gif3, .gif4, .gif5 {
  position: absolute;
  height: 150px;
  opacity: 0;
}

.gif1.dance, 
.gif2.dance, 
.gif3.dance, 
.gif4.dance, 
.gif5.dance {
  animation: dance 2s infinite alternate ease-in-out;
} 

.gif1 {
  top: 140px;
  left: 60px;
}

.gif2 {
  top: 630px;
  left: 50px;
}

.gif3 {
  height: 250px;
  top: 700px;
  left: 200px;
}

.gif4 {
  top: 140px;
  right: 20px;
}

.gif5 {
  top: 630px;
  right: 50px;
}
