/* ==========================================================================
   download-install-btn.css · 下载模板页安装按钮
   对应源码：ptgame/app/src/download/comp/InstallBtn.vue <style scoped>（嵌套已展开为扁平 CSS）
   ========================================================================== */

.install-btn.shiny {
  position: relative;
  overflow: hidden;
}

.install-btn.shiny::before {
  content: '';
  animation: download-install-btn-shiny 6s ease-in-out infinite;
  background: white;
  display: inline-block;
  height: 100%;
  left: 0;
  position: absolute;
  top: -180px;
  width: 30px;
}

@keyframes download-install-btn-shiny {
  0% {
    opacity: 0;
    transform: scale(0) rotate(45deg);
  }

  80% {
    opacity: 0.5;
    transform: scale(0) rotate(45deg);
  }

  81% {
    opacity: 1;
    transform: scale(4) rotate(45deg);
  }

  100% {
    opacity: 0;
    transform: scale(50) rotate(45deg);
  }
}

.install-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22.625rem;
  height: 3.625rem;
  margin: 1.5rem auto;
  border-radius: 12px;
}

.install-btn .icon {
  width: 2.1875rem;
  height: 2.375rem;
}

.install-btn .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.install-btn .inner .text-1 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.75rem;
}

.install-btn .inner .text-2 {
  color: #FFFFFF;
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.125rem;
}
