.sources-container{
    padding-top: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* --- Catégorie --- */
.project-category {
    width: 80%;
    max-width: 1000px;
    border-radius: 15px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0);
    padding-bottom: 10px;
}

/* Bouton de titre */
.category-toggle {
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 1rem;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}

.category-toggle:hover {
    background: linear-gradient(to right, #ffb73335, #d6840035);
}

/* Contenu déroulant */
.category-content {
    background: rgba(0, 0, 0, 0.7);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.6s ease;
}

/* Quand la catégorie est ouverte */
.project-category.active .category-content {
    max-height: 4000px; /* assez grand pour contenir plusieurs cartes */
    opacity: 1;
}

.project-card {
    display: flex;
    align-items: center;
    background: rgba(20, 19, 19, 0.9);
    border-left: 5px solid #ff8c00;
    border-radius: 15px;
    margin: 1rem;
    padding: 1rem;
    color: white;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(255,165,0,0.3);
}

/* Image du projet */
.project-img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 1.5rem;
}

/* Informations */
.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.project-info {
    display: grid;
    grid-template-rows: auto auto 1fr;  /* nom + auteur + description */
    flex: 1;
    justify-content: start;
    gap: 0.3rem;
}

.project-name {
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

.project-author {
    margin: 0.3rem 0 0 0;
    color: #ccc;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 700px) {
    .project-card {
        flex-direction: column;
        text-align: center;
    }

    .project-img {
        margin: 0 0 1rem 0;
        width: 100%;
        max-width: 250px;
        height: auto;
    }
}

/* Séparation entre catégories */
.category-separator {
    width: 80%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0rem 0 0rem 0;
    /* background-color: aqua; */
}

.category-separator::before,
.category-separator::after {
    content: "";
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255,165,0,0.7), transparent);
    margin: 0 0rem;
    margin-bottom: 0px;
}

/* Responsive */
@media (max-width: 768px) {
    .category-separator::before,
    .category-separator::after {
        margin-bottom: 30px;
    }
}

.category-title {
    font-family: "Lexend", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffa500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 0 5px rgba(0, 0, 0, 1);
    padding-bottom: 2rem;
}

/* Changelog entries */
.changelog-entry {
    padding: 1rem 1.5rem;
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.changelog-entry p {
    margin: 0;
}

.changelog-entry ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
    list-style: none;
}

.changelog-entry li {
    padding: 2px 0;
}

.changelog-entry li::before {
    content: "+ ";
    color: #ff8c00;
    font-weight: 700;
}