/* 遮罩层样式 */
#popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

#popup-overlay.show {
  opacity: 1;
}

/* 弹窗样式 */
#popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(45, 45, 45, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  max-width: 90%;
  width: 400px;
  text-align: center;
  opacity: 0;
  transition: all 0.3s ease-out;
}

#popup.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

#popup p {
  color: #e0e0e0;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
}

#popup button {
  background: rgba(60, 60, 60, 0.9);
  color: #ff85c0;
  border: 1px solid rgba(255, 133, 192, 0.3);
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#popup button:hover {
  background: rgba(70, 70, 70, 0.9);
  color: #ffb6d9;
  border-color: rgba(255, 133, 192, 0.5);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

#popup button:active {
  background: rgba(50, 50, 50, 0.9);
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 480px) {
  #popup {
    padding: 20px;
    width: 90%;
  }
  
  #popup p {
    font-size: 14px;
  }
  
  #popup button {
    padding: 8px 16px;
    font-size: 12px;
  }
}
