/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { text-align: center; font-family: Arial, sans-serif; }

.main-container {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.bg-img { width: 100%; }

.header {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 38%;
}
.middle-content {
    position: absolute;
    width: 90%;
    text-align: center;
    top: 32%;
    left: 5%;
}


.input-section {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 68%;
}
.stock-input {
	width: 82%;
    height: 8%;
    border-radius: 3.5rem;
    border: 3px solid rgb(0 160 233);
    margin-top: 1rem;
    padding: 2rem;
    text-align: center;
    font-size: 28px;
    background: rgba(0, 0, 0, 0);
    color: #000;
}
.stock-input::placeholder { color: #000; }

/* 错误提示 */
.error-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
}
.error-box {
  padding: 30px;
  font-size: 35px;
  color: #fff;
  background: rgba(0,0,0,0.8);
  border-radius: 10px;
  max-width: 750px;
  text-align: center;
}


/* 动画按钮 */
.pulse-btn {
  width: 90%;
  cursor: pointer;
  animation: pulseAnim 1s linear infinite;
}
@keyframes pulseAnim {
  0% { transform: scale(0.9); }
  50% { transform: scale(1); }
  100% { transform: scale(0.9); }
}
