* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  min-height: 580px;
  padding: 40px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.screen { display: none; }
.screen.active { display: block; }

h1 {
  font-size: 28px;
  text-align: center;
  color: #333;
  margin-bottom: 12px;
}

.subtitle {
  text-align: center;
  font-size: 17px;
  color: #ff5e62;
  margin-bottom: 24px;
  font-weight: bold;
}

.desc {
  text-align: center;
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 32px;
}

.btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #ff9966, #ff5e62);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 17px;
  cursor: pointer;
  margin-bottom: 16px;
}

.btn:active { opacity: 0.85; }

.note {
  text-align: center;
  font-size: 12px;
  color: #aaa;
}

/* 进度条 */
.progress-bar {
  width: 100%;
  height: 8px;
  background: #eee;
  border-radius: 4px;
  margin-bottom: 24px;
  overflow: hidden;
}

#progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, #ff9966, #ff5e62);
  border-radius: 4px;
  transition: width 0.3s;
}

.q-count {
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
}

#question-text {
  font-size: 19px;
  color: #333;
  margin-bottom: 24px;
  line-height: 1.5;
}

.option-btn {
  display: block;
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 12px;
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  color: #444;
  text-align: left;
  cursor: pointer;
  line-height: 1.5;
  transition: all 0.15s;
}

.option-btn:active {
  background: #fff1ec;
  border-color: #ff5e62;
}

/* 结果页 */
.result-label {
  text-align: center;
  font-size: 15px;
  color: #999;
  margin-bottom: 8px;
}

#result-animal { font-size: 30px; color: #ff5e62; }

.keywords {
  text-align: center;
  font-size: 15px;
  color: #b23a48;
  font-weight: bold;
  margin-bottom: 16px;
}

.tips-box {
  background: #fff7f0;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
}

.tips-box h3 {
  font-size: 16px;
  color: #555;
  margin-bottom: 12px;
}

.tips-box li {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 8px;
  margin-left: 18px;
}

/* 合拍动物 */
.mate-box {
  background: #fdf0f3;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 16px;
}

.mate-box p {
  font-size: 14px;
  color: #b23a48;
  font-weight: bold;
  text-align: center;
}

.share-hint {
  text-align: center;
  font-size: 13px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 16px;
}
