@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Merriweather:wght@400;700&display=swap');

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --background: hsl(210 20% 97%);
  --foreground: hsl(215 50% 15%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(215 50% 15%);
  --primary: hsl(215 55% 22%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(88 52% 50%);
  --secondary-foreground: hsl(0 0% 100%);
  --muted: hsl(210 15% 93%);
  --muted-foreground: hsl(215 14% 46%);
  --accent: hsl(199 58% 55%);
  --accent-foreground: hsl(0 0% 100%);
  --destructive: hsl(0 72% 55%);
  --border: hsl(210 15% 88%);
  --radius: 0.625rem;
  --warning: hsl(38 92% 50%);
  --gradient-hero: linear-gradient(135deg, hsl(215 55% 22%), hsl(199 58% 55%));
  --gradient-health: linear-gradient(135deg, hsl(88 52% 50%), hsl(120 40% 42%));
  --shadow-card: 0 1px 3px hsl(215 50% 15% / 0.06), 0 4px 12px hsl(215 50% 15% / 0.04);
  --shadow-card-hover: 0 4px 16px hsl(215 50% 15% / 0.1), 0 8px 24px hsl(215 50% 15% / 0.06);
  --shadow-hero: 0 8px 32px hsl(215 55% 22% / 0.2);
  --font-heading: 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-article: 'Merriweather', Georgia, serif;
}

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

/* ============ UTILITIES ============ */
.container { max-width: 1200px; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }
.shrink-0 { flex-shrink: 0; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden { display: none; }
.w-full { width: 100%; }
.min-w-0 { min-width: 0; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
  .sm-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm-flex { display: flex; }
  .sm-hidden { display: none; }
  .sm-block { display: block; }
}

@media (min-width: 768px) {
  .md-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md-flex-row { flex-direction: row; }
}

@media (min-width: 1024px) {
  .lg-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg-flex { display: flex; }
  .lg-hidden { display: none; }
  .lg-col-span-2 { grid-column: span 2; }
}

/* ============ COMPONENTS ============ */
.gradient-hero { background: var(--gradient-hero); }
.gradient-health { background: var(--gradient-health); }

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { box-shadow: var(--shadow-card-hover); }
.card-content { padding: 1.25rem; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}
.badge-secondary { background: var(--muted); color: var(--muted-foreground); }
.badge-outline { border: 1px solid var(--border); color: var(--muted-foreground); background: transparent; }
.badge-fact { background: var(--secondary); color: var(--secondary-foreground); font-weight: 700; }
.badge-fake { background: var(--destructive); color: hsl(0 0% 100%); font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { opacity: 0.9; }
.btn-hero {
  background: var(--primary-foreground);
  color: var(--primary);
  box-shadow: var(--shadow-hero);
  font-weight: 600;
}
.btn-hero:hover { opacity: 0.9; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}
.btn-outline:hover { background: var(--muted); }
.btn-ghost { background: transparent; border: none; color: var(--muted-foreground); }
.btn-ghost:hover { background: var(--muted); color: var(--foreground); }
.btn-hero-outline {
  background: transparent;
  border: 1px solid hsl(0 0% 100% / 0.3);
  color: var(--primary-foreground);
}
.btn-hero-outline:hover {
  background: var(--primary-foreground);
  color: var(--primary);
  border-color: var(--primary-foreground);
}
.btn-lg { padding: 0.625rem 2rem; font-size: 0.9375rem; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }
.btn-icon { padding: 0.5rem; width: 2.25rem; height: 2.25rem; }

.icon-box {
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.input {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  background: var(--card);
  color: var(--foreground);
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
.input:focus { border-color: var(--primary); }
.input-with-icon { padding-left: 2.5rem; }

.separator { height: 1px; background: var(--border); width: 100%; }

/* ============ TYPOGRAPHY ============ */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-foreground { color: var(--foreground); }
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-primary-fg { color: var(--primary-foreground); }
.text-secondary { color: var(--secondary); }
.text-destructive { color: var(--destructive); }
.text-warning { color: var(--warning); }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============ TOP BAR ============ */
.top-bar {
  background: var(--gradient-hero);
  padding: 0.375rem 0;
}
.top-bar a { color: hsl(0 0% 100% / 0.7); transition: color 0.2s; }
.top-bar a:hover { color: hsl(0 0% 100%); }

/* ============ HEADER ============ */
.header {
  background: var(--card);
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.logo img { height: 2.5rem; width: auto; }
.nav-desktop { display: none; }
.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  color: var(--muted-foreground);
  transition: all 0.2s;
}
.nav-link:hover { color: var(--foreground); background: var(--muted); }
.nav-link.active { color: var(--primary); background: hsl(215 55% 22% / 0.1); }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; align-items: center; gap: 0.25rem; }
  .mobile-menu-btn { display: none; }
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 0.75rem 1rem;
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu .nav-link { display: flex; align-items: center; justify-content: space-between; padding: 0.625rem 0.75rem; }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.1) contrast(1.05); }
.hero-overlay-1 { position: absolute; inset: 0; mix-blend-mode: multiply; background: hsl(215 55% 30% / 0.55); }
.hero-overlay-2 { position: absolute; inset: 0; mix-blend-mode: soft-light; background: linear-gradient(to bottom right, hsl(199 58% 55% / 0.4), hsl(88 52% 50% / 0.35)); }
.hero-overlay-3 { position: absolute; inset: 0; background: linear-gradient(to right, hsl(215 55% 15% / 0.75), hsl(215 55% 20% / 0.5), hsl(88 52% 40% / 0.15)); }
.hero-content { position: relative; z-index: 10; padding: 4rem 0; max-width: 48rem; }
.hero h1 { font-size: 2.25rem; line-height: 1.15; color: var(--primary-foreground); font-weight: 700; margin-bottom: 1.5rem; }
.hero h1 span { color: hsl(0 0% 100% / 0.8); }
.hero p { color: hsl(0 0% 100% / 0.75); font-size: 1.125rem; line-height: 1.7; margin-bottom: 2rem; max-width: 42rem; }

@media (min-width: 768px) {
  .hero { min-height: 560px; }
  .hero h1 { font-size: 3rem; }
  .hero-content { padding: 6rem 0; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 3.75rem; }
}

/* ============ PAGE HERO (small) ============ */
.page-hero { background: var(--gradient-hero); padding: 3rem 0; }
.page-hero h1 { color: var(--primary-foreground); font-size: 1.875rem; font-weight: 700; margin-bottom: 0.5rem; }
.page-hero p { color: hsl(0 0% 100% / 0.75); max-width: 42rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 2.25rem; } }

/* ============ STATS ============ */
.stats-section { margin-top: -2rem; position: relative; z-index: 10; }
.stat-card .card-content { padding: 1rem 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.stat-value { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--foreground); }
@media (min-width: 768px) { .stat-value { font-size: 1.5rem; } }

/* ============ NEWS CARDS ============ */
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover img { transform: scale(1.05); }
.news-card h3 { transition: color 0.2s; }
.news-card:hover h3 { color: var(--primary); }
.aspect-video { aspect-ratio: 16/9; overflow: hidden; }
.news-thumb { width: 5rem; height: 5rem; border-radius: 0.5rem; overflow: hidden; flex-shrink: 0; }

/* ============ QUICK ACCESS ============ */
.quick-section { background: hsl(210 15% 93% / 0.5); padding: 4rem 0; }
.quick-card .icon-area { padding: 1.5rem; display: flex; align-items: center; justify-content: center; }
.quick-card .icon-area svg { width: 48px; height: 48px; color: var(--primary-foreground); }
.quick-card:hover h3 { color: var(--primary); }

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  text-align: center;
}

