/* ===================================
   滚动提示按钮 (Scroll Indicator)
   ================================== */

/* 立即下载按钮 - 基础样式 */
.et-download-btn {
  position: relative;
  z-index: 11;
  display: inline-block;
  margin-top: 2rem;
  padding: 18px 50px;
  background: linear-gradient(135deg, rgba(102, 177, 241, 0.95) 0%, rgba(153, 102, 255, 0.95) 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(102, 177, 241, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border: none;
  /* 移动端触摸优化 - 去除触摸反馈背景 */
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* Flexbox排序 - 在轮播图之后显示 */
  order: 4;
}

.et-download-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(102, 177, 241, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  background: linear-gradient(135deg, rgba(102, 177, 241, 1) 0%, rgba(153, 102, 255, 1) 100%);
}

.et-download-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 177, 241, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

/* 支持车型按钮 - 白色背景黑色边框样式 */
.et-download-btn-outline {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  border: 2px solid #333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.et-download-btn-outline:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.et-download-btn-outline:active {
  background: rgba(245, 245, 245, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.et-download-btn-outline.loading::before {
  border: 2px solid rgba(51, 51, 51, 0.2);
  border-top-color: #333;
}

/* 下载按钮 - Loading状态 */
.et-download-btn.loading {
  pointer-events: none;
  opacity: 0.9;
}

.et-download-btn.loading::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: downloadSpinner 0.8s linear infinite;
}

/* 下载按钮 - Loading时隐藏文本 */
.et-download-btn.loading {
  color: transparent;
}

/* Loading旋转动画 */
@keyframes downloadSpinner {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Webkit浏览器兼容 */
@-webkit-keyframes downloadSpinner {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* 滚动提示按钮 - 基础样式 */
.et-scroll-indicator {
  position: relative;
  z-index: 10;
  display: inline-block;
  margin-top: auto;
  margin-bottom: 3vh;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.3s ease;
  padding-top: 50px;
  /* Flexbox排序 - 在最底部显示 */
  order: 5;
}

.et-scroll-indicator:hover {
  opacity: 0.7;
}

/* 滚动提示按钮 - 箭头图标 */
.et-scroll-indicator span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 3px solid #333;
  border-bottom: 3px solid #333;
  transform: rotate(-45deg);
  animation: scrollIndicatorBounce 1.5s infinite;
  box-sizing: border-box;
}

/* 滚动提示动画 - 向下弹跳并淡入淡出 */
@keyframes scrollIndicatorBounce {
  0% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}

/* Webkit 浏览器兼容 */
@-webkit-keyframes scrollIndicatorBounce {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}
