/* 弹窗样式 */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
}

.popup-box {
  width: 320px;
  max-width: 90%;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  padding: 28px 24px 24px;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.popup-overlay.show .popup-box {
  transform: translateY(0);
}

.popup-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px;
}

.popup-text {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 22px;
}

.popup-btn {
  display: inline-block;
  width: 100%;
  padding: 12px 0;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(135deg, #4a90d9, #357abd);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.popup-btn:hover {
  opacity: 0.92;
}

.popup-btn:active {
  transform: scale(0.98);
}
