/* ========== 基础重置 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #fff;
  overflow-x: hidden;
}

/* ========== 背景图片设置 ========== */
.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/download-bg.jpg'); /* 修改这里换背景图片 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.bg-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* 黑色半透明遮罩，让文字更清晰 */
}

/* ========== 下载容器 ========== */
.download-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.download-box {
  background: rgba(30, 30, 40, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 50px 40px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* ========== 标题样式 ========== */
.download-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.download-subtitle {
  color: #aaa;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* ========== 下载按钮 ========== */
.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  padding: 18px 25px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.download-btn i {
  font-size: 1.5rem;
  min-width: 30px;
}

.download-btn span {
  flex: 1;
  text-align: left;
}

.download-btn small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 5px;
}

/* 不同颜色的按钮 */
.download-btn.primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.download-btn.secondary {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.download-btn.tertiary {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.download-btn.quaternary {
  background: linear-gradient(135deg, #fa709a, #fee140);
}

/* 悬停效果 */
.download-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.download-btn:active {
  transform: translateY(0);
}

/* 点击波纹效果 */
.download-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.download-btn:active::before {
  width: 300px;
  height: 300px;
}

/* ========== 返回首页 ========== */
.back-home {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.back-link {
  color: #aaa;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #fff;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .download-box {
    padding: 40px 25px;
  }
  
  .download-title {
    font-size: 2rem;
  }
  
  .download-btn {
    font-size: 1rem;
    padding: 15px 20px;
  }
  
  .download-btn small {
    font-size: 0.75rem;
  }
}
