body {
  margin: 0;
  font-family: "NotoSansSC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: linear-gradient(45deg, #2c2c54, #1a1c2a);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  padding: 20px 12px 28px;
  overflow-x: hidden;
}
.container {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  width: min(500px, 100%);
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
  margin: 0 auto;
}
h1 {
  font-size: 24px;
  color: #ff4d4d;
  text-shadow: 0 0 10px #ff4d4d;
}
p {
  font-size: 16px;
  margin: 10px 0;
}
.progress-bar {
  width: 100%;
  background: #333;
  height: 10px;
  border-radius: 5px;
  margin: 10px 0;
}
.progress {
  height: 100%;
  background: #ff4d4d;
  width: 0;
  border-radius: 5px;
  transition: width 0.3s;
}
.question {
  font-size: 18px;
  margin: 20px 0;
  color: #ff9999;
}
.option {
  display: block;
  background: #444;
  margin: 10px auto;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  max-width: 80%;
}
.option:hover {
  background: #ff4d4d;
}
.option.selected {
  background: #ff4d4d;
  box-shadow: 0 0 0 1px rgba(255, 77, 77, 0.65);
}
.option input {
  display: none;
}
.option label {
  cursor: pointer;
  font-size: 16px;
}
.button {
  background: #ff4d4d;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}
.result-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.result-links .button {
  margin: 0;
  text-align: center;
  text-decoration: none;
}
.button:hover {
  background: #cc0000;
}
.hidden {
  display: none;
}
.prompt {
  color: #ff9999;
  font-size: 14px;
  margin: 10px 0;
  animation: fadeIn 0.5s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 600px) {
  .container {
    width: 100%;
    padding: 14px 12px;
  }
  h1 { font-size: 20px; }
  .question { font-size: 16px; }
  .option label { font-size: 14px; }
  .button {
    width: 100%;
    margin: 8px 0;
  }
  .result-links {
    grid-template-columns: 1fr;
    gap: 8px;
  }
} 
