body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f9fc;
  color: #1f2933;
  line-height: 1.6;
}

#title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.intro {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 16px;
}

#context {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 20px;
}



.container {
  max-width: 700px;
  margin: 40px auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

#progress-container {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: #2c7be5;
  transition: width 0.4s ease;
}

#startBtn {
  margin: 20px 0;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  background: #2c7be5;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease;
}

#startBtn:hover {
  background: #1a68d1;
}

#scenario-counter {
  font-size: 14px;
  margin-bottom: 10px;
  color: #555;
}

.fade {
  opacity: 1;   /* NOT 0 */
  transition: opacity 0.3s ease;
}

.fade.hide {
  opacity: 0;
}

h1 {
  text-align: center;
}

#choices {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.choice-btn {
  transition: all 0.2s ease;
}

.choice-btn.selected {
  background-color: #1e88e5;
  color: white;
  border-color: #1e88e5;
}

.choice-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#choices button {
  padding: 14px 16px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

#choices button:hover {
  background: #f0f6ff;
  border-color: #2c7be5;
}

#choices button:active {
  transform: scale(0.98);
}

#restart {
  display: none;
  margin-top: 10px;
  padding: 10px;
  width: 100%;
  color: #ffffff;
  background: #0b0428;
  border: none;
  cursor: pointer;
}

.result {
  margin-top: 15px;
}

.result {
  background: #f9fafb;
  border-left: 4px solid #2c7be5;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.result p {
  margin: 6px 0;
  font-size: 0.95rem;
}

#next {
  display: none;
  margin-top: 15px;
  padding: 10px;
  width: 100%;
}

button#next,
button#restart {
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 10px;
}

button#next {
  background:#2c7be5;
  color: #ffffff;
}

button#next:hover {
  background: #1a68d1;
}

button#restart {
  background: #e5e7eb;
  color: #111827;
}

button#restart:hover {
  background: #d1d5db;
}

.score {
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
}


body {
  background: #f0f2f5;
}

.container {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}


  