.promo_popup {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 560px;
  height: 210px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 999999999999999;
  overflow: hidden;
  display: block;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease, visibility 0s linear 0.5s;
  will-change: transform, opacity;
}

.promo_popup.view {
  transform: translateX(-50%) translateY(0%);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.5s ease, opacity 0.5s ease, visibility 0s;
}

.promo_popup.hidden {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(100%);
}

.popup_close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  font-size: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.popup_close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.popup_content {
  display: flex;
  padding: 20px;
  gap: 15px;
  width: 100%;
  height: 100%;
}

.popup_content:has(.popup_image_container) {
  padding: 0;
}

.popup_image_container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.popup_banner_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
  cursor: pointer;
}

.popup_banner_pc {
  display: block;
}

.popup_banner_mo {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .promo_popup {
    transition: none;
  }
}

@media (max-width: 768px) {
  .promo_popup {
    width: 371px;
    height: 139px;
    bottom: 30px;
  }
  .popup_banner_pc {
    display: none;
  }
  .popup_banner_mo {
    display: block;
  }
  .popup_close {
    top: 5px;
    right: 5px;
  }
}
