.popup-window {
  z-index: 1050;
  width: 90vw;
  max-width: 1100px;
  max-height: 85vh;
  position: fixed;
  top: 50%;
  left: 50%;
  border-radius: 20px;
  transform: translate(-50%, -50%);
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: var(--light-white, #ffffff);
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
  padding: 50px 40px;
  display: flex;
  flex-direction: row;
  gap: 40px;
  box-sizing: border-box;
  overflow-y: auto;
}

.popup-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 1040o;
}

.popup-hidden {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.no-scroll {
  overflow: hidden;
}

.close-popup-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.close-popup-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.popup-info-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.popup-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.popup-image-container img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.popup-heading {
  font-family: var(--san-serif-1, sans-serif);
  letter-spacing: 5px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
}

.popup-heading-line {
  width: 80px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.8);
}

.popup-mosaic-banner {
  width: 100%;
  max-width: 450px;
  height: auto;
  margin-top: 25px;
}

.DTV-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 25px 0;
  width: 100%;
}

.popup-date-time {
  display: flex;
  align-items: center;
  gap: 15px;
}

.popup-DTV-text-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.DTV-icon {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.DTV-Head {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

.DTV-low {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.popup-DTV-line {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 25px;
}

.popup-description {
  font-family: var(--roboto, sans-serif);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 95%;
  margin: 0;
}

.popup-timer-container {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: fit-content;
  margin-top: 25px;
}

.popup-timer-element {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 65px;
}

.popup-timer-element p {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1;
}

.popup-timer-element span {
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.popup-timer-vertical-divider {
  width: 1px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 15px;
}

.popup-buttons-container {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.popup-register-button {
  background-color: #d32f2f;
  color: #ffffff;
  padding: 12px 28px;
  font-family: var(--roboto, sans-serif);
  font-weight: 600;
  font-size: 14px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.popup-register-button:hover {
  background-color: #f44336;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
  color: #ffffff;
}

.popup-learn-more-button {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}

.popup-learn-more-button:hover {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .popup-window {
    width: 95vw;
    padding: 40px 30px;
    gap: 30px;
  }

  .popup-DTV-line {
    margin: 0 15px;
  }

  .popup-timer-container {
    padding: 12px 20px;
  }

  .popup-timer-element {
    min-width: 55px;
  }

  .popup-timer-vertical-divider {
    margin: 0 10px;
  }
}

@media (max-width: 850px) {
  .popup-window {
    flex-direction: column;
    padding: 40px 30px 30px;
    gap: 35px;
    max-height: 90vh;
  }

  .popup-info-container,
  .popup-image-container {
    width: 100%;
    flex: none;
  }

  .popup-description {
    max-width: 100%;
  }

  .popup-image-container img {
    max-width: 500px;
  }
}

@media (max-width: 650px) {
  .DTV-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .popup-DTV-line {
    display: none;
  }

  .popup-timer-container {
    width: 100%;
    justify-content: space-between;
    padding: 15px;
    box-sizing: border-box;
  }

  .popup-timer-element {
    min-width: 0;
    flex: 1;
  }

  .popup-timer-vertical-divider {
    margin: 0 5px;
  }
}

@media (max-width: 480px) {
  .popup-window {
    padding: 35px 20px 25px;
    border-radius: 15px;
  }

  .close-popup-button {
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .popup-heading {
    font-size: 12px;
    letter-spacing: 3px;
  }

  .popup-heading-line {
    width: 50px;
  }

  .DTV-Head {
    font-size: 13px;
  }

  .DTV-low {
    font-size: 11px;
  }

  .popup-description {
    font-size: 12px;
  }

  .popup-timer-element p {
    font-size: 18px;
  }

  .popup-timer-element span {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .popup-buttons-container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .popup-register-button {
    width: 100%;
    justify-content: center;
  }
}
