﻿.home-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 16px;
}

.results-info {
    grid-column: 1 / -1;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

    .search-bar select,
    .search-bar input {
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
    }

    .search-bar input {
        flex: 1;
    }

    .search-bar button {
        padding: 10px 16px;
        background: #1e5eff;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
    }

        .search-bar button:hover {
            background: #1747b8;
        }

.card-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    }

    .card img {
        width: 100%;
        aspect-ratio: 210 / 295;
        object-fit: cover;
    }

.card-info {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
}

.title {
    font-weight: bold;
    font-size: 14px;
}

.genre {
    font-size: 12px;
    color: #666;
}

.rating {
    font-size: 14px;
    font-weight: bold;
    color: #1e5eff;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

    .pagination button {
        padding: 8px 14px;
        border: none;
        background: #1e5eff;
        color: white;
        border-radius: 6px;
        cursor: pointer;
    }

        .pagination button:hover {
            background: #1747b8;
        }

    .pagination span {
        font-size: 14px;
    }

.page-numbers {
    display: flex;
    gap: 6px;
    align-items: center;
}

    .page-numbers button {
        background: transparent;
        border: 1px solid #ddd;
        padding: 6px 10px;
        border-radius: 6px;
        cursor: pointer;
        color: #333;
    }

        .page-numbers button.active {
            background: #1e5eff;
            color: white;
            border-color: #1e5eff;
        }

    .page-numbers span {
        padding: 0 4px;
        color: #999;
    }
