/*.see-all {
    color: #e67e22;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.content-container {
    padding: 0 1rem 2rem 1rem;
    margin-left: 2rem;
    margin-right: 2rem;
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.content-item {
    width: calc(20% - 0.8rem);
    aspect-ratio: 2/3;
    background-color: #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .content-item {
        width: calc(25% - 0.75rem);
    }
}

@media (max-width: 900px) {
    .content-item {
        width: calc(33.333% - 0.667rem);
    }
}

@media (max-width: 700px) {
    .content-item {
        width: calc(50% - 0.5rem);
    }
}

@media (max-width: 450px) {
    .content-item {
        width: 100%;
    }
}

.content-item:hover {
    transform: scale(1.05);
}

.content-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    font-weight: bold;
    font-size: 1.2rem;
    padding: 0.5rem;
}


.content-item-date {
    font-weight: normal;
    font-size: 0.9rem;
}


#filmSearch, #serieSearch {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: 2px solid #3fa46a;
    border-radius: 12px;
    background-color: #1c1f1e;
    color: #fff;
    margin-left: auto;
    margin-top: 0.5rem;
    margin-right: 1rem;
    box-shadow: 0 0 5px rgba(63, 164, 106, 0.5);
    transition: all 0.3s ease;
}

#filmSearch:focus, #serieSearch:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(63, 164, 106, 0.8);
    border-color: #50d18d;
}
*/

/* index.css - version améliorée */
.see-all {
    color: #e67e22;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.2s ease;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
}

.see-all:hover {
    color: #f39c4d;
    transform: translateX(3px);
    background-color: rgba(230, 126, 34, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(63, 164, 106, 0.3);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e67e22;
    text-shadow: 0 0 10px rgba(230, 126, 34, 0.3);
    position: relative;
    padding-left: 0.6rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 3px;
    background-color: #3fa46a;
    border-radius: 2px;
}

.content-container {
    padding: 0 1rem 2rem 1rem;
    margin-left: 2rem;
    margin-right: 2rem;
    background-color: rgba(26, 26, 26, 0.4);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(63, 164, 106, 0.2);
    margin-bottom: 2rem;
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: flex-start;
    padding: 1rem 0.5rem;
}

.content-item {
    width: calc(20% - 1rem); /* 5 items per row with a bit more gap */
    aspect-ratio: 2/3;
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
}

.content-item:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border-color: #3fa46a;
}

.content-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.content-item:hover img {
    filter: brightness(1.1);
}

.content-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    font-weight: bold;
    font-size: 1.2rem;
    padding: 1rem 0.8rem 0.8rem;
    transition: background 0.3s ease, transform 0.3s ease, padding-top 0.3s ease;
}

.content-item:hover .content-item-title {
    background: linear-gradient(transparent, rgba(10, 45, 23, 0.95));
    padding-top: 75%;
    transition: padding-top 0.3s ease, transform 0.3s ease;
}

.content-item-date {
    font-weight: normal;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.3rem;
    color: #ccc;
}

#filmSearch, #serieSearch {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border: 2px solid #3fa46a;
    border-radius: 12px;
    background-color: rgba(28, 31, 30, 0.8);
    color: #fff;
    margin-left: auto;
    margin-top: 0.5rem;
    margin-right: 1rem;
    box-shadow: 0 0 8px rgba(63, 164, 106, 0.4);
    transition: all 0.3s ease;
    width: 250px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%233fa46a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>');
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    padding-right: 35px;
}

#filmSearch:focus, #serieSearch:focus {
    outline: none;
    box-shadow: 0 0 12px rgba(63, 164, 106, 0.8);
    border-color: #50d18d;
    background-color: rgba(28, 31, 30, 1);
    width: 300px;
}

#filmSearch::placeholder, #serieSearch::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Media queries améliorés pour rendre la grille responsive */
@media (max-width: 1400px) {
    .content-item {
        width: calc(25% - 1rem); /* 4 items per row */
    }
}

@media (max-width: 1100px) {
    .content-item {
        width: calc(33.333% - 1rem); /* 3 items per row */
    }

    .content-container {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

@media (max-width: 768px) {
    .content-item {
        width: calc(50% - 0.8rem); /* 2 items per row */
    }

    .section-title {
        font-size: 1.5rem;
    }

    #filmSearch, #serieSearch {
        width: 180px;
    }

    #filmSearch:focus, #serieSearch:focus {
        width: 220px;
    }

    .content-container {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        padding: 0 0.5rem 1.5rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .content-item {
        width: 100%; /* 1 item per row */
        max-width: 300px;
        margin: 0 auto;
    }

    .content-grid {
        justify-content: center;
    }

    #filmSearch, #serieSearch {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .see-all {
        align-self: flex-end;
    }
}

/* Nouvelles classes pour une animation de chargement */
.content-item.loading {
    animation: loading-pulse 1.5s infinite alternate ease-in-out;
}

@keyframes loading-pulse {
    0% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.9;
    }
}

/* Classe pour la barre de navigation actuelle */
.nav-menu a.active {
    color: #e67e22;
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3fa46a;
    border-radius: 2px;
}