:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #1f2937;
  --accent-soft: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  letter-spacing: -0.01em;
}

a {
  color: inherit;
}

.hero-card,
.quiz-card,
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.stat-stack {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f9fafb;
}

.score-badge {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  min-width: 140px;
  text-align: center;
}

.question-area {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  background: #f8fafc;
}

.option-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.option-item {
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.option-item:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.option-item-selected {
  border-color: #2563eb;
  background: #eff6ff;
}

.option-item-correct {
  border-color: #16a34a;
  background: #f0fdf4;
}

.option-item-wrong {
  border-color: #dc2626;
  background: #fef2f2;
}

.option-index {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.answer-pill {
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.answer-figure {
  width: 100%;
  max-width: 360px;
}

.answer-image,
.summary-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.summary-image {
  margin-bottom: 0.75rem;
  aspect-ratio: 16 / 9;
}

.summary-list {
  display: grid;
  gap: 1rem;
}

.summary-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  background: #ffffff;
}

.summary-item p {
  margin-bottom: 0.35rem;
}

.btn-primary {
  background: #111827;
  border-color: #111827;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #0f172a;
  border-color: #0f172a;
}

.btn-dark {
  background: #1f2937;
  border-color: #1f2937;
}

.btn-dark:hover,
.btn-dark:focus {
  background: #111827;
  border-color: #111827;
}

code {
  background: #f1f5f9;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}

@media (max-width: 767px) {
  .hero-card,
  .quiz-card,
  .info-card {
    padding: 1.5rem;
  }
}
