/* Promotional Popup Styles */
#promo-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

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

#promo-popup-container {
  position: relative;
  max-width: 90%;
  width: 600px;
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.7);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#promo-popup-overlay.active #promo-popup-container {
  transform: scale(1);
}

#promo-popup-image {
  width: 100%;
  height: auto;
  display: block;
}

#promo-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: white;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  z-index: 10001;
  border: none;
  font-size: 20px;
  font-family: Arial, sans-serif;
  line-height: 1;
}

#promo-popup-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

#promo-image-wrapper {
  position: relative;
  width: 100%;
}

#promo-popup-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Countdown box */
#promo-countdown-box {
  position: absolute;
  top: 40%;
  left: 52%;
  transform: translate(-50%, -50%);
  text-align: center;

  /* background: rgba(0, 0, 0, 0.6); */
  /* backdrop-filter: blur(2px); */
  padding: 20px 30px;
  border-radius: 12px;

  color: #fff;
  width: min(60%, 400px);
}

/* Big number */
#promo-days {
  font-size: clamp(70px, 5vw + 1rem, 80px);
  font-weight: bold;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1;
  color: #111;
  letter-spacing: 1rem;
}

/* Label */
#promo-label {
  font-size: clamp(14px, 2vw, 20px);
  margin-top: 8px;
}

@media (max-width: 768px) {
  #promo-popup-container {
    width: 95%;
  }
}
