/* ============================ */
/* 🎰 SECTION: HOME LANDING 🎰 */
/* ============================ */

header,
main,
footer {
  background-color: transparent;
  padding: 1.25rem;
  margin: 1.25rem;
  border-radius: 0.625rem;
}

main {
  width: 100%;
  max-width: 75rem;
  margin: auto;
  text-align: center;
  border-radius: 0.9375rem;
  padding: 4.375rem 1.875rem 1.875rem;
  position: relative;
  backdrop-filter: blur(8px);
  background: rgba(10, 10, 10, 0.7);
}

main {
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  color: #fff !important;
  padding: 4.375rem 1.875rem 1.875rem !important;
  position: relative !important;
  border-radius: 0.9375rem !important;
}

/* Override efek pada semua elemen di dalam main */
main * {
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  animation: none !important;
}

* {
  margin: none;
  padding: none;
  box-sizing: border-box;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

body {
  background: linear-gradient(135deg, #0a0a0a, #1c1c1c);
  color: #fff;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
/* ===================================== */
/* ========== Bullhorn Information ======= */
/* ===================================== */
.newsInfo-container {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000;
}

/* === News Info Bar Styling === */
.newsInfo {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  background: none;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  gap: 10px;
  width: 600px;
  box-shadow: none;
  overflow: hidden;
}

/* === Bullhorn Icon Styling === */
.bullhorn-icon {
  background: none;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bullhorn-icon i {
  color: #ffffff;
  font-size: 20px;
}

/* === Marquee Text Styling === */
.marquee {
  flex: 1;
  white-space: nowrap;
  color: #fff;
  font-weight: 500;
}
/* ===================================== */
/* ========== Bullhorn Information ====== */
/* ===================================== */

/* ===================================== */
/* ========== Change Bahasa ========== */
/* ===================================== */
/* Dropdown Styles */
.dropdown {
  position: absolute;
  top: 30px;
  right: 40px; /* posisi dropbtn */
  display: inline-block;
  z-index: 100;
}

.dropMenu {
  position: absolute;
  top: 0; /* sejajar vertikal dengan dropbtn */
  right: 100%; /* posisi dropdown mulai di sebelah kiri dropbtn */
  background-color: transparent;
  border-radius: 8px;
  padding: 5px 10px;
  list-style: none;
  min-width: auto;
  white-space: nowrap;
  box-shadow: none;

  display: flex;
  gap: 10px;
  align-items: center;

  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;

  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropMenu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropMenu li {
  margin: 0;
}

.dropMenu img {
  width: 24px;
  height: auto;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.dropMenu img:hover {
  transform: scale(1.1);
}
/* ===================================== */
/* ========== Change Bahasa ========== */
/* ===================================== */

/* ================================= */
/* ========== Form Login ========== */
/* ================================= */
.login-box {
  position: absolute;
  top: 3.2rem;
  right: 0.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: blur(1px);
  font-size: 12px;
  color: #6e3232;
}

/* === INPUT GROUP === */
.login-inputs {
  display: flex;
  gap: 0.3rem;
}

/* === INPUT FIELD === */
.login-form {
  width: 100px;
  padding: 0.3rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #888888; /* garis abu-abu */
  border-radius: 5px;
  color: #000; /* warna teks, sesuaikan jika perlu */
  font-size: 12px;
  transition: 0.3s;
}

.login-form::placeholder {
  color: none;
}

.login-form:focus {
  outline: none;
  background: rgba(126, 126, 126, 0.15);
}

/* === BUTTON WRAPPER === */
.login-buttons {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* === LOGIN & DAFTAR BUTTON === */
.bttn-login,
.bttn-daftar {
  position: relative;
  width: 75px;
  height: 30px;
  border: none;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.bttn-login img,
.bttn-daftar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  transition: 0.3s;
}

.bttn-login:hover img,
.bttn-daftar:hover img {
  filter: brightness(1.1);
}

.bttn-login .teks,
.bttn-daftar .teks {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  pointer-events: none;
  text-transform: uppercase;
}

/* === SOSMED LOGIN === */
.login-socmed {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.login-via {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
  margin: 0;
}

/* === ICON MEDIA SOSIAL === */
.socmed-container {
  display: flex;
  gap: 0.4rem;
}

.socmed-container img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.socmed-container img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}
/* ================================= */
/* ========== Form Login ========== */
/* ================================= */

/* ============================ */
/* ========== LOGO ========== */
/* ============================ */
.logo {
  position: fixed;
  top: 1rem;
  left: 1.5rem;
  max-width: 150px;
  width: 100%;
  z-index: 1100;
  cursor: grab;
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.7));
  transition: transform 0.3s ease, filter 0.3s ease;
  user-select: none;
}

.logo:active {
  cursor: grabbing;
}

.logo:hover {
  transform: scale(1.1) rotate(-5deg);
  filter: drop-shadow(4px 4px 7px rgba(243, 156, 18, 0.9));
}
/* ============================ */
/* ========== LOGO ========== */
/* ============================ */

/* ================================= */
/* ========= Banner Menu ========== */
/* ================================= */
.menu-container {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  z-index: 1;
  margin-top: 40px;
  margin-bottom: -30px;
  box-shadow: none;
}

/* === Gambar Menu === */
.menu-container .menu {
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: filter 0.3s ease, transform 0.3s ease;
  border-radius: 0 0 10px 10px; /* Membuat lengkung bawah */
}

/* === Responsif Breakpoints === */
@media (max-width: 1024px) {
  .menu-container .menu {
    height: 7rem;
  }
}

@media (max-width: 768px) {
  .menu-container .menu {
    height: 6rem;
  }
}

@media (max-width: 480px) {
  .menu-container .menu {
    height: 5rem;
  }
}
/* ================================= */
/* ========= Banner Menu ========== */
/* ================================= */

/* ================================= */
/* ========= Game List ========== */
/* ================================= */
/* Kosong */
/* ================================= */
/* ========= Game List ========== */
/* ================================= */

/* ============================== */
/* ========== Banner 1 ========== */
/* ============================= */
.home-slider .item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 5px;
  border: 2px solid #ccc; /* Border abu-abu muda */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

/* === Hover Zoom Effect === */
.home-slider .item img:hover {
  transform: scale(1.01);
}

/* === Owl Carousel Dot Positioning === */
.owl-carousel .owl-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === Dot Style === */
.owl-carousel .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: block;
  transition: all 0.3s ease;
}

/* === Active Dot Style === */
.owl-carousel .owl-dot.active span {
  background: #ffc107; /* Emas */
  transform: scale(1.2);
}

/* === Hide Default Nav Arrows (if any) === */
.owl-carousel .owl-nav {
  display: none !important;
}

/* === Animation Class for Transition === */
.owl-carousel .animated {
  animation-duration: 600ms;
  animation-fill-mode: both;
}

/* === Responsive Image Heights === */
@media (max-width: 1024px) {
  .home-slider .item img {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .home-slider .item img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .home-slider .item img {
    height: 160px;
  }

  .owl-carousel .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 3px;
  }

  .owl-carousel .owl-dot.active span {
    transform: scale(1.1);
  }
}
/* ============================== */
/* ========== Banner 1 ========== */
/* ============================= */

/* ============================== */
/* ===== Togel News Update ===== */
/* ============================= */
.pool-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  scroll-behavior: auto;
  margin: 20px;
  cursor: grab;
  border-color: #000;
}

.pool-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.pool-container:active {
  cursor: grabbing;
}

/* === ITEM STYLE === */
.pool-container .item {
  flex: 0 0 auto;
  width: 130px;
  background: none;
  border-radius: 10px;
  box-shadow: none;
  transition: transform 0.3s;
}

/* === CARD STYLE + GLOW ANIMATION === */
.pull-card {
  border-radius: 8px;
  padding: 8px;
  color: #fff;
  border: 2px solid #e6b7a9; /* abu tua */
  background: rgba(85, 85, 85, 0.15); /* abu tua transparan */
  box-shadow: 0 0 10px #e6b7a9, 0 0 20px #e6b7a9; /* glow abu tua */
  animation: glowPulseDark 2.5s infinite ease-in-out;
  transition: transform 0.3s, box-shadow 0.3s;
}

@keyframes glowPulsePinkGold {
  0%,
  100% {
    box-shadow: 0 0 10px #e6b7a9, 0 0 20px #d89e8d, 0 0 30px #f1c1b4;
    border-color: #e6b7a9;
  }
  50% {
    box-shadow: 0 0 20px #d89e8d, 0 0 30px #f1c1b4, 0 0 40px #f9d6cb;
    border-color: #d89e8d;
  }
}

/* === ITEM STYLE === */
.pool-container .item {
  flex: 0 0 auto;
  width: 130px;
  border-radius: 12px;
  background: rgba(255, 0, 242, 0);
  box-shadow: 0 4px 8px rgba(255, 0, 212, 0.15),
    inset 0 0 10px rgba(255, 0, 212, 0.3);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* .pull-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ff00d4, 0 0 25px #ff33ee;
} */

/* === HEADER === */
.pull-head {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 6px;
  color: #ffffff;
  text-transform: uppercase;
}

/* === BODY === */
.pull-body {
  font-size: 20px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 60px;
  text-align: center;
  padding-top: 5px;
}

/* === FOOTER === */
.pull-foot {
  font-size: 11px;
  background: linear-gradient(135deg, #e6b7a9, #d67fd2);
  border-radius: 3px;
  color: #413e3e;
}

/* === ANIMASI GLOW === */
@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 10px #ff00d4, 0 0 20px #ff00d4, 0 0 30px #ff33ee;
    border-color: #ff00d4;
  }
  50% {
    box-shadow: 0 0 20px #ff33ee, 0 0 30px #ff66ff, 0 0 40px #ff99ff;
    border-color: #ff66ff;
  }
}

/* === ANIMASI BLINK MASIH BISA DIGUNAKAN UNTUK TEKS === */
@keyframes blink {
  0% {
    opacity: 1;
    color: #ff00d4;
    text-shadow: 0 0 5px #ff00d4, 0 0 10px #ff33ee, 0 0 20px #ff66ff;
  }
  50% {
    opacity: 0.8;
    color: #ffd700;
    text-shadow: 0 0 5px #ffd700, 0 0 10px #ffc107, 0 0 20px #ffeb3b;
  }
  100% {
    opacity: 1;
    color: #ff00d4;
    text-shadow: 0 0 5px #ff00d4, 0 0 10px #ff33ee, 0 0 20px #ff66ff;
  }
}

.blink {
  animation: blink 2s infinite ease-in-out;
  font-weight: bold;
  transition: all 0.3s ease;
}
/* ============================== */
/* ===== Togel News Update ===== */
/* ============================= */

/* ============================== */
/* === Tanggung jawab Bermain === */
/* ============================= */
.responsible-section {
  display: flex;
  flex-direction: column; /* Susun vertikal */
  align-items: flex-start; /* Rata kiri */
  margin: 20px 0;
  padding-left: 20px; /* Opsional, beri jarak dari tepi kiri */
  text-align: left;
}

.responsible-section h4 {
  margin: 0 0 5px 0; /* Jarak bawah dari h4 ke gambar */
  font-size: 16px;
  color: #fff; /* Sesuaikan warna teks */
}

.responsible-section img {
  width: 250px;
  height: 40px;
  padding-top: 10px;
}
/* ============================== */
/* ===== Tanggung jawab Bermain ===== */
/* ============================= */

/* ================================ */
/* ===== Jackpot Progressive ===== */
/* ================================ */
.progressive-jackpot {
  padding: 20px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: #ff69b4; /* pink utama */
  text-shadow: 0 0 10px #ff69b4, 0 0 30px #ff69b4, 0 0 50px #ff69b4;
  user-select: none;
  margin-bottom: -30px;
  margin-top: -10px;
}

.jackpot-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 600px;
  filter: drop-shadow(0 0 15px #ff69b4aa); /* glowing pink */
}

#jackpot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 105, 180, 1),
    0 0 20px rgba(255, 105, 180, 0.8), 0 0 40px rgba(255, 105, 180, 0.6);
  white-space: nowrap;
  z-index: 2;
  animation: pulseGlow 2.5s ease-in-out infinite;
}

.jackpot-wrapper img {
  width: 100%;
  height: auto;
  z-index: 1;
  filter: brightness(1.1);
  user-select: none;
}

@keyframes pulseGlow {
  0%,
  100% {
    text-shadow: 0 0 15px #ff69b4, 0 0 25px #ff69b4, 0 0 40px #ff69b4;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    text-shadow: 0 0 25px #ff69b4, 0 0 35px #ff69b4, 0 0 50px #ff69b4;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Jackpot Responsive */
@media (max-width: 30000px) {
  .jackpot-wrapper {
    max-width: 900%;
  }
  #jackpot {
    font-size: 4.1rem;
  }
}

@media (max-width: 1024px) {
  #jackpot {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  #jackpot {
    font-size: 2rem;
    top: 48%;
  }
}

@media (max-width: 480px) {
  #jackpot {
    font-size: 1.4rem;
    top: 48%;
  }
}
/* ================================ */
/* ===== Jackpot Progressive ===== */
/* ================================ */

