:root {
  --primary: #667eea;
  --secondary: #764ba2;
  --accent: #f0b24c;
}

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

body {
  min-height: 100vh;
  padding: 20px;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.header {
  padding: 40px 30px;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.start-icon {
  margin-bottom: 20px;
  font-size: 80px;
  line-height: 1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.header h1 {
  margin-bottom: 10px;
  font-size: 32px;
}

.header p {
  font-size: 16px;
  opacity: 0.92;
}

.content {
  padding: 40px 30px;
}

.instructions {
  margin-bottom: 30px;
  padding: 20px;
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  background: #f8f9fa;
}

.instructions h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.organization-line {
  margin-bottom: 10px;
  color: #666666;
}

.instructions p,
.instructions li {
  line-height: 1.8;
}

.instructions ul {
  margin-top: 10px;
  margin-left: 20px;
}

.warning-note {
  margin-top: 10px;
  color: #dc3545;
  font-weight: bold;
}

.progress-bar {
  width: 100%;
  height: 6px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 3px;
  background: #e9ecef;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  transition: width 0.3s ease;
}

.error-message {
  display: none;
  margin-bottom: 20px;
  padding: 15px;
  border-left: 4px solid #ffc107;
  border-radius: 8px;
  color: #856404;
  background: #fff3cd;
}

.question-card {
  margin-bottom: 20px;
  padding: 25px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  background: #ffffff;
  transition: all 0.3s ease;
}

.question-card:hover {
  border-color: var(--primary);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.question-title {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #333333;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.8;
}

.question-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 12px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 14px;
  background: var(--primary);
}

.options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.option-label {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  cursor: pointer;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.option-label:hover {
  border-color: var(--primary);
  background: #f0f4ff;
}

.option-label input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
}

.option-label input[type="radio"]:checked + span {
  color: var(--primary);
  font-weight: bold;
}

.option-label.is-checked {
  border-color: var(--primary);
  background: #f0f4ff;
}

.submit-btn {
  width: 100%;
  margin-top: 30px;
  padding: 18px;
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.results {
  display: none;
  padding: 30px;
}

.results.active {
  display: block;
}

.result-card {
  margin-bottom: 20px;
  padding: 25px;
  border-left: 5px solid var(--primary);
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.result-title {
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 20px;
  font-weight: bold;
}

.score-grid {
  display: grid;
  gap: 15px;
  margin-top: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.score-item {
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.score-label {
  margin-bottom: 8px;
  color: #666666;
  font-size: 14px;
}

.score-value {
  color: var(--primary);
  font-size: 32px;
  font-weight: bold;
}

.dimension-card {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  background: #ffffff;
}

.dimension-card p {
  line-height: 1.8;
}

.learning-style {
  margin-top: 20px;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.learning-style h2 {
  margin-bottom: 15px;
  font-size: 28px;
}

.learning-style h3 {
  margin: 15px 0;
  font-size: 24px;
}

.learning-style p {
  font-size: 16px;
  line-height: 1.8;
}

.reset-btn {
  width: 100%;
  margin-top: 30px;
  padding: 18px;
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

@media (max-width: 768px) {
  .options {
    grid-template-columns: 1fr;
  }

  .header h1 {
    font-size: 24px;
  }

  .start-icon {
    font-size: 60px;
  }
}
