.download-container {
  background-color: #171717 !important;
}

.img-container {
  display: flex;
  justify-content: center;
  padding-left: 70px !important;
  padding-right: 70px !important;
  background-color: #171717;
  margin-top: 50px;
  padding: 50px;
  height: 230px;
}

.text1 {
  font-family: Arialbd;
  text-align: center;
  color: #ffe99d;
  font-size: 20px;
  margin-bottom: 30px;
}

.text-header {
  text-align: left !important;
  font-size: 14px;
  color: #ccc;
  width: 5px;
}

.text2 {
  font-family: Arial;
  text-align: left !important;
  font-size: 14px;
  color: #ccc;
  margin-bottom: 5px;
  padding-left: 18px !important;
}

.download-btn {
  font-family: Arialbd;
  text-align: center;
  border: #ffe99d 1px solid !important;
  color: #ffe99d !important;
  font-size: 19px !important;
  width: 100%;
  height: 56px;
  margin-bottom: 28px;
}

@media (max-width: 360px) {
  .download-btn {
    font-size: 17px !important;
    height: 54px;
  }
}

@media (max-width: 355px) {
  .download-btn {
    font-size: 16px !important;
    height: 50px;
  }
}

.btn-container {
  background-color: #171717;
  text-align: center;
  padding-left: 65px !important;
  padding-right: 65px !important;
}

@media (max-width: 355px) {
  .btn-container {
    padding-left: 55px !important;
    padding-right: 55px !important;
  }
}

.popup-window-mask {
  /* 通过 JS 控制 display */
  display: none;
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  z-index: 11000; /* 高于页面其他浮层 */
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.popup-window {
  background-color: #1a1a1a;
  width: 86%;
  max-width: 420px;
  padding: 14px 14px 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffe99d;
  font-size: 16px;
  z-index: 11001;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
  animation: popupSlideIn 0.28s ease-out;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.popup-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffe99d;
  text-align: center;
  padding: 0;
  margin: 0;
}

.popup-container::-webkit-scrollbar {
  width: 6px;
}

.popup-container::-webkit-scrollbar-thumb {
  background-color: rgba(255, 234, 157, 0.6);
}

.popup-container {
  position: relative;
  padding: 2px 6px 4px;
  box-sizing: border-box;
  line-height: 1.6;
  max-height: 260px;
  overflow-y: auto;
}

.popup-btn-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 4px;
}

.popup-btn {
  flex: 1 1 0;
  min-width: 100px;
  padding: 10px 12px;
  font-size: 15px;
  border: 2px solid rgba(58, 58, 58, 0.9);
  cursor: pointer;
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  color: #ffe99d;
  transition: all 0.22s ease;
  text-align: center;
  font-weight: 500;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

.popup-btn:hover {
  background: linear-gradient(135deg, #ffe99d 0%, #ffd966 100%);
  color: #000;
  border-color: #ffe99d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 233, 157, 0.18);
}

/* 确认按钮高亮（默认浅色背景黑字），悬停反色 */
#confirm-btn {
  background: #ffe99d;
  color: #000;
  border-color: #ffe99d;
}

#confirm-btn:hover {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  color: #ffe99d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
