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

html, body {
  height: 100%;
  overflow: hidden;
  font-family: Arial, sans-serif;
  background-color: #ffe9f4;
}

.wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: url('cs-compress.jpg') center center no-repeat;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.logo {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  z-index: 3;
}

.logo img {
  width: 40px;
  height: auto;
  margin-right: 0.5rem;
}

.logo span {
  font-size: 1rem;
  color: #515151; /* hitam soft */
  font-weight: bold;
}

.overlay {
  position: absolute;
  width: 50%;
  bottom: 4em;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 192, 203, 0.85); /* pink blush kalem */
  padding: 3rem 2rem;
  border-radius: 1rem;
  text-align: center;
  z-index: 2;
}

.coming-soon {
  background: #66B2FF;
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 1rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: clamp(0.9rem, 3vw, 2rem);
}

h1 {
  color: #0086E0;
  font-size: clamp(1.5rem, 5vw, 2rem);
  margin-bottom: 0.5rem;
}

p {
  color: #515151;
  font-size: clamp(0.9rem, 3vw, 1.2rem);
  line-height: 1.5;
}

.curtain {
  position: fixed;
  top: 0;
  width: 50%;
  height: 100%;
  background: #333;
  z-index: 5;
  transition: transform 1.5s ease;
}

.curtain.left {
  left: 0;
  transform: translateX(0);
}

.curtain.right {
  right: 0;
  transform: translateX(0);
}

.curtain.open.left {
  transform: translateX(-100%);
}

.curtain.open.right {
  transform: translateX(100%);
}

@media (max-width: 480px) {
  .overlay {
    width: 90%;
    bottom: 10rem;
    padding: 1.7rem 1.7rem;
  }
  .wrapper {
    background-position: center 30%;
  }
  .logo img {
    width: 45px;
  }
  .logo span {
    font-size: 0.85rem;
  }
}
.confetti {
  position: fixed;
  top: -10px;
  width: 10px;
  height: 10px;
  background: red;
  opacity: 0.7;
  z-index: 4;
  animation: confetti-fall linear infinite;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
  }
}
