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

.promo-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.promo-modal-container {
  position: relative;
  max-width: 580px;
  width: 90%;
  max-height: 720px;
  height: auto;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  transform: scale(0.9) translateY(-20px);
  transition: transform 0.3s ease;
}

.promo-modal-overlay.show .promo-modal-container {
  transform: scale(1) translateY(0);
}

.promo-modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.promo-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #333;
  transition: all 0.2s ease;
  z-index: 10000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.promo-modal-close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.promo-modal-close:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .promo-modal-container {
    max-width: 90%;
    max-height: 85vh;
    width: 100%;
  }

  .promo-modal-close {
    width: 36px;
    height: 36px;
    top: 12px;
    right: 12px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .promo-modal-container {
    max-width: 95%;
    max-height: 80vh;
    width: 100%;
  }

  .promo-modal-close {
    width: 32px;
    height: 32px;
    top: 10px;
    right: 10px;
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .promo-modal-container {
    max-width: 98%;
    max-height: 75vh;
  }

  .promo-modal-close {
    width: 30px;
    height: 30px;
    top: 8px;
    right: 8px;
    font-size: 16px;
  }
}