/* ============ TABS ============ */
.tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  background: var(--muted);
  padding: 0.25rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}
.tab-trigger {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tab-trigger.active { background: var(--primary); color: var(--primary-foreground); }
.tab-trigger:hover:not(.active) { background: hsl(210 15% 88%); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============ FILTER BUTTONS ============ */
.filter-btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.filter-btn.active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.filter-btn:hover:not(.active) { background: var(--muted); }

/* ============ MYTH CARD ============ */
.myth-card { border-left: 4px solid var(--destructive); }
.fact-card { border-left: 4px solid var(--secondary); }

/* ============ ARTICLE BODY ============ */
.article-body { font-family: var(--font-article); line-height: 1.8; }
.article-body p { margin-bottom: 1.5rem; color: hsl(215 50% 15% / 0.85); }
.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 0.5rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted-foreground);
  background: hsl(210 15% 93% / 0.5);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============ VACCINE DETAIL ============ */
.vaccine-info-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .vaccine-info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vaccine-info-grid { grid-template-columns: repeat(4, 1fr); } }

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}
.detail-list .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}
.dot-red { background: var(--destructive); }
.dot-yellow { background: var(--warning); }
.dot-green { background: var(--secondary); }

/* ============ MAP ============ */
.map-container { min-height: 400px; border-radius: var(--radius); overflow: hidden; }

