body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: radial-gradient(circle at center, #000 60%, #111);
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.Star {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
  overflow: hidden;
  z-index: 0;
}

.Star::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: transparent url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
  animation: twinkle 20s linear infinite;
  opacity: 0.6;
}

@keyframes twinkle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.lighting-effect {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 50%);
  animation: pulse 3s ease-in-out infinite;
  z-index: 0;
}

.flashing-effect {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.7), transparent 60%);
  opacity: 0;
  animation: flash 1.2s ease-out 0.5s forwards;
  z-index: 1;
}

@keyframes flash {
  0% { opacity: 0; }
  30% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

.container-bx {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 20vh;
  animation: zoomIn 2s ease forwards;
}

@keyframes zoomIn {
  0% { transform: scale(0.2) translateY(200px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.treasure-bx {
  width: 150px;
  height: 100px;
  margin: 0 auto;
  background: linear-gradient(to top, gold, #aa8400);
  border: 4px solid #ffd700;
  border-radius: 10px 10px 5px 5px;
  position: relative;
  cursor: pointer;
  box-shadow: 0 0 50px gold;
  transition: 0.5s ease;
}

.treasure-bx::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 30px;
  background: #000;
  top: -30px;
  left: 0;
  border-radius: 10px 10px 0 0;
}

.animated-txt {
  margin-top: 40px;
  font-size: 1.5rem;
  color: #fff;
  animation: glow 1.5s infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 15px gold; }
  to { text-shadow: 0 0 25px #fff, 0 0 40px gold; }
}

.product {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 40px;
  opacity: 0;
}

.product-icn {
  font-size: 2rem;
  transform: scale(0);
  transition: all 0.6s ease;
}

.product-pop {
  opacity: 1 !important;
}

.product-pop .product-icn:nth-child(1) {
  animation: superPopOut 0.6s ease forwards 0.3s;
}

.product-pop .product-icn:nth-child(2) {
  animation: superPopOut 0.6s ease forwards 0.6s;
}

.product-pop .product-icn:nth-child(3) {
  animation: superPopOut 0.6s ease forwards 0.9s;
}

@keyframes superPopOut {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(2.2); opacity: 1; }
  100% { transform: scale(1.5); opacity: 1; }
}

.countdown {
  margin-top: 20px;
  font-size: 2rem;
  font-weight: bold;
  display: none;
  animation: glow 1.5s infinite alternate;
}

.entering {
  margin-top: 30px;
  display: none;
  font-size: 1.3rem;
  animation: fadeInZoom 1s ease forwards;
}

@keyframes fadeInZoom {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

.fadeOutAll {
  animation: fadeOutZoom 2s ease forwards;
}

@keyframes fadeOutZoom {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.8); }
}

.enterButton {
  margin-top: 20px;
  display: none;
  padding: 10px 25px;
  background: gold;
  border: none;
  color: #000;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 0 15px #ffd700;
  transition: 0.3s ease;
}

.enterButton:hover {
  background: #fffacd;
  box-shadow: 0 0 25px gold;
}