/* Reset dasar */

/* Atur font untuk semua elemen ini */
.judul, .info-text {
  font-family: 'Baloo 2', cursive;
}
@keyframes floating {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

.animate-floating {
  animation: floating 4s ease-in-out infinite;
}


/* Gift Box (Kotak Hadiah Interaktif) */
.gift-box {
  aspect-ratio: 1 / 1;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.1));
  transition: transform 0.3s ease;
  animation: glowPulse 2s ease-in-out infinite;
}

.gift-box:hover {
  transform: scale(1.05);
}

@keyframes glowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
  }
}


/* Zoom Layer dan Zoom Box */

#zoom-layer.active {
  display: flex;
}


/* Standar Semua Popup */
.popup-box {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  width: 90%;
  max-width: 400px;
  text-align: center;
  z-index: 4000; /* Sama dengan leaderboard */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* Tombol Klaim Hadiah */
.klaim-btn {
  background: #25d366;
  color: white;
  border: none;
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.klaim-btn:hover {
  background: #1da955;
}


/* Efek Blur Saat Popup Hadiah Muncul */
.blur-hadiah {
  filter: blur(3px) brightness(0.6);
  pointer-events: none; /* supaya tidak bisa diklik */
  transition: filter 0.3s ease;
}

/* Utility: Hidden Element */
.hidden {
  display: none;
}

@tailwind base;
@tailwind components;
@tailwind utilities;

