.hits-count span {
  font-size: 8.5rem;
  color: hsl(30, 65%, 60%);
  font-weight: 700;
  margin-bottom: 50px;
  text-align: left;
  display: inline-block;
  text-shadow: 1px 1px 0 #000;

}

.hits-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hits-count p {
  font-size: 2rem;
}

.trophy {
  width: 25px;
  object-fit: cover;
}

.launch {
  width: 25px;
  object-fit: cover;
}

#main-container {
  display: flex;
  justify-content: center;
  /* horizontally center */
}

.space-bar {
  margin: 0 auto;
  text-align: center;
}



@keyframes hitAnimation {

  0%,
  100% {
    transform: translate(0);
  }

  50% {
    transform: rotateX(20deg) translateY(2px) rotate(-3deg);
  }
}

.animate-hit {
  animation: hitAnimation 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}


.hits {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

.brief {
  font-size: 14px;
  margin-bottom: 15px;
  color: #444;
}

.timer {
  font-size: 20px;
  font-weight: bold;
  margin: 20px 0;
}

input {
  padding: 8px;
  width: 200px;
  font-size: 14px;
  margin-right: 10px;
  outline: none;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  outline: none;
}

.btn-set {
  background: #eee;
}

.btn-restart {
  background: #3cc13b;
  color: white;
  font-weight: bold;
  margin-top: 15px;
  width: 100%;
}

.btn-restart:hover {
  background: #34a934;
}

.challenge {
  display: block;
  margin: 15px auto;
  padding: 12px;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.purple {
  background: linear-gradient(to right, #9b5cff, #a944ff);
}

.green {
  background: #35c77c;
}


.timer-box {
  background: #f9f9f9;
  padding: 20px;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  text-align: center;
}

.timer {
  font-size: 18px;
  font-weight: bold;
  color: #0a0a0a;
  margin-bottom: 15px;
}

.time-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
}

#timeInput {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  flex: 1;
}

.btn-set {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.btn-set:hover {
  background: #0056b3;
}

/* #winner-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

#winner-popup .popup-content {
  background: #FFF;
  padding: 40px 60px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  font-family: "Arial", sans-serif;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  position: absolute;
  top: 35%;
  left: 40%;

}

#winner-popup .popup-content h5 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: bold;

}

#winner-popup .popup-content p {
  font-size: 1rem;
  margin-bottom: 15px;
}

#winner-popup .popup-content button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  background: green;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

#winner-popup .popup-content button:hover {
  background: rgb(6, 145, 6);
} */

#winner-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

#winner-popup .popup-content {
  background: #FFF;
  padding: 20px 0px;
  border-radius: 12px;
  text-align: center;
  font-family: "Arial", sans-serif;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  position: absolute;
  top: 35%;
  left: 40%;

}

#winner-popup .popup-content h5 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: bold;
  color: #0a2a66;
}

.popup-divider {
  width: 100%;
  height: 2px;
  background: #ddd;
  margin: 10px 0 20px 0;
}

#winner-popup .popup-content .result-label {
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

#winner-popup .popup-content .result-score {
  font-size: 5rem;
  font-weight: bold;
  color: hsl(30, 65%, 60%);
  margin: 30px 0px;
}

#winner-popup .popup-content button {

  width: 60%;
  margin: 10px 0;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  background: green;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

#winner-popup .popup-content button:hover {
  background: rgb(6, 145, 6);
}

.warning-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999999;
}

.warning-content {
  background: #fffbea;
  border: 2px solid #ffb84d;
  border-radius: 14px;
  width: 420px;
  max-width: 90%;
  margin: 12% auto;
  padding: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  animation: fadeIn 0.3s ease-in-out;
  font-family: Arial, sans-serif;
  text-align: center;
  overflow: hidden;
  position: absolute;
  top: 20%;
  left: 40%;
}

.warning-header {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffcc80;
  padding: 14px;
  border-bottom: 1px solid #ffb84d;
}

.warning-header .icon {
  font-size: 22px;
  margin-right: 8px;
  color: #e65100;
}

.warning-header .title {
  font-weight: bold;
  font-size: 20px;
  color: #e65100;
}

.warning-body {
  font-size: 16px;
  color: #333;
  padding: 20px;
  line-height: 1.5;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 12px;
  font-size: 28px;
  cursor: pointer;
  color: #e65100;
  font-weight: bold;
}

.mobile-touch {
  margin-top: 20px;
  text-align: center;
  display: none;
}

#tapButton {
  width: 80%;
  max-width: 300px;
  padding: 20px;
  font-size: 20px;
  font-weight: bold;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.1s;
}

#tapButton:active {
  transform: scale(0.95);
}

/* responsive section start here  */

@media (max-width:1200px) {

  #winner-popup .popup-content {
    left: 35%;
  }
}

@media (max-width:992px) {

  #winner-popup .popup-content {
    left: 30%;
  }

  .warning-content {
    left: 28%;
  }
}

@media (max-width:768px) {
  .hero-section {
    padding: 0px;
  }

  #winner-popup .popup-content {
    left: 25%;
  }

  .warning-content {
    top: 30%;
    left: 20%;
  }

  .mobile-touch {
    margin-top: 20px;
    text-align: center;
    display: block;
  }
}

@media (max-width:680px) {
  #winner-popup .popup-content {
    left: 20%;
  }
}

@media (max-width:576px) {
  .hero-section {
    padding: 0px !important;
  }
}

@media (max-width:575px) {
  #winner-popup .popup-content {
    left: 13%;
  }

  .hit-count-number {
    padding-top: 10px;
  }

  .warning-content {
    margin: 0 auto;
    top: 30%;
    left: 5%;
  }
}

@media (max-width:480px) {
  .hero-section {
    padding: 20px 0px;
  }

  #winner-popup .popup-content {
    left: 6%;
    padding: 29px 31px;
  }
}

@media (max-width:425px) {
  .hero-section {
    margin: 0px;
  }

}

@media (max-width:420px) {
  .timer-box {
    max-width: 350px;
  }

  .hits-count span {
    font-size: 6.5rem;
  }
}

@media (max-width:380px) {
  .hero-section {
    padding: 20px 0 !important;
  }

  .timer-box {
    max-width: 330px;
  }

  #winner-popup .popup-content h5 {
    font-size: 1.5rem;
  }

  #timeInput {
    margin-right: 0;
  }

  .btn-set {
    padding: 10px;
  }

  .footer-info-box {
    max-width: 330px;
  }

}