
.ja-category-header {
    margin-bottom: 32px;
}

.ja-category-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.ja-category-count {
    color: #999;
    font-size: 16px;
    margin: 0;
}

.ja-films-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.ja-film-card {
    position: relative;
}

.ja-film-poster {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    background: #1a1a1a;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ja-film-poster:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.ja-film-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ja-film-poster:hover img {
    transform: scale(1.08);
}

.ja-film-no-poster {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    padding: 20px;
    text-align: center;
}

.ja-film-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,0) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ja-film-poster:hover .ja-film-overlay {
    opacity: 1;
}

.ja-film-overlay-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .ja-films-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .ja-films-grid {
        grid-template-columns: 1fr;
    }
}
