@charset "utf-8";

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-size: 14px;
  color: #fff;
  background: #000 url("../images/bg.jpg") no-repeat center center fixed;
  background-size: cover;
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  transition: background 0.5s ease-in; /* transisi halus */
}

/* Wrapper flexbox khusus untuk center */
.center-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* kotak hitam */
.overlay {
  width: 500px;
  padding: 30px 40px;
  background: rgba(0,0,0,0.9);
  box-shadow: 0 0 30px #fff;
  border-radius: 10px;
  border: 2px solid #222;
  text-align: center;
  position: relative;
  z-index: 10;
}

/* paragraf di kotak */
.overlay p {
  color: #ddd;
  font-size: 16px;
  margin: 15px 0;
  line-height: 1.4;
}

/* Animasi tombol */
@keyframes slideInLeft {
  0% { transform: translateX(-120%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes slideInRight {
  0% { transform: translateX(120%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
.btn.whatsapp {
  animation: slideInLeft 0.8s ease-out forwards;
}
.btn.telegram {
  animation: slideInRight 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

/* responsive */
@media screen and (max-width: 767px) {
  .overlay {
    width: 90%;
    padding: 20px;
  }
}
