* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #000;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #f5f5f5;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  width: 100%;
}

.app {
  background: url(./images/bg-cf-mb.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  max-width: 430px;
  margin: 0 auto;
}

.content {
  height: 100%;
  width: 100%;
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 30px;
}

.title {
  width: 90%;
}

.than-tai {
  width: 100%;
  margin-bottom: -120px;
}

.kim-cuong {
  margin-top: -43px
}

.bg-qt {
  border-radius: 25.309px;
  border: 1.898px solid #FFF;
  background: linear-gradient(90deg, #042C18 0%, #00A738 49.66%, #042C18 100%);
  box-shadow: 0px 2.531px 5.062px 0.633px #4ECD3C, 0px 0px 0px 6.327px rgba(0, 0, 0, 0.10) inset;
  padding: 12px;
  width: 100%;
}

.qt {
  width: 90%;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  font-family: Arial, sans-serif;
}

.time-block {
  display: flex;
  padding: 4px 15.665px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 15.665px;
  border: 1.566px solid #063706;
  background: #031700;
}

.number {
  color: #FAFAFA;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  font-size: 32px;
}

.label {
  color: #7BB17E;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.btn {
  max-width: 90%;
}

.btn div:hover {
  cursor: pointer;
}

#cancelBtn:hover {
  cursor: pointer;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background: url(./images/bg-popup.webp);
  background-size: 100% 100%;
  width: 40%;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.popup__title {
  width: 80%;
}

.title-mb {
  margin-top: 120px;
  width: 100%;
}

.title-mb img {
  width: 100%;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

.popup-content {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.popup-content h2 {
  margin-bottom: 10px;
  font-size: 2.5rem;
  font-weight: bold;
  color: #00A738 ;
}

.popup-content p {
  margin-bottom: 20px;
  font-size: 2rem;
}

.popup-content button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #00A738;
  color: white;
  border: none;
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 700;
}

.bg-khuyen-mai {
  border-radius: 34.74px;
  border: 1.654px solid #FFF;
  background: linear-gradient(180deg, #FFF 9.7%, #FFDF00 42.86%, #FBA30A 76.12%), linear-gradient(90deg, #042C18 0%, #00A738 49.66%, #042C18 100%);
  box-shadow: 0px 2.206px 4.411px 0.551px #4ECD3C, 0px 0px 0px 5.514px rgba(0, 0, 0, 0.10) inset;
}

@keyframes scaleAnimation {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.btn div img {
  animation: scaleAnimation 1.5s infinite ease-in-out;
}

@media screen and (max-width: 768px) {

  .join__track {
    gap: 50px;
  }

  .btn {
    width: 100%;
    flex-direction: column;
    gap: 0px;
  }

  .qt {
    display: none;
  }

  .popup-content {
    width: 90%;
    padding: 10px;
    gap: 10px;
  }

  .popup-content .btn {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }
}