/* =====================================================
   ASVAB Prep — Military Theme Stylesheet
   Colors: #0d1b2a (navy), #f4c430 (gold), #2d6a4f (green)
          #c1121f (red/wrong), #1b2838 (dark card)
   Zero external dependencies. Mobile-first.
   ===================================================== */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0d1b2a;
  --navy2:  #1b2838;
  --navy3:  #263448;
  --gold:   #f4c430;
  --gold2:  #d4a820;
  --green:  #2d6a4f;
  --green2: #40916c;
  --red:    #c1121f;
  --red2:   #e63946;
  --white:  #f0f4f8;
  --muted:  #8fa3b3;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ── Utility ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-gold   { color: var(--gold); }
.text-green  { color: var(--green2); }
.text-red    { color: var(--red2); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
  letter-spacing: 0.3px;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244,196,48,0.35);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover {
  background: var(--green2);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-lg { padding: 18px 36px; font-size: 1.15rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-full { display: block; width: 100%; }

/* ── NAV ── */
.site-nav {
  background: var(--navy2);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); text-decoration: none; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #112030 60%, #1a3245 100%);
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(244,196,48,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(244,196,48,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .highlight { color: var(--gold); }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  max-width: 550px;
  margin: 0 auto 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.trust-badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
}

/* ── STATS BAR ── */
.stats-bar {
  background: #060e18;
  border-top: 1px solid #1d3550;
  border-bottom: 1px solid #1d3550;
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item .stat-number {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--gold);
  display: block;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ── SECTIONS ── */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--navy2);
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* ── AD-FREE CALLOUT ── */
.adfree-callout {
  background: linear-gradient(135deg, #0a1520, #112030);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.adfree-callout .icon { font-size: 2.5rem; margin-bottom: 12px; }

.adfree-callout h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
}

.adfree-callout p {
  color: #c8d8e8;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--navy3);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-left: 4px solid var(--gold);
  position: relative;
}

.testimonial-card .stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 12px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--white);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
}

/* ── SUBTEST CARDS ── */
.subtest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.subtest-card {
  background: var(--navy3);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  border: 1px solid #2a4060;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}

.subtest-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.subtest-card .icon { font-size: 2rem; margin-bottom: 10px; }

.subtest-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.subtest-card p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── SCORES TABLE ── */
.scores-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.scores-table th {
  background: var(--navy3);
  color: var(--gold);
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scores-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #1d3550;
  font-size: 1rem;
}

.scores-table tr:hover td { background: var(--navy3); }

.score-badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.95rem;
}

/* ── FREE QUIZ INLINE ── */
.free-quiz-section {
  background: var(--navy2);
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid #2a4060;
}

.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--navy3);
  border-radius: 3px;
  margin-bottom: 24px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.inline-question {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.5;
}

.quiz-counter {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.answer-options {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.answer-btn {
  background: var(--navy3);
  border: 2px solid #2a4060;
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  font-family: var(--font);
}

.answer-btn:hover:not(:disabled) {
  border-color: var(--gold);
  background: #1d3550;
}

.answer-btn.correct {
  background: rgba(45, 106, 79, 0.3);
  border-color: var(--green2);
  color: #a8e6c8;
}

.answer-btn.incorrect {
  background: rgba(193, 18, 31, 0.25);
  border-color: var(--red2);
  color: #ffb3b8;
}

.answer-btn:disabled { cursor: default; }

.explanation-box {
  background: rgba(244,196,48,0.07);
  border-left: 4px solid var(--gold);
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  color: #c8d8e8;
  margin-bottom: 16px;
  line-height: 1.6;
}

.quiz-result-box {
  text-align: center;
  padding: 20px 0;
}

.quiz-result-box .score-big {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
}

.quiz-result-box .afqt-estimate {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 8px 0 24px;
}

/* ── PRICING ── */
.pricing-card {
  background: var(--navy2);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0 60px rgba(244,196,48,0.12);
}

.pricing-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-display {
  margin-bottom: 8px;
}

.price-original {
  font-size: 1.3rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 10px;
}

.price-current {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
}

.price-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.features-list {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.features-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #1d3550;
  font-size: 0.97rem;
}

.features-list li:last-child { border: none; }

.features-list .check { color: var(--green2); font-size: 1.1rem; }

.secure-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 16px;
}

.urgency-note {
  font-size: 0.85rem;
  color: var(--red2);
  font-weight: 700;
  margin-top: 10px;
}

/* ── FAQ ACCORDION ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  background: var(--navy2);
  border: 1px solid #2a4060;
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-list summary {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  transition: color 0.2s;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.3s;
  line-height: 1;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details[open] summary { color: var(--gold); }

.faq-list .faq-body {
  padding: 0 20px 18px;
  color: #c8d8e8;
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ── FOOTER ── */
.site-footer {
  background: #060e18;
  border-top: 2px solid #1d3550;
  padding: 32px 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer p + p { margin-top: 8px; }

/* ────────────────────────────────────────────────
   QUIZ PAGE — quiz.html
   ──────────────────────────────────────────────── */

.quiz-page {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.quiz-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #060e18;
  border-right: 2px solid #1d3550;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  position: sticky;
  top: 0;
  height: 100vh;
}

.quiz-sidebar .sidebar-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  padding-bottom: 16px;
  border-bottom: 1px solid #1d3550;
}

.sidebar-logo a {
  color: var(--gold);
}

.sidebar-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 8px;
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-list button {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-size: 0.9rem;
  transition: all 0.15s;
  font-family: var(--font);
}

.filter-list button:hover {
  background: var(--navy3);
  color: var(--gold);
}

.filter-list button.active {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}

/* AFQT tracker */
.afqt-box {
  background: var(--navy3);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid #2a4060;
}

.afqt-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 700;
}

.afqt-score-display {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  text-align: center;
  margin-bottom: 4px;
}

.afqt-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 12px;
}

