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

body {
  font-family: 'Noto Sans', sans-serif;
  background: #fff;
  color: #333;
  overflow: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-width: 600px;
  margin: 0 auto;
}

.step-indicator {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: #f8f8f8;
}

.step {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  transition: all 0.3s ease;
}

.step.active {
  background: #333;
  transform: scale(1.2);
}

.step.completed {
  background: #666;
}

.content {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.step-content {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s ease;
}

.step-content.active {
  opacity: 1;
  transform: translateX(0);
}

.step-content.prev {
  transform: translateX(-100%);
}

.step-content img {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 20px;
}

.step-content h2 {
  font-size: 24px;
  margin-bottom: 16px;
  text-align: center;
}

.step-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.step-content ul {
  list-style: none;
  font-size: 16px;
  line-height: 1.8;
}

.step-content li::before {
  content: "• ";
  color: #333;
  font-weight: bold;
  margin-right: 8px;
}

.congrats {
  text-align: center;
  font-size: 20px;
  margin-top: 20px;
}

.navigation {
  display: flex;
  gap: 12px;
  padding: 20px;
  background: #f8f8f8;
}

button {
  flex: 1;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: #333;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

button:hover:not(:disabled) {
  background: #555;
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.quiz-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.quiz-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.quiz-modal {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.quiz-modal h3 {
  font-size: 20px;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.5;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.quiz-option {
  padding: 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #f8f8f8;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
}

.quiz-option:hover {
  border-color: #333;
  background: #fff;
}

.quiz-option.selected {
  border-color: #333;
  background: #333;
  color: #fff;
}

.quiz-option.correct {
  border-color: #4caf50;
  background: #4caf50;
  color: #fff;
}

.quiz-option.incorrect {
  border-color: #f44336;
  background: #f44336;
  color: #fff;
}

.quiz-feedback {
  text-align: center;
  font-size: 18px;
  margin-bottom: 16px;
  min-height: 30px;
  font-weight: 600;
}

.quiz-feedback.correct {
  color: #4caf50;
}

.quiz-feedback.incorrect {
  color: #f44336;
}

.quiz-submit {
  width: 100%;
  margin-top: 8px;
}

.quiz-submit:disabled {
  background: #ccc;
}

@media (max-height: 700px) {
  .step-content img {
    height: 150px;
  }
  
  .step-content h2 {
    font-size: 20px;
  }
  
  .step-content p,
  .step-content li {
    font-size: 14px;
  }
}