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

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 550px;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* 开始页面 */
.cat-emoji {
  font-size: 80px;
  margin-bottom: 20px;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.start-card h1 {
  font-size: 2rem;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.subtitle {
  color: #666;
  font-size: 1rem;
  margin-bottom: 30px;
}

.btn {
  background: linear-gradient(135deg, #e94560, #c23152);
  color: white;
  border: none;
  padding: 14px 40px;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

.credit {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #999;
}

/* 答题页面 */
.progress {
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 3px;
  margin-bottom: 25px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #e94560, #c23152);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.question-num {
  font-size: 0.9rem;
  color: #e94560;
  font-weight: 600;
  margin-bottom: 10px;
}

.question {
  font-size: 1.3rem;
  color: #1a1a2e;
  margin-bottom: 25px;
  line-height: 1.5;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option {
  background: #f8f9fa;
  border: 2px solid #eee;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  transition: all 0.3s;
  text-align: left;
}

.option:hover {
  border-color: #e94560;
  background: #fff0f3;
  transform: translateX(5px);
}

.option:active {
  transform: scale(0.98);
}

/* 结果页面 */
.result-emoji {
  font-size: 100px;
  margin-bottom: 20px;
  animation: bounce 2s ease infinite;
}

.result-title {
  font-size: 1.8rem;
  color: #1a1a2e;
  margin-bottom: 5px;
}

.result-breed {
  font-size: 1.1rem;
  color: #e94560;
  font-weight: 600;
  margin-bottom: 15px;
}

.result-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.result-traits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 25px;
}

.trait {
  background: #fff0f3;
  color: #e94560;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* 响应式 */
@media (max-width: 480px) {
  .card {
    padding: 30px 20px;
  }
  .start-card h1 {
    font-size: 1.6rem;
  }
  .question {
    font-size: 1.1rem;
  }
}
