/* ========== 全局样式 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #fdfdfd;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
  padding: 0 15px;
}

/* ========== Header ========== */
header {
  background-color: #ff0050;
  color: #fff;
  padding: 20px 15px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 20px;
}

header h1 {
  font-size: 2rem;
}

/* ========== Main 内容区 ========== */
main {
  max-width: 900px;
  margin: 0 auto;
}

/* ========== Section 样式 ========== */
section {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

section h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ff0050;
}

section h3 {
  font-size: 1.2rem;
  margin-top: 15px;
  margin-bottom: 5px;
}

section p, section li {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* ========== 列表样式 ========== */
ol, ul {
  margin-left: 20px;
  margin-bottom: 10px;
}

/* ========== 输入框 & 按钮 ========== */
input[type="text"] {
  width: 80%;
  padding: 10px;
  font-size: 1rem;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  padding: 10px 20px;
  background-color: #ff0050;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #e60044;
}

/* ========== 结果输出区 ========== */
#analysis-result, #download-result, #growth-result {
  margin-top: 10px;
  padding: 10px;
  border: 1px dashed #ccc;
  border-radius: 6px;
  background-color: #fafafa;
  word-break: break-word;
}

/* ========== 广告位 ========== */
.ad-slot {
  width: 100%;
  min-height: 90px;
  background-color: #f0f0f0;
  border: 1px dashed #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  border-radius: 6px;
  color: #666;
  font-size: 0.9rem;
}

/* ========== 响应式适配 ========== */
@media (max-width: 600px) {
  input[type="text"] {
    width: 100%;
  }

  button {
    width: 100%;
    margin-bottom: 10px;
  }
}
