* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #111;
  color: #fff;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 720px;
  margin: auto;
  padding: 20px;
}

h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}

/* Progress */
.progress-info {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.progress-bar {
  width: 100%;
  height: 16px;
  background: #333;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

#progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00ffcc, #00ccff);
  transition: width 0.3s ease;
}

/* Scenario */
.scenario {
  font-size: 1.5rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Choices */
.choices button {
  width: 100%;
  font-size: 1.3rem;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}

.choices button:hover {
  opacity: 0.9;
}

/* Result */
.result {
  font-size: 1.4rem;
  margin-top: 16px;
}

.correct {
  color: #00ff99;
}

.wrong {
  color: #ff6666;
}

/* Score */
.score {
  text-align: center;
  font-size: 1.4rem;
  margin-top: 20px;
}

/* 📱 iPhone X / small screen */
@media (max-width: 430px) {
  h1 {
    font-size: 1.8rem;
  }

  .scenario {
    font-size: 1.4rem;
  }

  .choices button {
    font-size: 1.25rem;
    padding: 18px;
  }
}