/* ============ FOOTER ============ */
.footer {
  background: var(--foreground);
  color: hsl(0 0% 100% / 0.8);
  margin-top: 4rem;
  padding: 3rem 0;
}
.footer h4 { color: var(--primary-foreground); font-weight: 600; margin-bottom: 0.75rem; }
.footer a { color: hsl(0 0% 100% / 0.6); font-size: 0.875rem; transition: color 0.2s; }
.footer a:hover { color: hsl(0 0% 100%); }
.footer-bottom {
  border-top: 1px solid hsl(0 0% 100% / 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: hsl(0 0% 100% / 0.4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============ BREADCRUMB ============ */
.breadcrumb {
  background: hsl(210 15% 93% / 0.5);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.breadcrumb a:hover { color: var(--foreground); }

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeIn 0.4s ease forwards; }

/* ============ INSIGHT CARDS ============ */
.insight-warning { border-left: 4px solid var(--warning); }
.insight-danger { border-left: 4px solid var(--destructive); }
.insight-success { border-left: 4px solid var(--secondary); }

/* ============ SVG ICONS (inline placeholders) ============ */
.icon { display: inline-flex; align-items: center; justify-content: center; }

/* ============ CUSTOM VARIABLES (aliases) ============ */
:root {
  --success: hsl(88 52% 50%);
  --accent-fg: hsl(0 0% 100%);
  --primary-fg: hsl(0 0% 100%);
  --muted-fg: hsl(215 14% 46%);
}

/* ============ QUIZ (Mitos e Verdades) ============ */
.quiz-card { background: var(--card); border-radius: 0.75rem; box-shadow: var(--shadow-card); overflow: hidden; transition: box-shadow 0.3s; }
.quiz-card:hover { box-shadow: var(--shadow-card-hover); }
.quiz-bar { height: 6px; }
.quiz-bar.neutral { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.quiz-bar.correct { background: var(--success); }
.quiz-bar.wrong { background: var(--destructive); }
.quiz-body { padding: 1.5rem 2rem; }
.quiz-label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--muted-fg); margin-bottom: 1rem; font-weight: 600; }
.quiz-statement { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; line-height: 1.4; margin-bottom: 2rem; color: var(--foreground); }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.quiz-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem; border: 2px solid var(--border); border-radius: 0.5rem; background: transparent; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s; color: var(--foreground); font-family: var(--font-body); }
.quiz-btn:hover { transform: translateY(-1px); }
.quiz-btn.fact-btn:hover { border-color: var(--success); background: rgba(124,179,66,0.1); color: var(--success); }
.quiz-btn.fake-btn:hover { border-color: var(--destructive); background: rgba(211,47,47,0.1); color: var(--destructive); }
.quiz-btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.quiz-feedback { padding: 1rem; border-radius: 0.75rem; margin-bottom: 1rem; }
.quiz-feedback.correct-fb { background: rgba(124,179,66,0.1); border: 1px solid rgba(124,179,66,0.2); }
.quiz-feedback.wrong-fb { background: rgba(211,47,47,0.1); border: 1px solid rgba(211,47,47,0.2); }
.quiz-next { width: 100%; padding: 0.75rem; border: none; border-radius: 0.5rem; background: var(--primary); color: var(--primary-fg); font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background 0.2s; font-family: var(--font-body); }
.quiz-next:hover { opacity: 0.9; }
.quiz-progress { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; font-size: 0.875rem; color: var(--muted-fg); }
.progress-track { width: 100%; height: 8px; background: var(--muted); border-radius: 4px; overflow: hidden; margin-top: 0.5rem; }
.progress-fill { height: 100%; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 4px; transition: width 0.4s ease; }
.result-card { text-align: center; }
.result-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.result-score { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.5rem; }
.result-circles { display: flex; justify-content: center; gap: 2rem; margin: 1.5rem 0; }
.result-circle { text-align: center; }
.result-circle-icon { width: 4rem; height: 4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.25rem; font-size: 1.5rem; }
.result-circle-icon.green { background: rgba(124,179,66,0.15); }
.result-circle-icon.red { background: rgba(211,47,47,0.15); }

/* ============ HERO STATS ============ */
.hero-stats { display: flex; gap: 1rem; margin-top: 1.5rem; }
.hero-stat { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border-radius: 0.75rem; padding: 0.75rem 1.25rem; border: 1px solid rgba(255,255,255,0.1); }
.hero-stat-number { font-size: 1.25rem; font-weight: 700; color: var(--primary-fg); }
.hero-stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.6); margin-top: 0.125rem; }

