/* series.css - стили для страницы сериалов */

.series-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.series-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    position: relative;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

.series-card:hover {
    transform: translateY(-3px);
    border-color: #e94560;
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.1);
}

.series-poster {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #e1e8ed;
}

.series-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.series-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 6px;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.series-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #95a5a6;
    margin-bottom: 6px;
}

.series-genre {
    font-size: 0.7rem;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    color: #7f8c8d;
}

.series-details {
    display: flex;
    gap: 12px;
    font-size: 0.7rem;
    color: #7f8c8d;
    margin-bottom: 6px;
}

.series-detail i {
    color: #e94560;
    margin-right: 3px;
}

.series-description {
    font-size: 0.75rem;
    color: #7f8c8d;
    margin: 6px 0 0;
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.comments-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #3498db;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.rating-section {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e1e8ed;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rating-value {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #f1c40f;
    display: flex;
    align-items: center;
    gap: 3px;
}

.interest-percentage {
    font-size: 0.7rem;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    color: #27ae60;
    display: flex;
    align-items: center;
    gap: 3px;
    font-weight: 500;
}

.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.load-more-btn {
    background: linear-gradient(90deg, #e94560, #3498db);
    border: none;
    border-radius: 30px;
    padding: 12px 40px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
}

.load-more-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(90deg, #95a5a6, #bdc3c7);
}

.no-series {
    grid-column: 1/-1;
    text-align: center;
    padding: 50px;
}

.no-series i {
    font-size: 3rem;
    color: #e1e8ed;
    margin-bottom: 15px;
}

.no-series p {
    color: #95a5a6;
    font-size: 1rem;
}

@media (max-width: 1200px) {
    .series-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .series-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Стили для кнопки загрузки */
.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.load-more-btn {
    background: linear-gradient(90deg, #e94560, #3498db);
    border: none;
    border-radius: 30px;
    padding: 12px 40px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
}

.load-more-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: linear-gradient(90deg, #95a5a6, #bdc3c7);
}

.load-more-btn i {
    font-size: 0.9rem;
}