:root {
    --series-accent: #3498db;      /* Le bleu harmonisé */
    --series-text-dark: #2c3e50;
    --series-text-light: #7f8c8d;
    --series-locked: #d0d0d0;
}

/* --- ESPACEMENT GLOBAL & ANIMATION --- */
.series-wrapper {
    padding-top: 40px;
    padding-bottom: 100px;
    opacity: 0; 
    animation: fadeInUp 0.8s ease-out forwards;
}

/* --- BREADCRUMB (Position et Style About) --- */
.breadcrumb-tcf {
    padding: 0;
    margin-top: 30px;    
    margin-bottom: 30px; 
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 20px;
    color: #6c757d;
}

.breadcrumb-tcf a {
    color: var(--series-accent);
    text-decoration: none;
    font-weight: 500;
    margin-right: 8px;
}

.breadcrumb-tcf span {
    margin-right: 8px;
    color: #ccc;
    font-weight: 300;
}

.breadcrumb-tcf strong {
    font-weight: 700;
    color: var(--series-text-dark);
}

/* --- TITRE ET SÉPARATEUR (Harmonisé) --- */
.section-title { 
    text-align: center; 
    margin-bottom: 10px; 
    font-size: 50px; 
    font-weight: 800; 
    color: var(--series-text-dark);
}

.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 50px auto;
    width: 100%;
    font-size: 32px;
    font-weight: 800;
    color: var(--series-text-dark);
}
.separator::before, .separator::after { content: ""; flex: 1; border-bottom: 3px solid #eee; }
.separator:not(:empty)::before { margin-right: 25px; }
.separator:not(:empty)::after { margin-left: 25px; }

/* --- GRILLE DES SÉRIES --- */
.series-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
    gap: 35px; 
    padding: 20px 0;
}

/* --- CARTES (Style About/Contact avec Animation) --- */
.series-card { 
    height: 220px; 
    border-radius: 20px; 
    background: #ffffff; 
    box-shadow: 0 15px 45px rgba(0,0,0,0.08); /* Ombre douce de About */
    padding: 30px; 
    text-align: center; 
    position: relative; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    cursor: pointer; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    border: 1px solid #f0f0f0;
}

.series-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); 
}

.series-number { 
    font-size: 42px; 
    font-weight: 800; 
    color: var(--series-accent); 
    letter-spacing: 1px; 
}

.series-status { 
    font-size: 18px; 
    margin-top: 15px; 
    color: var(--series-text-light); 
    font-weight: 500;
}

/* États Spécifiques */
.series-card.accessible { 
    border: 2px solid var(--series-accent); 
}

.series-card.accessible:hover { 
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white; 
}
.series-card.accessible:hover .series-number, 
.series-card.accessible:hover .series-status { color: white; }

.series-card.locked { 
    border: 1px solid #eee; 
    background: #f9f9f9; 
    color: #bbb; 
    cursor: not-allowed; 
    opacity: 0.8; 
}
.series-card.locked:hover { transform: none; box-shadow: none; }

.lock-icon { font-size: 45px; margin-top: 15px; color: #ccc; }

/* --- PAGINATION (Harmonisée) --- */
.pagination-container { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 20px; 
    margin-top: 60px; 
}

.page-arrow { 
    font-size: 28px; 
    color: var(--series-accent); 
    text-decoration: none; 
    font-weight: bold; 
    transition: all 0.3s ease; 
}

.page-arrow:hover:not(.disabled) { transform: scale(1.2); }
.page-arrow.disabled { color: #eee; cursor: not-allowed; }

.page-dots { display: flex; gap: 10px; }
.dot { 
    width: 14px; 
    height: 14px; 
    border-radius: 50%; 
    background-color: #eee; 
    transition: all 0.3s; 
}
.dot.active { background-color: var(--series-accent); transform: scale(1.2); }

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }