/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma, Arial, Microsoft YaHei;
  width: 100%;
  height: 100vh;
  background-color: #070809;
  max-width: 750px;
  margin: 0 auto;
}

/* Links */
a {
  color: #fff;
  text-decoration: none;
}

/* Main box */
.main-box {
  background: url(../images/bg.jpg?v=13);
  background-size: cover;
  width: 100%;
  height: 100vh;
  position: relative;
}

/* 错误提示 */
.error-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
}
.error-box {
  padding: 30px;
  font-size: 18px;
  color: #fff;
  background: rgba(0,0,0,0.8);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  max-width: 750px;
  text-align: center;
  line-height: 1.5;
}

.loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	display: none;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.8);
}
.loading-content {
	background: white;
    padding: 20px;
    line-height: 18px;
    word-break: break-all;
    overflow: hidden;
    font-size: 18px;
    color: #fff;
    border-radius: 10px;
    width: 80%;
    max-width: 700px;
}
.loading-gif {
  width: 95%;
  max-width: 750px;
}
.loading-text {
	width: 100%;
    text-align: center;
    margin-left: 10px;
    color: #000;
    margin: 30px 0px;
}

/* 输入和结果框 */
#input-section, #result-section {
  position: absolute;
  margin-top: 87%;
  width: 100%;
  text-align: center;
}
#result-section {
  display: none;
}

/* 输入框 */
.input-stock {
  width: 82%;
  height: 8%;
  border-radius: 2rem;
  border: 2px solid rgba(78,147,234,1);
  margin-top: 1rem;
  padding: 1rem 2rem;
  text-align: center;
  font-size: 14px;
  background: #4a4a4a;
  color: #fff;
}
.input-stock::placeholder {
  color: #fff;
}

/* 按钮 */
.btn-start, .btn-report {
	margin: 0 auto;
    margin-top: 20px;
    width: 82%;
    height: 40px;
    line-height: 40px;
    display: block;
    text-align: center;
}
.btn-report {
  border-radius: 2rem;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(1);}
  50% { transform: scale(1.1);}
  100% { transform: scale(1);}
}

/* 装饰框 */
.frame {
  position: relative;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.frame-input {
  background-image: url("../images/wenan-kuang.png");
}
.frame-result {
  background-image: url("../images/analysis-kuang.png");
}
.frame-text {
  padding: 7% 6% 10%;
  width: 100%;
  letter-spacing: 1px;
  color: #fff;
}
.title {
  font-size: 26px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 1rem;
}
.desc {
  font-size: 16px;
  font-weight: bold;
}
.highlight {
  font-weight: bold;
  color: red;
}



.btn {
  margin-top: 28px;
  width: 100%;
  height: 55px;
  line-height: 40px;
  display: block;

  border-radius: 2rem;
  text-align: center;
  color: #fff;
  font-size: 17px;
  line-height: 38px;
  cursor: pointer;
  background: url("../image/btn.png") no-repeat;
  background-size: 100% 100%;
  transition: all 0.3s ease-in-out;
  animation-name: moveButton;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  cursor: pointer;
}
.result {
  position: fixed;
  left: 50%;
  top: 0px;
  transform: translateX(-50%);
 
  height: 100%;
  display: flex;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  padding: 0px 5%;
  display: flex;
  width: 100%;
  max-width: 750px;
 
  align-items: center;
}
.main-content {
  /*width: 81%;*/
  /*height: auto;*/
  margin: 2% auto 0%;
}
.content {
  padding: 6% 3%;

  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin: auto;
  width: 100%;
  background: rgba(12, 21, 40, 0.88);
  box-shadow: 0px 2px 4px 0px rgba(0, 78, 184, 0.16);
  border-radius: 12px 12px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.main-title {
  font-family: Arial, Arial;
  font-weight: 900;
  font-size: 35px;
  color: #ffffff;
  line-height: 30px;
  text-align: center;
}
.title-normal {
  font-weight: 400;
  font-size: 20px;
  color: #ffffff;
  line-height: 30px;
  text-align: center;

  margin-top: 40px;
  color: rgba(255, 255, 255, 1);
}
.mask {
  position: fixed;
  left: 50%;
  top: 0px;
  width: 100%;
  max-width: 750px;
  transform: translateX(-50%);
  height: 100%;
  display: flex;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  padding: 0px 5%;
}
.mask-title {
  font-family: Arial, Arial;
  font-weight: 900;
  font-size: 20px;
  color: #96b8ff;
  line-height: 30px;
  text-align: center;
}
.progress-title {
  font-family: Arial, Arial;
  font-weight: bold;
  font-size: 12px;
  color: #ffffff;
}
.progress {
  margin-top: 12px;
}

.progeress-title {
  font-family: Arial, Arial;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
}
.out {
  width: 100%;
  height: 16px;
  background-size: 100% 100%;
  margin-top: 12px;
}
.inner {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    180deg,
    #fc9aff 0%,
    #deb1ff 25%,
    #4150f2 68%,
    #0036ab 100%
  );
  border-radius: 8px;
}
.first {
  animation: progress 1.5s ease-in-out forwards;
}
.second {
  animation: progress 1.5s ease-in-out forwards 0.6s;
}
.third {
  animation: progress 1.5s ease-in-out forwards 1.2s;
}
@keyframes progress {
  to {
    width: 100%;
  }
}
.analysis {
  width: 81%;
  /* width: 100%; */
  /* max-width: 750px; */
  max-width: 750px;
  height: auto;
  margin: 2% auto 0%;
}
.result-title {
  font-family: Arial, Arial;
  font-weight: 900;
  font-size: 30px;
  color: #96b8ff;
  line-height: 30px;
  text-align: center;
}
.fxLine {
  width: 100%;
  height: 60px;
  background: url("../images/btn.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transition: all 0.3s ease-in-out;
  animation-name: moveButton;
  animation-duration: 1.5s;
  font-size: 14px;
  animation-iteration-count: infinite;
  cursor: pointer;
  line-height: 24px;
}
@keyframes moveButton {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  to {
    transform: scale(1);
  }
}