/* ============ SECTION TITLES ============ */
.section-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; text-align: center; color: var(--foreground); margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: var(--muted-fg); font-size: 0.875rem; margin-bottom: 2rem; }
.quiz-badge { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.8rem; font-weight: 700; background: var(--accent); color: var(--accent-fg); margin-bottom: 0.75rem; }

/* ============ REFERENCE SECTION (Mitos e Verdades) ============ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 1.5rem; max-width: 48rem; margin-left: auto; margin-right: auto; }
.filter-bar input { flex: 1; min-width: 200px; padding: 0.5rem 0.75rem 0.5rem 2.25rem; border: 1px solid var(--border); border-radius: 0.5rem; background: var(--card); font-size: 0.875rem; color: var(--foreground); outline: none; font-family: var(--font-body); }
.filter-bar input::placeholder { color: var(--muted-fg); }
.filter-bar input:focus { border-color: var(--primary); }
.search-wrap { position: relative; flex: 1; min-width: 200px; }
.search-wrap::before { content: "🔍"; position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); font-size: 0.8rem; }
.ref-card { border-radius: 0.75rem; overflow: hidden; box-shadow: var(--shadow-card); background: var(--card); transition: all 0.3s; cursor: pointer; }
.ref-card:hover { box-shadow: var(--shadow-card-hover); }
.ref-card .color-bar { height: 4px; }
.ref-card .color-bar.green { background: var(--success); }
.ref-card .color-bar.red { background: var(--destructive); }
.ref-body { padding: 1.25rem 1.5rem; }
.ref-header { display: flex; align-items: flex-start; gap: 1rem; }
.ref-icon-circle { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.ref-icon-circle.green { background: rgba(124,179,66,0.15); }
.ref-icon-circle.red { background: rgba(211,47,47,0.15); }
.ref-expand { margin-left: auto; flex-shrink: 0; font-size: 1.25rem; color: var(--muted-fg); transition: transform 0.3s; }
.ref-expand.open { transform: rotate(180deg); }
.ref-detail { overflow: hidden; max-height: 0; opacity: 0; transition: all 0.3s; }
.ref-detail.open { max-height: 500px; opacity: 1; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.disclaimer-box { margin-top: 3rem; padding: 1rem; background: var(--muted); border-radius: 0.5rem; border: 1px solid var(--border); text-align: center; max-width: 48rem; margin-left: auto; margin-right: auto; }
.disclaimer-box p { font-size: 0.75rem; color: var(--muted-fg); margin: 0; }

/* ============ RESPONSIVE — QUIZ ============ */
@media (max-width: 640px) {
  .quiz-body { padding: 1.25rem; }
  .quiz-statement { font-size: 1.1rem; }
  .quiz-options { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 0.5rem; }
  .result-circles { gap: 1rem; }
}

/* ============ SPIN ANIMATION ============ */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
