/* 美化后的弹窗样式 */
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.custom-modal-content {
  position: relative;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
  margin: 10% auto;
  padding: 0;
  width: 400px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: modalAppear 0.5s ease-out;
}

@keyframes modalAppear {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.custom-modal-header {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  text-align: center;
  color: white;
  position: relative;
}

.custom-modal-header h3 {
  margin: 0;
  font-weight: 600;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.custom-modal-body {
  padding: 25px;
  background: white;
}

.download-info {
  margin-bottom: 25px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 12px 15px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #4a6bdf;
}

.info-item i {
  color: #4a6bdf;
  margin-right: 12px;
  font-size: 18px;
}

.info-text {
  flex: 1;
}

.info-label {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 3px;
}

.info-value {
  font-size: 15px;
  font-weight: 600;
  color: #343a40;
}

.download-btn-container {
  text-align: center;
  margin-top: 20px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(to right, #4a6bdf, #6a11cb);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4);
  text-decoration: none;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(106, 17, 203, 0.6);
  color: white;
  text-decoration: none;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.success-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.success-icon i {
  font-size: 28px;
  color: white;
}