/* Éléments d'animation pour l'arrière-plan */
.shooting-star-1, .shooting-star-2, .shooting-star-3,
.pulsating-star-1, .pulsating-star-2, .pulsating-star-3, 
.pulsating-star-4, .pulsating-star-5 {
    position: fixed;
    z-index: 0;
    pointer-events: none;
}

/* Ajout des éléments d'animation au début du body */
body.page-template-template-team-single::before {
    content: '';
    display: block;
}

/* Ajout des étoiles filantes */
body.page-template-template-team-single .shooting-star-1 {
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue) 50%, transparent);
    border-radius: 50%;
    box-shadow: 0 0 10px 1px var(--accent-blue);
    animation: shooting-star-1 15s linear infinite;
}

body.page-template-template-team-single .shooting-star-2 {
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue) 50%, transparent);
    border-radius: 50%;
    box-shadow: 0 0 10px 1px var(--accent-blue);
    animation: shooting-star-2 20s linear infinite;
}

body.page-template-template-team-single .shooting-star-3 {
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue) 50%, transparent);
    border-radius: 50%;
    box-shadow: 0 0 10px 1px var(--accent-blue);
    animation: shooting-star-3 25s linear infinite;
}

/* Étoiles pulsantes */
body.page-template-template-team-single .pulsating-star-1,
body.page-template-template-team-single .pulsating-star-2,
body.page-template-template-team-single .pulsating-star-3,
body.page-template-template-team-single .pulsating-star-4,
body.page-template-template-team-single .pulsating-star-5 {
    width: 3px;
    height: 3px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 8px 2px var(--accent-blue);
}

body.page-template-template-team-single .pulsating-star-1 {
    top: 15%;
    left: 10%;
    animation: star-pulse 3s ease-in-out infinite;
}

body.page-template-template-team-single .pulsating-star-2 {
    top: 25%;
    left: 85%;
    animation: star-pulse 4s ease-in-out infinite 0.5s;
}

body.page-template-template-team-single .pulsating-star-3 {
    top: 65%;
    left: 20%;
    animation: star-pulse 5s ease-in-out infinite 1s;
}

body.page-template-template-team-single .pulsating-star-4 {
    top: 80%;
    left: 75%;
    animation: star-pulse 4.5s ease-in-out infinite 1.5s;
}

body.page-template-template-team-single .pulsating-star-5 {
    top: 40%;
    left: 50%;
    animation: star-pulse 3.5s ease-in-out infinite 2s;
}

/* Responsive design amélioré */

@media (max-width: 992px) {


    .team-banner-container {
        height: 300px;
    }
    
    .team-logo {
        width: 150px;
        height: 150px;
    }
    
    .team-logo-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .team-title {
        font-size: 2rem;
    }
    
    .manga-grid, .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .team-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .team-banner-container {
        height: 250px;
    }
    
    .manga-results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .manga-sort {
        width: 100%;
    }
    
    
    .planet {
        width: 80px;
        height: 80px;
        right: 60px;
    }
    
    .planet-rings {
        width: 120px;
        height: 25px;
        right: 40px;
    }
}

@media (max-width: 576px) {
    .team-banner-container {
        height: 200px;
    }
    
 
    .team-logo {
        width: 120px;
        height: 120px;
    }
    
    .team-logo-placeholder {
        width: 120px;
        height: 120px;
        font-size: 2rem;
    }
    
    .team-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    
    .manga-thumbnail {
        height: 200px;
    }
    
    .planet {
        width: 60px;
        height: 60px;
        top: 40px;
        right: 40px;
    }
    
    .planet-rings {
        width: 90px;
        height: 20px;
        top: 60px;
        right: 25px;
    }
    
    .rocket {
        width: 30px;
        height: 60px;
        left: 40px;
        top: 50px;
    }
    
    .team-section {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .team-banner-container {
        height: 180px;
    }
    
    
    .team-logo {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }
    
    .team-logo-placeholder {
        width: 100px;
        height: 100px;
        font-size: 1.8rem;
        border-width: 3px;
    }
    
    .team-title {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .manga-thumbnail {
        height: 180px;
    }
    
    .manga-title, .article-title {
        font-size: 0.9rem;
    }
    
    .manga-meta, .article-meta {
        font-size: 0.8rem;
    }
    
    .planet {
        width: 50px;
        height: 50px;
        top: 35px;
        right: 30px;
    }
    
    .planet-rings {
        width: 75px;
        height: 15px;
        top: 52px;
        right: 18px;
    }
    
    .rocket {
        width: 25px;
        height: 50px;
        left: 30px;
        top: 40px;
    }
}

/* Ajustements pour les très petits écrans */
@media (max-width: 360px) {
    .team-banner-container {
        height: 150px;
    }
    
    .team-logo {
        width: 80px;
        height: 80px;
    }
    
    .team-logo-placeholder {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .team-title {
        font-size: 1.1rem;
    }
    
    
    .manga-thumbnail {
        height: 200px;
    }
}
