* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(to top, #ffd6ec, #fff);
  overflow: hidden;
  text-align: center;
}

section {
  display: none;
  height: 100vh;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

section.active {
  display: flex;
}

/* SPLASH */
#startBtn {
  margin-top: 20px;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  background: #ff4da6;
  color: white;
  font-size: 16px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  50% {
    transform: scale(1.1);
  }
}

/* 🎈 BALLOON */
/* WRAPPER YANG NAIK */
/* WRAPPER FIX DI TENGAH */
.balloonWrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* BALON NAIK DARI BAWAH */
.balloon {
  width: 110px;
  height: 140px;
  background: radial-gradient(circle at 30% 30%, #ff99cc, #cc0066 70%);
  border-radius: 50% 50% 45% 45%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  box-shadow:
    inset -10px -15px 25px rgba(0, 0, 0, 0.2),
    0 15px 25px rgba(0, 0, 0, 0.2);

  /* MULAI DARI BAWAH */
  transform: translateY(120vh);
  animation: balloonUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes balloonUp {
  to {
    transform: translateY(0);
  }
}
/* BALON */

/* KNOT */
.knot {
  width: 16px;
  height: 16px;
  background: #cc0066;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

/* STRING NEMPEL PERFECT */
.string {
  position: absolute;
  top: 100%; /* selalu mulai tepat bawah balon */
  left: 50%;
  width: 2px;
  height: 150px;
  background: #444;
  transform: translateX(-50%);
  border-radius: 10px;
  animation: sway 1s ease-in-out infinite alternate;
}

.balloon::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 25px;
  width: 25px;
  height: 45px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.knot {
  width: 16px;
  height: 16px;
  background: #cc0066;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.pop {
  animation: popReal 0.3s forwards;
}

@keyframes popReal {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}

/* 📸 ABSTRACT GALLERY */
/* 🎞 SLIDER */
.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 600%;
  height: 100%;
  animation: slideMove 24s infinite;
}

.slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Portrait khusus */
.portrait img {
  height: 70vh;
  width: auto;
}

/* Landscape khusus */
.landscape img {
  width: 80%;
  height: auto;
}

/* Auto Sliding */
@keyframes slideMove {
  0% {
    transform: translateX(0);
  }
  16% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-100%);
  }
  36% {
    transform: translateX(-100%);
  }

  40% {
    transform: translateX(-200%);
  }
  56% {
    transform: translateX(-200%);
  }

  60% {
    transform: translateX(-300%);
  }
  76% {
    transform: translateX(-300%);
  }

  80% {
    transform: translateX(-400%);
  }
  96% {
    transform: translateX(-400%);
  }

  100% {
    transform: translateX(-500%);
  }
}

/* Caption */
.caption {
  position: absolute;
  bottom: 50px;
  width: 100%;
  text-align: center;
  font-size: 24px;
  color: #ff4da6;
  font-weight: bold;
  text-shadow: 0 0 15px #ff99cc;
  animation: fadeText 3s ease-in-out infinite alternate;
}

@keyframes fadeText {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 1;
  }
}
/* WISH */
#wishScene h1 {
  font-size: 28px;
  color: #ff4da6;
  text-shadow: 0 0 15px #ff99cc;
}

/* FINAL */
#finalScene {
  overflow-y: auto;
  justify-content: flex-start;
  padding-top: 40px;
}

.finalImg {
  position: sticky;
  top: 20px;
  width: 80%;
  max-width: 300px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.finalText {
  font-size: 14px;
  line-height: 1.7;
  max-width: 350px;
  padding-bottom: 100px;
}
