/* 彈窗背景遮罩 */
#promo-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* 彈窗內容區 */
#promo-popup .popup-content {
  position: relative;
  background: #fff;          /* 背景白色 */
  border-radius: 8px;
  padding: 20px 30px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  text-align: center;
  color: #2b2b2b;            /* 內文文字 */
}

/* 右上角關閉按鈕 */
#promo-popup .close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1000;
  background: transparent;
  border: none;
  font-size: 20px;           /* ×小一點 */
  cursor: pointer;
  font-weight: bold;
  color: #333;
  padding: 0;
  line-height: 1;
}

#promo-popup .close-btn:hover {
  color: #405369;            /* hover 顏色 */
}

/* 標題 h2 響應式 */
#promo-popup h2 {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

@media screen and (max-width: 768px) {
  #promo-popup h2 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  #promo-popup h2 {
    font-size: 1.2rem;
  }
}

/* 按鈕同一行 */
.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top:1.5rem;
}

/* 按鈕樣式 - 確保背景色正確 */
.popup-buttons button {
  background-color: #406359 !important;
  color: #fff !important;
  padding: 16px 20px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  width: 40%;
}