/* ================================ */
/* ===== Banner Support ===== */
/* ================================ */
.support-slider .item.box-middle {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1px;
  transition: transform 0.3s ease;
}

.support-slider .item.box-middle img {
  height: 160px;
  max-width: 800px;
  border-radius: 3px;
  border: 2px solid #ccc; /* Border abu-abu muda */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Tambahan opsional agar tampak melayang */
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.support-slider .item.box-middle img:hover {
  transform: scale(1.04);
  border-color: #999; /* Border sedikit lebih gelap saat hover */
}
/* ================================ */
/* ===== Banner Support ===== */
/* ================================ */

/* ===================== */
/* ====== Widget ====== */
/* ===================== */
.ard-sosmed {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: none;
  border-radius: 12px;
  padding: 10px;
  box-shadow: none;
  z-index: 9999;
  overflow: hidden;
  transition: height 0.5s ease;
}

/* Hamburger Button */
.hamburg {
  width: 40px;
  height: 50px;
  background: transparent;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.3s;
}
.bar1 {
  width: 40px;
  height: 5px;
  background-color: rgb(255, 0, 0);
  margin: 3px 0;
  border-radius: 2px;
  transition: 0.4s;
}
.bar2 {
  width: 40px;
  height: 5px;
  background-color: rgb(255, 3, 150);
  margin: 3px 0;
  border-radius: 2px;
  transition: 0.4s;
}
.bar3 {
  width: 40px;
  height: 5px;
  background-color: rgb(255, 115, 0);
  margin: 3px 0;
  border-radius: 2px;
  transition: 0.4s;
}

/* Animate Hamburger into X */
.hamburg.active .bar1 {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburg.active .bar2 {
  opacity: 0;
}
.hamburg.active .bar3 {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Social Links */
.social-links {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}
.ard-sosmed.open .social-links {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}
.social-links li {
  margin: 8px 0;
}
.social-links img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  transition: transform 0.3s;
}
.social-links img:hover {
  transform: scale(1.3);
}

.social-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sosmed-item {
  position: relative;
  display: inline-block;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.sosmed-item img {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.sosmed-item:hover {
  transform: scale(1.05);
}

.sosmed-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: none;
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 6px 0;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease-in-out;
}

.sosmed-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}
/* ===================== */
/* ======= Widget =====*/
/* ===================== */

/* ===================== */
/* ======= Teks =====*/
/* ===================== */
.intro-section {
  width: 100%; /* Gunakan lebar penuh dalam main */
  margin: 50px 0 50px 0; /* Tengah tanpa margin kiri */
  padding: 0 4px; /* Ruang kiri-kanan */
  border-radius: 12px;
  color: #eee;
  box-sizing: border-box;
}

.intro-title {
  font-size: 1.5rem;
  margin-bottom: -10px;
  color: #ffffff;
  text-align: left;
}

.intro-paragraph {
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: left;
  width: 100%; /* Paragraf selebar section */
  display: block;
}

.highlight-link {
  color: #ffffff;
  font-weight: bold;
  text-decoration: underline;
}

.highlight-link:hover {
  color: #000000;
}
/* ===================== */
/* ======= Teks =====*/
/* ===================== */

/* ===================== */
/* ======= Footer =====*/
/* ===================== */
.footer-container {
  display: flex;
  flex-direction: column; /* Susun gambar secara vertikal */
  align-items: center; /* Pusat horizontal */
  gap: 10px; /* Jarak antara gambar */
  padding: -20px;
  background-color: none;
}

.footer-img {
  height: auto;
  object-fit: contain;
}

/* Gambar ASF lebih kecil */
.footer-img.small {
  width: 150px;
}

/* Gambar Lucky666 ukuran sedang */
.footer-img.medium {
  width: 630px;
}

/* Tablet */
@media (min-width: 600px) and (max-width: 1024px) {
  footer {
    font-size: 1.2rem;
    padding: 1.5rem 2rem;
    margin-top: 50px;
  }
}

/* Desktop */
@media (min-width: 1025px) {
  footer {
    font-size: 2.5rem;
    padding: 2rem 4rem;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile (default, <600px) */
@media (max-width: 599px) {
  footer {
    font-size: 0.9rem;
    padding: 1rem;
    margin-top: 30px;
  }
}
/* ===================== */
/* ======= Footer =====*/
/* ===================== */

/* ============================ */
/* 🎰 SECTION:  BOX LANDING 🎰 */
/* ============================ */

body.box-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #000000 0%, #242323 100%);
  padding: 20px;
}

main {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  animation: glowing 2s ease-in-out infinite alternate;
}

/* Animasi glowing untuk main */
@keyframes glowing {
  0% {
    box-shadow: 0 0 15px rgba(255, 221, 51, 0.7),
      0 0 25px rgba(255, 221, 51, 0.5), 0 0 40px rgba(255, 221, 51, 0.3);
  }
  100% {
    box-shadow: 0 0 25px rgba(255, 221, 51, 0.7),
      0 0 45px rgba(255, 221, 51, 0.5), 0 0 70px rgba(255, 221, 51, 0.3);
  }
}

/* ===== Grid Hadiah ===== */
.gift-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin: 30px auto;
  padding: 10px;
}

.gift-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ===== Kotak Hadiah ===== */
.gift-box {
  width: 140px;
  height: 140px;
  background-color: transparent;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  perspective: 1000px;

  display: flex;
  justify-content: center;
  align-items: center;

  transition: transform 0.3s ease;
  animation: pop-in 0.5s ease-out, zoom-in-out 2s ease-in-out infinite;
}

.gift-box:hover {
  transform: scale(1.05);
}

/* Efek highlight saat menang */
.gift-box.highlight {
  transform: scale(1.15);
  animation: none;
  box-shadow: none;
}

/* ===== Gambar Hadiah ===== */
.gift-box img,
.gift-box .gift-image {
  width: 120%;
  height: 90%;
  padding: 5px;
  border-radius: 12px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4))
    drop-shadow(0 0 10px rgba(255, 213, 0, 0.5))
    drop-shadow(0 0 25px rgba(255, 170, 0, 0.4))
    drop-shadow(0 0 40px rgba(255, 120, 0, 0.2));
  transition: filter 0.4s ease;
}

