.projects-card {
    background: radial-gradient(circle at top left, #020617, #020617);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

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

.github-logo {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #020617;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-soft);
    font-size: 1.1rem;
}

.categories {
    display: grid;
    gap: 0.75rem;
}

.category {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-soft);
    overflow: hidden;
    background: rgba(15, 23, 42, 0.85);
}

.category-toggle {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.category-toggle span.label {
    font-weight: 500;
}

.category-toggle span.chevron {
    font-size: 0.9rem;
    opacity: 0.7;
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
    padding: 0 1rem;
}

.category-content.open {
    padding-bottom: 0.8rem;
    max-height: 700px;
}

.project-button {
    display: block;
    text-decoration: none;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(31, 41, 55, 0.8);
}

.project-button:last-child {
    border-bottom: none;
}

.project-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.project-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.languages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.75rem;
}

.language-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(31, 41, 55, 0.8);
}

.language-color {
    width: 8px;
    height: 8px;
    border-radius: 999px;
}
