* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --secondary: #00cec9;
    --accent: #fd79a8;
    --bg-dark: #0a0a1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #25253e;
    --text: #ffffff;
    --text-muted: #a0a0b0;
    --gradient: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    direction: rtl;
}

.hero {
    position: relative;
    height: 400px;
    background: url('https://images.unsplash.com/photo-1578632767115-351597cf2477?w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,26,0.7) 0%, rgba(10,10,26,1) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 60px rgba(108,92,231,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    position: sticky;
    top: 0;
    background: rgba(10,10,26,0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(108,92,231,0.2);
}

.tab {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    background: var(--bg-card);
    color: var(--text-muted);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tab:hover {
    background: var(--bg-card-hover);
    color: var(--text);
}

.tab.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(108,92,231,0.4);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.season-section {
    margin-bottom: 3rem;
}

.season-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-right: 1rem;
    border-right: 4px solid var(--primary);
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.episode-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(108,92,231,0.1);
    cursor: pointer;
}

.episode-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(108,92,231,0.2);
}

.episode-thumbnail {
    width: 100%;
    height: 170px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.episode-thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1578632767115-351597cf2477?w=600') center/cover;
    opacity: 0.3;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.episode-card:hover .play-icon {
    background: var(--primary);
    transform: scale(1.1);
}

.play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent white;
    margin-right: -3px;
}

.episode-info {
    padding: 1.2rem;
}

.episode-number {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.episode-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.episode-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.episode-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(108,92,231,0.1);
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab {
        width: 100%;
        max-width: 300px;
    }
    
    .episodes-grid {
        grid-template-columns: 1fr;
    }
}