/* ===== Tutup Box ===== */
.box-lid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;

  pointer-events: none;

  display: flex;
  justify-content: center;
  align-items: center;

  transition: all 0.6s ease;
  opacity: 1;
}

.box-lid img {
  width: 120%;
  height: 120%;
  border-radius: 14px;
  object-fit: contain;
  transform: scale(1.1);
}

/* Posisi tutup */
.top-lid {
  transform-origin: top center;
}

.right-lid {
  right: 0;
  transform-origin: right center;
}

.left-lid {
  left: 0;
  transform-origin: left center;
}

/* ===== Animasi membuka kotak ===== */
.gift-box.open .top-lid {
  transform: rotateX(90deg);
  opacity: 0;
}

.gift-box.open .right-lid {
  transform: translateX(100%) rotateY(90deg);
  opacity: 0;
}

.gift-box.open .left-lid {
  transform: translateX(-100%) rotateY(-90deg);
  opacity: 0;
}

/* Animasi setelah selesai membuka */
.gift-box.opened .top-lid {
  transform: rotateX(-120deg) translateY(-50px);
  opacity: 0;
}

.gift-box.opened .right-lid {
  transform: rotateY(120deg) translateX(50px);
  opacity: 0;
}

.gift-box.opened .left-lid {
  transform: rotateY(-120deg) translateX(-50px);
  opacity: 0;
}

