.main-content {
    padding: 20px 0;
}

.genre-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    min-height: 200px;
}

.genre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.genre-card-link {
    text-decoration: none;
    color: white;
    display: block;
    height: 100%;
}

.genre-card-content {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.genre-image {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.genre-badge {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.genre-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Pagination styles */
.pagination-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.pagination {
    gap: 5px;
}

.page-link {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.page-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.page-item.active .page-link {
    background-color: #fff;
    color: #000;
}

.page-item.disabled .page-link {
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
}

/* Section header styles */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.back-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.back-button:hover {
    transform: translateX(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .genre-card {
        min-height: 180px;
    }

    .genre-image {
        width: 60px;
        height: 60px;
    }

    .genre-card-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .genre-card {
        min-height: 160px;
    }

    .genre-image {
        width: 50px;
        height: 50px;
    }

    .pagination .page-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}