.afqt-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.afqt-sub {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.afqt-sub .sub-name { color: var(--muted); }
.afqt-sub .sub-val  { color: var(--white); font-weight: 600; }

/* Session stats */
.session-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.stat-row .s-label { color: var(--muted); }
.stat-row .s-val { font-weight: 700; color: var(--white); }

/* Main quiz area */
.quiz-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
}

.quiz-header {
  background: var(--navy2);
  border-bottom: 1px solid #1d3550;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.quiz-header h1 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.quiz-header .progress-text {
  font-size: 0.85rem;
  color: var(--muted);
}

.quiz-progress-wrap {
  padding: 0 32px;
  background: var(--navy2);
}

.quiz-progress-wrap .quiz-progress-bar {
  margin: 0;
  border-radius: 0;
  height: 4px;
}

.quiz-content {
  flex: 1;
  padding: 48px 32px;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}

.question-number-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 10px;
}

.question-section-tag {
  display: inline-block;
  background: rgba(244,196,48,0.12);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.question-text {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 28px;
  white-space: pre-line;
}

.quiz-answer-grid {
  display: grid;
  gap: 12px;
}

.quiz-answer-btn {
  background: var(--navy3);
  border: 2px solid #2a4060;
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  font-family: var(--font);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.45;
}

.quiz-answer-btn .opt-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: #1d3550;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s;
}

.quiz-answer-btn:hover:not(:disabled) {
  border-color: var(--gold);
  background: #1d3550;
}

.quiz-answer-btn:hover:not(:disabled) .opt-letter {
  background: var(--gold);
  color: var(--navy);
}

.quiz-answer-btn.correct {
  background: rgba(45,106,79,0.25);
  border-color: var(--green2);
}

.quiz-answer-btn.correct .opt-letter {
  background: var(--green2);
  color: #fff;
}

.quiz-answer-btn.incorrect {
  background: rgba(193,18,31,0.2);
  border-color: var(--red2);
}

.quiz-answer-btn.incorrect .opt-letter {
  background: var(--red2);
  color: #fff;
}

.quiz-answer-btn:disabled { cursor: default; }

.quiz-explanation {
  background: rgba(244,196,48,0.08);
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  color: #c8d8e8;
  margin-top: 16px;
  line-height: 1.65;
  display: none;
}

.quiz-explanation.visible { display: block; }

.next-btn-wrap {
  margin-top: 24px;
  display: none;
}
.next-btn-wrap.visible { display: block; }

/* End screen */
.end-screen {
  display: none;
  padding: 48px 32px;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.end-screen.visible { display: block; }

.end-score-hero {
  text-align: center;
  padding: 32px;
  background: var(--navy2);
  border-radius: 16px;
  border: 2px solid var(--gold);
  margin-bottom: 32px;
}

.end-score-hero .big-score {
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
}

.end-score-hero .score-label {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 16px;
  display: block;
}

.afqt-estimate-box {
  background: var(--navy3);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: inline-block;
  margin-bottom: 16px;
}

.afqt-estimate-box .label { font-size: 0.85rem; color: var(--muted); }
.afqt-estimate-box .val { font-size: 1.5rem; font-weight: 800; color: var(--gold); }

.focus-rec {
  background: rgba(193,18,31,0.12);
  border: 1px solid var(--red2);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.95rem;
  color: #ffcdd0;
  margin-bottom: 24px;
}

.focus-rec strong { color: var(--red2); }

.subtest-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.subtest-result-card {
  background: var(--navy2);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid #2a4060;
}

.subtest-result-card .sub-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.subtest-result-card .sub-score {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.subtest-result-card .sub-bar {
  height: 4px;
  background: #1d3550;
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.subtest-result-card .sub-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.8s ease;
}

.bar-good  { background: var(--green2); }
.bar-mid   { background: var(--gold); }
.bar-low   { background: var(--red2); }

/* ── Mobile sidebar toggle ── */
.sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-nav .nav-links { display: none; }

  .hero { padding: 52px 0 44px; }

  .section { padding: 48px 0; }

  .free-quiz-section { padding: 28px 20px; }

  .pricing-card { padding: 32px 24px; }

  .scores-table { font-size: 0.9rem; }
  .scores-table th, .scores-table td { padding: 10px 12px; }

  /* Quiz page mobile */
  .quiz-page { flex-direction: column; }

  .quiz-sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    height: 100vh;
    z-index: 150;
    transition: left 0.3s ease;
    width: 260px;
  }

  .quiz-sidebar.open { left: 0; }

  .quiz-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 140;
  }

  .quiz-sidebar-overlay.visible { display: block; }

  .sidebar-toggle { display: flex; align-items: center; justify-content: center; }

  .quiz-content { padding: 32px 20px; }
  .quiz-header { padding: 16px 20px; }
  .quiz-progress-wrap { padding: 0 20px; }
  .end-screen { padding: 32px 20px; }
}

/* Smooth animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 0.3s ease forwards; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3a5570; }
