.syllabus-card details {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.syllabus-card summary {
  cursor: pointer;
  padding: 16px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  background: linear-gradient(135deg, var(--card-bg), #1A222E);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.syllabus-card summary::after {
  content: '+';
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.syllabus-card details[open] summary::after {
  content: '-';
  transform: rotate(180deg);
}

.syllabus-card details[open] summary {
  border-bottom: 1px solid var(--border);
}

.syllabus-card .syllabus-content {
  padding: 16px;
  color: var(--muted);
  animation: fadeIn 0.3s ease-in-out;
}

.syllabus-card .syllabus-content h2,
.syllabus-card .syllabus-content h3 {
  color: var(--text);
  margin-top: 0;
}

.syllabus-card .syllabus-content ul {
  padding-left: 20px;
  margin: 12px 0;
}

.syllabus-card .syllabus-content code {
  background: #0f1520;
  padding: 2px 6px;
  border-radius: 6px;
  font-family: ui-monospace, monospace;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}