/* ===== Area Input ===== */
.input-area {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input-area input {
  width: 60%;
  max-width: 300px;
  padding: 10px;
  margin-bottom: 10px;

  font-size: 16px;
  border: 2px solid #f39c12;
  border-radius: 5px;
  outline: none;
  background-color: #f0f0f0;
  color: #000;
}

.input-area button {
  padding: 10px 20px;
  margin-bottom: 8px;

  background-color: #f39c12;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.input-area button:hover {
  background-color: #ff0000;
}

/* ===== Pesan Status ===== */
.message {
  margin-top: 20px;
  opacity: 0;
}

.message.show {
  animation: fade-in 0.5s ease-out forwards;
}

/* ===== Animasi Umum ===== */
@keyframes pop-in {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes zoom-in-out {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== Responsif ===== */
@media (max-width: 1024px) {
  .gift-box {
    width: 120px;
    height: 120px;
  }
  .gift-box img {
    width: 100%;
    height: 100%;
  }
  main {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .gift-box {
    width: 100px;
    height: 100px;
  }
  .gift-row {
    gap: 15px;
  }
  .input-area input {
    width: 85%;
    font-size: 14px;
    padding: 8px;
  }
  .input-area button {
    width: 50%;
    font-size: 14px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .gift-box {
    width: 80px;
    height: 80px;
  }
  .gift-row {
    gap: 8px;
  }
  .input-area input {
    width: 90%;
    font-size: 16px;
    padding: 10px;
  }
  .input-area button {
    width: 80%;
    font-size: 16px;
    padding: 10px;
  }
  main {
    padding: 10px;
  }
}
/* Box Shadow Win */
/* .gift-box.glow {
  box-shadow: 0 0 20px 6px rgba(160, 144, 37, 0.6);
} */

/* ======================================= */
/* 🎰 SECTION:  Form Register 🎰 */
/* ===================================== */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to right, #4b1c4d, #e83a9e);
  color: #fff;
}

.form-container {
  max-width: 800px; /* tambah dari 600px jadi 800px */
  margin: 2rem 0 0 2rem;
  background: none;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

h2 {
  font-size: 30px;
  border-bottom: 2px solid #fff;
  padding-bottom: 1rem;
  text-align: left;
}

label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.4rem; /* tambahkan ini */
  font-weight: bold;
}

label span {
  color: red;
}

input[type="text"],
input[type="password"],
input[type="tel"],
select {
  width: 100%;
  padding: 0.7rem;
  margin-top: 0.3rem;
  border-radius: 6px;
  border: none;
  background: #ebe8e8;
  color: #ffffff;
  font-size: 14px;
}

/* Panjangkan input-group */
.input-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%; /* Tambahkan ini agar input-group memanjang penuh */
}

.input-group input {
  flex: 1;
}

/* Panjangkan input konfirmasi password (misal: #confirm-password) */
#confirm-password {
  width: 100%;
}

.input-group button {
  background: #ff0077;
  color: #fff;
  padding: 0.2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.phone-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%; /* panjangkan phone-group */
}

.phone-group span {
  background: #949494;
  padding: 0.2rem;
  border-radius: 5px;
  flex-shrink: 0; /* biar span tidak mengecil */
}

.phone-group input {
  flex: 1; /* biar input mengisi sisa ruang */
  padding: 0.7rem;
  border-radius: 6px;
  border: none;
  background: #fff;
  color: #000;
  font-size: 14px;
}

select {
  background: #222;
  color: #fff;
}

.captcha-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.captcha-img {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  color: rgb(83, 82, 82); /* Ini akan diubah oleh JS */
  padding: 0.4rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  letter-spacing: 0.3rem;
  font-family: monospace;
}

.refresh {
  color: red;
  cursor: pointer;
  font-weight: bold;
}

.submit-button {
  margin-top: -0rem; /* isi nilai yang sebelumnya kosong */
  margin-left: auto;
  background: #ff0077;
  color: #fff;
  border: none;
  width: auto; /* ubah dari 100% ke auto agar tombol lebih kecil */
  padding: 0.4rem 1rem; /* beri padding vertikal dan horizontal */
  font-size: 13px; /* perkecil ukuran font */
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
}

.button-wrapper {
  display: flex;
  justify-content: flex-end; /* posisi tombol ke kanan */
  margin-top: 1rem;
}

.form-group {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  width: 100%; /* pastikan penuh */
  max-width: 800px; /* tambah max-width jika mau */
}

.form-group label {
  flex: 0 0 160px;
  margin-top: 0;
  margin-right: 90px;
  text-align: left;
}

.form-group input,
.form-group select {
  flex: 1;
  margin-top: 0;
}
