/* styles by RHS group */
/* все актеры */

/* fullstory */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

:root {
        --text-primary: #f0f0f0;
        --text-secondary: #cccccc;
}

h1 {
        color: var(--accent-color);
        text-align: center;
        margin-bottom: 30px;
        font-weight: 600;
        letter-spacing: 0.5px;
}

.video-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
}

.video-card {
        background: var(--grey-900, #0c0d1d);
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
}

.video-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.video-poster-container {
        position: relative;
        padding-top: 56.25%;
        overflow: hidden;
        background: var(--grey-950, #050615);
}

.video-poster {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
}

.video-card:hover .video-poster {
        transform: scale(1.03);
}

.video-info {
        padding: 18px;
}

.video-title {
        font-weight: 600;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 44px;
        font-size: 16px;
        color: var(--text-primary);
}

.video-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--text-secondary);
        font-size: 14px;
        margin-bottom: 16px;
}

.episode-number {
        background: var(--grey-950, #050615);
        color: var(--bg-dark);
        padding: 3px 8px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 13px;
}

.video-duration {
        background: var(--duration-badge);
        color: white;
        padding: 3px 8px;
        border-radius: 12px;
        font-size: 13px;
}

.video-link {
        display: block;
        text-align: center;
        padding: 10px 15px;
        background: var(--red-600, #df3f1e);
        color: var(--text-primary);
        text-decoration: none;
        font-weight: 600;
        border-radius: 6px;
        transition: all 0.3s ease;
        text-transform: uppercase;
        font-size: 14px;
        letter-spacing: 0.5px;
}

.video-link:hover {
        background: var(--accent-hover);
        color: var(--text-primary);
}

.no-poster {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-secondary);
        font-size: 14px;
        background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-card) 100%);
}


        /* Стили ссылок */

        .nav-link {
            display: inline-block;
            padding: 16px 32px 16px 32px;
            margin: 0 16px 0 0;
            background: var(--grey-800, #201b2e);
            color: white;
            border: 2px solid var(--grey-800, #201b2e);
            border-radius: 16px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            text-align: center;
            text-decoration: none;
            transition: all 0.3s ease;
            min-width: 50px;
        gap: 8px;
        }
        /* Активная ссылка */
        .nav-link.active.seasons {
            background: var(--grey-800, #201b2e);
            border-color: var(--red-500, #f45e3f);
            color: white;
            font-weight: bold;
        }

        /* Ховер-эффект */
        .nav-link:hover.seasons {
            background-color: var(--red-500, #f45e3f);
            border-color: var(--red-500, #f45e3f);
            color: white;
        }

        /* Фокус-эффект для доступности */
        .nav-link:focus.seasons {
            outline: none;
            box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.4);
        }

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 0;
}

.progress-fill {
    height: 100%;
    background: #C24327;
    border-radius: 0;
}

.video-poster-container {
    position: relative;
    overflow: hidden;
}