/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: #f8f8f8;
  max-width: 750px;
  margin: auto;
}

/* 高亮 */
.highlight {
  color: #ff5f00;
  font-weight: bold;
}

/* 错误提示 */
.error-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
}
.error-box {
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
}

/* 页面结构 */
.main-wrapper {
  background: url(../images/bg-PBdhR.gif) no-repeat center/cover;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: 100% 100%;
}
.analysis-section {
    position: absolute;
    width: 80%;
    text-align: center;
    top: 38%;
	max-width: 580px;
}
.intro-title {
  font-size: 28px;
  color: #fff;
  margin-bottom: 10px;
}
.intro-desc {
  font-size: 16px;
  color: #fff;
  line-height: 1.5;
}

/* 输入框 */
.stock-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 20px;
  border: none;
  outline: none;
  margin: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #fff;
  background: rgba(17,67,92,0.6);
  margin: 20px 0px 0px 0px;
}
.stock-input::placeholder {
  color: #9ca8ce;
}

/* 按钮 */
.btn-primary, .btn-success {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  color: #fff;
  animation: breath 1.8s infinite;
}
.btn-primary {
  background: linear-gradient(90deg, #12ebd0, #12ebd0);
}
.btn-success {
  background: #15a223;
}

/* 呼吸动画 */
@keyframes breath {
  0% { transform: scale(1); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
  50% { transform: scale(1.04); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
  100% { transform: scale(1); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
}

/* 模态框 */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
}
.hidden { display: none; }

.progress-container, .result-box {
  background: #05101a;
  border-radius: 12px;
  padding: 24px;
  max-width: 360px;
  color: #fff;
  text-align: center;
}

/* 进度条 */
.progress-step {
  margin: 16px 0;
  font-size: 14px;
  text-align: left;
}
.progress-bar {
  width: 100%;
  height: 14px;
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 6px;
}
.progress-bar div {
  height: 100%;
  width: 0%;
  background: #00dcf4;
  border-radius: 8px;
  transition: width 0.2s linear;
}
