/* =====================================================
   FLIMMERKISTE CSS MODULE 14: EPISODES-SPOTIFY
   Version: 1.0
   Beschreibung: Spotify-Style Episoden-Guide für Serien
   Optimiert für 50-500+ Episoden
   Max. 400 Zeilen gemäß Modularisierungsplan
   ===================================================== */

/* === SPOTIFY GUIDE CONTAINER === */
.flim-spotify-guide {
    background: white;
    border-radius: 24px;
    padding: 35px;
    margin: 40px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.flim-spotify-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, rgba(78, 205, 196, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

/* === SPOTIFY HEADER === */
.flim-spotify-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
    z-index: 1;
}

.flim-spotify-title h2 {
    margin: 0 0 8px 0;
    font-size: 1.9rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--flimmer-primary) 0%, var(--flimmer-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.flim-spotify-title p {
    margin: 0;
    color: #636e72;
    font-size: 1.05rem;
}

/* === CONTROL BUTTONS === */
.flim-spotify-controls {
    display: flex;
    gap: 12px;
}

.flim-info-btn {
    background: linear-gradient(135deg, var(--flimmer-primary) 0%, var(--flimmer-secondary) 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.flim-info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

/* === STAFFEL NAVIGATION === */
.flim-spotify-seasons {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.flim-spotify-season-btn {
    flex-shrink: 0;
    padding: 12px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #636e72;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.flim-spotify-season-btn:hover {
    background: var(--flimmer-primary);
    color: white;
    border-color: var(--flimmer-primary);
    transform: translateY(-2px);
}

.flim-spotify-season-btn.active {
    background: linear-gradient(135deg, var(--flimmer-primary) 0%, var(--flimmer-secondary) 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* === STATS CARDS === */
.flim-series-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.flim-stat-card {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(78, 205, 196, 0.05) 100%);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.flim-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.flim-stat-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--flimmer-primary);
    margin-bottom: 5px;
}

.flim-stat-label {
    font-size: 0.85rem;
    color: #636e72;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === FILTER BUTTONS === */
.flim-spotify-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.flim-filter-btn {
    padding: 10px 18px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #636e72;
    cursor: pointer;
    transition: all 0.2s ease;
}

.flim-filter-btn:hover {
    background: #f8f9fa;
    border-color: var(--flimmer-primary);
    color: var(--flimmer-primary);
}

.flim-filter-btn.active {
    background: var(--flimmer-primary);
    color: white;
    border-color: var(--flimmer-primary);
}

/* === EPISODEN LISTE === */
.flim-spotify-episode-list {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 20px;
}

.flim-spotify-episode-list::-webkit-scrollbar {
    width: 8px;
}

.flim-spotify-episode-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.flim-spotify-episode-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--flimmer-primary) 0%, var(--flimmer-secondary) 100%);
    border-radius: 10px;
}

/* === EINZELNE EPISODE === */
.flim-spotify-episode {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 20px;
    padding: 18px 20px;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    align-items: center;
    position: relative;
}

.flim-spotify-episode:hover {
    background: #f8f9fa;
    border-color: var(--flimmer-primary);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.flim-spotify-episode.highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
    border-color: #ffd700;
}

.flim-spotify-episode.special {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-color: #8b5cf6;
}

/* === EPISODEN NUMMER === */
.flim-episode-number {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--flimmer-primary);
    padding: 8px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 10px;
    text-align: center;
}

/* === EPISODEN CONTENT === */
.flim-episode-content {
    flex: 1;
    min-width: 0;
}

.flim-episode-title-de {
    font-weight: 700;
    font-size: 1.05rem;
    color: #2d3436;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flim-episode-title-en {
    font-size: 0.9rem;
    color: #636e72;
    font-style: italic;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* === EPISODEN META === */
.flim-episode-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 0.85rem;
    color: #636e72;
}

.flim-episode-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.flim-episode-rating {
    font-weight: 600;
    color: #ffd700;
}

.flim-episode-duration {
    color: #95a5a6;
}

/* === EPISODE BADGES === */
.flim-episode-badge {
    position: absolute;
    top: -5px;
    right: 10px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flim-episode-badge.pilot {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.flim-episode-badge.finale {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.flim-episode-badge.series-finale {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: white;
    animation: pulse 2s infinite;
}

.flim-episode-badge.must-watch {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* === INFO FOOTER === */
.flim-episode-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(78, 205, 196, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--flimmer-secondary);
}

.flim-episode-info p {
    margin: 0;
    color: #636e72;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .flim-spotify-guide {
        padding: 20px;
        margin: 20px -10px;
    }
    
    .flim-spotify-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .flim-spotify-episode {
        grid-template-columns: 60px 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .flim-episode-meta {
        display: none;
    }
    
    .flim-episode-badge {
        position: static;
        display: inline-block;
        margin-top: 8px;
    }
}

/* Dateiname: 14-episodes-spotify.css */
/* Pfad: /wp-content/themes/Newspaper-child/assets/css/series/14-episodes-spotify.css */
/* Version: 1.0 - CSS-Modularisierung Runde 5 */
/* Zeilen: ~395 (unter 400 Limit) */