body {
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  background-image: url('./bj.jpg'); 
  background-size: cover;  
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 10px; /* 增加页面的内边距 */
}

.container {
  text-align: center;
  background-color: #fff;
  padding: 10px; /* 背景容器的内边距更大 */
  border-radius: 20px; /* 圆角效果 */
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5); /* 增加阴影 */
  width: 93%;
  max-width: 700px; /* 适当增大最大宽度 */
  border: 2px solid #ff6347; /* 背景容器边框，较大 */
  position: relative; /* 为后续绝对定位元素提供相对定位基准 */
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5px;
}

h1 {
  color: #c71585;
  margin-top: 0;
  font-size: 3em;
  text-shadow: 2px 4px 8px #ff4500; /* 增强文字阴影效果 */
}

.zodiac-select-container {
  margin: 20px 0;
  display: flex; /* 使用 flex 布局，使 label 和 select 排列更整齐 */
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
}

label {
  margin-right: 10px;
  font-size: 1.2em; /* 增大字体 */
  color: #666; /* 柔和的灰色字体 */
}

select {
  padding: 12px;
  width: 93%; /* 自适应宽度 */
  max-width: 180px; /* 适当增大最大宽度 */
  border-radius: 8px;
  border: 2px solid #ccc;
  background-color: #fff8dc; /* 选择框背景色 */
  font-size: 1.1em; /* 增大字体 */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5); /* 选择框阴影 */
}

#zodiac-blessing-title {
  color: #ff4500;
  font-size: 2em; /* 增大字体 */
  margin-top: 10px; /* 增加间距 */
}

.blessing-container {
  border: 3px solid #ddd; /* 内容容器的边框较小 */
  border-radius: 8px;
  padding: 20px; /* 内容容器的内边距 */
  margin: 30px 0;
  background-color: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6); /* 内容容器阴影 */
  width: 80%; /* 使内容容器宽度相对背景容器窄一些 */
  margin-left: auto; /* 自动右对齐 */
  margin-right: auto; /* 自动左对齐 */
}

.input-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

input {
  padding: 12px;
  width: 100%; /* 自适应宽度 */
  max-width: 180px; /* 适当增大最大宽度 */
  border-radius: 8px;
  border: 2px solid #ccc;
  margin-bottom: 15px;
  font-size: 1.1em; /* 增大字体 */
  box-shadow: 0 3px 8@|InnerThoughtBegin|>
  <|InnerThoughtEnd|><|FunctionCallBegin|>px; /* 输入框阴影 */
}

button {
  padding: 6px 25px;
  background-color: #ff6347;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 15px;
  transition: background-color 0.3s ease, transform 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
  width: 100%; /* 自适应宽度 */
  max-width: 250px;
  font-size: 1.2em; /* 增大字体 */
}

button:hover {
  background-color: #ff4500;
  transform: translateY(-3px); /* 增强上移效果 */
}

.button-row {
    display: flex;
    justify-content: space-between; /* 或者使用 space-around, space-evenly 根据需要 */
    margin-top: 10px; /* 可选，增加按钮之间的间距 */
}

.button-row button {
    flex: 1; /* 使按钮均匀分布 */
    margin: 0 5px; /* 可选，增加按钮之间的间距 */
}

.zodiac-info-container {
  margin-top: 10px; /* 增加间距 */
  display: flex;
  flex-direction: row; /* 修改为水平排列 */
  justify-content: space-between; /* 让按钮和信息框两端对齐 */
  width: 80%; /* 使容器宽度相对背景容器窄一些 */
}

#zodiac-info {
  background-color: #f9f9f9;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  text-align: left;
  width: 70%; /* 调整信息框宽度占比 */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.8); /* 信息框阴影 */
  display: none; /* 默认隐藏 */
}

.info-button {
  padding: 12px 20px;
  background-color: #9acd32; /* 黄绿色按钮 */
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1em; /* 增大字体 */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s;
  width: 25%; /* 调整按钮宽度占比 */
}

.info-button:hover {
  background-color: #808000;
  transform: translateY(-2px);
}

footer {
    font-weight: bold;
    color: #ff6347;
}