/* ========== СТРАНИЦА СПИСКА РЕЦЕНЗИЙ ========== */

/* Основной контейнер */
.reviews-list-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Хлебные крошки */
.reviews-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: #7f8c8d;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-link:hover {
    color: #e94560;
}

.breadcrumb-separator {
    color: #bdc3c7;
    font-size: 0.7rem;
}

.breadcrumb-current {
    color: #2c3e50;
    font-weight: 600;
}

/* Заголовок страницы */
.reviews-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.reviews-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews-page-title i {
    color: #e94560;
    font-size: 1.8rem;
}

.reviews-count {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 500;
    background: #f8f9fa;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Контейнер с сеткой и сайдбаром */
.reviews-list-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

/* Сетка рецензий */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* Карточка рецензии */
.review-list-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.review-list-card:hover {
    transform: translateY(-5px);
    border-color: #e94560;
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.15);
}

.review-list-card.series:hover {
    border-color: #8b5cf6;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.review-list-media {
    position: relative;
    overflow: hidden;
}

.review-list-poster {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.3s;
}

.review-list-card:hover .review-list-poster {
    transform: scale(1.05);
}

.review-list-type {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e94560;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.review-list-type.series {
    background: #8b5cf6;
}

.review-list-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-list-item-title {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-list-item-title i {
    font-size: 0.7rem;
}

.review-list-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-list-excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.review-list-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #e1e8ed;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.review-list-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-list-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e94560 0%, #c73e54 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.review-list-stats {
    display: flex;
    gap: 15px;
}

.review-list-stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-list-stat i {
    font-size: 0.75rem;
}

.review-list-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #e94560 0%, #c73e54 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
    justify-content: center;
}

.review-list-readmore:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
    color: white;
}

.review-list-readmore i {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.review-list-readmore:hover i {
    transform: translateX(4px);
}

/* ========== САЙДБАР ========== */

.reviews-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e8ed;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-title i {
    color: #e94560;
}

/* Поиск */
.search-box {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.search-input:focus {
    outline: none;
    border-color: #e94560;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Фильтры */
.filter-group {
    margin-bottom: 15px;
}

.filter-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.filter-select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.filter-select:focus {
    outline: none;
    border-color: #e94560;
}

/* Теги */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag-item:hover,
.tag-item.active {
    background: #e94560;
    color: white;
    border-color: #e94560;
}

.tag-item i {
    font-size: 0.7rem;
}

.tag-count {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
}

/* Популярные рецензии */
.popular-review-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.popular-review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-review-item:first-child {
    padding-top: 0;
}

.popular-review-item:hover {
    opacity: 0.8;
}

.popular-review-poster {
    width: 60px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e1e8ed;
    flex-shrink: 0;
}

.popular-review-info {
    flex: 1;
    min-width: 0;
}

.popular-review-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.popular-review-meta {
    font-size: 0.75rem;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popular-review-meta i {
    font-size: 0.7rem;
}

/* Пагинация */
.reviews-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e1e8ed;
    flex-wrap: wrap;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #ffffff;
    color: #2c3e50;
    text-decoration: none;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: #e94560;
    color: white;
    border-color: #e94560;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: #e94560;
    color: white;
    border-color: #e94560;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-btn i {
    font-size: 0.8rem;
}

/* Пустое состояние */
.reviews-empty {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    grid-column: 1 / -1;
}

.reviews-empty i {
    font-size: 4rem;
    color: #e1e8ed;
    margin-bottom: 20px;
}

.reviews-empty h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0 0 10px;
}

.reviews-empty p {
    color: #7f8c8d;
    margin: 0 0 20px;
}

/* ========== АДАПТИВНОСТЬ ========== */

@media (max-width: 1024px) {
    .reviews-list-container {
        grid-template-columns: 1fr;
    }
    
    .reviews-sidebar {
        order: -1;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-list-section {
        margin: 20px auto;
    }
    
    .reviews-page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .reviews-page-title {
        font-size: 1.5rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-pagination {
        gap: 6px;
    }
    
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .reviews-page-title {
        font-size: 1.3rem;
    }
    
    .review-list-content {
        padding: 15px;
    }
    
    .review-list-title {
        font-size: 1rem;
    }
}