body{
   font-family: 'Press Start 2P', cursive !important;
}

.hero {
  min-height: 100vh;
  padding: 70px 30px;
  background-image: url('/images/Hero-bg.png');
  background-position: center;
  background-size:cover ;
  /* background: url("images/hero-bg.gif") no-repeat center center/cover; */
  /* text-shadow: 2px 2px #fff; */
}


.hero-img {
  margin-top: 2px;
  width: 450px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}

@media (max-width:768px) {

  .hero-img {
  padding-top: 35px !important;
  width: 450px;
  animation: bounce 2s infinite;
}
}


.hero{
  background-image: url('/images/hero-mb.png');
  background-position: center;
  background-size:cover ;
}
  

.hero-title {
  font-size: 3rem;
  color: #fff;
  text-shadow: 3px 3px #000;
  font-family: 'Press Start 2P', cursive !important;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #fff;
  font-family: 'Press Start 2P', cursive !important;

}

.pixel-btn {
  background: #FFD93D !important; /* Yellow background */
  color: #000 !important; /* Black text/icons */
  border: 4px solid #000 !important;
  padding: 12px 20px;
  font-family: 'Press Start 2P', cursive !important;
  font-size: 0.9rem;
  box-shadow: 4px 4px 0 #fff;
  text-transform: uppercase;
  display: inline-block;
  transition: all 0.15s ease-in-out;

}

.btn .btn-logo {
  width: 20px;        /* adjust as needed */
  height: 20px;
  margin-right: 4px;  /* spacing between logo and text */
  vertical-align: middle;
}

/* Pixel hover effect */
.pixel-btn:hover {
  background: #FFB800 !important; /* Darker yellow */
  box-shadow: 2px 2px 0 #000;
  transform: translate(2px, 2px);
}



@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-img { width: 150px; }
}

.pixel-card {
  background: #9B4D33;
  border: 6px solid #000;
  padding: 20px;
  box-shadow: 6px 6px 0 #000;
  clip-path: polygon(
    0 0,
    calc(100% - 15px) 0,
    100% 15px,
    100% 100%,
    15px 100%,
    0 calc(100% - 15px)
  );
}

.timer-card {
  background: #DEA25F;
  border: 4px solid #000;
  box-shadow: 4px 4px 0 #000;
  padding: 15px;
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}

.time-label {
  font-size: 0.9rem;
  font-weight: bold;
}

.time-box {
  background: #FFC400 !important;
  display: inline-block;
  padding: 10px 15px;
  font-size: 1.5rem;
  font-weight: bold;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% 100%,
    8px 100%,
    0 calc(100% - 8px)
  );
}

@media (max-width:768px){
  .time-box{
    padding: 5px 10px !important;
    font-size: 1rem !important;
    display: block !important;

  }

  .timer{
    gap: 5px !important;
  }
}

.countdown-container {
  position: relative; /* required for positioning the corner image */
  text-align: center;
  background: #44C04B;
  border: 6px solid #000;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0px 0px 20px #000;
  display: inline-block;
  font-family: 'Press Start 2P', cursive;
  color: #fff;
  margin-top: 50px;
}

/* 🔹 Fix overflow on small screens */
@media (max-width: 768px) {
  .pixel-card,
  .timer-card,
  .countdown-container {
    max-width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
  }
}



.corner-image {
  position: absolute;
  top: -60px;   /* adjust to move image outside */
  left: 10px;  /* adjust to move image outside */
  width: 80px;
  image-rendering: pixelated;
}

.corner-image1{
  position: absolute;
  bottom: -60px;   /* adjust to move image outside */
  right: -20px;  /* adjust to move image outside */
  width: 80px;
  image-rendering: pixelated;
}

@media (max-width:768px){
  .corner-image1{
     position: absolute;
  bottom: -30px;   /* adjust to move image outside */
  right: -10px;  /* adjust to move image outside */
  width: 70px;
  }
}

.timer {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.time-box {
  background: #444;
  padding: 15px;
  border-radius: 10px;
  min-width: 80px;
}

.label {
  font-size: 12px;
  margin-bottom: 5px;
  display: block;
  color: #000;
}

.value {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}


/* Prize Pool Styling */
.prize-pool {
  background: #FFC400 !important;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0px 0px 15px #000;
  font-size: 16px;
  text-align: center;
  font-family: 'Press Start 2P', cursive;
  color: #fff;
  display: inline-block;
}

.pool-label {
  color: #fff;
  margin-right: 10px;
}

.pool-value {
  font-weight: bold;
  color: #000;
}



/* Pixelated Progress Bar */
.progress-container {
  width: 100%;
  height: 22px;
  background: #111;
  border: 4px solid #555;
  margin-top: 12px;
  box-shadow: inset 0px 0px 6px #000;
  image-rendering: pixelated;
}

.progress-bar {
  height: 100%;
  width: 40%; /* example fill */
  background: repeating-linear-gradient(
    90deg,
    #00ffea,
    #00ffea 10px,
    #00cccc 10px,
    #00cccc 20px
  );
  image-rendering: pixelated;
}


.cash-rain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 5; /* below UI but above bg */
}

.cash {
  position: absolute;
  top: -50px;
  width: 32px; 
  height: 32px;
  image-rendering: pixelated;
  animation: fall linear forwards;
  opacity: 0.6;
}

@keyframes fall {
  from {
    transform: translateY(-50px) rotate(0deg);
  }
  to {
    transform: translateY(110vh) rotate(360deg);
  }
}
