/* --- Kategori / Sezon Sayfası Modern Header Tasarımı --- */
.modern-series-header {
    position: relative;
    padding: 0;
    margin-bottom: 2rem;
    background: #151719;
    border-radius: 12px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center; /* Ortaya hizalama */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.series-header-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.3;
    filter: blur(8px) saturate(1.2);
    transform: scale(1.05);
    z-index: 1;
}

.series-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(21,23,25,1) 0%, rgba(21,23,25,0.8) 50%, rgba(21,23,25,0.4) 100%);
    z-index: 2;
}

.series-header-content {
    position: relative;
    z-index: 3;
    display: flex;
    padding: 40px;
    width: 100%;
    align-items: center; /* Ortaya hizalama */
    gap: 40px;
}

.series-poster {
    margin: 0 !important;
    flex-shrink: 0 !important;
    width: 180px !important;
    height: auto !important; /* Temadaki .category-cover height: 50px kuralını ezer */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    line-height: 0;
}

.series-poster:hover {
    transform: translateY(-5px); /* Aşağı değil, hafif yukarı kalkma efekti */
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.series-poster img {
    width: 100% !important;
    height: auto !important; /* Temadaki height: 50px kuralını ezer */
    display: block;
    aspect-ratio: 2/3;
    object-fit: cover;
    margin: 0 !important;
}

.series-info {
    flex-grow: 1;
}

.series-info .cat-title {
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.series-info .cat-title a {
    color: #fff;
    transition: color 0.2s;
}

.series-info .cat-title a:hover {
    color: #e50914; /* Netflix tarzı kırmızı veya tema renginiz */
}

.season-badge {
    background: rgba(229, 9, 20, 0.85); /* Şık yarı şeffaf kırmızı */
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(229, 9, 20, 0.3);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    display: inline-block;
}

.modern-story-wrapper {
    margin-top: 0 !important;
}

.series-description {
    color: rgba(255,255,255,0.7) !important;
    font-size: 15px;
    line-height: 1.6;
    max-width: 900px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.series-description p {
    margin-bottom: 10px; /* Paragraflar arası biraz boşluk bırakalım */
}
.series-description p:last-child {
    margin-bottom: 0;
}

/* --- Mobil Uyumluluk (Responsive) --- */
@media (max-width: 768px) {
    .modern-series-header {
        min-height: auto;
        align-items: flex-start;
        border-radius: 0;
    }
    
    .series-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 20px 20px 20px;
        gap: 20px;
    }
    
    .series-poster {
        width: 140px;
        transform: translateY(0);
    }
    
    .series-poster:hover {
        transform: translateY(0);
    }
    
    .series-info {
        padding-bottom: 0;
    }
    
    .series-info .cat-title {
        font-size: 24px;
        margin-bottom: 10px;
        justify-content: center; /* Mobilde ortala */
    }
    
    .season-badge {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    .series-description {
        font-size: 14px;
    }
}