
.floating{
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    gap: 8px;
    background: #9E2CB2;
    position: fixed;
    z-index: 99;
    left: 20px;
    padding: 10px;
    border-radius: 7px;
    box-shadow: 0 3px 17px rgba(225,225,225,0.5);
    width: 30px;
    bottom: 30px;
}

.float{
    width: 20px;
    height: 2px;
    background-color: #F9D6FF;
}

.txtklik{
    position: absolute;
    color: #F9D6FF;
    font-size: 14px;
    width: 180px;
    top: -25px;
    left: 0;
    font-weight: 600;
}

@keyframes kedip {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.txtklik {
  animation: kedip 1s infinite;
}

/* Gaya dasar untuk latar belakang hitam transparan */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Aktifkan overlay saat pop-up terbuka */
.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Gaya dasar kotak pop-up */
.popup-box {
  background: #360a36;
    background: #0d030d;
background: radial-gradient(circle, rgba(13, 3, 13, 1) 0%, rgba(29, 3, 31, 1) 100%);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transform: scale(0) rotate(-180deg); /* Kondisi awal tersembunyi & terbalik */
  color: #F9D6FF;
  box-shadow: 0 3px 17px rgba(225,225,225,0.5);
  border: 1px solid #B824D1;
  margin-top: 60px;
}

/* Kelas yang dipicu JavaScript saat pop-up MUNCUL */
.popup-overlay.active .popup-box {
  animation: spinIn 0.5s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Kelas yang dipicu JavaScript saat pop-up DITUTUP */
.popup-overlay.closing .popup-box {
  animation: spinOut 0.4s forwards ease-in;
}

/* --- LOGIKA ANIMASI --- */

/* 1. Animasi berputar saat muncul (Membesar + Berputar ke posisi normal) */
@keyframes spinIn {
  0% {
    transform: scale(0) rotate(-180deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* 2. Animasi berputar saat ditutup (Mengecil + Berputar menjauh) */
@keyframes spinOut {
  0% {
    transform: scale(1) rotate(0deg);
  }
  100% {
    transform: scale(0) rotate(180deg);
  }
}

#closeBtn{
    position: absolute;
    top: -15px;
    right: -15px;
    border: none;
    background-color: transparent;
}

.fa-times-circle{
    font-size: 20px;
    color: #fff;
    background-color: #3F0949;
    padding: 6px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    color: #F9D6FF;
}

.flxboxkon{
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: 20px;
}

.boxkontak{
    display: flex;
    align-content: center;
    align-items: center;
    gap: 5px;
}

.boxkontak1{
    display: flex;
    align-content: center;
    align-items: center;
    gap: 5px;
}

.boxkontak img{
    width: 30px;
}

.boxkontak1 img{
    width: 40px;
}