*{
    /* border: 2px solid red; */
    font-family: sans-serif;
}
@keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.rabbit{
    top: 21%;
    
}

.rabbit img{
    width: 85%;
    max-width: 599px;
    animation: pulse 1s infinite;
    animation-timing-function: linear;  
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(20,0,0,0.9));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

/* Popup Content - Tema CNY 2026 (Versi Warna Autentik) */
.popup-content.cny-theme {
  background: linear-gradient(145deg, #8b0000, #b22222); /* Maroon & Crimson Red */
  color: #fff;
  padding: 25px 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 8px 30px rgba(139, 0, 0, 0.5);
  animation: fadeInUp 0.5s ease-out;
  font-family: 'Noto Serif', 'STKaiti', 'SimHei', sans-serif;
  position: relative;
  border: 3px solid #ffd700; /* Emas */
}

.popup-content.cny-theme h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.popup-content.cny-theme p {
  font-size: 0.95rem;
  margin: 10px 0;
  opacity: 0.95;
}

/* Kotak Kode */
.code-box {
  background: rgba(255,255,255,0.1);
  border: 2px dashed #ffd700;
  padding: 12px 15px;
  border-radius: 8px;
  margin: 15px 0;
  position: relative;
}

#redeemCode {
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: #ffd700;
  text-shadow: 0 0 3px #ff8800;
}

.btn-copy {
  background: transparent;
  border: 1px solid #ffd700;
  color: #ffd700;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  margin-left: 10px;
  transition: all 0.2s ease;
}

.btn-copy:hover {
  background: #ffd700;
  color: #333;
  transform: scale(1.05);
}

/* Tombol Claim Now */
.btn-claim {
  background: #ffd700;
  color: #333;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 15px;
  box-shadow: 0 4px 10px rgba(255,215,0,0.4);
  transition: all 0.3s ease;
  width: 100%;
}

/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Playfair+Display:wght@700&display=swap');

/* Judul: Playfair Display (elegant) */
.popup-content.cny-theme h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* Isi & Tombol: Poppins (bersih & modern) */
.popup-content.cny-theme p,
.popup-content.cny-theme .code-box,
.popup-content.cny-theme .btn-copy,
.popup-content.cny-theme .btn-claim {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

.btn-claim:hover {
  background: #ffc107;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 15px rgba(255,215,0,0.6);
}

/* Dekorasi CNY */
.cny-decor {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  font-size: 1.2rem;
}

.cny-decor span {
  animation: bounce 1s infinite alternate;
}

@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

/* Animasi Masuk */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1);}
    100% { transform: scale(1); }
} 



 /* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
    #bg{
        height: 100vh;
    }

}


/* 404 Page */
.error
{
    height: 100vh;
}

.content h1
{
    font-size: 8rem !important;
}

.content p
{
    font-weight: 600;
    color: red;
    font-size: 1.5rem;
}

.content span
{
    color: #898989;
    font-size: 1.5rem;
}

.btn-error img{
    width: 68%;
    max-width: 599px;
    animation: pulse 0.8s infinite;
    animation-timing-function: linear;  
}



@media (min-width: 992px) { 
    .btn-error img{
        width: 17%;
    }
}