/* ================= CHEAT CONTAINER ================= */
.cheat-container {
  display: flex;
  justify-content: center; /* tetap di tengah horizontal */
  margin: 20px 0;
  background: url("https://asst.venom123.cloud/vnm-bg-btn.jpeg") center center / cover no-repeat;
  padding: 20px;
  border-radius: 12px;
}

.image-wrapper {
  display: flex; /* ganti dari grid ke flex */
  justify-content: center; /* mulai dari tengah */
  gap: 15px; /* jarak antar toggle */
  flex-wrap: wrap; /* kalau banyak toggle, wrap ke bawah */
}

.image-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgb(255 255 255 / 15%);
  border-radius: 12px;
  padding: 10px;
}

/* tetap pertahankan ukuran image */
.cheat-image {
  width: 100%;
  max-width: 120px;
  border-radius: 8px;
}

.cheat-text { text-align: center; }
.cheat-text p { margin: 0; }

.switch { position: relative; width: 50px; height: 18px; }
.switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 9px;
}
.slider:before {
  content: "";
  position: absolute;
  height: 12px;
  width: 12px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: .4s;
}
input:checked + .slider { background-color: #00ff00; }
input:checked + .slider:before { transform: translateX(28px); }

/* ================= POPUP TOGGLE ================= */
.toggle-popup-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.85);
}
.toggle-popup-box {
  background: url("https://asst.venom123.cloud/HUD-REZ.gif") center center / cover no-repeat;
  padding: 30px 40px;
  border-radius: 18px;
  text-align: center;
  max-width: 340px;
  width: 90%;
  animation: popupFadeScale .35s ease;
}
.toggle-popup-box h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #ff0000;
  font-weight: bold;
}
.toggle-popup-box p {
  margin: 0;
  font-size: 17px;
  color: #00eeff;
  white-space: pre-line;
}
@keyframes popupFadeScale {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* ================= POPUP GAME ================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.popup-overlay iframe {
  width: 100%;
  height: 100%;
  border: none;
}